Author Topic: The 27 October 2014 build (10016) is out.  (Read 77947 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 27 October 2014 build (10016) is out.
« on: October 28, 2014, 01:16:20 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 for Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw28u_gcc_cb_wx2812_gcc481-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/mingwm10_gcc481-TDM.7z

The 27 October 2014 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2014/CB_20141027_rev10016_win32.7z
  - Linux :
   none

Resolved Fixed:

  • CC: handle the "__declspec" qualifier when parsing the class definition, this qualifier is skipped as the same way as handling "__attribute__" qualifier.
  • improve command line handling so plugins can receive commands from the command line
  • SpellChecker-plugin: activate OnlineSpellChecking for VHDL block comments and strings and for verilog strings
  • fix an issue with the new editorpane-layout saving/restoring, where the layout was not recreated, when the default workspace was automatically opened on application startup.
  • DoxyBlocks: strip default menu keybindings that conflict core C::B shortcuts
  • better build fix for the build fix for the build fix ....; some distributions (at least debian) have backported the fix to pre wx2.9.0, the wx2.8.12 tag in wxWidgets svn-repo still uses the macro without the "WX_"-prefix
  • CC: fix a bug that CodeCompletion's setting don't get saved when C::B closed
  • pumped (wx)Scintilla to v3.5.1 (bringing support for BibTeX lexer)
  • update of astyle to v2.05
  • CC: fix handling of conditional preprocessor directives.

    Enhance IsMacroDefined() function, it can handle both "defined (xxx)" and "defined xxx" directives
  • CC: handling __declspec (xxx) in ParserThread::DoParse() function. Move handling __attribute__ keyword to the switch case statements.
  • lexer: added BibTex lexer configuration files
  • editor: Add menu commands for searching the selected text without opening the find-replace dialog

Regressions/Confirmed/Annoying/Common bugs:



    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 27 October 2014 build (10016) is out.
    « Reply #1 on: October 28, 2014, 03:46:56 pm »
    No update of Fedora or Dedbian packages possible until end of next week, sorry.

    Offline arprog

    • Single posting newcomer
    • *
    • Posts: 8
    Re: The 27 October 2014 build (10016) is out.
    « Reply #2 on: October 28, 2014, 05:36:48 pm »
    Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

    Offline shurick

    • Multiple posting newcomer
    • *
    • Posts: 35
    Re: The 27 October 2014 build (10016) is out.
    « Reply #3 on: October 28, 2014, 05:47:52 pm »
    Packages for openSUSE (binaries and sources) for 32-bit and 64-bit.
    Packages for openSUSE http://codeblocks.esy.es  (binaries and sources) for 32-bit and 64-bit.

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7582
      • My Best Post
    Re: The 27 October 2014 build (10016) is out.
    « Reply #4 on: October 28, 2014, 06:32:55 pm »
    Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

    Is it a "custom makefile" project or a normal CB project?
    What version of CMake?
    Edit2: What compiler is the project using?

    Edit: Do you have "interpret #if, #else ..." checked?

    From EditorManager::CollectDefines function in editormanager.cpp;
    The function appears to require then both to be checked.  

    Tim S.
    « Last Edit: October 28, 2014, 06:48:50 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline arprog

    • Single posting newcomer
    • *
    • Posts: 8
    Re: The 27 October 2014 build (10016) is out.
    « Reply #5 on: October 28, 2014, 10:27:39 pm »
    Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

    Is it a "custom makefile" project or a normal CB project?
    What version of CMake?
    Edit2: What compiler is the project using?

    Edit: Do you have "interpret #if, #else ..." checked?

    From EditorManager::CollectDefines function in editormanager.cpp;
    The function appears to require then both to be checked.  

    Tim S.


    "interpret #if, #else ..." checked
    cmake 3.0.2
    mingw-w64 4.9.1
    cmd: cmake -G "CodeBlocks - MinGW Makefiles"
    cmake generates custom makefile project

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7582
      • My Best Post
    Re: The 27 October 2014 build (10016) is out.
    « Reply #6 on: October 29, 2014, 01:35:51 am »
    Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

    Is it a "custom makefile" project or a normal CB project?
    What version of CMake?
    Edit2: What compiler is the project using?

    Edit: Do you have "interpret #if, #else ..." checked?

    From EditorManager::CollectDefines function in editormanager.cpp;
    The function appears to require then both to be checked.  

    Tim S.


    "interpret #if, #else ..." checked
    cmake 3.0.2
    mingw-w64 4.9.1
    cmd: cmake -G "CodeBlocks - MinGW Makefiles"
    cmake generates custom makefile project

    FYI: Code::Blocks does NOT look into the makefile when a custom makefile is used; it only looks at the setting in the cbp file.
    But, if you disable the "custom makefile" for a short time and add the defines to the correct target/project level.
    Change it back to "custom makefile"; then change the project target to be built; it will grey in/out the blocks based on the defines in the CB Project. Note: It really ignores those defines in most other uses of building the project.

    Tested using wxThings created project from wxCode.
    cmake 3.0.2 Used the GUI tool.

    Tim S.
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline arprog

    • Single posting newcomer
    • *
    • Posts: 8
    Re: The 27 October 2014 build (10016) is out.
    « Reply #7 on: October 29, 2014, 03:00:23 pm »
    In generated cbp, defines present...

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7582
      • My Best Post
    Re: The 27 October 2014 build (10016) is out.
    « Reply #8 on: October 29, 2014, 03:20:10 pm »
    In generated cbp, defines present...

    Start a new thread for your problem; and post a link to your cbp file.

    Tim S.
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline arprog

    • Single posting newcomer
    • *
    • Posts: 8
    Re: The 27 October 2014 build (10016) is out.
    « Reply #9 on: October 29, 2014, 11:04:08 pm »
    I found!
    By default selected virtual target "all", if i select my subproject works fine.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 27 October 2014 build (10016) is out.
    « Reply #10 on: October 30, 2014, 08:22:40 pm »
    @ollydbg:
    I've tried to upgrade to 10016, but there was a massive problem with code completion - it ran until it depleted all my memory (12g+4g swap)...
    I've no time to debug why it breaks such badly, but reverting to 9990 fixed the problem... at least it didn't repeat the whole day.

    Centos 6 64bit...
    (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 ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 27 October 2014 build (10016) is out.
    « Reply #11 on: October 30, 2014, 11:48:36 pm »
    But I cant reproduce, I will check all the changed code.
    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 oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 27 October 2014 build (10016) is out.
    « Reply #12 on: October 31, 2014, 12:09:57 am »
    Of course you won't be able to reproduce it, you need the special pattern of code that breaks it...
    I don't know what breaks it and I doubt I have the time to find 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 ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 27 October 2014 build (10016) is out.
    « Reply #13 on: October 31, 2014, 09:57:15 am »
    I have a question that I want to install C::B to a Linux(ubuntu10.04 in virtualbox), I just follow the instruction here:
    http://apt.jenslody.de/
    As jens suggest ubuntu user should try pasgui's ppa. I have correctly configure the apt, like:Read about installing
    Code
    sudo add-apt-repository ppa:pasgui/ppa
    and Then
    Code
    sudo apt-get update
    From Ubuntu10.04's synaptic package manager, I still see the old C::B 8.02 supply from the official ubuntu, but the nightly build version of pasgui does not shown up.

    Any idea how to fix this issue? What is the minimal system requirement of pasgui's nightly build binaries? Thanks.

    BTW: I have also try jens' repo before, but it has the same issue: I still don't see any nightly build version of C::B show in the synaptic package manager.
    « Last Edit: October 31, 2014, 10:00:38 am by ollydbg »
    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 scarphin

    • Lives here!
    • ****
    • Posts: 644
    Re: The 27 October 2014 build (10016) is out.
    « Reply #14 on: October 31, 2014, 10:35:09 am »
    Do you see the nightly version with the search command or the like?
    Code
    apt-cache search codeblocks