Code::Blocks

User forums => Nightly builds => Topic started by: killerbot on December 02, 2007, 05:11:27 pm

Title: The 02 December 2007 build (4696) is out.
Post by: killerbot on December 02, 2007, 05:11: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 (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_wx287.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 02 December 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20071202_rev4696_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 02 December 2007 build (4696) is out.
Post by: pasgui on December 02, 2007, 06:29:29 pm
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Title: Re: The 02 December 2007 build (4696) is out.
Post by: Xaviou on December 02, 2007, 06:56:18 pm
Ubuntu 6.10 -> 7.10 Amd64 tar.gz archive (containing '.deb' installers builds with wx2.8.6) can be found here (http://www.esnips.com/web/CodeBlocks).
Title: Re: The 02 December 2007 build (4696) is out.
Post by: Rayman on December 02, 2007, 07:32:55 pm
The 'Auto-hide message pane' function still does not work (under windows) - in both directions:

1) The message pane doesn't come up on compiling etc. if it is hidden.
2) If it is called with 'View-Logs' it never disapears as expected.

Stefan.
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 02, 2007, 07:56:05 pm
I have just uploaded the binaries and sources for debian (stable, testing and unstable) to my repo (see Sig).
Title: Re: The 02 December 2007 build (4696) is out.
Post by: AmR EiSa on December 02, 2007, 08:17:15 pm
The 'Auto-hide message pane' function still does not work (under windows) - in both directions:

1) The message pane doesn't come up on compiling etc. if it is hidden.
2) If it is called with 'View-Logs' it never disapears as expected.

and in deb too this mean linux too :( !!!
Title: Re: The 02 December 2007 build (4696) is out.
Post by: liuyizheanxy on December 03, 2007, 07:44:28 am
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Is there any build for Debian? Could I use this build in debain?
thanks
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 03, 2007, 07:49:36 am
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Is there any build for Debian? Could I use this build in debain?
thanks

Yes there is:
I have just uploaded the binaries and sources for debian (stable, testing and unstable) to my repo (see Sig).
Title: Re: The 02 December 2007 build (4696) is out.
Post by: dr snuggles on December 03, 2007, 10:58:00 am
Is GDB still supported in this Nightly build?

I just installed this nightly build on my computer at home running Windows XP x64 and the debugger GDB always crashes. I have tried several versions of GDB (5.1.3, 6.3.1, 6.3.2) but they all generate the same vague error "GDB.exe encountered a problem and needs to close". Clicking on more gives "AppName: gdb.exe,  AppVer: 0.0.0.0, ModName: gdb.exe, ModVer: 0.0.0.0, Offset: 00059628". Compiler and debugger path are ok. Of course this happens when I need to finish something in a few hours :D.

Does anyone know why GDB crashes and how I can fix this?
Title: Re: The 02 December 2007 build (4696) is out.
Post by: STiAT on December 03, 2007, 11:27:03 am
Switched ArchLinux Repositories from RC2 to Nightly builds, due to problems with RC2 i couldn't solve (crashes on startup).

Yours,
STiAT
Arch Linux TU
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 03, 2007, 11:49:43 am
The 'Auto-hide message pane' function still does not work (under windows) - in both directions:

1) The message pane doesn't come up on compiling etc. if it is hidden.
2) If it is called with 'View-Logs' it never disapears as expected.

