Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on October 23, 2010, 10:38:22 pm

Title: The 23 October 2010 build (6752) is out.
Post by: killerbot 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 (http://forums.codeblocks.org/index.php/topic,3232.0.html).

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:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 23 October 2010 build (6752) is out.
Post by: Xaviou 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 (http://www.archive-host.com/compteur.php?url=http://codeblocks.archive-host.com/CB_20101023_1005_rev6752_Ubuntu1004_wx2810_amd64tar.gz) (direct link).

".mo" file for french translation can be founded here (http://www.archive-host.com/compteur.php?url=http://codeblocks.archive-host.com/CB_20101023_rev6752_fr.zip) (see below for installation instructions)
Full Win32 French Version (including wxWidgets and MinGW dlls and french ".mo" and ".po" files) can be founded here (http://www.archive-host.com/compteur.php?url=http://codeblocks.archive-host.com/CB_20101023_rev6752_win32_fr.7z)

Installing french language file:

Do not forget to remove old translations files !

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

Regards
Xav'
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Jenna 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 (http://apt.jenslody.de/).
Title: Re: The 23 October 2010 build (6752) is out.
Post by: ahui886 on October 25, 2010, 02:48:44 am
thanks.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Borr 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/
Title: Re: The 23 October 2010 build (6752) is out.
Post by: eckard_klotz 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Phenom 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Phenom 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: koso 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




Title: Re: The 23 October 2010 build (6752) is out.
Post by: oBFusCATed on October 28, 2010, 09:26:38 am
1. I think it is normal and it is present for 2-3 years, maybe more...
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Jenna 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 .
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Phenom 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?

Title: Re: The 23 October 2010 build (6752) is out.
Post by: Jenna 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Phenom 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Phenom 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!
Title: Re: The 23 October 2010 build (6752) is out.
Post by: koso 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
Title: Re: The 23 October 2010 build (6752) is out.
Post by: scarphin on October 30, 2010, 12:12:08 pm
I guess debuggers branch hasn't been mixed into this nightly, has it?
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Jenna on October 30, 2010, 12:23:28 pm
I guess debuggers branch hasn't been mixed into this nightly, has it?

No !
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Phenom 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".
Title: Re: The 23 October 2010 build (6752) is out.
Post by: alb_cb_moon 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
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Grom 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;
}
Title: Re: The 23 October 2010 build (6752) is out.
Post by: oBFusCATed 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
Title: Re: The 23 October 2010 build (6752) is out.
Post by: fataluk1 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!?!?!?
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Loaden 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?
Title: Re: The 23 October 2010 build (6752) is out.
Post by: koso 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.

Title: Re: The 23 October 2010 build (6752) is out.
Post by: Loaden 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: tanq 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

Title: Re: The 23 October 2010 build (6752) is out.
Post by: fataluk1 on November 03, 2010, 07:51:13 pm
By MY I meant abbreviations as a whole... I don't have Abbreviations in Tools->Editor...
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Jenna 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: fataluk1 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 :) )
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Jenna 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 ?
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Jenna 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.
Title: Re: The 23 October 2010 build (6752) is out.
Post by: MortenMacFly 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?!
Title: Re: The 23 October 2010 build (6752) is out.
Post by: Folco on November 04, 2010, 10:15:16 am
It is : (http://www.mirari.fr/LBmi) (http://www.mirari.fr/FkQQ)
Title: Re: The 23 October 2010 build (6752) is out.
Post by: fataluk1 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..