Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Development / Re: Guard needed in r13541
« Last post by Miguel Gimenez on August 13, 2024, 12:54:48 pm »
Sourceforge does not have these utilities, or at least I do not know about them. Peer reviewing is done sometimes for complex changes.
92
Development / Re: Guard needed in r13541
« Last post by Wkerry on August 13, 2024, 11:13:18 am »
Is there not a CI build that runs for Windows and Linux on any merge like bigger projects do? This would have detected this issue.

Another thing with big dev teams there is peer revies of code changes before they are merged into the trunk. Does this occur with CB? This may have picked it up depending on the reviewers skills.
93
Development / Re: Bugs found in MSys2 MINGW packages
« Last post by Pecan on August 13, 2024, 05:33:07 am »
It looks to me that the second patch is replacing the exact text that it's taking out.
Code
-	$(WINDRES) $(WX_CXXFLAGS) -DcbDPI_AWARE_ON --include-dir $(top_srcdir)/src $< $@
+ $(WINDRES) $(WX_CPPFLAGS) -DcbDPI_AWARE_ON --include-dir $(top_srcdir)/src $< $@
94
Development / Bugs found in MSys2 MINGW packages
« Last post by stahta01 on August 12, 2024, 04:53:24 pm »
Bugs I have found in MSys2 MINGW packages mainly under UCRT64 or MINGW64 MSys2 environments.
These are bugs that are not MSys2 MINGW packaging caused.

1. Warning on installing cbplugin file
MSys2 MINGW packaging uses configure/make to build the package and this bug likely only exists under Windows with configure/make builds.
Edit link to SF ticket https://sourceforge.net/p/codeblocks/tickets/1497/
Fix below
Code
--- a/src/sdk/configmanager.cpp	(revision 13538)
+++ b/src/sdk/configmanager.cpp (working copy)
@@ -1497,7 +1497,7 @@
     if (plugin_path_global.IsEmpty())
     {
         if (platform::windows)
-            ConfigManager::plugin_path_global = app_path + _T("/../lib/codeblocks/plugins");
+            ConfigManager::plugin_path_global = app_path + _T("\\..\\lib\\codeblocks\\plugins");
         else if (platform::macosx)
             ConfigManager::plugin_path_global = data_path_global + _T("/plugins");
         else

2. MSys2 MINGW32 has build error. I have no idea why MINGW64 and UCRT64 does not have this error.
MSys2 MINGW packaging uses configure/make to build the package and this bug likely only exists under Windows with configure/make builds.
Link to ticket https://sourceforge.net/p/codeblocks/tickets/1498/
See also https://github.com/msys2/MINGW-packages/issues/20922 there might already be a ticket for this issue
Patch
Code
--- a/src/src/Makefile.am	(revision 13539)
+++ b/src/src/Makefile.am (working copy)
@@ -75,7 +75,7 @@
 codeblocks_DEPENDENCIES = resources.$(OBJEXT)
 codeblocks_SOURCES += associations.cpp
 resources.$(OBJEXT): resources/resources.rc resources/amd64_dpi_aware_on.manifest
- $(WINDRES) $(WX_CXXFLAGS) -DcbDPI_AWARE_ON --include-dir $(top_srcdir)/src $< $@
+ $(WINDRES) $(WX_CPPFLAGS) -DcbDPI_AWARE_ON --include-dir $(top_srcdir)/src $< $@
 endif
 
 noinst_HEADERS = app.h \

Tim S.
95
Nightly builds / Re: The 30 July 2024 build (13538) is out.
« Last post by Miguel Gimenez on August 12, 2024, 04:27:01 pm »
Probably Development or Plugin Development. The ticket system would be a better option.
96
Nightly builds / Re: The 30 July 2024 build (13538) is out.
« Last post by stahta01 on August 12, 2024, 04:10:01 pm »
I found a bug in MSYS2 MINGW packages; I am working on a fix. The bug is an invalid warning when installing an cbplugin file.
Anyone know which sub-forum would be best on posting the patch when I get one to work?

Edit add link to fix https://forums.codeblocks.org/index.php/topic,25854.0.html

Tim S.

Works fine from the MSYS2 packages. Thx.
97
Development / Re: Guard needed in r13541
« Last post by Miguel Gimenez on August 12, 2024, 02:19:17 pm »
Proposed patch attached
98
Development / Re: Guard needed in r13541
« Last post by ollydbg on August 12, 2024, 12:54:39 pm »
Maybe Morten will do this?  :)
99
Development / Guard needed in r13541
« Last post by Miguel Gimenez on August 12, 2024, 11:46:09 am »
Revision r13541 added some wx3.2 font styles that are not present in wx3.0, but we still support 3.0 (at least on Linux). These values must be guarded with wxCHECK_VERSION(3, 1, 2) in wxssimplefonteditordlg.cpp:

Code
wxFONTWEIGHT_THIN
wxFONTWEIGHT_EXTRALIGHT
wxFONTWEIGHT_MEDIUM
wxFONTWEIGHT_SEMIBOLD
wxFONTWEIGHT_EXTRABOLD
wxFONTWEIGHT_HEAVY
wxFONTWEIGHT_EXTRAHEAVY
wxFONTWEIGHT_INVALID
100
I'm waiting for this new version of Code::Blocks for a while now...I hope the developers team take in count that there is a group of faithful users that love this IDE.

The developers have already agreed to make another release soon.
Pages: 1 ... 5 6 7 8 9 [10]