Code::Blocks

User forums => Nightly builds => Topic started by: killerbot on December 15, 2019, 11:03:50 am

Title: The 15 December 2019 build (11927) is out.
Post by: killerbot on December 15, 2019, 11:03:50 am
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/wxmsw31u_gcc_cb_wx313_2D_gcc810-mingw64.7z.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 15 December 2019 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2019/CB_20191215_rev11927_win64.7z
  - Linux :
   none

The current SDK version is : 1.46.0

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 15 December 2019 build (11927) is out.
Post by: killerbot on December 15, 2019, 11:05:26 am
might take some time before sourceforge activates the link, upload has been done.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: tomay3000 on December 15, 2019, 11:18:09 pm
The "/Binaries/Nightlies/..2D_gcc810-mingw64.7z" file could not be found or is not available. Please select another file.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: stahta01 on December 15, 2019, 11:44:08 pm
The "/Binaries/Nightlies/..2D_gcc810-mingw64.7z" file could not be found or is not available. Please select another file.

https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw31u_gcc_cb_wx313_2D_gcc810-mingw64.7z.7z/download (https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw31u_gcc_cb_wx313_2D_gcc810-mingw64.7z.7z/download)

Tim S.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: tomay3000 on December 16, 2019, 12:36:03 am
The problem is that the real file name contains an extra .7z at the end.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: killerbot on December 16, 2019, 07:46:06 pm
link contains again the double extension.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Xaviou on December 17, 2019, 08:59:00 pm
Hi

