Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last post by blauzahn on Today at 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?
2
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last post by danselmi on Yesterday at 09:23:53 pm »
As promised
Find attached the previously mentioned patch.
3
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last post by blauzahn on Yesterday at 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
.
4
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last post by Wkerry on Yesterday at 09:52:50 am »
See https://sourceforge.net/p/codeblocks/tickets/663/ for "Don't use deprecated gamin library", which may be helpful.
5
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last post by blauzahn on April 28, 2024, 05:49:01 pm »
@danselmi: Great!
6
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last 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.
7
Announcements / Re: successor of 20.03 available?
« Last post by grem on April 27, 2024, 07:00:01 pm »
main focus is on stabilizing the clangd plug-in.

And fix regressions in the before hidden glob feature.
Is it planning to prepare "Nightlies" tarballs under https://sourceforge.net/projects/codeblocks/files/Sources/ to simplify packaging developer preview versions in Linux distributives?
Unfortunately the zip archives that generated by Sourceforge on request are temporary and URLs lifetime seems lesser than 24 hours. If request it again the zip-file has differ checksum.
8
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last 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.
9
Nightly builds / Re: The 27 April 2024 build (13513) is out.
« Last post by killerbot on April 27, 2024, 05:16:54 pm »
ubuntu 24.04 no longer provides that package ?
10
Using Code::Blocks / Use of Open Watcom Compiler on Linux (Mint Victoria 20.3)
« Last post by ThierryD on April 27, 2024, 04:23:12 pm »
Hi,

I continue to test this compiler on Linux. It seems "enougth stable" same with V2 always in work on GitHub : https://github.com/open-watcom/open-watcom-v2/releases/tag/Current-build
I install last "stable build" with sample command : "sudo ./open-watcom-2_0-c-linux-x64".
Result : directory installation in /usr/bin/watcom (under this directory many sub-directories, only "binl" or "binl64" used directly on Linux, version 32 bits or 64 bits of tools)
After tests (without CB, because syntax are not recognize ...) results are :
  construct OK with two lines, compilation and then linkage (initial PATH : "export PATH=/usr/bin/watcom/binl:$PATH")
         wcc386 hello.c -ecc -bt=linux -i=/usr/bin/watcom/lh -d2 -dDEBUG -d_DEBUG -fo=objOW32/Debug/hello.o
         wlink debug watcom file objOW32/Debug/hello.o name binOW32/Debug/hello.exe  form ELF run LIN LIBP /usr/bin/watcom/lib386/linux LIBP /usr/bin/watcom/lib386
  construct OK with two lines, compilation and then linkage (after change $PATH : "export PATH=/usr/bin/watcom/binl64:$PATH") :
        wcc386 hello.c -ecc -bt=linux -i=/usr/bin/watcom/lh -d2 -dDEBUG -d_DEBUG -fo=objOW64/Debug/hello.o
        wlink debug watcom file objOW64/Debug/hello.o name binOW64/Debug/hello.exe form ELF run LIN LIBP /usr/bin/watcom/lib386/linux LIBP /usr/bin/watcom/lib386
  construct OK with two lines, compilation and then linkage (initial PATH : "export PATH=/usr/bin/watcom/binl:$PATH")
        wcc386 hello.c -ecc -bt=linux -i=/usr/bin/watcom/lh -d0 -dNDEBUG -fo=objOW32/Release/hello.o
        wlink file objOW32/Release/hello.o name binOW32/Release/hello.exe  form ELF run LIN LIBP /usr/bin/watcom/lib386/linux LIBP /usr/bin/watcom/lib386
  construct OK with two lines, compilation and then linkage (after change $PATH : "export PATH=/usr/bin/watcom/binl64:$PATH") :
         wcc386 hello.c -ecc -bt=linux -i=/usr/bin/watcom/lh -d0 -dNDEBUG -fo=objOW64/Release/hello.o
        wlink file objOW64/Release/hello.o name binOW64/Release/hello.exe  form ELF run LIN LIBP /usr/bin/watcom/lib386/linux LIBP /usr/bin/watcom/lib386
 
WARNING : Open Watcom compiler don't generate 64 bits ELF on Linux, same with use of directory /usr/bin/watcom/binl64 in PATH.
  That is irrelevant, and compromize use of version 64 bits of these compiler. Nothing interest to test 64 bits ... same behavior on Windows system !!!

NB : Option "-ecc" during compilation, because by default OW use  special calling convention (__watcall), then "-ecc" force calling convention to __cdecl most compatible.

Syntax and list of options of these two commands in joined files.

Is it difficult to integrate OW into CB on Linux (by discover during first run by example) ?

Thank's

Thierry D.
Pages: [1] 2 3 4 5 6 ... 10