Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on July 26, 2019, 01:06:25 pm

Title: The 26 July 2019 build (11810) is out.
Post by: killerbot on July 26, 2019, 01:06:25 pm

IMPORTANT : THIS IS THE THIRD BUILD THAT USES WX 311 with 2D SUPPORT.




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 : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw31u_gcc_cb_wx311_2D_gcc810-mingw64.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 26 July 2019 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2019/CB_20190726_rev11810_win64.7z
  - Linux :
   none

The current SDK version is : 1.43.0

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 26 July 2019 build (11810) is out.
Post by: killerbot on July 26, 2019, 01:07:50 pm
Plugin resource not found: SpellChecker.zip
Title: Re: The 26 July 2019 build (11810) is out.
Post by: gd_on on July 26, 2019, 02:42:13 pm
I have found a problem in spellchecker\update.bat (modification introduced in svn 11807).
The line containing
Code
:mkdirSilent - create a directory if it doesn't exists
is bad interpreted, as if it tried to execute strings after the - sign.
If I modify it by :
Code
REM  - create a directory if it doesn't exists
:mkdirSilent
it works.
I also modify the line containing, just in case of ... :
Code
:copyImageFiles
Quite strange because the same syntax is accepted in the main update.bat

Gd_èon

Title: Re: The 26 July 2019 build (11810) is out.
Post by: oBFusCATed on July 26, 2019, 11:12:55 pm
Are the line endings windows correct? There is a chance I've edited the file on linux. Also I've tried it and it seemed to work... :( This is quite annoying. I guess I have to just try to port the build system to cmake or meson and stop bother with all these annoyances.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: oBFusCATed on July 26, 2019, 11:37:49 pm
Can you try if adding these at the top fixes it?
Code
REM SETLOCAL assures environment variables created in a batch file are not exported to its calling environment
setlocal

SETLOCAL ENABLEEXTENSIONS
Title: Re: The 26 July 2019 build (11810) is out.
Post by: gd_on on July 27, 2019, 01:10:15 pm
The problem comes effectively from the linux EOL (LF only).
If I convert spellchecker\update.bat to Windows EOL (CR + LF) it's OK.
If on the original update.bat (Linux EOL) I add your lines with SET LOCAL, it still does not work. But If I convert this last file to Windows EOL, it's OK again.
So, the set local does not solve the problem. It's clearly an EOL problem.

The error message I obtain is in french :
Code
update31_64.bat
doesn't était inattendu.

Which means something like : doesn't was unexpected. The string "doesn't" is on the line containing ":mkdirSilent". It's why I said that this line was bad interpreted, as if strings following the - sign were triing to be executed.

May be a simple solution is to separate the strings following the - sign as a REM line. Like that, it works with Linux and Windows EOL.

gd_on

Title: Re: The 26 July 2019 build (11810) is out.
Post by: Miguel Gimenez on July 27, 2019, 02:19:45 pm
Like that, it works with Linux and Windows EOL.

The main update.bat also has mixed EOL, but they are in other area and it is only noticeable when creating diffs.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: CmKaHo on July 27, 2019, 02:20:06 pm
no wxSmith.

I am trying to get working configuration on KUbuntu 19.04. Clean install.
I compiled wx 3.1.2 with ../configure --enable-unicode --enable-cxx11 --enable-xrc
After compiling of the code::blocks I get message:
/usr/local/lib/codeblocks/plugins/libwxsmith.so: not loaded (missing symbols?)
...

Can somebody help me what is wrong?
Thanks,
Karel
Title: Re: The 26 July 2019 build (11810) is out.
Post by: Miguel Gimenez on July 27, 2019, 02:23:38 pm
You must call configure with --with-contrib-plugins=all.

Please open your own thread for unrelated questions.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: CmKaHo on July 27, 2019, 05:24:59 pm
You must call configure with --with-contrib-plugins=all - sure, I did it.
Please open your own thread... - sorry, I assumed that my problem is related with version.

But I found a problem source: --enable-cxx11 in wx compilation causes it.

Thanks again.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: oBFusCATed on July 30, 2019, 06:28:04 pm
The problem comes effectively from the linux EOL (LF only).

Should be fixed with rev11819. Please test and let me know.
I'm using only git on windows and there the file extensions are correctly set to crlf...
Title: Re: The 26 July 2019 build (11810) is out.
Post by: sodev on July 30, 2019, 06:59:30 pm
This is because you are using autocrlf, but this does not do the correct thing. It commits everything with LF but converts to the local native EOL on checkout. What you really need to do is to enforce a specific EOL for these files, they will get commited with that EOL and keep it on checkout. You have to add a .gitattributes file and mark the windows scripts to use CRLF and the linux scripts to use LF.

In svn you have to set the corresponding property which currently is not set for these files.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: gd_on on July 30, 2019, 07:15:28 pm
Quote
Should be fixed with rev11819. Please test and let me know.
Yes it's correct there.
gd_on
Title: Re: The 26 July 2019 build (11810) is out.
Post by: AndyJ on July 31, 2019, 10:21:44 am
Is the right click 'Find occurances of' broken in this nightly? It doesn't seem to be on the menu with my installation on Window 7 x64.

Thanks,

Andy
Title: Re: The 26 July 2019 build (11810) is out.
Post by: oBFusCATed on July 31, 2019, 10:50:58 am
Do you have the ThreadSearch plugin installed and enabled?
Title: Re: The 26 July 2019 build (11810) is out.
Post by: AndyJ on July 31, 2019, 01:17:50 pm
Ah, thanks for the pointer. It doesn't look like that plugin was included in the archive?
Title: Re: The 26 July 2019 build (11810) is out.
Post by: Miguel Gimenez on July 31, 2019, 02:26:54 pm
In fact SymTab, ThreadSearch and ToolsPlus are not in the nightly
Title: Re: The 26 July 2019 build (11810) is out.
Post by: killerbot on July 31, 2019, 10:09:20 pm
In fact SymTab, ThreadSearch and ToolsPlus are not in the nightly

I was under the impression they were , hmmm ?
Title: Re: The 26 July 2019 build (11810) is out.
Post by: stahta01 on July 31, 2019, 10:57:46 pm
In fact SymTab, ThreadSearch and ToolsPlus are not in the nightly

I was under the impression they were , hmmm ?

SymTab has been disabled for a long time because of bugs.
Edit: wxWidgets 3.x related bugs.
Edit2: IIRC, ThreadSearch has an enable/disable bug.
Edit3: The enable/disable bug is that it crashes CB when being either enable/disable as a plugin.

Tim S.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: oBFusCATed on July 31, 2019, 11:04:31 pm
stahta01: Are you mixing SymbolBrowser and SymTab? ThreadSearch is working fine except for the crash on disable and it hasn't been disabled.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: stahta01 on July 31, 2019, 11:18:46 pm
stahta01: Are you mixing SymbolBrowser and SymTab?

I think yes is likely true.

The nightly is missing these dlls ThreadSearch.dll, ToolsPlus.dll, and SymTab.dll from folder share\CodeBlocks\plugins.

Tim S.
Title: Re: The 26 July 2019 build (11810) is out.
Post by: gd_on on August 01, 2019, 10:46:42 am
The missing dlls is probably a problem caused by a wrong EOL formatting in spellchecker\update.bat : C::B generation by Codeblocks_wx31_64.workspace stopped on an error at the end of spellchecker generation, so the 3 last plugins have not been generated (and spellchecker itself is not finished). Killerbot has seen the problem, but apparently after the publication. See posts at the top of this thread.
Problem has been corrected in svn 11819, so next nightly will be correct.

gd_on