Author Topic: The 17 June 2012 build (8059) is out.  (Read 53583 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
The 17 June 2012 build (8059) is out.
« on: June 17, 2012, 09:10:18 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 17 June 2012 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20120617_rev8059_win32.7z
  - Linux :
   none

Resolved Fixed:

  • fixed crash candidate when working w/o workspace
  • applied patch #3247: Remember folding (thanks marazm)
  • applied patch #3253: Lexer updates (filemasks and keywords), (thanks alpha0010)
  • applied patch #3270: CMake lexer (thanks alpha0010)
  • compiler: Improved the 'Force target relink' featuer introduced in r7595 - now the relinking is done correctly even if the library is set in the project or in the compiler settings;
  • support -std=c++11 compiler flag on the gnu compiler family
  • debugger: Fix parsing watches output for static member with optimized values (thanks OsminohejTygr :) for providing the test case)
  • debugger: Changed the UI name of the GDB debugger to GDB/CDB, so users are less confudes searching for the CDB debugger settings;
  • project options dialog: allow to quickly enable/disable all files that belong to a target
  • fixed bug described here: http://forums.codeblocks.org/index.php/topic,16412.msg111565.html#msg111565
  • CC: avoid showing a call tip twice (in case same tip from different parents)
  • SDK: remove the virtual modifier of the operator=() functions, this silence compiler warnings. see: http://forums.codeblocks.org/index.php/topic,16416.msg111245.html#msg111245 for more details.
  • fix an issue that was introduced in commit 7543; console applications only run in console, if "Pause if execution ends" was checked; now the application runs in a terminal, if it is a console-application or if the host application should run in a terminal (set in programs arguments for the actual target); see http://forums.codeblocks.org/index.php/topic,16432.msg111404.html#msg111404
  • fix an issue, that sometimes prevents debugger from finding the tty the app runs in, if not xterm is used as terminal; see http://forums.codeblocks.org/index.php/topic,16207.msg109484.html#msg109484
  • SDK: Add a new virtual function: GetToolBarPriority(), which define the priority of the plugin's toolbar position, and remove the compiler warning. See: http://forums.codeblocks.org/index.php/topic,16416.msg111345.html#msg111345 for more details.
  • new script binding: ExecuteAndGetOutputAndError
  • partially applied patch #3293: Tabs: tidy context menus
  • implemented ability to move/select cursor according CamelCase with CTRL (CTRL+SHIFT) in editor (options must be enabled) - is a scintilla built-in function.
  • applied patch #3278: EditorTweaks: implement strip trailing blanks
  • applied patch #3283: Context menu: Open link in browser (on behalf of ollydbg)
  • added compiler warnings for gcc >= 4.7 to regex-list