and in deb too this mean linux too :( !!!

Patch to make "Auto-hide message pane" work again:
Code: [Select]
--- codeblocks-1.0svn.orig/src/src/main.cpp     2007-11-30 07:00:03.000000000 +0100
+++ codeblocks-1.0svn.work/src/src/main.cpp     2007-12-03 11:43:16.000000000 +0100
@@ -676,7 +676,7 @@

 void MainFrame::SetupGUILogging()
 {
-    m_AutoHideLogs = Manager::Get()->GetConfigManager(_T("app"))->ReadBool(_T("/auto_hide"), false);
+    m_AutoHideLogs = Manager::Get()->GetConfigManager(_T("message_manager"))->ReadBool(_T("/auto_hide"), false);

     int bottomH = Manager::Get()->GetConfigManager(_T("app"))->ReadInt(_T("/main_frame/layout/bottom_block_height"), 150);
     wxSize clientsize = GetClientSize();
Title: Re: The 02 December 2007 build (4696) is out.
Post by: MortenMacFly on December 03, 2007, 01:05:23 pm
Patch to make "Auto-hide message pane" work again:
...done that. Thanks! :-)

Note [for Morten]: This is my 2000'th post. :lol:
Title: Re: The 02 December 2007 build (4696) is out.
Post by: kelo81 on December 03, 2007, 03:07:08 pm
Note [for Morten]: This is my 2000'th post. :lol:

Congrats!!  :D
Title: Re: The 02 December 2007 build (4696) is out.
Post by: wobien on December 03, 2007, 06:12:22 pm
Excellent!
I reenabled Code Suppletion, and until now no crashes on save or on compile. :D
Also Insert class methods works fine now.
Only, the crashes on close workspace are still there, but OK, I can reopen C::B when it happens.
wobien
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 04, 2007, 12:31:08 am
I just updated my repo (see sig) to svn4698 (including the fix to make "Auto-hide message pane" work again).

I will be on work till thursday evening, and I don't know if I have an internet-connection in hotel, so I upgrade now.

I don't think that I will be able to upload svn4699 till tomorrow morning. It's compiling at the moment and I have to sleep a little bit (no more than 4 - 5 hours left now  :( ).
And uploading needs about 3 hours (70 MB over ISDN).

Edit:

svn4699 is in the repo now.
Title: Re: The 02 December 2007 build (4696) is out.
Post by: thomas on December 04, 2007, 09:26:37 am
ISDN
My goodness! What's that!? :)
Title: Re: The 02 December 2007 build (4696) is out.
Post by: MortenMacFly on December 04, 2007, 10:08:15 am
ISDN
My goodness! What's that!? :)
This was back in the old days where you used to be a baby possibly... ;-)
Title: Re: The 02 December 2007 build (4696) is out.
Post by: JGM on December 04, 2007, 01:59:49 pm
ISDN
My goodness! What's that!? :)
This was back in the old days where you used to be a baby possibly... ;-)

Not so bad, before I switched to 512k broadband a year ago, I was using 56k modem connection since I was 15 years old  :D it was pretty cool, jajaja
Title: Re: The 02 December 2007 build (4696) is out.
Post by: RJP Computing on December 04, 2007, 06:04:56 pm
I don't know if this has been reported before, but you can't make the tabs in the Messages be on the bottom. I think this changed around the same time it won't "Auto-Hide".
Title: Re: The 02 December 2007 build (4696) is out.
Post by: wobien on December 04, 2007, 11:32:24 pm
I think something is wrong with the behaviour of Build.
I have a workspace with 2 projects, a static library and a project that depends on it.
I have set the dependancy in the project properties.
Until now, if the dependent project is active, and i change something in the library, and than do build, first the library and than the dependent project were build.
With the 4696, the library is build, but than i get "target is up to date" for the dependant project.
wobien

edit:
I can be a bit more precise on this:
If i change something in a definition file of the library, the dependant project is recompiled.
If I only change something in an implementation file of the library, the library is renewed, but the dependant project is not.

I found a workaround: if i want to see the effect of the change in the behaviour of my app, i add a space somewhere in an implementation file of my app.
Title: Re: The 02 December 2007 build (4696) is out.
Post by: dmoore on December 05, 2007, 01:55:41 am
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui

Hi Pasgui: really nice work setting up a repository for the nightlies. Supposing I wanted to revert to an older nightly - do you have instructions for that?

Thanks
Title: Re: The 02 December 2007 build (4696) is out.
Post by: JGM on December 05, 2007, 03:10:17 am
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui

Hi Pasgui: really nice work setting up a repository for the nightlies. Supposing I wanted to revert to an older nightly - do you have instructions for that?

Thanks

