Author Topic: The 07 October 2012 build (8438) is out.  (Read 200930 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 07 October 2012 build (8438) is out.
« on: October 07, 2012, 07:17:37 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 07 October 2012 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20121007_rev8438_win32.7z
  - Linux :
   none

Resolved Fixed:

  • automake-system: make sure pch's are not created along the sources, when building from seperate builddir; avoid conflicts when building different versions from same source-tree
  • codesnippets-plugin: rename DragScrollEvent to sDragScrollEvent and ThreadSearchEvent to sThreadSearchEvent to avoid asserts due to conflicts while RTTI registration of the DragScroll- and ThreadSerarch-plugin in wx2.9
  • pumped (wx)Scintilla to 3.2.2, harmonised (wx)Scintilla with wxSTC from wxWidgets SVN (which happened to have updated scintilla, too lately)
  • fixed bug #18717
  • fixed bug #18714
  • codesnippets-plugin: fix assertion in event-connection; id-range upperbound should be greater than the lower-bound, but this can not be guaranteed with XRCID's, so we connect them all manually
  • Find/Replace: make the UI more consistent by sharing a common dialog resource and class. Adds the ability to find/replace in projects other than the active one and specific targets. Also adds the ability to replace in a specified path with specified mask (previously only available for find)
  • KeyBinder - Merge some global accelerators into the menu table; leave rest as is
    - Remove Ctrl-C/V/X (copy/paste/cut) from menu keybinder table to allow native behavior
  • Find/Replace: disable find in files project/workspace scope options when no project is open (Thanks alpha). Reorder the constructor logic to hopefully correctly hide the Find tab when no editor is open (MS windows issue).
  • SDK: Adding a new option named "AUTO" in the "Editor Settings"->"End of line options", this will let the editor automatically detect which EOL should be used, in a mixed EOL files, using a voting logic. This implement the Feature Request #3969, also see discussions in: http://forums.codeblocks.org/index.php/topic,16764.0.html.
  • applied patch #3328: Do not spam log with "Toggling start page" messages.
  • wxsmith: implement Feature Request #5540 "Jump to event handler implementation", now in the event editor window, the user can double click on the event name (an entry in the left column), if the event has an associated event handler (function body), it will jump to this function body. See discussions here: http://forums.codeblocks.org/index.php/topic,16323.msg114197.html#msg114197
  • wxsmith: fix Bug #18718 "wxSmith does not save selected check menu settings" by reading the "checked" value from the xml file.
  • cbauibook: use the window label to store tooltip; avoids possible conflict with keybinder-plugin
  • cbstyledtextctrl: remove remaining event-handlers in dtor, to avoid asserts/crashes in wx2.9
  • wxSmith-plugin: avoid assert and crash, when trying to get the last-character of an empty wxString (wxWidgets-bug ?)
  • CppCheck-plugin: avoid crash on shutdown with wx2.9 similar to compilermessages
  • Valgrind-plugin: avoid crash on shutdown with wx2.9; CppCheck-plugin tiny source-formatting fix
  • make autorevision work with git-svn and older version of svn that are not able to create xml-output
  • (re-)applied patch #3260: Move QueryClose() functionality to EditorBase (where did it get lost?!)
  • debugger: allow the use of macros for remote debugging, namely addresses and ports
  • wxSmith-plugin: fix assert, because of two properties with the same name, renamimg the property for the numeric value to "Border width"
  • Find/Replace: added back option to clear prior find in files results, tweaks to dialog layout, and workaround for hiding the find page on windows
  • Find/Replace: must check for removal of the find page before trying to access a second notebook page
  • Find/Replace: must check for removal of the find page before trying to access a second notebook page (missing change in last commit)
  • Find/Replace: turning on regex correctly disables direction
  • find/replace: fixes critical find/replace bug introduced with revs 8357-8360, ensures the find edit combo gets focus at dialog initialization and when switching between pages
  • wxSmith-plugin and wxSmithContribItems: fix more asserts, because of two properties with the same name
  • wxSmith-plugin: wxspropertycontainer.cpp: call RestoreSelected() after Thaw(), to ensure selection gets scrolled in the visible range.
  • wxSmith-plugin: menu-editor: don't try to expand root-item, because it is hidden
  • wxSmith-plugin: wxsitemeditor.cpp: avoid unnecessary calls of FitInside() and Layout(); use Refresh() instead of Update() to invalidate the itemeditor, fixes a longstanding (at least on linux) bug where a a newly added tool or dialog was not shown in the toolspace after adding it; make the toolspace visible on wx2.9
  • find/replace: 1. workaround for focusing find control after switching tabs on linux 2. disable find in open files if no files open.
  • wxScintilla: Workaround for brace and occurrence highlights not being redrawn consistently, see http://forums.codeblocks.org/index.php/topic,12164.msg114314.html#msg114314
  • applied patch #3337 to close bug#18706: Doxyblocks hint correction
  • cbauibook: use drag-done event to update the tabctrl-array and (re-)bind events if necessary; fixes an issue with tabtooltips sometimes not being shown in just dragged tabs
  • applied (slightly modified) patch by ALPHA to use same directory separators in project files (.cbp) on windows/Linux platforms
    * see discussion here: http://forums.codeblocks.org/index.php/topic,16596.0.html
  • applied patch #3329: Jump to PP directive: search first line
  • Fix an issue in batch-build mode on windows, where the tab-context menu has disappeared immediately after showing it; some code cleanup in cbauibook.cpp    
  • ThreadSearch: Add easier access to some of the options;
  • The options button now shows a menu and now the user can enable/disable options like - whole word, start word, match case, regular expression;
  • Make the localization to be off by default, hopefully this will minimize the number of people getting the right-to-left text issue;
  • debugger: Remove all Pointer typedefs from the base classes (cbWatch, cbBreakpoint, cbStackFrame, cbThread);
  • SmartIndent Refactoring applied (http://forums.codeblocks.org/index.php/topic,16587.0.html) Thanks to MortenMacFly, Jens (auto-foo) and darmar (FortranSmartIndent)
  • applied patch #3332: Enhanced ctrl context menu
  • applied patch #3333: Define collection: make persistent
  • applied patch #3340: SpellChecker: more dictionary based tools
  • applied patch #3338: Irrlicht Template update: Invalid initialisation of reference of type
  • applied patch #3344: Abbreviations: follow active EOL style
  • fixed multiline textboxes on Ubuntu that default to zero height (patch by ALPHA)

Regressions/Confirmed/Annoying/Common bugs:



    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 07 October 2012 build (8438) is out.
    « Reply #1 on: October 08, 2012, 01:35:48 am »
    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 (fc16, fc17 and fc18) can be found in my rpm-repo .

    RedHat/CentOS 5 and 6 packages will follow.

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 07 October 2012 build (8438) is out.
    « Reply #2 on: October 08, 2012, 07:44:29 pm »
    ...is this trunk,or the xml_compiler branch?
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 07 October 2012 build (8438) is out.
    « Reply #3 on: October 08, 2012, 10:52:55 pm »
    trunk, compiler branch coming ...

    Offline zhanglyl

    • Single posting newcomer
    • *
    • Posts: 4
    Re: The 07 October 2012 build (8438) is out.
    « Reply #4 on: October 09, 2012, 05:48:48 am »
    When I am using this version(SVN 8438), my Code::Blocks crashed! My steps is the following:
    1, Enter some codes;
    2, The completely code is "std::stringstream time; ". When I entered "std:", I switched to other window by Alt+tab. The IDE of my C::B turned into white screen, crashed and post the error window I posted on forum (std-error-and-crash.JPG).
    3, Repeated the two steps above, C::B crashed repeatedly!

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 07 October 2012 build (8438) is out.
    « Reply #5 on: October 09, 2012, 06:32:47 am »
    When I am using this version(SVN 8438), my Code::Blocks crashed! My steps is the following:
    1, Enter some codes;
    2, The completely code is "std::stringstream time; ". When I entered "std:", I switched to other window by Alt+tab. The IDE of my C::B turned into white screen, crashed and post the error window I posted on forum (std-error-and-crash.JPG).
    3, Repeated the two steps above, C::B crashed repeatedly!
    I can't reproduce the crash. BTW: can you show use the crash report file? "codeblocks.RPT"
    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 OsminohejTygr

    • Multiple posting newcomer
    • *
    • Posts: 12
    Re: The 07 October 2012 build (8438) is out.
    « Reply #6 on: October 09, 2012, 09:40:54 am »
    When I am using this version(SVN 8438), my Code::Blocks crashed! My steps is the following:
    1, Enter some codes;
    2, The completely code is "std::stringstream time; ". When I entered "std:", I switched to other window by Alt+tab. The IDE of my C::B turned into white screen, crashed and post the error window I posted on forum (std-error-and-crash.JPG).
    3, Repeated the two steps above, C::B crashed repeatedly!
    I can't reproduce the crash. BTW: can you show use the crash report file? "codeblocks.RPT"

    I can reproduce this behavior. You have to switch realy quick (before popup window is shown i guess). Where can I find this crash report?

    Offline Pchief

    • Multiple posting newcomer
    • *
    • Posts: 10
    The DoxyBlocks Plugin is still very unstable
    « Reply #7 on: October 10, 2012, 10:51:26 am »
    Hi all,

    I have updated to svn 8444 and find the doxyblocks plugin still very unstable.

    When a document is open, selecting most items of the DoxyBlocks Menu(e.g. block comment, line comment, run chm, ...) leads to crash.

    This problem existed already in svn 8401 and seems not have been fixed.

    below is the contents of my report file codeblocks.RPT:

    Quote
    -------------------

    Error occured on Wednesday, October 10, 2012 at 16:34:37.

    D:\dev\wxIDE\cb\codeblocks.exe caused an Access Violation at location 00000000 Reading from location 00000000.

    Registers:
    eax=00000001 ebx=032af7b8 ecx=77bfc2e3 edx=fffe2690 esi=0022f974 edi=6c555f76
    eip=00000000 esp=0022f3f8 ebp=011277b8 iopl=0         nv up ei pl nz ac po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216

    Call stack:
    00000000
    0022F974


    -------------------

    Error occured on Wednesday, October 10, 2012 at 16:35:06.

    D:\dev\wxIDE\cb\codeblocks.exe caused an Access Violation at location 00000000 Reading from location 00000000.

    Registers:
    eax=00000001 ebx=032a2650 ecx=77bfc2e3 edx=fffe19ae esi=0022f974 edi=6c565fb4
    eip=00000000 esp=0022f3f8 ebp=0112d4a8 iopl=0         nv up ei pl nz ac po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216

    Call stack:
    00000000
    0022F974


    -------------------

    Error occured on Wednesday, October 10, 2012 at 16:35:45.

    D:\dev\wxIDE\cb\codeblocks.exe caused an Access Violation at location 00000000 Reading from location 00000000.

    Registers:
    eax=ffffffff ebx=032a6e98 ecx=00000000 edx=0022ef78 esi=0022f974 edi=00000041
    eip=00000000 esp=0022f3f8 ebp=0112d3a0 iopl=0         nv up ei pl nz ac po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216

    Call stack:
    00000000
    0022F974


    -------------------

    Error occured on Wednesday, October 10, 2012 at 16:36:05.

    D:\dev\wxIDE\cb\codeblocks.exe caused an Access Violation at location 00000000 Reading from location 00000000.

    Registers:
    eax=00000001 ebx=032afcb8 ecx=77bfc2e3 edx=013b5cc7 esi=0022f974 edi=6c563a64
    eip=00000000 esp=0022f3f8 ebp=0112a5f8 iopl=0         nv up ei pl nz ac po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216

    Call stack:
    00000000
    0022F974


    -------------------

    Error occured on Wednesday, October 10, 2012 at 16:40:52.

    D:\dev\wxIDE\cb\codeblocks.exe caused an Access Violation at location 00000000 Reading from location 00000000.

    Registers:
    eax=00000001 ebx=0329e4f0 ecx=03310518 edx=00000004 esi=0022f974 edi=6c5573da
    eip=00000000 esp=0022f3f8 ebp=0112c918 iopl=0         nv up ei pl nz ac po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216

    Call stack:
    00000000
    0022F974

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 07 October 2012 build (8438) is out.
    « Reply #8 on: October 10, 2012, 12:01:32 pm »
    Pchief: Is this a nightly build or a self built version you're using?
    (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 dk

    • Multiple posting newcomer
    • *
    • Posts: 55
      • Code::Blocks for ALT Linux Sisyphus
    Re: The 07 October 2012 build (8438) is out.
    « Reply #9 on: October 10, 2012, 01:35:33 pm »
    I built SVN 8438 for my ALT Linux distrubution but can't run it.

    When I run codeblocks, I've got messagebox:

    Another program instance is already running.
    Code::Blocks is currently configured to only allow one running instance.
    You can access this Setting under the menu item 'Environment'

    I see, that Code::Blocks create socket at /tmp/CODEBLOCKSdk.socket

    But if I remove this file and try to run Code::blocks again, I've still got this message.
    Denis Kirienko
    C::B maintainer for ALT Linux distribution (http://www.sisyphus.ru/srpm/codeblocks)

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 07 October 2012 build (8438) is out.
    « Reply #10 on: October 10, 2012, 01:48:55 pm »
    Are you sure no other instance of C::B is running ?
    The socket is for communication with a running instance of CC:B, but not to check whether it is running or not.
    Kill all running instances (e.g. with killall) and change the settings in "Settings -> Environment -> General settings".

    Anyway it should be startable with --multiple-instance from commandline.

    Offline Pchief

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 07 October 2012 build (8438) is out.
    « Reply #11 on: October 11, 2012, 06:30:18 am »
    Pchief: Is this a nightly build or a self built version you're using?

    This is a self-build. I tried the nightly and the problem seems not with it. Thank you anyway...

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 07 October 2012 build (8438) is out.
    « Reply #12 on: October 11, 2012, 10:19:12 am »
    This is a self-build. I tried the nightly and the problem seems not with it. Thank you anyway...
    Then your procedure for building c::b is broken... or you are mixing new and old plugins.
    (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 Pchief

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 07 October 2012 build (8438) is out.
    « Reply #13 on: October 11, 2012, 10:39:21 am »
    This is a self-build. I tried the nightly and the problem seems not with it. Thank you anyway...
    Then your procedure for building c::b is broken... or you are mixing new and old plugins.

    the oldest possible version of the plugin with me is what's in svn 8401 since only then did I download and build the whole sources from scratch, but the problem has been already there since then.

    I closely follow the instructions in the Wiki for building. So don't know what's gone wrong

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 07 October 2012 build (8438) is out.
    « Reply #14 on: October 11, 2012, 11:24:50 am »
    I closely follow the instructions in the Wiki for building. So don't know what's gone wrong
    I must not necessarily be the build process rather than you have old libs/plugins still present somewhere in he installation directory of C::B or its resource path's. Did you ensure to un-install any previous versions and make a full clean checkout / re-build?
    Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
    C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
    C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