Author Topic: The 27 April 2024 build (13513) is out.  (Read 11899 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5513
The 27 April 2024 build (13513) is out.
« on: April 27, 2024, 08:12:39 am »
We switched to gcc 13.1.0 (on 04 June 2023) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/13.1.0-16.0.5-11.0.0-ucrt-r5/winlibs-x86_64-posix-seh-gcc-13.1.0-mingw-w64ucrt-11.0.0-r5.7z

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_wx324_2D_gcc1310-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls13.1.0.7z


The 27 April 2024 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20240427_rev13513_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • Clangd_client: 1.2.119 24/04/4 Apply Christo warning/error diagnostic msgBox patch (with mods). Thanks Christo
  • mark project workspace to be 32 bit
  • avoid compiler warnings by not using folder not present anymore
  • always update ZIP file (in case resources change)
  • check for nullptr of info window data (layoots/perspectives)
  • applied patch #1470: Make FileSystemWatcher interface optional
  • Clangd_client: 1.2.121 24/04/21 Fix to avoid json throw 302
  • Build: Fix building with autotools after r13437
  • Clangd_client: 1.2.122 24/04/26 Fix stall in "Show call tip" when using clangd Hover request

Regressions/Confirmed/Annoying/Common bugs:



    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 27 April 2024 build (13513) is out.
    « Reply #1 on: April 27, 2024, 11:58:04 am »
    Hi.

    OS X version of this rev can be downloaded from my website.
    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 Bookworm and Bullseye (32 and 64 bits) can be installed from my repo
    The corresponding unsigned deb files can also be downloaded from the website page linked above.

    Ubuntu-22.04 and 23.10 versions can be installed from my ppa

    Ubuntu-24.04 failed to build :
    Code
    Missing build dependencies: libgamin-dev

    Regards
    Xav'
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5513
    Re: The 27 April 2024 build (13513) is out.
    « Reply #2 on: April 27, 2024, 05:16:54 pm »
    ubuntu 24.04 no longer provides that package ?

    Offline blauzahn

    • Almost regular
    • **
    • Posts: 179
    Re: The 27 April 2024 build (13513) is out.
    « Reply #3 on: April 27, 2024, 06:59:28 pm »
    looks like.

    On arch I installed it from trunk but it seems that the source I used then (https://people.gnome.org/~veillard/gamin/) is no longer available.

    Offline danselmi

    • Developer
    • Almost regular
    • *****
    • Posts: 205
    Re: The 27 April 2024 build (13513) is out.
    « Reply #4 on: April 28, 2024, 04:59:22 pm »
    Fedora also don't provide gaming anymore.
    I have a patch relying on wxFilesystemwatcher. This I have tested on windows and feodra39.
    Will provide it later tonight when I have access to my computer.

    Offline blauzahn

    • Almost regular
    • **
    • Posts: 179
    Re: The 27 April 2024 build (13513) is out.
    « Reply #5 on: April 28, 2024, 05:49:01 pm »
    @danselmi: Great!

    Offline Wkerry

    • Multiple posting newcomer
    • *
    • Posts: 54
    Re: The 27 April 2024 build (13513) is out.
    « Reply #6 on: April 29, 2024, 09:52:50 am »
    See https://sourceforge.net/p/codeblocks/tickets/663/ for "Don't use deprecated gamin library", which may be helpful.

    Offline blauzahn

    • Almost regular
    • **
    • Posts: 179
    Re: The 27 April 2024 build (13513) is out.
    « Reply #7 on: April 29, 2024, 01:58:16 pm »
    As mentioned in the ticket: If C++17 is an acceptable lower limit, the std::filesystem will become available. If it provides the needed functionality to replace libgamin in cb, I would prefer std over wxWidgets. Since I have not used neither std::filesystem nor wxFilesystemwatcher yet, I can not say. At least it has a non-member function named 
    Code
    last_write_time
    .

    Offline danselmi

    • Developer
    • Almost regular
    • *****
    • Posts: 205
    Re: The 27 April 2024 build (13513) is out.
    « Reply #8 on: April 29, 2024, 09:23:53 pm »
    As promised
    Find attached the previously mentioned patch.

    Offline blauzahn

    • Almost regular
    • **
    • Posts: 179
    Re: The 27 April 2024 build (13513) is out.
    « Reply #9 on: April 30, 2024, 12:46:20 am »
    Thank you.

    It compiles (tried on arch linux), a touched cbp or cpp file is detected like it should be.
    One issue I observe in the "Open files List" is that relative paths are turned into
    absolute paths. They should remain relative paths.

    As for the code:
    Code
    #include <wx/fswatcher.h>
    seems avoidable in FileExplorer.h if wxFileSystemWatcherEvent and wxFileSystemWatcher* are forward-declared. Compiletime is already not ideal when compiling cb.

    Have you considered making
    Code
    wxFileSystemWatcher *m_fs_watcher;
    a std::unique_ptr?

    I like the fact that the patch is focussed on the necessary changes. Have you considered a second patch with refactorings e.g. moving initialization of non-static data-members in the ctor body into
    a member initializer list  or using default member initializers?

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1628
    Re: The 27 April 2024 build (13513) is out.
    « Reply #10 on: April 30, 2024, 12:31:57 pm »
    @danselmi, do you plan to commit this?

    Offline Wkerry

    • Multiple posting newcomer
    • *
    • Posts: 54
    Re: The 27 April 2024 build (13513) is out.
    « Reply #11 on: April 30, 2024, 12:45:23 pm »
    See https://sourceforge.net/p/codeblocks/tickets/663/ as it has then patch and looks like the patch has been accepted by Morten MacFly. Hopefully it will get merged quickly.

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1628
    Re: The 27 April 2024 build (13513) is out.
    « Reply #12 on: April 30, 2024, 04:32:07 pm »
    OK, thank you

    Offline Wkerry

    • Multiple posting newcomer
    • *
    • Posts: 54
    Re: The 27 April 2024 build (13513) is out.
    « Reply #13 on: May 02, 2024, 12:04:35 pm »
    Any idea when Morten MacFly will merge the https://sourceforge.net/p/codeblocks/tickets/663 patch that was accepted days ago?

    Offline Wkerry

    • Multiple posting newcomer
    • *
    • Posts: 54
    Re: The 27 April 2024 build (13513) is out.
    « Reply #14 on: May 05, 2024, 11:07:02 am »
    Anyone got any updates on the https://sourceforge.net/p/codeblocks/tickets/663/ ticket patch status?