You could try on synaptic by searching the codeblocks packages selecting them and then menu Package->Force Version...
Title: Re: The 02 December 2007 build (4696) is out.
Post by: pasgui on December 05, 2007, 09:15:30 am
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui

Hi Pasgui: really nice work setting up a repository for the nightlies. Supposing I wanted to revert to an older nightly - do you have instructions for that?

Thanks

You could try on synaptic by searching the codeblocks packages selecting them and then menu Package->Force Version...

I provide at least the last 3 nigthlies. You need to force the version, as @JGM said, for all packages already installed. I will add an howto on my web site.

Best regards, pasgui
Title: Re: The 02 December 2007 build (4696) is out.
Post by: flying on December 05, 2007, 09:54:52 am
where can i found it for FC5??
Title: Re: The 02 December 2007 build (4696) is out.
Post by: gd_on on December 05, 2007, 10:07:01 am
Hi,
I have built a version 4700 from SVN (nice number !!), for Windows.
I ran it on Win 2k. As wobien told for svn 4698, double click on a .cbp file works again to start C::B.
I can then work normally. But when I quit C::B, i have an error message, telling me that my .cbp file (or one of it's component) cannot be found. Strange, but not new ! I have already seen that 2 or 3 months ago (or more ...).
This does not happen if codecompletion is disabled or if I use a "dummy" plugin deliberately provoking a warning at start, as I suggested in a previous post.

gd_on

PS : Oups ! I spoke too fast. On my old PC at work with Win 2K, svn 4700 works as described. But on a newer one, at home, with Win XP, nothing is changed, double click still does not work, but no error messages when quiting !!!
Title: Re: The 02 December 2007 build (4696) is out.
Post by: stahta01 on December 05, 2007, 06:08:30 pm
See thread http://forums.codeblocks.org/index.php/topic,7415.0.html
for more details.

NON PCH header patch for Linux, untested by me.
But, tested by bgolding.

Code: [Select]
Index: src/plugins/compilergcc/advancedcompileroptionsdlg.cpp
===================================================================
--- src/plugins/compilergcc/advancedcompileroptionsdlg.cpp (revision 4699)
+++ src/plugins/compilergcc/advancedcompileroptionsdlg.cpp (working copy)
@@ -1,6 +1,7 @@
 #include "sdk.h"
 #ifndef CB_PRECOMP
 #include <wx/checkbox.h>
+#include <wx/choice.h>
 #include <wx/combobox.h>
 #include <wx/intl.h>
 #include <wx/listbox.h>
Title: Re: The 02 December 2007 build (4696) is out.
Post by: bgolding on December 05, 2007, 06:15:54 pm
Also a patch to 'bootstrap', remove the $ from regexp to correctly detect automake 1.6.3 (which doesn't work to build C::B). Otherwise it will try to proceed and fail later (not in an obvious way).

Not sure why 'svn' diff' has made this look like a bigger change than it is...

Code: [Select]
Index: bootstrap
===================================================================
--- bootstrap   (revision 4703)
+++ bootstrap   (working copy)
@@ -42,7 +42,7 @@
        exit 1;
 fi
 
-if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.[0-6]$'`"; then
+if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.[0-6]'`"; then
        echo "Automake 1.7 or above is required. Aborting build...";
        exit 1;
 fi
Title: Re: The 02 December 2007 build (4696) is out.
Post by: gd_on on December 05, 2007, 07:47:49 pm
Question @ Killerbot

When I build myself a codeblocks version for Windows, I obtain a cb_share_config.exe which is generated and copied in the output folder. This .exe is not in your distribution. What is this file for ?

and thanks for your work  :D

gd_on
Title: Re: The 02 December 2007 build (4696) is out.
Post by: TheTuxKeeper on December 05, 2007, 09:12:04 pm
Also a patch to 'bootstrap', remove the $ from regexp to correctly detect automake 1.6.3 (which doesn't work to build C::B). Otherwise it will try to proceed and fail later (not in an obvious way).

Not sure why 'svn' diff' has made this look like a bigger change than it is...

Code: [Select]
Index: bootstrap
===================================================================
--- bootstrap   (revision 4703)
+++ bootstrap   (working copy)
@@ -42,7 +42,7 @@
        exit 1;
 fi
 
-if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.[0-6]$'`"; then
+if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.[0-6]'`"; then
        echo "Automake 1.7 or above is required. Aborting build...";
        exit 1;
 fi
removing the "$" will cause problems with automake 1.10 and above :)
I'll try to extend the regexp ;)

diff compares lines and if there's only one character different, it replaces the whole line. additionally some lines above and under the changes are in the output, so the patch can be applied even if the line number changes, but the changed line itself not

EDIT: fixed in revision 4704. thanks for reporting :)
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 07, 2007, 08:26:22 pm
ISDN
My goodness! What's that!? :)
This was back in the old days where you used to be a baby possibly... ;-)