Regressions/Confirmed/Annoying/Common bugs:



    Offline carra

    • Multiple posting newcomer
    • *
    • Posts: 114
    Re: The 17 June 2012 build (8059) is out.
    « Reply #1 on: June 17, 2012, 09:34:20 pm »
    I've tried several times, but the script console never shows up.
    And, the issue with relative paths I described in June 3 nightly is still there.

    Other than that, working fine.

    Offline ahui886

    • Multiple posting newcomer
    • *
    • Posts: 29
    Re: The 17 June 2012 build (8059) is out.
    « Reply #2 on: June 18, 2012, 02:51:57 am »
    Great, well done.
    Thanks

    Offline carra

    • Multiple posting newcomer
    • *
    • Posts: 114
    Re: The 17 June 2012 build (8059) is out.
    « Reply #3 on: June 18, 2012, 12:17:44 pm »
    Correction: The issue with script console seems to be mine alone. Just a bad view configuration getting it out of the screen.
    However, it would be nice to have some small check at loading to prevent a window being out of the desktop area.

    Offline jens

    • Administrator
    • Lives here!
    • *****
    • Posts: 7265
      • Jens' unofficial debian-repository for the Code::Blocks - IDE
    Re: The 17 June 2012 build (8059) is out.
    « Reply #4 on: June 18, 2012, 02:03:24 pm »
    As usual:
    Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my debian-repo.
    Fedora packages (binaries and sources) for 32-bit and 64-bit systems (fc15, fc16 and fc17) can be found in my fedorarpm-repo .

    Important note for debian (and ubuntu) users:
    I changed the layout of my debian-repo, to fix the issue described in this thread:
    http://forums.codeblocks.org/index.php/topic,16357.msg110806.html#msg110806

    Please (re)read the instructions on my website, and fix your entries in /etc/apt/sources.list[.d] accordingly.

    Offline jens

    • Administrator
    • Lives here!
    • *****
    • Posts: 7265
      • Jens' unofficial debian-repository for the Code::Blocks - IDE
    Re: The 17 June 2012 build (8059) is out.
    « Reply #5 on: June 25, 2012, 09:12:05 pm »
    Nighly packages for RedHat/CentOS 5 and 6 are now available from my rpm-repo .
    You need additional packages from other repos, see my site for details.

    I tested the packages on CentOS 5 and 6 (64-bit).

    As usual: any feedback is welcome !

    Offline Revan

    • Single posting newcomer
    • *
    • Posts: 3
    Re: The 17 June 2012 build (8059) is out.
    « Reply #6 on: June 25, 2012, 09:53:18 pm »
    Thanks for the Fedora repository

    Offline raynebc

    • Almost regular
    • **
    • Posts: 212
    Re: The 17 June 2012 build (8059) is out.
    « Reply #7 on: June 26, 2012, 10:08:00 pm »
    I noticed that when I build my project in this nightly, the log shows that it passed "-Wall -g" compiler parameters twice each to the command used to compile each of the source files.  I doubt a well-designed compiler would care (GCC doesn't seem to mind) if such parameters were given multiple times, but I don't remember seeing this before, is it some new kind of behavior that shouldn't be happening?

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 17 June 2012 build (8059) is out.
    « Reply #8 on: June 27, 2012, 07:17:10 am »
    I noticed that when I build my project in this nightly, the log shows that it passed "-Wall -g" compiler parameters twice each to the command used to compile each of the source files.  I doubt a well-designed compiler would care (GCC doesn't seem to mind) if such parameters were given multiple times, but I don't remember seeing this before, is it some new kind of behavior that shouldn't be happening?
    The parameters are a sum of the global compiler options (including additional options), the project options, the target options and attached scripts. It such options appear multiple times they might be defined in more than one place by you. Check the settings of you compiler/project accordingly. Nevertheless, as long as these options don't conflict (i.e. debug vs. optimisation) the compiler doesn't care and simply skips options appearing twice.
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

    Offline raynebc

    • Almost regular
    • **
    • Posts: 212
    Re: The 17 June 2012 build (8059) is out.
    « Reply #9 on: June 27, 2012, 08:01:48 am »
    I went back into the 4-14 nightly to try it again, and I indeed hadn't noticed this earlier because as of that revision, it didn't display the command line for each source file that was compiling in the build log tab.  It would just say:
    Compiling:  file1
    Compiling:  file2
    ...

    I didn't really that it would append the global/project options that way, so I've removed the redundant -g -Wall options from my project.  I did notice that there seems to be an option to change the compiler logging options to go back to summary "compiling:  filename" logging, and I'll probably give that a shot.  Thank you for your help.

    I did mention this a while ago regarding the April 14 nightly, but when building a project, Codeblocks doesn't seem to compile the source files by alphabetical order anymore.  I did prefer that, because it was an easy way to tell how far the build process was without having to enable a status bar (which I see is an option).  Is there a way to make it build files in alphabetical order once again?
    « Last Edit: June 27, 2012, 08:06:03 am by raynebc »

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 17 June 2012 build (8059) is out.
    « Reply #10 on: June 27, 2012, 09:13:16 am »
    Is there a way to make it build files in alphabetical order once again?
    No. Files are compiled in order of their weight (which you can adjust in the file's property). Compiling alphabetically would break that important feature.
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

    Offline raynebc

    • Almost regular
    • **
    • Posts: 212
    Re: The 17 June 2012 build (8059) is out.
    « Reply #11 on: June 27, 2012, 07:44:06 pm »
    All of my source files are using the default build weight of 50.  If the weight of all files are the same, what is the next criterion used to determine which file is built next?  When none of the files have a unique weight, I don't see how building alphabetically by name would break any such feature.

    keichee

    • Guest
    Re: The 17 June 2012 build (8059) is out.
    « Reply #12 on: June 27, 2012, 10:43:24 pm »
    crashes on vs2012 sln and vcxproj files, please fix

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 17 June 2012 build (8059) is out.
    « Reply #13 on: June 28, 2012, 07:21:00 am »
    crashes on vs2012 sln and vcxproj files, please fix
    Project (file) to reproduce, please?
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 17 June 2012 build (8059) is out.
    « Reply #14 on: June 28, 2012, 07:21:29 am »
    All of my source files are using the default build weight of 50.  If the weight of all files are the same, what is the next criterion used to determine which file is built next?  When none of the files have a unique weight, I don't see how building alphabetically by name would break any such feature.
    Can you provide a minimal test case?
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