Author Topic: The 21 June 2009 build (5678) is out.  (Read 59971 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 21 June 2009 build (5678) is out.
« on: June 21, 2009, 05:55:27 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_wx2810.7z

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

The 21 June 2009 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20090621_rev5678_win32.7z
  - Linux :
   none

Resolved Fixed:

  • CodeSnippets 1.3.103 2009/06/1
    - Fix crash when backspace\cut after Ctrl-A (Thanks Loaden)
  • change the rebuild project behaviour similar to rebuild workspace (update to r5492)
  • CodeSnippets 1.3.105 2009/06/8
    - Set dragged textdata like dragged filename for FireFox3
    - Replace home grown messageBox with wxGenericMessaageBox
  • KeyBinder 1.0.48 2009/06/8
    - If tree item is a sub-menu don't allow key assignment
    - Change KeyBinder menu access from GetLabel() to GetLabel().Trim() (wx2.8.9/10)
  • updated script bindings
  • applied patch#2651
  • updated progrid in wxSmith (minor bug-fix, latest 1.2.x release)
  • fix a bug on some windwos-versions, where the controls of a ListControlLogger remain partly visible after removing the active logger
  • 64-bit build-fix, needed for new wxWidgets bindings
  • fix a crash when rebuilding from commandline or windows-explorer, and all targets/projects are cleaned at once before they get build
  • support vector debugging
  • fixed an issue that makes it impossible for macrosmanager to recognize that the file in the active editor has changed (see http://forums.codeblocks.org/index.php/topic,10714.msg73420.html for details)
  • fixed 2 possible crash candidates
  • debugger: applied patch #2773 (UI to send command to the debugger directly). Thanks oBFusCATed!
  • headerfixup: Applied modified patch of the forums to make the log more beautiful, some UI re-design
  • more changes to debian build system, should be now lintian-clean, except for some guessed spelling errors; changed name and install-dir of mimetype-icons; fixed a typo
  • wx-2.9 migration changes

Regressions/Confirmed/Annoying/Common bugs:



    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 21 June 2009 build (5678) is out.
    « Reply #1 on: June 21, 2009, 06:04:32 pm »
    Just uploaded the debian-build on my server (see signature).

    They are build on lenny-pbuilder and linked against wxWidgets 2.8.10.

    The revision for my builds is 5671.
    The only missing parts are the wx2.9-migration fixes, but they don't make any difference for builds < wx2.9.

    Offline Sunyata

    • Single posting newcomer
    • *
    • Posts: 5
    Re: The 21 June 2009 build (5678) is out.
    « Reply #2 on: June 22, 2009, 06:16:09 am »
    Hi,
    Thank you for the efforts keep fixing and upgrading the CodeBlocks.
    Thanks :)

    Offline Xaviou

    • Regular
    • ***
    • Posts: 403
      • X@v's wxStuff
    Re: The 21 June 2009 build (5678) is out.
    « Reply #3 on: June 22, 2009, 08:13:44 am »
    Ubuntu 8.04 to 9.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx2810) can be found  here (direct link).
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7588
      • My Best Post
    Re: The 21 June 2009 build (5678) is out.
    « Reply #4 on: June 23, 2009, 05:38:52 am »
    Patch to fix Crash when SDCC Static Library is compiled. See thread http://forums.codeblocks.org/index.php/topic,10748.msg73648.html#msg73648

    Definitely stops the crash; but, I am not sure a valid Static Lib is created. squalyl, confirmed it fixes the issue and a good static Library is created.

    Tim S

    Code
    Index: src/plugins/compilergcc/compilerSDCC.cpp
    ===================================================================
    --- src/plugins/compilergcc/compilerSDCC.cpp (revision 5679)
    +++ src/plugins/compilergcc/compilerSDCC.cpp (working copy)
    @@ -138,7 +138,7 @@
         m_Commands[(int)ctGenDependenciesCmd].push_back(CompilerTool(_T("$compiler -MM $options -MF $dep_object -MT $object $includes $file")));
         m_Commands[(int)ctLinkExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $options $link_options $libs $link_objects")));
         m_Commands[(int)ctLinkConsoleExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $options $link_options $libs $link_objects")));
    -    //m_Commands[(int)ctLinkStaticCmd].push_back(CompilerTool(_T("$lib_linker -r $static_output $link_objects\n\tranlib $exe_output")));
    +    m_Commands[(int)ctLinkStaticCmd].push_back(CompilerTool(_T("$lib_linker -r $static_output $link_objects")));
         m_Commands[(int)ctLinkNativeCmd] = m_Commands[(int)ctLinkConsoleExeCmd]; // unsupported currently
     
         LoadDefaultRegExArray();
    « Last Edit: June 24, 2009, 11:07:17 am 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 Grom

    • Almost regular
    • **
    • Posts: 206
    Re: The 21 June 2009 build (5678) is out.
    « Reply #5 on: June 23, 2009, 05:54:21 pm »
    What about new version? We have nighties forever...
    gcc+winXP+suse.

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7588
      • My Best Post
    Re: The 21 June 2009 build (5678) is out.
    « Reply #6 on: June 24, 2009, 01:06:04 am »
    What about new version? We have nighties forever...

    Would it help if one of the Nightly snapshots was named an Beta every 6 months or so?

    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 Loaden

    • Lives here!
    • ****
    • Posts: 1014
    Re: The 21 June 2009 build (5678) is out.
    « Reply #7 on: June 24, 2009, 04:16:45 am »
    Quote
    support vector debugging
    std::vector<std::string> unwork!

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 21 June 2009 build (5678) is out.
    « Reply #8 on: June 24, 2009, 12:00:33 pm »
    It should partially work.

    Should show:

    + v
    - - [size] = 3
    - - [capacity] = 4
    + -

    + - [1]
    + - [2]

    The plus symbols mean that the entry can be expanded, so you can see the members of the string class.
    Does that work?
    (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 21 June 2009 build (5678) is out.
    « Reply #9 on: June 24, 2009, 03:31:27 pm »
    It should partially work.

    Should show:

    No. It's show:

    Code
    A = Couldn't find method std::vector <std::basic_string <char, std::char_traits <char> , std::allocator <char> > , [... and so on] 

    Where A is vector <string>.
    Denis Kirienko
    C::B maintainer for ALT Linux distribution (http://www.sisyphus.ru/srpm/codeblocks)

    Offline dk

    • Multiple posting newcomer
    • *
    • Posts: 55
      • Code::Blocks for ALT Linux Sisyphus
    Re: The 21 June 2009 build (5678) is out.
    « Reply #10 on: June 24, 2009, 03:38:34 pm »
    Would it help if one of the Nightly snapshots was named an Beta every 6 months or so?

    Current nightly are enough stable and have some new features (vector debugging is cool!).

    I need new version with automated installer and integrated MinGW to distribute C::B to my school students.

    Since my students are 13-16 years old, it is too difficult for them to install C::B as separate MinGW compiler and C::B IDE.


    Denis Kirienko
    C::B maintainer for ALT Linux distribution (http://www.sisyphus.ru/srpm/codeblocks)

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 21 June 2009 build (5678) is out.
    « Reply #11 on: June 24, 2009, 03:46:05 pm »
    Code
    A = Couldn't find method std::vector <std::basic_string <char, std::char_traits <char> , std::allocator <char> > , [... and so on] 

    Where A is vector <string>.


    Can you post 2-3 lines of the code, so I can reproduce it?
    Does it work for vector<int>?
    (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 21 June 2009 build (5678) is out.
    « Reply #12 on: June 24, 2009, 03:53:06 pm »
    Code
    #include <iostream>
    #include <vector>

    using namespace std;

    int main()
    {
        vector <string> A;
        A.resize(4);
        A[0]="abc";
        A[2]="def";
        A.push_back("xyz");
        return 0;
    }

    $ g++ --version
    i586-alt-linux-g++ (GCC) 4.4.0 20090514 (ALT Linux 4.4.0-alt3)

    $ gdb --version
    GNU gdb 6.6-alt3 (ALT Linux)

    C::B - svn 5678.

    Denis Kirienko
    C::B maintainer for ALT Linux distribution (http://www.sisyphus.ru/srpm/codeblocks)

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 21 June 2009 build (5678) is out.
    « Reply #13 on: June 24, 2009, 04:10:29 pm »
    What a strange combination - bleeding edge compiler and relatively old debugger.
    Can you try with gdb 6.8?

    p.s. I'll test the code later....
    (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 21 June 2009 build (5678) is out.
    « Reply #14 on: June 24, 2009, 04:16:47 pm »
    What a strange combination - bleeding edge compiler and relatively old debugger.
    Can you try with gdb 6.8?

    No. gdb 6.8 is rather new (3 months old) and there are no gdb 6.8 in my linux distribution repository.
    Denis Kirienko
    C::B maintainer for ALT Linux distribution (http://www.sisyphus.ru/srpm/codeblocks)

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 21 June 2009 build (5678) is out.
    « Reply #15 on: June 24, 2009, 04:32:08 pm »
    An year and 3 month is more correct  :lol:

    http://sources.redhat.com/gdb/ (March 27, 2008: GDB 6.8 Released!)
    (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 21 June 2009 build (5678) is out.
    « Reply #16 on: June 24, 2009, 04:34:25 pm »
    An year and 3 month is more correct  :lol:
    Oh, yes, I see  :o

    But in fact, I haven't gdb 6.8.
    Denis Kirienko
    C::B maintainer for ALT Linux distribution (http://www.sisyphus.ru/srpm/codeblocks)

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 21 June 2009 build (5678) is out.
    « Reply #17 on: June 24, 2009, 06:15:28 pm »
    I have gdb 6.8 and the vector<std::string> is not recognized correctly.

    Offline franzl

    • Single posting newcomer
    • *
    • Posts: 5
    Re: The 21 June 2009 build (5678) is out.
    « Reply #18 on: June 24, 2009, 08:08:45 pm »
    I work on a dual boot system with winxp (ntfs partition) and ubuntu 9.04 amd 64 (ext3).
    In linux it's possible to open projects saved on the mounted win partition, but I cannot write to ntfs with the current nightly. So I cannot save changes and build the project. With stable 8.02 it works correctly.

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 21 June 2009 build (5678) is out.
    « Reply #19 on: June 24, 2009, 08:21:41 pm »
    I work on a dual boot system with winxp (ntfs partition) and ubuntu 9.04 amd 64 (ext3).
    In linux it's possible to open projects saved on the mounted win partition, but I cannot write to ntfs with the current nightly. So I cannot save changes and build the project. With stable 8.02 it works correctly.

    See here for an explanation and a possible solution.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 21 June 2009 build (5678) is out.
    « Reply #20 on: June 24, 2009, 08:58:03 pm »
    Ah, the problem is in C::B...

    Here is part of the debug log:

    Registered new type: wxString
    Registered new type: STL String
    Registered new type: STL Vector

    The string is registered first and vector<string> matches the regexpr for the string class, so C::B tries to display it as string :(
    (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 oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 21 June 2009 build (5678) is out.
    « Reply #21 on: June 25, 2009, 10:30:30 pm »
    Is there some code in C::B (the code completion a suppose) that can parse the type of that is returned from the 'whatis' command?
    Using regexpr is not robust :(
    (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: 5913
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 21 June 2009 build (5678) is out.
    « Reply #22 on: June 26, 2009, 07:11:50 am »
    Is there some code in C::B (the code completion a suppose) that can parse the type of that is returned from the 'whatis' command?
    Using regexpr is not robust :(
    In the Code Completion source code. There are two kind of parsers.
    One is the general parser which parse all the files in the current workspace, and generate a database.
    The other is a local parser which parse the locally context code, to give a tooltip or calltip things, it use many functionality from scintella.

    I suggest using the first one. These code were located in:
    parserthread.cpp (Note, both files in disk and wxstring in memory can be parsed) :D
    But seems a little complex :D
    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 nanyu

    • Almost regular
    • **
    • Posts: 188
    • nanyu
    Re: The 21 June 2009 build (5678) is out.
    « Reply #23 on: June 26, 2009, 11:42:20 am »
    there are two bookmasks submenus.

    [attachment deleted by admin]

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5913
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 21 June 2009 build (5678) is out.
    « Reply #24 on: July 01, 2009, 01:06:42 pm »
    there are two bookmasks submenus.

    This is (maybe) mmkider's TraceBar plugin issue :D see here
    I have reported several days ago. You can check the new released 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 Hans Henrik

    • Multiple posting newcomer
    • *
    • Posts: 23
    Re: The 21 June 2009 build (5678) is out.
    « Reply #25 on: July 01, 2009, 01:47:48 pm »
    Quote
    - Fix crash when backspace\cut after Ctrl-A (Thanks Loaden)
    i cant reproduce this bug in rev 5616 at least
    well guess it occurred later, w/e

    danielnet

    • Guest
    Re: The 21 June 2009 build (5678) is out.
    « Reply #26 on: July 17, 2009, 12:26:19 pm »
    Hi,
    after installing this nightly build (5678) CB crashes when clicking "project/built options..." or "project/properties..."

    I am using Windows Vista, gcc 4.4.0, gdb 6.8. (Compiling and debugging works fine.)
    Can me please someone give a hint what might be wrong?

    Thanks
    Daniel

    Offline squalyl

    • Multiple posting newcomer
    • *
    • Posts: 14
    Re: The 21 June 2009 build (5678) is out.
    « Reply #27 on: July 20, 2009, 11:17:28 pm »
    well, aren't nightly builds supposed to be built... nightly?
    why are there no more releases since june 21? holidays? :D

    Offline Wavesonics

    • Multiple posting newcomer
    • *
    • Posts: 43
    Re: The 21 June 2009 build (5678) is out.
    « Reply #28 on: July 21, 2009, 12:33:36 am »
    Real life, jobs, lots of reasons :P