Author Topic: The 23 October 2010 build (6752) is out.  (Read 44988 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 23 October 2010 build (6752) is out.
« on: October 23, 2010, 10:38:22 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_gcc441.7z

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

The 23 October 2010 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20101023_rev6752_win32.7z
  - Linux :
   none

Resolved Fixed:

  • MERGED ALL THE CODE COMPLETION CHANGES DEVELOPED ON THE CC BRANCH !!!
  • some refinement on the wizards: Updated paths for SDL, SFML based wizards, added fortran wizards, updated D sample application
  • Build system clean-up: Removed unnecessary automake files
  • add "no-single-instance" parameters to allow multiple instances running
  • applied cbStatusBar patch by danselmi (for SpellChecker plugin)
  • change the data path from "%APPDATA%\codeblocks" to "%APPDATA%\CodeBlocks"
  • support opened all the files of the folder or virtual folder in the same time
  • priority access to the configuration of the executable file path
  • setting the default editor font size to 10 point
  • changed the default number of parallel processes to 2
  • make the caret-style configurable
  • based on the actual number of CPU to determine the number of processes for parallel builds
  • abbreviations support auto switching between TAB and SPACE.
  • make sure a block-caret is always shown (even if width of line-cursor is set to 0)
  • wxSmith: add internationalize option, see details: http://forums.codeblocks.org/index.php/topic,9311.0.html
  • codesnippets-app (linux): build-fix
  • wxSmith: improved internationalize option support, fix default value inconsistent
  • if the global variable is not assigned, the default value should set to "(invalid)"
  • fixed auto indent bug, reported here: http://forums.codeblocks.org/index.php/topic,13463.msg91157.html#msg91157
  • AStyle: add option for delete empty lines within a function or method
  • add a new parsing expressions, for capture linker error, when use unrecognized option
  • update build docs
  • refactoring ParserTest, fixed scroll invalid occurred in linux
  • add find scope selected dialog for code refactoring
  • wxSmith: improved the event handler function name, remove prefix "m_"

Regressions/Confirmed/Annoying/Common bugs:



    Offline Xaviou

    • Regular
    • ***
    • Posts: 403
      • X@v's wxStuff
    Re: The 23 October 2010 build (6752) is out.
    « Reply #1 on: October 24, 2010, 01:07:31 am »
    Ubuntu 10.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx2810 from Ubuntu's official repository) can be found  here (direct link).

    ".mo" file for french translation can be founded here (see below for installation instructions)
    Full Win32 French Version (including wxWidgets and MinGW dlls and french ".mo" and ".po" files) can be founded here

    Installing french language file:
    • under Linux : put this file in /usr/share/codeblocks/locale/fr_FR/ (you'll have to create these folders the first time)
    • under Windows : put this file in $CodeBlocks_Install_Dir\share\CodeBlocks\locale\fr_FR\ (you'll have to create these folders the first time)

    Do not forget to remove old translations files !

    Big thanks to all the devs for the great work in cc refactoring  :D

    Regards
    Xav'
    « Last Edit: October 24, 2010, 04:43:46 pm by Xaviou »
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 23 October 2010 build (6752) is out.
    « Reply #2 on: October 24, 2010, 01:11:38 am »
    Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo.

    Offline ahui886

    • Multiple posting newcomer
    • *
    • Posts: 29
    Re: The 23 October 2010 build (6752) is out.
    « Reply #3 on: October 25, 2010, 02:48:44 am »
    thanks.

    Offline Borr

    • Multiple posting newcomer
    • *
    • Posts: 29
    Re: The 23 October 2010 build (6752) is out.
    « Reply #4 on: October 25, 2010, 03:10:24 pm »
    OS: WinXP SP3

    To-Do list is empty.
    I have added to the current file listing (// TODO (User#1#): Test). And save this file. But To-Do list for "all users" is empty/

    Offline eckard_klotz

    • Almost regular
    • **
    • Posts: 198
    Re: The 23 October 2010 build (6752) is out.
    « Reply #5 on: October 26, 2010, 01:07:11 pm »
    Hello Developer-Team.

    The new nightly seams to have problem to write its configuration data into the renamed data-path. If I just open C::B and close it again it crashes. WinXP SP2 tells me that there is an impossible read on the adress "0x00000001". I renamed the old data-folder in the hope it helps. But C:B creates only a new folder-system and 2 ini-files "DragScroll.ini" and "codesnippets.ini".

    Best Regards,
                       Eckard Klotz.

    Offline Phenom

    • Multiple posting newcomer
    • *
    • Posts: 57
    Re: The 23 October 2010 build (6752) is out.
    « Reply #6 on: October 26, 2010, 08:21:50 pm »
    For some reason I can't see the cc toolbar any more although I check it from the view menu. The cc toolbar disappeared after switching to this nighty from the previous(cc branch). The cc plugin works as expected.

    Offline Phenom

    • Multiple posting newcomer
    • *
    • Posts: 57
    Re: The 23 October 2010 build (6752) is out.
    « Reply #7 on: October 26, 2010, 08:47:38 pm »
    I just found that I can the cc toolbar is visible and can be toogled at the debugging layout.

    Offline koso

    • Multiple posting newcomer
    • *
    • Posts: 58
    Re: The 23 October 2010 build (6752) is out.
    « Reply #8 on: October 28, 2010, 09:20:58 am »
    Hi, I have this 2 problems:

    1. For example this code:

    Code
        if(true) {
            |
        }

    and hit ctrl+s, than the carret will move to the begining of the line:
    Code
        if(true) {
    |
        }

    I have enabled striping trailing spaces ... so is this expected behaviour? I think this is different than it was before ...


    2. Auto indent seem to be broken (I have enabled smart indent also). When i write:

    Code
    while(true) {
    and hit ENTER, carret is here:
    Code
    while(true) {
    |
    .
    And when

    Code
        while(!*strRegEx++) {
            if(!*strData++) {|
        }
    nd hit enter:
    Code
        while(!*strRegEx++) {
            if(!*strData++) {
    |
        }
    but this happens only if char '{' is writen just before hittin ENTER .. if I write '{', move around with carret, return back and hit enter -> autoindent works :P





    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 23 October 2010 build (6752) is out.
    « Reply #9 on: October 28, 2010, 09:26:38 am »
    1. I think it is normal and it is present for 2-3 years, maybe more...
    (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 Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 23 October 2010 build (6752) is out.
    « Reply #10 on: October 28, 2010, 12:51:59 pm »
    1. What else shoud it do if strip trailing spaces is enabled ?
    2. Works fine here on linux .

    Offline Phenom

    • Multiple posting newcomer
    • *
    • Posts: 57
    Re: The 23 October 2010 build (6752) is out.
    « Reply #11 on: October 28, 2010, 06:37:00 pm »
    The problem with the cc toolbar I reported seems to be more general. I can't enable the compiler toolbar in the debugging perspective.

    EDIT: I the default.conf file and everything works normal. But I wouldn't like to lose all my setting. Any ideas?

    « Last Edit: October 28, 2010, 06:42:07 pm by Phenom »

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 23 October 2010 build (6752) is out.
    « Reply #12 on: October 28, 2010, 06:52:25 pm »
    You can try to delete the debugging-perspective.
    Change to it in "View -> Perspectives" and than click on "View -> Perspective -> Delete current".
    After your next debugging-session, there should be a new one (that can be modified to fit your needs) without losing any other settings.

    Offline Phenom

    • Multiple posting newcomer
    • *
    • Posts: 57
    Re: The 23 October 2010 build (6752) is out.
    « Reply #13 on: October 28, 2010, 07:06:27 pm »
    I tried it but it didn't work. No debugging perpsective was created.

    Anyway I just deleted the configuration file and used the cb share config.

    Offline Phenom

    • Multiple posting newcomer
    • *
    • Posts: 57
    Re: The 23 October 2010 build (6752) is out.
    « Reply #14 on: October 28, 2010, 07:54:21 pm »
    I found the cause of the problem: the fullscreen mode of a game I made has bug causing the screen to flash continously. After closing the game window the code completion toolbar was gone!

    Offline koso

    • Multiple posting newcomer
    • *
    • Posts: 58
    Re: The 23 October 2010 build (6752) is out.
    « Reply #15 on: October 30, 2010, 10:58:36 am »
    I am sorry for my previous post ... all problems i had with this build (indent, broken cc, lags in editor) were solved with deleting default.conf

    Offline scarphin

    • Lives here!
    • ****
    • Posts: 644
    Re: The 23 October 2010 build (6752) is out.
    « Reply #16 on: October 30, 2010, 12:12:08 pm »
    I guess debuggers branch hasn't been mixed into this nightly, has it?

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 23 October 2010 build (6752) is out.
    « Reply #17 on: October 30, 2010, 12:23:28 pm »
    I guess debuggers branch hasn't been mixed into this nightly, has it?

    No !

    Offline Phenom

    • Multiple posting newcomer
    • *
    • Posts: 57
    Re: The 23 October 2010 build (6752) is out.
    « Reply #18 on: October 30, 2010, 07:23:49 pm »
    The "Copy strings to clipboard" plugin copies include names that are between " and " e.g:

    Code
    #include "header.h"

    copies "header.h".

    Offline alb_cb_moon

    • Multiple posting newcomer
    • *
    • Posts: 25
    Re: The 23 October 2010 build (6752) is out.
    « Reply #19 on: October 31, 2010, 09:38:56 pm »
    Hello Developer-Team.

    The new nightly seams to have problem to write its configuration data into the renamed data-path. If I just open C::B and close it again it crashes. WinXP SP2 tells me that there is an impossible read on the adress "0x00000001". I renamed the old data-folder in the hope it helps. But C:B creates only a new folder-system and 2 ini-files "DragScroll.ini" and "codesnippets.ini".

    Best Regards,
                       Eckard Klotz.

    I have the same problem... I use  WinXP Profesional  SP2
    OS: Windows XP SP2
    GUI Library: wxWidgets 2.8.10
    IDE: CodeBlocks SVN / Nigth Builds Compiler: MinGW & gcc 3.4.5

    Offline Grom

    • Almost regular
    • **
    • Posts: 206
    Re: The 23 October 2010 build (6752) is out.
    « Reply #20 on: November 01, 2010, 04:31:45 pm »
    Bug!!! When I use debugger, the call stuck doesn't show template classes methods from template class methods.  :twisted: :twisted: :twisted:

    Say

    template<calass type>
    class A{
    type a;
    void Add(type b)
    {
    a+=b;
    }};

    template<calass type>
    class B{
    type a;
    A<T> m_A;
    void Mul(type b)
    {
    a*=b;
    }

    void Add(type b)
    {
     m_A.Add(b);
    }

    };

    void main()
    {
     B<float> B;
     B.Add(10.0); // <- doen't show to the class A!!!!
      return -1;
    }
    gcc+winXP+suse.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 23 October 2010 build (6752) is out.
    « Reply #21 on: November 01, 2010, 04:46:39 pm »
    Have you tried the version from the debuggers branch?

    If it doesn't work there, can you paste the debuggers debug log?


    p.s. and please use code tags for larger pastes
    (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 fataluk1

    • Single posting newcomer
    • *
    • Posts: 4
    Re: The 23 October 2010 build (6752) is out.
    « Reply #22 on: November 02, 2010, 06:38:24 am »
    Does it happen to anyone else that when you write two nested for-s for example

    for( int i = 0 ; i < N ; i++ ){
        for( int j = 0 ; j < N ; j++ ){
        
        }
    }

    I want it to look like above ( with the second for indented ). Sadly codeblocks drives me crazy when it aligns the second for with the first. Is that an option that I can turn off or is it just a bug.... I cannot make myself believe this is a feature!??!  Really, who'd write without indentation... Please fix it :)

    OS: Kubuntu 10.10
    Codeblocks SVN 6803, Build : Nov 1 2010, 10:20:47 - wx 2.8.10 - 32 bit

    EDIT: WHERE ARE MY ABBREVIATIONS!?!?!?
    « Last Edit: November 02, 2010, 10:19:39 am by fataluk1 »

    Offline Loaden

    • Lives here!
    • ****
    • Posts: 1014
    Re: The 23 October 2010 build (6752) is out.
    « Reply #23 on: November 02, 2010, 10:44:08 am »
    Does it happen to anyone else that when you write two nested for-s for example

    for( int i = 0 ; i < N ; i++ ){
        for( int j = 0 ; j < N ; j++ ){
        
        }
    }

    I want it to look like above ( with the second for indented ). Sadly codeblocks drives me crazy when it aligns the second for with the first. Is that an option that I can turn off or is it just a bug.... I cannot make myself believe this is a feature!??!  Really, who'd write without indentation... Please fix it :)

    OS: Kubuntu 10.10
    Codeblocks SVN 6803, Build : Nov 1 2010, 10:20:47 - wx 2.8.10 - 32 bit

    EDIT: WHERE ARE MY ABBREVIATIONS!?!?!?

    trying to delete default.conf?

    Offline koso

    • Multiple posting newcomer
    • *
    • Posts: 58
    Re: The 23 October 2010 build (6752) is out.
    « Reply #24 on: November 02, 2010, 10:44:35 pm »
    I have the same problem with indent, even with new profile.

    In my case, I can reproduce it with this:

    1. disable brace completion (in default config)
    2. write this:

    Code
    for(;;) {
            for(;;)
    3. press '{'

    Now it unindents inner for ... and it happens only if you write code from '2' char by char <- so do not copy-paste it to test.


    Offline Loaden

    • Lives here!
    • ****
    • Posts: 1014
    Re: The 23 October 2010 build (6752) is out.
    « Reply #25 on: November 03, 2010, 01:22:15 pm »
    I have the same problem with indent, even with new profile.

    In my case, I can reproduce it with this:

    1. disable brace completion (in default config)
    2. write this:

    Code
    for(;;) {
            for(;;)
    3. press '{'

    Now it unindents inner for ... and it happens only if you write code from '2' char by char <- so do not copy-paste it to test.


    This issue should fixed in next nightly build.

    Offline tanq

    • Multiple posting newcomer
    • *
    • Posts: 18
    Re: The 23 October 2010 build (6752) is out.
    « Reply #26 on: November 03, 2010, 04:33:38 pm »
    I want to add some minor bugs I found.

    1. Sometimes compiler settings (particulary executable paths) are not saved with "save all" command. This is happening when new workspace is used instead of "default" workspace.
    --load prevously saved workspace
    --edit compiler paths
    --"save everything"
    --exit code::blocks
    --start code::blocks
    --load saved workspace
    -> paths may be lost

    2. Similar bug:
    --rename toolchain in compiler settings
    --toolchain name in projects' options updates automatically
    --save everything
    ->after restarting c::b projects references to old tollchain name which not exist
    ->updating toolchain name in every project manually, fixes the prolem


    Offline fataluk1

    • Single posting newcomer
    • *
    • Posts: 4
    Re: The 23 October 2010 build (6752) is out.
    « Reply #27 on: November 03, 2010, 07:51:13 pm »
    By MY I meant abbreviations as a whole... I don't have Abbreviations in Tools->Editor...

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 23 October 2010 build (6752) is out.
    « Reply #28 on: November 03, 2010, 09:00:38 pm »
    By MY I meant abbreviations as a whole... I don't have Abbreviations in Tools->Editor...
    Confirmed, abbreviations have moved into a plugin.
    I updated automake-system, but forgot to fix the debian install files.

    Currently I build the new packages.
    It will take about an hour (64-bit and 32-bit), if everything else is okay.

    I post here if the packages are available.

    Sorry for the inconvenience.

    Offline fataluk1

    • Single posting newcomer
    • *
    • Posts: 4
    Re: The 23 October 2010 build (6752) is out.
    « Reply #29 on: November 03, 2010, 09:03:01 pm »
    Can you also please add the option "Cancel" to the close dialog( when you press X incidentally, it only asks you whether to save the layout( at least me ) )... I like the firefox behaviour ( if I press X incidentally I can press Esc and not close firefox... no way(?) to do this with code::blocks :) )

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 23 October 2010 build (6752) is out.
    « Reply #30 on: November 03, 2010, 09:23:05 pm »
    Can you also please add the option "Cancel" to the close dialog( when you press X incidentally, it only asks you whether to save the layout( at least me ) )... I like the firefox behaviour ( if I press X incidentally I can press Esc and not close firefox... no way(?) to do this with code::blocks :) )
    Would be too late at this point, because the current project and/or workspace is already closed at this point and the shutdown is initiated.

    What we can probably do, is add an option to confirm whether the application should be closed or not, either as annoying dialog or configurable via "Settings -> Environment".

    What do other users and the other devs think about this ?

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 23 October 2010 build (6752) is out.
    « Reply #31 on: November 03, 2010, 10:20:21 pm »
    By MY I meant abbreviations as a whole... I don't have Abbreviations in Tools->Editor...
    Confirmed, abbreviations have moved into a plugin.
    I updated automake-system, but forgot to fix the debian install files.

    Currently I build the new packages.
    It will take about an hour (64-bit and 32-bit), if everything else is okay.

    I post here if the packages are available.

    Sorry for the inconvenience.
    Should be fixed in my repo (and in trunk) now.

    Offline MortenMacFly

    • Administrator
    • Lives here!
    • *****
    • Posts: 9694
    Re: The 23 October 2010 build (6752) is out.
    « Reply #32 on: November 04, 2010, 07:48:21 am »
    What do other users and the other devs think about this ?
    An annoying dialog seems appropriate, but IMHO only in case there are modifications and a project is present at all. Otherwise it feels strange if you open a project, do nothing (probably just browsing) and C::B asks if you are sure to close if you want so. No other applications does such (e.g. office / paint programs). But in the case of pending changes isn't this asked already?!
    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 Folco

    • Regular
    • ***
    • Posts: 343
      • Folco's blog (68k lover)
    Re: The 23 October 2010 build (6752) is out.
    « Reply #33 on: November 04, 2010, 10:15:16 am »
    It is :
    Kernel Extremist - PedroM power ©

    Offline fataluk1

    • Single posting newcomer
    • *
    • Posts: 4
    Re: The 23 October 2010 build (6752) is out.
    « Reply #34 on: November 04, 2010, 07:03:38 pm »
    Well, I'm not working with projects, I'm a highschool programming contestant in informatics and I usually only open one .cpp file at a time because a project for each problem solved would be an overkill... in that scenario there is no way to stop code::blocks from closing...

    Uuhm, as I think it's not a big problem, it's just annoying to click on X incidentally and to have to reload all your open files... nevermind... it'd be best if you did it an option to always ask if sure to close the program..
    « Last Edit: November 04, 2010, 07:07:47 pm by fataluk1 »