Author Topic: The 18 January 2020 build (11954) is out.  (Read 46815 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 18 January 2020 build (11954) is out.
« on: January 18, 2020, 09:01:56 pm »
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.

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
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z


The 18 January 2020 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2020/CB_20200118_rev11954_win64.7z
  - Linux :
   none

The current SDK version is : 1.46.0

Resolved Fixed:

  • editor: Style for indent guides is not applied correctly if some of the colours is using the default color
  • add support for upcoming standard C++20 and upcoming gcc 10
  • updated docs according http://forums.codeblocks.org/index.php/topic,23614.0.html (thanks gd_on)
  • lexer: Add f-strings to the python lexer (thanks Quiss)
  • applied patch #805: Flashing icons in Windows' taskbar while starting C::B. Thanks Miguel Gimenez.
  • sdk: Hide the implementation of the encoding detector
  • applied patch #910: Correction of assert and build error in loghacker plugin. Thanks Miguel Gimenez.

Regressions/Confirmed/Annoying/Common bugs:



    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #1 on: January 18, 2020, 09:02:17 pm »
    a patched wx 3.1.3 has been made, so you will need to download the new cb wx 3.1.3 dll's

    Offline Khram

    • Multiple posting newcomer
    • *
    • Posts: 47
    • 3D-tensor mathematics - vector space
      • ShipDesign
    Re: The 18 January 2020 build (11954) is out.
    « Reply #2 on: January 19, 2020, 08:10:01 am »
    Name            : Code::Blocks
    Version          : svn-r11936

    It's svn rev.11936
    C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-13.2 with CB-13456

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #3 on: January 19, 2020, 08:44:30 am »
    och shit you are right, oh damn, I forgot to svn up, och boy, how stupid :-(

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #4 on: January 19, 2020, 09:50:56 am »
    new build should be in place now.

    Offline Khram

    • Multiple posting newcomer
    • *
    • Posts: 47
    • 3D-tensor mathematics - vector space
      • ShipDesign
    Re: The 18 January 2020 build (11954) is out.
    « Reply #5 on: January 19, 2020, 01:43:01 pm »
    Name            : Code::Blocks
    Version          : svn-r11951


    Ok, thanks!
    C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-13.2 with CB-13456

    Offline tomay3000

    • Multiple posting newcomer
    • *
    • Posts: 58
    Re: The 18 January 2020 build (11954) is out.
    « Reply #6 on: January 19, 2020, 04:22:23 pm »
    Thanks, applying now.

    Offline Xaviou

    • Regular
    • ***
    • Posts: 402
      • X@v's wxStuff
    Re: The 18 January 2020 build (11954) is out.
    « Reply #7 on: January 19, 2020, 05:43:05 pm »
    Hi

    OS X version of this rev can be downloaded from my Google Drive (needs at least OS X 10.15)

    Debian Stretch and Buster (32 and 64 bits) can be installed from my repo.

    Regards
    Xav'
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline zed

    • Single posting newcomer
    • *
    • Posts: 9
    Re: The 18 January 2020 build (11954) is out.
    « Reply #8 on: January 19, 2020, 06:48:00 pm »
    Quote
    applied patch #805: Flashing icons in Windows' taskbar while starting C::B. Thanks Miguel Gimenez.
    Oh, finally! Special thanks for this patch.

    Offline tomay3000

    • Multiple posting newcomer
    • *
    • Posts: 58
    Re: The 18 January 2020 build (11954) is out.
    « Reply #9 on: January 21, 2020, 01:17:51 am »
    This version shows svn 11951

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #10 on: January 21, 2020, 07:32:53 am »
    I always take the number of svn at the time I create the build, normally this matches, this time it does not, because the last 3 commits occurred on another branch.

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 18 January 2020 build (11954) is out.
    « Reply #11 on: January 22, 2020, 09:05:24 am »
    Thank you for this build! It looks like the problem I reported with IncrementalSearch in the previous nightly is now gone (Win10).

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1553
    Re: The 18 January 2020 build (11954) is out.
    « Reply #12 on: January 22, 2020, 09:13:42 am »
    The Incremental Search problem is gone in the nightly, but not in the SVN head version. May be related to this?

    a patched wx 3.1.3 has been made, so you will need to download the new cb wx 3.1.3 dll's

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 18 January 2020 build (11954) is out.
    « Reply #13 on: January 22, 2020, 09:54:49 am »
    @Miguel Gimenez This is the price we should pay for using the dev version of wx. :(
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1553
    Re: The 18 January 2020 build (11954) is out.
    « Reply #14 on: January 22, 2020, 12:00:32 pm »
    Who is using it?. I'm using the official wx3.1.3 release.

    Now and then I use the wx development version, trying to find regressions, but bug reports and patches for C::B are made using the official release.

    If the nightly's library is different from the release it would be cool to know what has changed.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 18 January 2020 build (11954) is out.
    « Reply #15 on: January 22, 2020, 08:37:30 pm »
    It is up to killerbot to post the details. He is building it. ;)
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #16 on: January 23, 2020, 07:16:18 am »
    will post them this evening.

    Offline gd_on

    • Lives here!
    • ****
    • Posts: 796
    Re: The 18 January 2020 build (11954) is out.
    « Reply #17 on: January 23, 2020, 09:41:29 am »
    @Killerbot :
    in the announcement of a nightly you have a special paragraph "Regressions/Confirmed/Annoying/Common bugs:" which is generally empty.
    It could be nice to tell here that for some (may be still unknown) reasons some plugins have been temporarily disabled because they produce errors.

    gd_on

    PS : the bug described on IncrementalSearch behaviour seems to have disappeared in wxWidgets 3.1.4 (git version)
    « Last Edit: January 23, 2020, 09:55:57 am by gd_on »
    Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1553
    Re: The 18 January 2020 build (11954) is out.
    « Reply #18 on: January 23, 2020, 10:22:48 am »
    PS : the bug described on IncrementalSearch behaviour seems to have disappeared in wxWidgets 3.1.4 (git version)

    The commit that broke the plugin was reverted soon after, but wx3.1.3 was released before reversion took place; see

    http://forums.codeblocks.org/index.php/topic,23606.msg161103.html#msg161103

    Offline Jewest

    • Multiple posting newcomer
    • *
    • Posts: 31
    Re: The 18 January 2020 build (11954) is out.
    « Reply #19 on: January 23, 2020, 01:58:12 pm »
    What is the suggested approach for testing the nightly build? (Debian x64)
    Since I am still using the official released version, and this will be the last version in the repository for ever.

    As I use the program regularly I want to build it, evaluate if moving is the right way, and then move to this version.
    This way updating is "controlled".
    Can C::B be compiled in a single folder and run? before running the install?

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 18 January 2020 build (11954) is out.
    « Reply #20 on: January 23, 2020, 07:09:23 pm »
    Yes, pass --prefix to the configure script. I use --prefix=/home/myuser/software/cb.
    Another option is to build packages using the standard debian command for this. We have all the files needed, so building packages is a single command and it should be reliable.
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline AndyJ

    • Multiple posting newcomer
    • *
    • Posts: 24
    Re: The 18 January 2020 build (11954) is out.
    « Reply #21 on: January 24, 2020, 10:37:42 am »
    A tiny gripe...

    Unmentioned in the changes for this nightly is the inclusion of a new? plugin called 'Header guard'. Unfortunately it appears to be enabled by default and makes unexpected and unwanted changes to my header files. I eventually tracked down the cause but it would be useful in future to highlight such additions and not enable them by default. I've got 3 machines that I use, each of which have 3+ CodeBlocks profiles, so thats 9+ instances that I need to make manual changes to to prevent this behavior.

    Otherwise, thank you for another great nightly with a number of useful improvements!

    Andy

    Offline trivia21

    • Single posting newcomer
    • *
    • Posts: 9
    Re: The 18 January 2020 build (11954) is out.
    « Reply #22 on: January 29, 2020, 11:04:02 am »
    In Settings/Editor/Keyboard shortcuts when I try to add a shortcut for View/Perspectives/Code::Blocks default or minimal, I get the error message "KeyBinding file corrupted. Please delete" and the setting is not applied.

    Ubuntu 18.04, this nightly build with official wx3.1.1.

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 18 January 2020 build (11954) is out.
    « Reply #23 on: January 29, 2020, 02:56:12 pm »
    I have seen a strange bug in the editor a couple of times in this release:

    1. In a C++ header file within a class declaration, go to a blank line and type

    private:

    2. Press <Return> key, you then end up with

    private:private


    See attachment. Why does this happen?


    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2750
    Re: The 18 January 2020 build (11954) is out.
    « Reply #24 on: January 29, 2020, 07:42:19 pm »
    In Settings/Editor/Keyboard shortcuts when I try to add a shortcut for View/Perspectives/Code::Blocks default or minimal, I get the error message "KeyBinding file corrupted. Please delete" and the setting is not applied.

    Ubuntu 18.04, this nightly build with official wx3.1.1.

    That happens when wxWidgets reports a non-existent menu id. That menu is dynamic and probably has unique (new) menu items assigned as it is built, ie., unknown to KeyBinder.

    I'll look into it.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 18 January 2020 build (11954) is out.
    « Reply #25 on: January 29, 2020, 07:55:38 pm »
    cacb:
    Can you try to reproduce it with a simple project?
    What happens if you do this in a function?
    Does case statements work correctly?
    What are your editor settings?

    Can you try the previous night build to be sure it is not an old problem?
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2750
    Re: The 18 January 2020 build (11954) is out.
    « Reply #26 on: February 03, 2020, 07:58:16 pm »
    In Settings/Editor/Keyboard shortcuts when I try to add a shortcut for View/Perspectives/Code::Blocks default or minimal, I get the error message "KeyBinding file corrupted. Please delete" and the setting is not applied.

    Ubuntu 18.04, this nightly build with official wx3.1.1.

    Fixed; svn r11957
    The menu item label contained "::" within "Code::Blocks" text caused the scan routine to fail.

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 18 January 2020 build (11954) is out.
    « Reply #27 on: February 05, 2020, 02:39:11 am »
    will post them this evening.

    Hi, killerbot, did you post it somewhere?
    I don't see this information in this thread.
    If some piece of memory should be reused, turn them to variables (or const variables).
    If some piece of operations should be reused, turn them to functions.
    If they happened together, then turn them to classes.

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #28 on: February 05, 2020, 09:08:15 pm »
    forgot about it, will do when I reboot into my windows (probably tomorrow), my apologies for the delay.

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #29 on: February 08, 2020, 10:44:03 am »
    these are the adjustments I carry out on the wx :

    1) include/wx/msw/setup.h   (for the 2D support)
    Code
    #if defined(_MSC_VER) && _MSC_VER >= 1600
        #define wxUSE_GRAPHICS_DIRECT2D wxUSE_GRAPHICS_CONTEXT
    #else
        #define wxUSE_GRAPHICS_DIRECT2D 0
    #endif

    ==> just 1 line
    Code
        #define wxUSE_GRAPHICS_DIRECT2D wxUSE_GRAPHICS_CONTEXT

    2) combo.h and combocmn.cpp
    Quote
    This is the offending commit: Make wxComboCtrl a wxCompositeWindow

    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
    « Last Edit: February 08, 2020, 10:53:24 am by killerbot »

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #30 on: February 08, 2020, 10:56:52 am »
    from wx roadmap :

     New development happens on 3.1 branch. The latest version is 3.1.3, released on October 28, 2019 and 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.

    One of the big planned changes for this 3.2 is better support for high DPI displays, but there are, of course, many, many other fixes and improvements in it as well.

    3.2 will also finally drop support for very old legacy systems (such as Win9x platform) and compilers (MSVC6, maybe MSVC7 as well).

    Offline zinsser

    • Single posting newcomer
    • *
    • Posts: 2
    Re: The 18 January 2020 build (11954) is out.
    « Reply #31 on: February 11, 2020, 04:49:34 am »
    I have found a bug when setting font of editer:

    Steps to reproduce:
    1. open CB.
    2. settings -> editor -> general settings -> font -> choose -> OK. (do nothing) > OK
    3. settings -> editor

    an assert is raised (see attachment)

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 18 January 2020 build (11954) is out.
    « Reply #32 on: February 11, 2020, 07:35:25 am »
    I have found a bug when setting font of editer:

    Steps to reproduce:
    1. open CB.
    2. settings -> editor -> general settings -> font -> choose -> OK. (do nothing) > OK
    3. settings -> editor

    an assert is raised (see attachment)

    See this post: Alert message box jumps if I open the compiler setting dialog
    and this post: Re: The 15 December 2019 build (11927) is out.

    Specially, this bug is fixed in the wx's official git head, but not in wx 3.1.3 release.
    I think we have to manually apply this patch to the official wx3.1.3 release.
    If some piece of memory should be reused, turn them to variables (or const variables).
    If some piece of operations should be reused, turn them to functions.
    If they happened together, then turn them to classes.

    Offline zinsser

    • Single posting newcomer
    • *
    • Posts: 2
    Re: The 18 January 2020 build (11954) is out.
    « Reply #33 on: February 11, 2020, 09:07:36 am »

    See this post: Alert message box jumps if I open the compiler setting dialog
    and this post: Re: The 15 December 2019 build (11927) is out.

    Specially, this bug is fixed in the wx's official git head, but not in wx 3.1.3 release.
    I think we have to manually apply this patch to the official wx3.1.3 release.


    thank you for the information!
    I will update wx3.1.3 to solve this problem.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 18 January 2020 build (11954) is out.
    « Reply #34 on: February 11, 2020, 07:36:20 pm »
    @killerbot: I guess we want to have this patch in our version, too. What do you think?
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 18 January 2020 build (11954) is out.
    « Reply #35 on: February 11, 2020, 07:55:10 pm »
    ok will take it in with a next nightly

    Offline trivia21

    • Single posting newcomer
    • *
    • Posts: 9
    Re: The 18 January 2020 build (11954) is out.
    « Reply #36 on: February 18, 2020, 09:56:23 am »
    In Settings/Editor/Keyboard shortcuts when I try to add a shortcut for View/Perspectives/Code::Blocks default or minimal, I get the error message "KeyBinding file corrupted. Please delete" and the setting is not applied.

    Ubuntu 18.04, this nightly build with official wx3.1.1.

    Fixed; svn r11957
    The menu item label contained "::" within "Code::Blocks" text caused the scan routine to fail.
    Thank you, it works now.

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2750
    Re: The 18 January 2020 build (11954) is out.
    « Reply #37 on: June 16, 2020, 08:33:40 pm »
    I have found a bug when setting font of editer:

    Steps to reproduce:
    1. open CB.
    2. settings -> editor -> general settings -> font -> choose -> OK. (do nothing) > OK
    3. settings -> editor

    an assert is raised (see attachment)

    See this post: Alert message box jumps if I open the compiler setting dialog
    and this post: Re: The 15 December 2019 build (11927) is out.

    Specially, this bug is fixed in the wx's official git head, but not in wx 3.1.3 release.
    I think we have to manually apply this patch to the official wx3.1.3 release.

    Where is the fix for this bug so we can add it to our own widgets 3.1.3.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 18 January 2020 build (11954) is out.
    « Reply #38 on: June 17, 2020, 01:52:09 am »
    @Pecan: Killerbot already patched our version. From here https://trac.wxwidgets.org/ticket/18590 you can find the commit. If you're talking about the font issue.
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2750
    Re: The 18 January 2020 build (11954) is out.
    « Reply #39 on: June 17, 2020, 07:03:38 pm »
    @Pecan: Killerbot already patched our version. From here https://trac.wxwidgets.org/ticket/18590 you can find the commit. If you're talking about the font issue.

    I was getting the font assert with virgin wx313 (described in these messages).
    I applied this patch to my local wxWidgets313.
    https://github.com/wxWidgets/wxWidgets/commit/a73194f6b448b047168c566e48837957d08d2165

    It solved the problem.