Author Topic: The 02 April 2011 build (7075) is out.  (Read 45341 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
The 02 April 2011 build (7075) is out.
« on: April 02, 2011, 01:46:51 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 02 April 2011 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20110402_rev7075_win32.7z
  - Linux :
   none

Resolved Fixed:

  • report missing external dependencies as a warning (as this might be a wrong project / target setup probably)
  • Replace tabs with spaces for all exporters
  • source_exporter plugin: pumped wxPDFDoc to most recent version
  • source_exporter plugin: changed static to dynamic library
  • source_exporter plugin: removed artifacts (remaining files from old version
  • pumped wxPropGrid to v1.4.15
  • CC: "Pretty Print" token only in case of container or function
  • wxSmith-Aui: fix crash that occurred if the user tried to add a wxAuiToolbar to a wxAuiToolbar
  • fix button-size
  • accessibility enhancements: now the tab-control of active notebook page gets the focus via "View -> Focus ...", instead of the page itself; keyboard-navigation should work better now
  • (hopefully) fixed an issue where the tab-style sometimes was not correcly updated, if it was changed in the settings
  • moved the 'Close workspace' item at the end of the context menu
  • replaced cbMessageBox with AnnoyingDialog, when deleting entries in the Recent files/projects list in the Start page
  • (hopefully) fix a possible crash in cbAuiNotebook on windows
  • pumped (wx)Scintilla to v2.25 (C++ lexer changed for wxSmith portions)
  • streamlined wxScintilla with wxSTC from wxWidgets trunk (v2.9)
  • codesnippets plugin: fixed a (rare) crash
  • fix a possible crash in wxSmithAui due to not initialised bool property (see: http://forums.codeblocks.org/index.php/topic,14358.msg96511.html#msg96511 )
  • fix a possible crash in code-profiler, due to a missing index-out-of-bounds-check when parsing the outpout of gprof ( issue described here: http://forums.codeblocks.org/index.php/topic,14450.msg97143.html#msg97143)

Regressions/Confirmed/Annoying/Common bugs:



    Offline jens

    • Administrator
    • Lives here!
    • *****
    • Posts: 7265
      • Jens' unofficial debian-repository for the Code::Blocks - IDE
    Re: The 02 April 2011 build (7075) is out.
    « Reply #1 on: April 02, 2011, 05:32:05 pm »
    Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo.

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5193
    Re: The 02 April 2011 build (7075) is out.
    « Reply #2 on: April 02, 2011, 05:34:49 pm »
    INFO :
    * wxwidgets 2.8.12
    * build with TDM-GCC 4.5.2

    Offline fubo

    • Multiple posting newcomer
    • *
    • Posts: 38
    Re: The 02 April 2011 build (7075) is out.
    « Reply #3 on: April 05, 2011, 06:00:02 pm »
    I'm getting error when I start C::B claiming about old version for wxSmithAui plugin. Is it normal?

    Offline Newling

    • Multiple posting newcomer
    • *
    • Posts: 17
    Re: The 02 April 2011 build (7075) is out.
    « Reply #4 on: April 05, 2011, 07:35:49 pm »
    I get this warning too.
    But then everything works normally.

    Rudolf Fuerstauer

    Offline fubo

    • Multiple posting newcomer
    • *
    • Posts: 38
    Re: The 02 April 2011 build (7075) is out.
    « Reply #5 on: April 05, 2011, 10:08:48 pm »
    Seems fixed using wxmsw28u_gcc_cb_wx2812_gcc452-TDM.7z. I noticed it has a really smaller size (6MB vs 9MB) then the one I had.

    Offline bug1z

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 02 April 2011 build (7075) is out.
    « Reply #6 on: April 08, 2011, 10:24:51 pm »
    Hello.
    I have a next problem. When I click on Abort process (x) - process can't be aborted.
    It a hanging in a tack manager.
    And it's a not just of this build.

    Online oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 12122
      • Travis build status
    Re: The 02 April 2011 build (7075) is out.
    « Reply #7 on: April 08, 2011, 10:59:55 pm »
    ^ I've seen this on windows, too :(
    (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 fubo

    • Multiple posting newcomer
    • *
    • Posts: 38
    Re: The 02 April 2011 build (7075) is out.
    « Reply #8 on: April 08, 2011, 11:03:01 pm »
    @bug1z
    I am having it too now and in previous build as well.

    Offline bug1z

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 02 April 2011 build (7075) is out.
    « Reply #9 on: April 09, 2011, 08:54:33 pm »
    And...
    Code: [Select]
    std::vector < std::string > text;
    ...
    ...
    If I want to write:
    Code: [Select]
    ...
    var = text.at( i ).substr(...);
    ...

    after I pres a second dot - code complete to do a next:
    Code: [Select]
    var = text.at( i ).var
    « Last Edit: April 09, 2011, 08:57:14 pm by bug1z »

    Online oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 12122
      • Travis build status
    Re: The 02 April 2011 build (7075) is out.
    « Reply #10 on: April 10, 2011, 07:02:41 pm »
    ^ I've seen this on windows, too :(
    The stop button doesn't work if you set C::B's src target to "Console" and enable "pause when execution ends".
    This bug is 100% reproducible. I'm running windows xp sp3 C::B debuggers branch nightly r7075.
    (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 stahta01

    • Lives here!
    • ****
    • Posts: 6671
      • My Best Post
    Re: The 02 April 2011 build (7075) is out.
    « Reply #11 on: April 13, 2011, 12:54:06 am »
    Patch for non precompiled header build on Windows. Tim S.

    Note: I have to change codeblocks.cbp by adding missing lex file to the project.

    Code: [Select]
    Index: src/plugins/defaultmimehandler/defaultmimehandler.cpp
    ===================================================================
    --- src/plugins/defaultmimehandler/defaultmimehandler.cpp (revision 7098)
    +++ src/plugins/defaultmimehandler/defaultmimehandler.cpp (working copy)
    @@ -18,6 +18,7 @@
     #include "cbeditor.h"
     #include "configmanager.h"
     #include "editormanager.h"
    +#include "logmanager.h"
     #include "manager.h"
     #endif
     #include <wx/choicdlg.h>
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 32 bit.
    On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 02 April 2011 build (7075) is out.
    « Reply #12 on: April 13, 2011, 06:33:37 am »
    Note: I have to change codeblocks.cbp by adding missing lex file to the project.
    ...which one?
    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 bug1z

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 02 April 2011 build (7075) is out.
    « Reply #13 on: April 19, 2011, 12:27:10 am »
    So...I found the more trouble.

    When my code going in end of page, I don't see all methods.
    Please, fix this problem.
    « Last Edit: April 19, 2011, 12:28:44 am by bug1z »

    Offline ham

    • Multiple posting newcomer
    • *
    • Posts: 23
    Re: The 02 April 2011 build (7075) is out.
    « Reply #14 on: April 26, 2011, 10:38:44 pm »
    my wishlist:

    - the "outgreying" of deactivated preprocessor statements should be enhanced (maybe a setable color in editorsyntaxmenu).
    - project tree: multiselection of files for adding, deleting. also more advanced renaming possibilities pls.

    + CC proposals seem to work now, some minor problems with symbols from used namespaces
    - CC no automatic proposals when inside () in a function, only when typing (
    - CC Autocompletion help window for parameters often disappear too fast und reappears only by typing '()' 2 or 3 times,
    - CC Autocompletion help window is formatted very poorly:
        - just one color,
        - long parameterlists go out of visibility, because of too long lines. pls use more height space

    - the logwindow/auitabs/projecttree should be autohiding for more overview, and reappear by compiling or mousing to bottomline of editorwindow
    - the symbolbrowser is lame, should be divided in 2 tabs or independent widgets, also much more filter options!
        - should be more like eclipse or vc++6.0

    sorry for my bad english

    thx in advance, CB is the best OpenSourceIDE for me anyways :-)

    Online oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 12122
      • Travis build status
    Re: The 02 April 2011 build (7075) is out.
    « Reply #15 on: April 26, 2011, 11:57:13 pm »
    my wishlist:

    1. project tree: multiselection of files for adding, deleting. also more advanced renaming possibilities pls.
    2. the logwindow/auitabs/projecttree should be autohiding for more overview, and reappear by compiling or mousing to bottomline of editorwindow
    1. there is a way to add multiple files at ones (right click -> add recursively)
    2. this is supported, but annoying feature (settings -> environment -> view -> auto hide)
    (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: 5247
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 02 April 2011 build (7075) is out.
    « Reply #16 on: April 27, 2011, 03:09:16 am »
    my wishlist:
    - the "outgreying" of deactivated preprocessor statements should be enhanced (maybe a setable color in editorsyntaxmenu).
    CC's parser has no way to get all the macro definition, as the macro definition goes different from translation unit to translation unit. So, a full preprocessor is needed.

    Quote
    + CC proposals seem to work now, some minor problems with symbols from used namespaces
    - CC no automatic proposals when inside () in a function, only when typing (
    CC proposals? what does it means? Did you mean CallTip??

    Quote
    - CC Autocompletion help window for parameters often disappear too fast und reappears only by typing '()' 2 or 3 times,
    Can you give a minimal sample test code? thanks.

    Quote
    - CC Autocompletion help window is formatted very poorly:
        - just one color,
        - long parameterlists go out of visibility, because of too long lines. pls use more height space
    My personal point is: large autocomplietion list window will be annoying. :D

    Quote
    - the symbolbrowser is lame, should be divided in 2 tabs or independent widgets, also much more filter options!
        - should be more like eclipse or vc++6.0
    Ok, what's the detailed info/plan, I have used VC++6.0 for a long time, I don't think VC++6's symbolbrowser is better.
    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 Krisando

    • Multiple posting newcomer
    • *
    • Posts: 17
    Re: The 02 April 2011 build (7075) is out.
    « Reply #17 on: April 27, 2011, 06:39:43 am »
    I've come across 3 strange bugs, 2 of which are frequent in Linux and 1 in Windows/Linux.

    Strange freezing of Codeblocks when opening some files (does for a few minutes every time), /usr/include/stdio.h in Linux for instance.

    Reverting back to 4 tab spaces all the time, requires Settings/Editor to be used every time. Not sure how to make it happen, but it has happened over 5 times in the past hour. Tried changing all this smart tab stuff, seems to have no effect on this problem.

    Not sure if this is the new version of wxWidgets fault but in Linux it is common for any dialogue box to stop taking mouse inputs, the only way to close or input a value when it's in this weird state is entering twice or killing the parent window. Quite annoying, but it's extremely frequent for any dialogue box CB opens.

    [Edit]
    Came across another issue, the IDE sometimes crashes when you explicitly click "Save Project".
    « Last Edit: April 28, 2011, 09:21:51 am by Krisando »

    Online oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 12122
      • Travis build status
    Re: The 02 April 2011 build (7075) is out.
    « Reply #18 on: May 06, 2011, 05:52:54 pm »
    What is the linux distro? What wxGTK version?
    Your system/install of C::B looks very broken.
    I've no such problems on gentoo linux 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 Kehom

    • Single posting newcomer
    • *
    • Posts: 6
    Re: The 02 April 2011 build (7075) is out.
    « Reply #19 on: May 12, 2011, 03:29:27 pm »
    Hello,
    I have been using Code::Block for some time and I really got used to it.
    I'm here to say that I'm having problems with the TodoList Plugin. It's simply empty, no mater what I do.
    It has been in this way for... I don't remember which nightly was the last one that worked for me.
    Currently I'm using a portable instalation. I did try a non portable just to test and no difference in there.
    This all under Win7 64bit.
    I can't test this, at this moment, under Linux.

    Am I the only one with this problem?

    By the way, many thanks for the incredible work with Code::Blocks!  :D

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 6671
      • My Best Post
    Re: The 02 April 2011 build (7075) is out.
    « Reply #20 on: May 12, 2011, 04:41:08 pm »
    I'm here to say that I'm having problems with the TodoList Plugin. It's simply empty, no mater what I do.
    ...
    This all under Win7 64bit.
    I can't test this, at this moment, under Linux.

    Confirmed that TODO Plugin
    worked on SVN 6454
    Failed to work on 6846
    Plan to test 6503,6504,6732,6733

    Self-Built CB svn 6495 Worked
    Self-Built CB svn 6500 Failed using wxWidgets 2.8.12

    Testing on Windows 7 32 Bit

    Tim S.
    « Last Edit: May 12, 2011, 06:13:41 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 32 bit.
    On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 02 April 2011 build (7075) is out.
    « Reply #21 on: May 12, 2011, 05:02:54 pm »
    Confirmed that TODO Plugin
    [...]
    Failed to work on 6846
    [...]
    Works fine here... (latest SVN)?!

    What happens if you manually refresh the view?
    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 Kehom

    • Single posting newcomer
    • *
    • Posts: 6
    Re: The 02 April 2011 build (7075) is out.
    « Reply #22 on: May 12, 2011, 05:30:37 pm »
    Currently using 7075. But many previous versions behaved in the same way.
    I tried, first, in the way I always did: just placed a comment like this:
    Code: [Select]
    //TODO: todo thing or
    Code: [Select]
    ///TODO: todo thing.

    Then I tried the "right click -> Add todo item..." thing.
    Tried clicking refresh under the todo window.
    Tried changing scope... nothing changes the window. It's simply empty.

    One thing I noticed however is that before the last two builds, whenever I opened a project I had a very fast window appear and disappear. I suspect it was something related to the refreshing of the todo list. Not sure.
    It is not happening with current build and it didn't happen with previous build (7040).

    I searched everywhere to see if there was any setting related to this plugin. I found nothing but "enable/disable - install/uninstall" at the plugins manager.

    Unfortunately I didn't take note of when this plugin failed here. However, for now I'm just "Ctrl-F" and manually locate the TODOs in my code.

    Thanks for your attention! :)

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 6671
      • My Best Post
    Re: The 02 April 2011 build (7075) is out.
    « Reply #23 on: May 12, 2011, 05:32:01 pm »
    Confirmed that TODO Plugin
    [...]
    Failed to work on 6846
    [...]
    Works fine here... (latest SVN)?!

    What happens if you manually refresh the view?

    I get no results using current Nightly for a file that I just added a TODO: into. And, I get no results for the project.

    I did hit the refresh button still no results.
    What OS and what wxWidgets are you using that it works.
    (I am currently building CB from source using wx 2.8.12 and MinGW GCC version 4.5.2 (tdm-1))

    I am thinking that SVN 6496 broken the ToDo Plugin; but I am not sure why it works for MortenMacFly
    Jens said why it stopped UI design change requires another step by user after SVN 6496.

    Tim S.
    « Last Edit: May 12, 2011, 07:19:47 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 32 bit.
    On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline jens

    • Administrator
    • Lives here!
    • *****
    • Posts: 7265
      • Jens' unofficial debian-repository for the Code::Blocks - IDE
    Re: The 02 April 2011 build (7075) is out.
    « Reply #24 on: May 12, 2011, 06:49:56 pm »
    I just tested it, and it does not work out of the box.
    But after hitting the Types-button I saw that all types are unchecked.
    Checking the appropriate type and doing a refresh makes the todo-items appear.

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 6671
      • My Best Post
    Re: The 02 April 2011 build (7075) is out.
    « Reply #25 on: May 12, 2011, 07:23:34 pm »
    I just tested it, and it does not work out of the box.
    But after hitting the Types-button I saw that all types are unchecked.
    Checking the appropriate type and doing a refresh makes the todo-items appear.

    Where is the Types-button located?

    Found it.
    You must enable ToDo list to appear in message pane to see the Types-button.
    Under "settings" -> "environment"


    Tim S.
    « Last Edit: May 12, 2011, 07:30:55 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 32 bit.
    On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline Kehom

    • Single posting newcomer
    • *
    • Posts: 6
    Re: The 02 April 2011 build (7075) is out.
    « Reply #26 on: May 12, 2011, 07:32:05 pm »
    I just tested it, and it does not work out of the box.
    But after hitting the Types-button I saw that all types are unchecked.
    Checking the appropriate type and doing a refresh makes the todo-items appear.

    Ahh.. That did it!
    This button is not that easy to find.
    For anyone (if there is anyone) trying to solve that, just expand the Todo list window.
    Before this I didn't even know there was such button!

    Thanks for that!  :lol:

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 02 April 2011 build (7075) is out.
    « Reply #27 on: May 12, 2011, 07:46:09 pm »
    Checking the appropriate type and doing a refresh makes the todo-items appear.
    OK - all of the items were selected in my case, that's why it worked. :shock: Now I wonder why that is. What made the items unselected for you???
    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 Kehom

    • Single posting newcomer
    • *
    • Posts: 6
    Re: The 02 April 2011 build (7075) is out.
    « Reply #28 on: May 12, 2011, 09:48:03 pm »
    OK - all of the items were selected in my case, that's why it worked. :shock: Now I wonder why that is. What made the items unselected for you???

    Well, as Jens stated, it does not work out of the box. That is, every item is unchecked.
    It's possible that happened when I had a fresh install of everything.

    Anyway, I guess the default should be to turn on at least the "todo" ones.
    Another thing that I think would be a good idea is to set the minimum width of the todolist (when it's floating) to be one that displays the "types" button.
    Or, I don't know, something to give a hint that there is a hidden button in there!

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9508
    Re: The 02 April 2011 build (7075) is out.
    « Reply #29 on: May 13, 2011, 08:02:47 am »
    Anyway, I guess the default should be to turn on at least the "todo" ones.
    Definitely. In fact, *all* items should be selected by default.
    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 02 April 2011 build (7075) is out.
    « Reply #30 on: May 13, 2011, 10:42:10 am »
    Definitely. In fact, *all* items should be selected by default.
    I've found the bug and fixed it in SVN.

    However, if you already have used the plugin, all items will remain unselected. So you'll still need to select hem one time. However, for a clean configuration and later revisions (including the update to a next release) this will work.
    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 xawari

    • Multiple posting newcomer
    • *
    • Posts: 36
    • programming, usability ctrl
      • welcome to reality
    Re: The 02 April 2011 build (7075) is out.
    « Reply #31 on: June 05, 2011, 09:03:49 am »
    CB SVN 7075 20110329 wx2812

    Runtime error (and it causes further startup crashes too).

    1. I have a wxNotebook on a panel.
    2. Edit and change notebook identifier (press enter).
    3. Edit class name (or any other field??) (I accidentally changed "wxNotebook" to "m_wxNotebook"), do not commit changes
    4. After typing "m_" press Ctrl+Z
    4. ???
    5. CRASH!

    I use wx 2.8.12 with current version of MinGW
    ┌──────────────────────────────────────────────────────╖
    in another thousand years we'll be machines or gods█
    ╘══════════════════════════════════════════════════════╝