Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on April 27, 2024, 08:12:39 am

Title: The 27 April 2024 build (13513) is out.
Post by: killerbot 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 (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_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:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 27 April 2024 build (13513) is out.
Post by: Xaviou on April 27, 2024, 11:58:04 am
Hi.

OS X version of this rev can be downloaded from my website (https://wxstuff.xaviou.fr/article/codeblocks-nightly-builds.html).
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 (https://wxstuff.xaviou.fr/article/debian-repository.html)
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 (https://launchpad.net/~x-psoud/+archive/ubuntu/cbnb)

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

Regards
Xav'
Title: Re: The 27 April 2024 build (13513) is out.
Post by: killerbot on April 27, 2024, 05:16:54 pm
ubuntu 24.04 no longer provides that package ?
Title: Re: The 27 April 2024 build (13513) is out.
Post by: blauzahn 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.
Title: Re: The 27 April 2024 build (13513) is out.
Post by: danselmi 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.
Title: Re: The 27 April 2024 build (13513) is out.
Post by: blauzahn on April 28, 2024, 05:49:01 pm
@danselmi: Great!
Title: Re: The 27 April 2024 build (13513) is out.
Post by: Wkerry 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.
Title: Re: The 27 April 2024 build (13513) is out.
Post by: blauzahn 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
.
Title: Re: The 27 April 2024 build (13513) is out.
Post by: danselmi on April 29, 2024, 09:23:53 pm
As promised
Find attached the previously mentioned patch.
Title: Re: The 27 April 2024 build (13513) is out.
Post by: blauzahn 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?
Title: Re: The 27 April 2024 build (13513) is out.
Post by: Miguel Gimenez on April 30, 2024, 12:31:57 pm
@danselmi, do you plan to commit this?
Title: Re: The 27 April 2024 build (13513) is out.
Post by: Wkerry 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.
Title: Re: The 27 April 2024 build (13513) is out.
Post by: Miguel Gimenez on April 30, 2024, 04:32:07 pm
OK, thank you
Title: Re: The 27 April 2024 build (13513) is out.
Post by: Wkerry 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?
Title: Re: The 27 April 2024 build (13513) is out.
Post by: Wkerry on May 05, 2024, 11:07:02 am
Anyone got any updates on the https://sourceforge.net/p/codeblocks/tickets/663/ ticket patch status?