Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on February 18, 2023, 05:00:28 pm

Title: The 18 February 2023 build (13215) is out.
Post by: killerbot on February 18, 2023, 05:00:28 pm
We switched to wx 3.2.1 (on 01 October 2022) --> download the new wx dll's see link below

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works (http://forums.codeblocks.org/index.php/topic,3232.0.html).

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx321_2D_gcc810-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z


The 18 February 2023 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2023/CB_20230218_rev13215_win64.7z
  - Linux :
   none

The current SDK version is : 2.24.0

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 18 February 2023 build (13215) is out.
Post by: Xaviou on February 19, 2023, 01:29:54 pm
Hi.

OS X version of this rev can be downloaded from my Google Drive (https://drive.google.com/drive/folders/1-r9cbW1I8ZkaCt6iYDhcXH981n5FJTpV?usp=sharing).
There is only a macOS-11.6 version.
Note that it is not a notarized version of the application.

32 bits version for Windows can also be found in the same place.

Debian Buster and Bullseye (32 and 64 bits) can be installed from my repo (https://wxstuff.xaviou.fr/article/debian-repository.html).

Regards
Xav'
Title: Re: The 18 February 2023 build (13215) is out.
Post by: fcloud2020 on February 20, 2023, 08:57:56 am
Hi.
I have a problem.

When I used wxSmith to edit a GUI, the IDE of this version crashed.
For example:
   1) Build a new wxWidgets project and selected wxSmith as the GUI builder.
   2) Double-click a button control, want to open the relevant code, but the IDE suddenly stops working and exits.

btw: The IDE of build 12990 doesn't have this error.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: stahta01 on February 23, 2023, 06:33:06 am
Can anyone edit a project source file and then click on the save button without CB crashing?

Note: The auto save when building seems to still work.

Windows 10

Tim S.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Xaviou on February 23, 2023, 07:07:08 am
Hi.
Can anyone edit a project source file and then click on the save button without CB crashing?

Note: The auto save when building seems to still work.

Windows 10

Tim S.
Just tested, and all seems t work correctly (Win11 Pro 22H2).
Tested with both the "Save", "Save All" toolbar buttons, the "Save file" menu entry, and the Ctrl + S shortcut.

Regards.
Xav'
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Pecan on February 23, 2023, 07:21:00 am
Can anyone edit a project source file and then click on the save button without CB crashing?

Note: The auto save when building seems to still work.

Windows 10

Tim S.
No problem here with saving a modified source file Windows 11, this nightly.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Miguel Gimenez on February 23, 2023, 03:13:17 pm
It has crashed twice today for me, one at home and other at work. It happens when closing the project, no saving involved.

Looks like it is related to BrowseTracker, (truncated) codeblocks.RPT contents:
Code
Error occurred on Thursday, February 23, 2023 at 15:06:48.

codeblocks.exe caused an Access Violation at location 6A3D0F84 in module codeblocks.dll Reading from location 0000021C.

Registers:
eax=00000000 ebx=0028dc9c ecx=00000000 edx=036e1af0 esi=02232258 edi=06373200
eip=6a3d0f84 esp=0028dbdc ebp=0028dc14 iopl=0         nv up ei pl nz ac pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210212

AddrPC   Params
6A3D0F84 0CA80CE8 00000135 06525100  codeblocks.dll!cbEditor::GetControl+0xc
6C6A3101 0028DDD0 0028DE14 0028DCE4  BrowseTracker.dll!0x23101
6C6AC9E4 0028DDD0 0028DD28 00000000  BrowseTracker.dll!0x2c9e4
6A4C411B 0028DDD0 06373200 0028DD64  codeblocks.dll!Manager::ProcessEvent+0xcb
6A4E3143 0028DDD0 FFFFFFFF 00000000  codeblocks.dll!PluginManager::NotifyPlugins+0x1d
6A481A98 0028E100 07F5A597 FFFFFFFE  codeblocks.dll!EditorManager::OnPageChanging+0x142
6FF831F2 0028DEEC 00000001 6FF83947  wxmsw32u_gcc_custom.dll!wxAppConsoleBase::HandleEvent+0x22
702A030D 036E1AF4 6A481956 FFFFFFFC  wxmsw32u_gcc_custom.dll!wxWindow::MSWDefWindowProc+0x9d
6FF83947 036E1AF4 02212F80 0028E100  wxmsw32u_gcc_custom.dll!wxAppConsoleBase::CallEventHandler+0x37
7014212E 6A91719C 036E1AF4 0028E100  wxmsw32u_gcc_custom.dll!wxEvtHandler::ProcessEventIfMatchesId+0x6e
701422DA 00000005 00000001 0028F9F8  wxmsw32u_gcc_custom.dll!wxEventHashTable::HandleEvent+0xca
7086F10A 7087620F 00000005 00000000  wxmsw32u_gcc_custom.dll!wxAuiNotebook::SetSelection+0x1a
74FC98DA 00000003 70D92960 70F60E1E  msvcrt.dll!_free+0xec
70DA9F0E 00000000 00000000 00000000  wxmsw32u_gcc_custom.dll!wxCheckDynamicCast+0x1e
70875C8B 068098C8 0028E2D0 00000005  wxmsw32u_gcc_custom.dll!wxAuiTabContainer::DoShowHide+0xfb
7087B0EB 00000005 068098C8 0028E478  wxmsw32u_gcc_custom.dll!wxAuiNotebook::InsertPage+0x25b
7087B2B7 068098C8 0028E478 00000001  wxmsw32u_gcc_custom.dll!wxAuiNotebook::AddPage+0x47
6A47B22F 068098C8 0028EDCC 0028E4E4  codeblocks.dll!EditorManager::AddEditorBase+0x11d
6A47B0DF 068098C8 FFFFFF00 71220B00  codeblocks.dll!EditorManager::AddCustomEditor+0x19
6A466F5D 06395248 0028EA88 00000001  codeblocks.dll!EditorBase::EditorBase+0x1c3
00500AB9 0372BD48 0372C128 0372C0DC  codeblocks.exe!0x100ab9
0049043A 00000000 00000000 0028EF54  codeblocks.exe!0x9043a
004A2A20 0028F04C 0028F090 0028EF54  codeblocks.exe!0xa2a20
00533110 0028F04C 0028EF98 0028EFBC  codeblocks.exe!0x133110
6A4C411B 0028F04C 02C63248 0028EFD4  codeblocks.dll!Manager::ProcessEvent+0xcb
6A4E3143 0028F04C 00000000 00000000  codeblocks.dll!PluginManager::NotifyPlugins+0x1d
6A50E0A0 04E2A3F0 00000001 00000000  codeblocks.dll!ProjectManager::CloseProject+0x296
6A50DAE0 00000001 00000000 00000000  codeblocks.dll!ProjectManager::CloseAllProjects+0x13a
6A50EBFB 00000001 04959698 0028F474  codeblocks.dll!ProjectManager::CloseWorkspace+0x153
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Miguel Gimenez on February 23, 2023, 04:19:19 pm
[r13210] introduced two calls to cbEditor::GetControl() without checking pointer validity:
Code
if (inFilename == jdFilename)
{
    int jdLineNo = 0;
    cbEditor* pEd = Manager::Get()->GetEditorManager()->GetBuiltinActiveEditor();
    jdLineNo = pEd->GetControl()->LineFromPosition(jdPosn);
    if (jdLineNo == inLineNum)
        return;
}
and
Code
cbEditor* pcbEd = Manager::Get()->GetEditorManager()->GetBuiltinEditor(pEdBase);

cbStyledTextCtrl* pControl = pcbEd->GetControl();
Title: Re: The 18 February 2023 build (13215) is out.
Post by: UberNewb2 on February 23, 2023, 06:05:12 pm
Hi! When using code completion for my library code the window that displays the suggestion for code completion is too small on the right side and cuts off the text. This is since 20.03. -I just tried out- This is with 13215, and it also hung once but I can't reproduce. thanks CB team

UberNewb2
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Miguel Gimenez on February 23, 2023, 06:44:20 pm
Are you using HiDPI?. Try using 100% zoom factor, or changing the technology (in Settings -> Editor -> General settings -> Other editor settings -> Technology) to DirectWrite.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: UberNewb2 on February 23, 2023, 09:30:45 pm
100% Zoom factor did not work. Changing settings to DirectWrite did.

Title: Re: The 18 February 2023 build (13215) is out.
Post by: Pecan on February 23, 2023, 10:45:01 pm
[r13210] introduced two calls to cbEditor::GetControl() without checking pointer validity:
Code
if (inFilename == jdFilename)
{
    int jdLineNo = 0;
    cbEditor* pEd = Manager::Get()->GetEditorManager()->GetBuiltinActiveEditor();
    jdLineNo = pEd->GetControl()->LineFromPosition(jdPosn);
    if (jdLineNo == inLineNum)
        return;
}
and
Code
cbEditor* pcbEd = Manager::Get()->GetEditorManager()->GetBuiltinEditor(pEdBase);

cbStyledTextCtrl* pControl = pcbEd->GetControl();
Fixed in Head 13219 Thanks Miguel Gimenez.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: p001 on February 28, 2023, 08:25:49 pm
Hello.

I have the following screen settings:
- resolution 1920*1200
- scaling 200% (on my screen is more convenient).

In the Code Blocks program, the font size is set 26.
When typing code, a hint appears with a huge size. I attached the picture.
The latest version of Code Blocks with the normal operation of the text was from 09 July 2022 Build (12847).
Title: Re: The 18 February 2023 build (13215) is out.
Post by: p001 on February 28, 2023, 08:37:46 pm
Scaling 200% costs I use a tablet for business trip and the tablet has high resolution but a small screen size, I have to set a scaling of 200% so as not to spoil my vision.

I attached a picture with the normal work of the text on July 09, 2022 Build (12847).
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Miguel Gimenez on February 28, 2023, 08:55:03 pm
The change is due to wxWidgets, not C::B. See reply #9 above for a possible solution.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: p001 on February 28, 2023, 09:03:57 pm
The change is due to wxWidgets, not C::B. See reply #9 above for a possible solution.
Thank you! it works
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Neo on March 05, 2023, 03:29:41 am
The change is due to wxWidgets, not C::B. See reply #9 above for a possible solution.
Oh my, this solves the tooltip problem on my system with 125% font scaling! This should be made the default option if CB is running on Win7+.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: cacb on March 05, 2023, 10:52:33 am
The change is due to wxWidgets, not C::B. See reply #9 above for a possible solution.

Thank you! I had this problem as well! Looking good.
Title: Re: The 18 February 2023 build (13215) is out.
Post by: boojai2 on March 27, 2023, 06:04:37 am
Hi everyone,

I am absolute newbie here and trying to learn C and C++. I'm using mac OS and having a hard time getting codeblocks working on my computer.
I am using OSX 13.2.1.
I was following this post and trying to get nighty C::B working on my computer. I have tried the MacPorts way but C::B was not functioning properly (reversed colour).

From what I am reading, I need to download CB_20230218_rev13215_macOS-11.6_x64-wx3.1.6.dmg, CB_20230218_rev13215_wx32_win64.7z from the google drive below. And wxWidge dll, Mingw64 dll from the first post.

And now I'm confused about the next steps.
1) unzip the CB nightly in some directory - the dmg that I can download does not need to be unzipped??
2) unzip both ddl's into the same directory where I unzipped the nighty.

Can someone please help me with my first step in learning C and C++?  :'(

Thanks in advance!


Hi.

OS X version of this rev can be downloaded from my Google Drive (https://drive.google.com/drive/folders/1-r9cbW1I8ZkaCt6iYDhcXH981n5FJTpV?usp=sharing).
There is only a macOS-11.6 version.
Note that it is not a notarized version of the application.

32 bits version for Windows can also be found in the same place.

Debian Buster and Bullseye (32 and 64 bits) can be installed from my repo (https://wxstuff.xaviou.fr/article/debian-repository.html).

Regards
Xav'
Title: Re: The 18 February 2023 build (13215) is out.
Post by: Miguel Gimenez on March 27, 2023, 09:29:46 am
The DLL and the unzip instructions are only for Windows, use just the DMG file (I do not know how a DMG is used, but should be straightforward).
Title: Re: The 18 February 2023 build (13215) is out.
Post by: boojai2 on March 28, 2023, 04:46:52 am
thanks! it works!