OS X version of this rev can be downloaded from my Google Drive (https://drive.google.com/open?id=0B2rFQ8rNHzEeN0xtU3R6emdhUWs) (needs at least OS X 10.14)
The name of the dmg (created automatically from the subversion sources) is a little bit different from the one in the first post of this topic : CB_20191208_rev11927_OSX64-wx3.1.2.dmg

Debian Stretch and Buster (32 and 64 bits) can be installed from my repo (https://wxstuff.xaviou.fr/article/debian-repository.html).

Regards
Xav'
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Pecan on December 20, 2019, 09:04:17 pm
@ Killerbot

What were the parameters used to build this version of wx313?
Could you also say what you did with wxUSE_GRAPHICS_GDIPLUS.

I cannot seem to get the same size wxmsw313u_gcc_cb.dll thats contained in the nightly. And I get font asserts (shown below).
Update: 2019/12/20 17:15: Solved this by deleting the  CB .conf file.
I dont know why.
 
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Miguel Gimenez on December 21, 2019, 02:32:45 pm
The font problem is because of a wxWidgets problem when loading fonts from string, introduced with version 2 of font serializing in wx3.1.2. It was reported by Ollydbg and it still unfixed.

https://trac.wxwidgets.org/ticket/18590
Title: Re: The 15 December 2019 build (11927) is out.
Post by: killerbot on December 21, 2019, 03:46:24 pm
wx 3.1.3
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++11"

and in : include/wx/msw/setup.h

I reduced:
Code: [Select]
#if defined(_MSC_VER) && _MSC_VER >= 1600
    #define wxUSE_GRAPHICS_DIRECT2D wxUSE_GRAPHICS_CONTEXT
#else
    #define wxUSE_GRAPHICS_DIRECT2D 0
#endif

to just 1 line :
Code: [Select]
    #define wxUSE_GRAPHICS_DIRECT2D wxUSE_GRAPHICS_CONTEXT
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Xaviou on January 13, 2020, 09:17:09 pm
Hi.

I recently discovered that the "bundle.sh" script gives me errors on macOS.

The "make" and "make install" commands run fine (install is made in a sub folder of the build one).

Here is the result of the bundle command :
Code: [Select]
Copying libcodeblocks ...
/Users/xavier/dev/CB/buildOSX/output/lib/libcodeblocks.0.dylib -> CodeBlocks.app/Contents/MacOS/libcodeblocks.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_osx_cocoau_aui-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_osx_cocoau_core-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_baseu-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_osx_cocoau_propgrid-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_osx_cocoau_richtext-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_osx_cocoau_html-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_baseu_xml-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_osx_cocoau_xrc-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_osx_cocoau_qa-3.1.3.0.0.dylib
Copying /Users/xavier/dev/wx313/build-dyn-CB/lib/libwx_baseu_net-3.1.3.0.0.dylib
Copying binaries
/Users/xavier/dev/CB/buildOSX/output/bin/cb_console_runner
/Users/xavier/dev/CB/buildOSX/output/bin/cb_share_config
/Users/xavier/dev/CB/buildOSX/output/bin/codeblocks
Copying plugins
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libAstyle.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libAutoVersioning.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libBrowseTracker.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libCccc.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libCppCheck.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libCscope.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libDoxyBlocks.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libEditorConfig.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libEditorTweaks.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libHexEditor.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libIncrementalSearch.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libMouseSap.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libProfiler.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libProjectOptionsManipulator.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libRegExTestbed.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libReopenEditor.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSmartIndentCpp.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSmartIndentFortran.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSmartIndentHDL.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSmartIndentLua.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSmartIndentPascal.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSmartIndentPython.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSmartIndentXML.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSpellChecker.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libSymTab.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libThreadSearch.dylib
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwxcustombutton.0.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libToolsPlus.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libValgrind.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libabbreviations.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libautosave.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libbyogames.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libcb_koders.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libclasswizard.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libcodecompletion.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libcodesnippets.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libcodestat.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libcompiler.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libcopystrings.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libdebugger.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libdefaultmimehandler.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libdragscroll.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libenvvars.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libexporter.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libheaderfixup.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libhelp_plugin.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libkeybinder.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/liblib_finder.dylib
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwxflatnotebook.0.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/liboccurrenceshighlighting.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libopenfileslist.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libprojectsimporter.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/librndgen.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libscriptedwizard.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libtodo.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libwxSmithAui.dylib
Copying @loader_path/libwxSmithAui.dylib
cp: @loader_path/libwxSmithAui.dylib: No such file or directory
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: CodeBlocks.app/Contents/MacOS/libwxSmithAui.dylib (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: 'CodeBlocks.app/Contents/MacOS/libwxSmithAui.dylib': No such file or directory
Copying /Users/xavier/dev/CB/buildOSX/output/lib/libwxsmithlib.0.dylib
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libwxsmith.dylib
Copying @loader_path/libwxsmith.dylib
cp: @loader_path/libwxsmith.dylib: No such file or directory
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: CodeBlocks.app/Contents/MacOS/libwxsmith.dylib (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: 'CodeBlocks.app/Contents/MacOS/libwxsmith.dylib': No such file or directory
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libwxsmithcontribitems.dylib
Copying @loader_path/libwxsmithcontribitems.dylib
cp: @loader_path/libwxsmithcontribitems.dylib: No such file or directory
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: CodeBlocks.app/Contents/MacOS/libwxsmithcontribitems.dylib (No such file or directory)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: 'CodeBlocks.app/Contents/MacOS/libwxsmithcontribitems.dylib': No such file or directory
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwxchartctrl.0.dylib
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwximagepanel.0.dylib
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwxspeedbutton.0.dylib
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwxkwic.0.dylib
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwxled.0.dylib
Copying /Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/wxContribItems/libwxmathplot.0.dylib

Did I missed something ?
I can't say if this error is a recent one or if it was present in previous nightly.

Regards.
Xav'
Title: Re: The 15 December 2019 build (11927) is out.
Post by: oBFusCATed on January 14, 2020, 01:07:05 am
I'm seeing this for a long time, but I don't have time to look at it.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: stahta01 on January 14, 2020, 02:01:20 am
Does this file exist?
Code: [Select]
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libwxSmithAui.dylib

I wonder if it exists whether it might be a permission issue.

Just a wild guess from a Windows OS user.

Tim S.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: cacb on January 14, 2020, 08:14:57 am
The IncrementalSearch appears to be broken in this version (not sure about older Nightlies). The text control sometimes does not accept input focus, so when you try to type something there, the text goes into the man editor instead.

It does not happen immediately, but this seems to be repeatable:

1. Start C:B and open an existing Workspace with some source files open
2. Click in the IncrementalSearch text control - no problem - input fokus ok
3. Click somewhere in the open source file
4. Click in the IncrementalSearch text control - it does not accept input focus
5. Type some text to search ... it appears in your source file instead of the IncrementalSearch text control

Platform Win10

This is a significant bug...
Title: Re: The 15 December 2019 build (11927) is out.
Post by: oBFusCATed on January 14, 2020, 08:53:54 am
The IncrementalSearch appears to be broken in this version (not sure about older Nightlies).
Please try to find which night build broke this.
It is either the switch to wx3.1.1 or wx3.1.3.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: cacb on January 14, 2020, 09:51:21 am
Please try to find which night build broke this.
It is either the switch to wx3.1.1 or wx3.1.3.

I encourage others to check this as well. I have little time to do this now, but I was able to check it in Nightly 11872 - it does not show the same problem.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Miguel Gimenez on January 14, 2020, 10:16:18 am
11890 (wx3.1.1) works, 11918 (wx3.1.3) does not work (Windows 10)

EDIT: also fails in Windows 7
Title: Re: The 15 December 2019 build (11927) is out.
Post by: sodev on January 14, 2020, 06:23:27 pm
I don't know how often sometimes is, i am also only on 11911 but there don't seem to be relevant changes up to 11918, but with [email protected] i cannot reproduce that.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Xaviou on January 14, 2020, 06:41:01 pm
Does this file exist?
Code: [Select]
/Users/xavier/dev/CB/buildOSX/output/lib/codeblocks/plugins/libwxSmithAui.dylib

I wonder if it exists whether it might be a permission issue.

Just a wild guess from a Windows OS user.

Tim S.
Yes it does (and the 2 other libs that are in error too).
And the permissions are the same than the other files : -rwxr-xr-x

Regards
Xav'
Title: Re: The 15 December 2019 build (11927) is out.
Post by: cacb on January 14, 2020, 06:52:17 pm
I don't know how often sometimes is, i am also only on 11911 but there don't seem to be relevant changes up to 11918, but with [email protected] i cannot reproduce that.
In my experience recently for this bug, "sometimes" means that it happens more often than not.  It is reproducible as explained erlier.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Miguel Gimenez on January 14, 2020, 07:15:21 pm
I have tested r11954 (current head) with wx3.1.2 and there is no problem with IncrementalSearch, so the problem seems related to a change in wxWidgets made between 3.1.2 and 3.1.3
Title: Re: The 15 December 2019 build (11927) is out.
Post by: oBFusCATed on January 14, 2020, 07:48:33 pm
@Miguel Gimenez: Would you have time to do a bisection of wx? Or try to debug why does it happen?
Title: Re: The 15 December 2019 build (11927) is out.
Post by: grem on January 15, 2020, 08:39:15 am
Quote
wx3.1.1 or wx3.1.3

@oBFusCATed, do you know is it planing to release Codeblocks 20.x afrer wxwidgets 3.2 release?

From https://trac.wxwidgets.org/wiki/Roadmap
Quote
we plan to release one last 3.1.4 release in 3.1.x series in the beginning of 2020 with 3.2.0 follwowing soon afterwards.

I ask because in the gentoo currently wxGTK-3.0-gtk3 is preferred for codeblocks-17.12 (live-ebuild is required update for it). And as I know there will not be wxGTK-3.1 in portage tree as it is development branch.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: oBFusCATed on January 15, 2020, 08:47:38 am
There will be a release 20.xx, hopefully soon. We don't plan to wait wx to release whatever they release, because they are notorious for missing their release dates :). Using gtk3 at the moment is not a good idea if people aren't prepared to fix things, or at least report problems (in both wx and cb).
Title: Re: The 15 December 2019 build (11927) is out.
Post by: grem on January 15, 2020, 09:05:31 am
Thank you for reply. Waiting with impatience :)

Unfortunately I currently use Codeblocks extremly rarely but during last two years there were not any issue reports about codeblocks + wxgtk-3.0-gtk3 (at least I don't remember about them as package maintainer). Therefore this revision in stable branch now.

So Codeblocks 20.xx in gentoo will be with wxGTK-3.0-gtk3 as gentoo wxwidgets team asked to use it for new revisions. Then after wxGTK-3.2-gtk3 release most likely there will be revision for it.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: oBFusCATed on January 15, 2020, 10:28:00 am
I don't think it is a good idea to use gtk3, yet, even with trunk. From what I've seen there are problems. :(
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Miguel Gimenez on January 15, 2020, 01:48:13 pm
This is the offending commit: Make wxComboCtrl a wxCompositeWindow

https://github.com/wxWidgets/wxWidgets/commit/70e9dbd756cb321fb85d6380b3e37bcd59604e09 (https://github.com/wxWidgets/wxWidgets/commit/70e9dbd756cb321fb85d6380b3e37bcd59604e09)

This commit was reverted after wx3.1.3 release in commit https://github.com/wxWidgets/wxWidgets/commit/6b00cc80f1fdb3ef134e2df694a0c34905442042
Title: Re: The 15 December 2019 build (11927) is out.
Post by: cacb on January 15, 2020, 06:41:26 pm
@Miguel Gimenez : Well done! I hope to see a new nightly soon with this fixed.
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Miguel Gimenez on January 16, 2020, 10:00:40 am
Is there any good reason for using wxComboCtrl instead of wxComboBox?. The fancy customization capabilities of the former are not used (at first glance).
Title: Re: The 15 December 2019 build (11927) is out.
Post by: ollydbg on January 20, 2020, 02:54:11 am
The font problem is because of a wxWidgets problem when loading fonts from string, introduced with version 2 of font serializing in wx3.1.2. It was reported by Ollydbg and it still unfixed.

https://trac.wxwidgets.org/ticket/18590

This issue is fixed in wx's trunk.

Allow parsing all fractional sizes in wxFont descriptions wxWidgets/[email protected] (https://github.com/wxWidgets/wxWidgets/commit/a73194f6b448b047168c566e48837957d08d2165)

I think we should have this patch in C::B's wx 3.1.3 (in either nightly build or official 20.xx release)
Title: Re: The 15 December 2019 build (11927) is out.
Post by: Miguel Gimenez on January 20, 2020, 09:47:33 am
I have created a ticket with the IncrementalSearch focus problem:

https://sourceforge.net/p/codeblocks/tickets/913/ (https://sourceforge.net/p/codeblocks/tickets/913/)