Author Topic: The 18 February 2023 build (13215) is out.  (Read 21510 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5514
The 18 February 2023 build (13215) is out.
« 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.

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:

  • sdk: fix compilation on mac, use wxString::Format for string formatting so we can use %s with wxString (thanks miguel)
  • BrowseTracker - Add JumpView docking windows allowing double-click position jumping.
  • src: fix "remove file" menu entry not appearing for normal files. (regression from r13191)
  • applied patch #1379: missing file in BrowseTracker Makefile.am to fix compilation under Linux (thanks Ken Cunningham)

Regressions/Confirmed/Annoying/Common bugs:



    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 18 February 2023 build (13215) is out.
    « Reply #1 on: February 19, 2023, 01:29:54 pm »
    Hi.

    OS X version of this rev can be downloaded from my Google Drive.
    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.

    Regards
    Xav'
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    fcloud2020

    • Guest
    Re: The 18 February 2023 build (13215) is out.
    « Reply #2 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.
    « Last Edit: February 20, 2023, 09:29:02 am by fcloud2020 »

    Online stahta01

    • Lives here!
    • ****
    • Posts: 7678
      • My Best Post
    Re: The 18 February 2023 build (13215) is out.
    « Reply #3 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.
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 18 February 2023 build (13215) is out.
    « Reply #4 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'
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2808
    Re: The 18 February 2023 build (13215) is out.
    « Reply #5 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.

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1634
    Re: The 18 February 2023 build (13215) is out.
    « Reply #6 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

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1634
    Re: The 18 February 2023 build (13215) is out.
    « Reply #7 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();

    Offline UberNewb2

    • Multiple posting newcomer
    • *
    • Posts: 11
    Re: The 18 February 2023 build (13215) is out.
    « Reply #8 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

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1634
    Re: The 18 February 2023 build (13215) is out.
    « Reply #9 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.

    Offline UberNewb2

    • Multiple posting newcomer
    • *
    • Posts: 11
    Re: The 18 February 2023 build (13215) is out.
    « Reply #10 on: February 23, 2023, 09:30:45 pm »
    100% Zoom factor did not work. Changing settings to DirectWrite did.


    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2808
    Re: The 18 February 2023 build (13215) is out.
    « Reply #11 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.

    Offline p001

    • Single posting newcomer
    • *
    • Posts: 8
    Re: The 18 February 2023 build (13215) is out.
    « Reply #12 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).

    Offline p001

    • Single posting newcomer
    • *
    • Posts: 8
    Re: The 18 February 2023 build (13215) is out.
    « Reply #13 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).
    « Last Edit: February 28, 2023, 08:40:08 pm by p001 »

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1634
    Re: The 18 February 2023 build (13215) is out.
    « Reply #14 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.