Not so bad, before I switched to 512k broadband a year ago, I was using 56k modem connection since I was 15 years old  :D it was pretty cool, jajaja
I would like to have a broadband-connection, but the german telecom has another opinion :(.

At work I can download with 16MBit, that means about 1.8 MByte per second, that's really fast, and upload is about 1MBit.
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 08, 2007, 07:36:18 pm
Only, the crashes on close workspace are still there, but OK, I can reopen C::B when it happens.
wobien

I get crashes, if I close a workspace and then create a new project. After some debugging (with kdbg  :(, because I still don't know how to debug C::B from within C::B ), I figured out a problem with the debugger-plugin's RemoteDebuggingMap.
After disabling the plugin, the crashes went away.

Perhaps I have enough time to do a little more debugging this weekend.
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 09, 2007, 01:00:22 am
Only, the crashes on close workspace are still there, but OK, I can reopen C::B when it happens.
wobien

I get crashes, if I close a workspace and then create a new project. After some debugging (with kdbg  :(, because I still don't know how to debug C::B from within C::B ), I figured out a problem with the debugger-plugin's RemoteDebuggingMap.
After disabling the plugin, the crashes went away.

Perhaps I have enough time to do a little more debugging this weekend.

The RemoteDebuggingMap was not cleared, when closing a project.

Here is a patch that fixes the problem (and a typo in a comment):
Code: [Select]
--- codeblocks-1.0svn.orig/src/plugins/debuggergdb/debuggergdb.cpp      2007-12-07 20:03:07.000000000 +0100
+++ codeblocks-1.0svn.work/src/plugins/debuggergdb/debuggergdb.cpp      2007-12-08 23:55:25.000000000 +0100
@@ -2463,10 +2463,13 @@
     // allow others to catch this
     event.Skip();

-    // remove all search dirs sotred for this project so we don't have conflicts
+    // remove all search dirs stored for this project so we don't have conflicts
     // if a newly opened project happens to use the same memory address
     GetSearchDirs(event.GetProject()).clear();

+    // clear the RemoteDebuggingMap for this project
+    m_RemoteDebugging.clear();
+
     // remove all breakpoints belonging to the closed project
     m_State.RemoveAllProjectBreakpoints(event.GetProject());
     if (m_pBreakpointsWindow)
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 09, 2007, 11:52:22 am
The crash only happens, if the closed project has "remote_debugging" entries in the cbp-file.

This can of course happen, if you want to do remote-debugging, or if you are curious (like me) and click on the build-target in the debugger tab of the projects "Properties ..." window.

Even if you don't change anything, but click "OK" to close the window, and answer "Yes" to the "do you want to save changed project-settings"-question when closing the project, the "remote_debugging" entries appear in the cbp-file.

Nevertheless it's a bug and should be fixed.
Title: Re: The 02 December 2007 build (4696) is out.
Post by: wobien on December 09, 2007, 05:13:34 pm
The crash only happens, if the closed project has "remote_debugging" entries in the cbp-file.
How can I know if I have "remote_debugging" entries in my cbp-file?
Title: Re: The 02 December 2007 build (4696) is out.
Post by: jens on December 09, 2007, 06:17:47 pm
You can open it with a texteditor and search for "remote_debugging" as XML-tags.