Author Topic: The 03 June 2012 build (8024) is out.  (Read 58059 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 03 June 2012 build (8024) is out.
« on: June 03, 2012, 07:18:43 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://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2812_gcc452-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc452-TDM.7z

The 03 June 2012 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20120603_rev8024_win32.7z
  - Linux :
   none

Resolved Fixed:

  • compiler: Switched full command line logging to be the default option for all compilers
  • compiler/todo: Fixed some crashes when the compiler and todo plugins get unloaded/loaded/unloaded. See http://forums.codeblocks.org/index.php/topic,16270.0.html and http://forums.codeblocks.org/index.php/topic,16269.0.html
  • applied patch by daniloz to auto-generate ZIPs also for core plugins
  • added "C++ " and H++" extensions to file filters and scipting
  • cbStatusBar updates / refinements, some slipped already in with last commit
  • changed the time the cbEVT_EDITOR_ACTIVATED event is sent, this allows to obtain the associated project and does no harm
  • cppcheck: make use of new file filter for C++
  • compiler messages: avoid assertion in debug build on shutdown (in addition to r7968)
  • allow sorting in find dialog (applied modified patch by Fnar, see here: http://forums.codeblocks.org/index.php/topic,15919.msg107262.html)
  • applied patch by Pecan to fix error in find in files dialog, see here: http://forums.codeblocks.org/index.php/topic,16278.0.html
  • applied patch #3282 by alpha0010 to fix auto-indent with CR line endings
  • applied patch #3281 by ziss_dm for a slight correction for the EditorColourSet::GetLanguageForFile to allow filemasks
  • fix calculation of relativeToCommonTopLevelPath in cbproject.cpp; fixes issue described here: http://forums.codeblocks.org/index.php/topic,16322.msg110516.html#msg110516
  • build-fix: remove remaining initialisation of no longer existant progressbar-variable
  • help-plugin (linux): make it compilable from separate build-folders, if no development files for bzip2 or zlib are installed
  • CC: Fix a bug when parsing some kind of buffer like "const ALib::CommandLine & cmd", the tailing space should be preserved in m_Str. See more details on http://forums.codeblocks.org/index.php/topic,16361.msg110868.html#msg110868
  • pumped ASTYLE plugin to astyle v2.03, see here: http://forums.codeblocks.org/index.php/topic,15745.msg108900.html
  • EditorTweaks plugin: add option to configure maximum of store aligner items
  • applied patch by daniloz to fix bug described here: http://forums.codeblocks.org/index.php/topic,14517.0.html
  • CppCheck : save xml file so it can be processed by CI systems like jenkins
  • applied (modified) patch 2748 (thanks raybert) : active project no longer stored in workspace but in dedicated layout file for the workspace, and preferred target concept
  • debugger: Modified wxPropGrid to call OnExpand/OnCollapse when the left/right arrow keys are used.
    This fixes a bug in the Watches window not calling OnExpand/OnCollapse for the watch, thus breaking the gdb/mi debugger
  • debugger: Made it possible to add data breakpoint from the watches window (right click on a watch -> add data breakpoint)
  • debugger: Adding a watch from the context menu must show the Watches window

Regressions/Confirmed/Annoying/Common bugs:


    « Last Edit: June 17, 2012, 09:10:46 pm by killerbot »

    zabzonk

    • Guest
    Re: The 03 June 2012 build (8024) is out.
    « Reply #1 on: June 03, 2012, 08:53:36 pm »
    Thanks guys.

    Quote
    full command line logging to be the default option

    This freaked me out a bit when I first built a project with this nightly, but I think it's probably a good idea. But maybe that means that the logging window should be horizontally scrollable, so that long command lines (which mostly you don't care about) don't wrap and thus obscure the build progress?

    stefanos_

    • Guest
    Re: The 03 June 2012 build (8024) is out.
    « Reply #2 on: June 03, 2012, 10:00:00 pm »
    Compiled it myself and seems that this old issue reappeared but with gdb; it does not respect any breakpoint at all:

    http://forums.codeblocks.org/index.php?topic=11301.45

    I get this message:

    Code
    Debugger name and version: GNU gdb (GDB) 7.4.1-debian
    Error in re-setting breakpoint 2: Function "/home/stefanos/Projects/ANSI C++/GeneralCode/main.cpp:26" not defined.
    [Inferior 1 (process 326) exited normally]
    Debugger finished with status 0

    I use
    Code
    gcc 4.6.3 Linux/unicode - 32 bit
    Debian wheezy

    Partially off the subject: I visited this link Code::Blocks Bug Page and I tried to sort the bug list based on date from oldest to newest open ticket. For some reason it does not work. Can anyone fix this if plausible please?
    « Last Edit: June 03, 2012, 10:11:37 pm by stefanos_ »

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 03 June 2012 build (8024) is out.
    « Reply #3 on: June 04, 2012, 02:04:07 am »
    Compiled it myself and seems that this old issue reappeared but with gdb; it does not respect any breakpoint at all:

    http://forums.codeblocks.org/index.php?topic=11301.45

    I get this message:

    Code
    Debugger name and version: GNU gdb (GDB) 7.4.1-debian
    Error in re-setting breakpoint 2: Function "/home/stefanos/Projects/ANSI C++/GeneralCode/main.cpp:26" not defined.
    [Inferior 1 (process 326) exited normally]
    Debugger finished with status 0
    Can you try the same gdb session under command line?
    I'm not sure this but is related to that one.
    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 03 June 2012 build (8024) is out.
    « Reply #4 on: June 04, 2012, 09:53:45 am »
    Compiled it myself and seems that this old issue reappeared but with gdb; it does not respect any breakpoint at all:
    This is your problem: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks#Path_with_spaces
    (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 daniloz

    • Regular
    • ***
    • Posts: 268
    Re: The 03 June 2012 build (8024) is out.
    « Reply #5 on: June 04, 2012, 09:57:37 am »
    This freaked me out a bit when I first built a project with this nightly, but I think it's probably a good idea. But maybe that means that the logging window should be horizontally scrollable, so that long command lines (which mostly you don't care about) don't wrap and thus obscure the build progress?

    +1 to the horizontally scrollable logging window

    Offline Freem

    • Almost regular
    • **
    • Posts: 219
    Re: The 03 June 2012 build (8024) is out.
    « Reply #6 on: June 05, 2012, 11:06:13 pm »
    This idea could also be useful for errors and warning... Or maybe I am the only one with extremely verbose template errors? :P

    About enhancements, I also think that data breakpoints will be really useful. Thanks a lot!

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 03 June 2012 build (8024) is out.
    « Reply #7 on: June 05, 2012, 11:43:35 pm »
    About enhancements, I also think that data breakpoints will be really useful. Thanks a lot!
    There are data breakpoints in C::B for quite long time. I've just added a little usability enhancement :)
    (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 Freem

    • Almost regular
    • **
    • Posts: 219
    Re: The 03 June 2012 build (8024) is out.
    « Reply #8 on: June 06, 2012, 10:48:52 am »
    I did not know that, shame on me

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 03 June 2012 build (8024) is out.
    « Reply #9 on: June 06, 2012, 09:45:51 pm »
    As usual:
    Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my debian-repo.

    Important note:
    I changed the layout of my repo
    , to fix the issue described in this thread:
    http://forums.codeblocks.org/index.php/topic,16357.msg110806.html#msg110806

    Please read the instructions on my website, and fix your entries in /etc/apt/sources.list[.d] accordingly.
    « Last Edit: June 10, 2012, 10:44:15 am by jens »

    Offline Halan

    • Multiple posting newcomer
    • *
    • Posts: 43
    Re: The 03 June 2012 build (8024) is out.
    « Reply #10 on: June 09, 2012, 11:27:42 am »
    foreach-loops indent fine now when using the AStyle-Plugin. Thank you! :)

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 03 June 2012 build (8024) is out.
    « Reply #11 on: June 10, 2012, 10:49:10 am »
    I just started a RPM-repo on my server: http://rpm.jenslody.de .
    At the moment only Fedora 16 and 15 are available, more will follow (at least Fedora 15 and CentOS/RedHat 5 and 6).

    See my rpm-site for instructions.

    EDIT:
    see above
    « Last Edit: June 11, 2012, 09:08:34 am by jens »

    stefanos_

    • Guest
    Re: The 03 June 2012 build (8024) is out.
    « Reply #12 on: June 11, 2012, 07:26:19 am »
    Nice work jens :D can I ask you a favor mate? I have compiled wxWidgets 2.9.x trunk myself for both static and dynamic, but I am not sure if I have done it properly. It seems I have missed the opengl support let alone other options which are definitely mandatory for sample programs.

    Would it be easy for you to send me your compilation settings to do it myself in a PM? I know that you are already offering it as .deb packages for both Debian and Ubuntu, but I would like to see where I was partially incomplete with my commands.

    Cheers

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 03 June 2012 build (8024) is out.
    « Reply #13 on: June 11, 2012, 09:37:31 am »
    Nice work jens :D can I ask you a favor mate? I have compiled wxWidgets 2.9.x trunk myself for both static and dynamic, but I am not sure if I have done it properly. It seems I have missed the opengl support let alone other options which are definitely mandatory for sample programs.

    Would it be easy for you to send me your compilation settings to do it myself in a PM? I know that you are already offering it as .deb packages for both Debian and Ubuntu, but I would like to see where I was partially incomplete with my commands.

    Cheers

    I have used
    Code
    ../configure --with-zlib=sys --disable-reserved_virtual --enable-debug --enable-debug_info --enable-debug_gdb --enable-unicode --with-gtk --enable-mediactrl --enable-sound --with-sdl --enable-display --enable-geometry --enable-graphics_ctx --with-libjpeg=sys --with-libpng=sys --with-libtiff=sys --with-opengl --with-libjpeg=builtin --with-libtiff=builtin
    The ".." is there,because I use it from a seperate build-folder to keep the sources clean.
    You get a "wx-config" in the build-folder after running "make" .
    If you use it directly, there is no need to run "make install" and litter your system.

    Offline carra

    • Multiple posting newcomer
    • *
    • Posts: 117
    Re: The 03 June 2012 build (8024) is out.
    « Reply #14 on: June 11, 2012, 11:04:04 am »
    The download link still reads "The 17 May 2012 build is out." ;)

    Having tested the new nightly, I found this:

    - CallMenu() script command still fails for me (as reported in earlier nightlies)
    - Aligner is still not present as a menu option, only context menu
    - Reportedly there is now an option to set a new maximum for Aligner entries, but I cannot find it anywhere. I still get 4 entries and the rest are cropped (same as before).

    Other than that, working fine.