Code::Blocks

User forums => Nightly builds => Topic started by: killerbot on April 27, 2008, 07:37:59 pm

Title: The 26 April 2008 build (5020) is out.
Post by: killerbot on April 27, 2008, 07:37:59 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 26 April 2008 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20080426_rev5020_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 26 April 2008 build (5020) is out.
Post by: jens on April 27, 2008, 07:45:30 pm
A source tar-ball (usable on linux and windows) and binaries for debian (32 and 64 bit) are available on my server (see signature).
Title: Re: The 26 April 2008 build (5020) is out.
Post by: indigo0086 on April 27, 2008, 11:10:39 pm
I see a lot of progress with the parser.
Title: Re: The 26 April 2008 build (5020) is out.
Post by: pasgui on April 28, 2008, 01:03:05 am
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Xaviou on April 28, 2008, 08:14:53 am
Ubuntu 7.04 to 7.10 Amd64 tar.gz archive (containing '.deb' installers builds with wx287) can be found here (http://www.esnips.com/web/CodeBlocks).
Not yet tested on Ubuntu 8.04, but I think it should work.
Title: Re: The 26 April 2008 build (5020) is out.
Post by: dronT78 on April 28, 2008, 08:30:18 am
What is cbproject.cpp:1: fatal error: had to relocate PCH when building from svn?
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Vuki on April 28, 2008, 06:10:03 pm
Running programs from within CB does not work in 5020. Tested on WinXP.

I created new Console Application project which is supposed to print "Hello world" in the console. After compiling and executing Build > Run, the only response I get is:

Process returned 10000 (0x2710) execution time 0.000 s

Additionally, the caption of cmd window says "PATH=$PATH;. C:\ttt\ttt.exe" (shouldn't it be "PATH=%PATH%;."?)

The same project on 5010 runs fine, "Hello world" is printed and the window caption is correct ("C:\ttt\ttt.exe").

Other projects also do not run on 5020 and they do run from the command shell.
Title: Re: The 26 April 2008 build (5020) is out.
Post by: thomas on April 28, 2008, 06:24:27 pm
Ah, and I thought there was a problem with my console projects...
Title: Re: The 26 April 2008 build (5020) is out.
Post by: JGM on April 29, 2008, 12:10:16 am
I see a lot of progress with the parser.

That makes me happy :D
Title: Re: The 26 April 2008 build (5020) is out.
Post by: billyonthemountain on April 29, 2008, 02:16:39 am
Running programs from within CB does not work in 5020. Tested on WinXP.

I created new Console Application project which is supposed to print "Hello world" in the console. After compiling and executing Build > Run, the only response I get is:

Process returned 10000 (0x2710) execution time 0.000 s

Additionally, the caption of cmd window says "PATH=$PATH;. C:\ttt\ttt.exe" (shouldn't it be "PATH=%PATH%;."?)

The same project on 5010 runs fine, "Hello world" is printed and the window caption is correct ("C:\ttt\ttt.exe").

Other projects also do not run on 5020 and they do run from the command shell.


Same here for both C and C++ console projects (Vista)
Title: Re: The 26 April 2008 build (5020) is out.
Post by: kamikaze on April 29, 2008, 12:38:51 pm
this sh*t doesn't work on windows xp here... Process terminated with status 10000 (0 minutes, 16 seconds)
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Loaden on April 30, 2008, 10:06:20 am
In Ubuntu 8.04, CB can't auto abort when F9 done.
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Floréal on May 01, 2008, 01:37:18 pm
I'm running a ubuntu 8.04, and it seems that pressing spacebar in to the editor calls the code-completion rather than adding a blank space in my text. Shall I reset mys CB settings, by removin .codeblocks forlder ento my home dir?
Title: Re: The 26 April 2008 build (5020) is out.
Post by: libfab on May 01, 2008, 05:59:01 pm
Floréal, your issue was solved by sharky in a late post here:
http://forums.codeblocks.org/index.php?topic=8291.msg61700;topicseen#msg61700
Fab
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Floréal on May 01, 2008, 08:46:04 pm
Okay, thank you very much.
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Barking_Mad on May 02, 2008, 04:42:47 am
Running 5020 here on Ubuntu 8.04 and its all good, nice job :)
Title: Re: The 26 April 2008 build (5020) is out.
Post by: stahta01 on May 02, 2008, 06:31:59 pm
FYI: If anyone does noPCH testing on windows I had to add this patch to fix an compile error.

Tim S

PS, this patch does not need to be applied to SVN, because it only affects me and anyone else doing noPCH testing on windows.

Patch
Code: [Select]
Index: src/plugins/contrib/ThreadSearch/ThreadSearch.cbp
===================================================================
--- src/plugins/contrib/ThreadSearch/ThreadSearch.cbp (revision 5021)
+++ src/plugins/contrib/ThreadSearch/ThreadSearch.cbp (working copy)
@@ -50,6 +50,7 @@
  <Add directory="$(#CB.include)" />
  <Add directory="$(#CB.include)\wxscintilla\include" />
  <Add directory="$(#cb.include)\wxFlatNotebook\include" />
+ <Add directory="$(#CB.include)\tinyxml" />
  <Add directory="$(#WX.include)" />
  <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)\msw$(WX_SUFFIX)" />
  </Compiler>

Error
Code: [Select]
src/include/tinyxml/tinyxml.h:52:22: tinystr.h: No such file or directory
Title: Re: The 26 April 2008 build (5020) is out.
Post by: jens on May 05, 2008, 12:10:59 am
I'll be on work in the german wilderness the next five days. I think there will be no Internet at hotel and no time to spend on C::B during the days.
That means I will not be able to update my svn-repo next week until friday night.

So I decided to upload the actual svn (r5027) to my server.

I used the patch described here (http://forums.codeblocks.org/index.php/topic,8352.msg61757.html#msg61757).
If there are any problems with it please give me a feedback.
Title: Re: The 26 April 2008 build (5020) is out.
Post by: stahta01 on May 07, 2008, 06:56:57 am
Patch Needed under Windows when doing an Non-PCH build.
Updated patch to SVN 5039.

Tim S

Code: [Select]
Index: src/plugins/codecompletion/classbrowser.h
===================================================================
--- src/plugins/codecompletion/classbrowser.h (revision 5039)
+++ src/plugins/codecompletion/classbrowser.h (working copy)
@@ -15,6 +15,7 @@
 #include "classbrowserbuilderthread.h"
 
 class NativeParser;
+class wxComboBox;
 class wxTreeCtrl;
 class wxTextCtrl;
 class cbProject;
Index: src/sdk/globals.cpp
===================================================================
--- src/sdk/globals.cpp (revision 5039)
+++ src/sdk/globals.cpp (working copy)
@@ -20,6 +20,7 @@
     #include "manager.h"
     #include "configmanager.h" // ReadBool
     #include "filemanager.h"
+    #include "projectmanager.h"
 #endif
 
 #include "tinyxml/tinyxml.h"
Title: Re: The 26 April 2008 build (5020) is out.
Post by: szurilo on May 09, 2008, 03:47:46 pm
I downloaded nightly 5027 from Jens's repository. I dont know whether this problem come from elsewhere but my CB editor works strange.
If i copy&paste a cpp source in the editor, half sentences and command fragments appear in the end of the file. If i edit my files, CB simply doesnt save them. It seems it saves but the compile process fail and if i check the file outside CB the strange fragments is still there at the end of the file. I manually have to edit my cpp files and save them with a text editor. Anyway i have the correct permissions on these files.
Anyone else has same experience?

Distro: Linux Debian, wxWidgets 2.8.7 unicode build, CB nightly rev5027

Szurilo
Title: Re: The 26 April 2008 build (5020) is out.
Post by: killerbot on May 09, 2008, 05:14:35 pm
done

Patch Needed under Windows when doing an Non-PCH build.
Updated patch to SVN 5039.

Tim S

Code: [Select]
Index: src/plugins/codecompletion/classbrowser.h
===================================================================
--- src/plugins/codecompletion/classbrowser.h (revision 5039)
+++ src/plugins/codecompletion/classbrowser.h (working copy)
@@ -15,6 +15,7 @@
 #include "classbrowserbuilderthread.h"
 
 class NativeParser;
+class wxComboBox;
 class wxTreeCtrl;
 class wxTextCtrl;
 class cbProject;
Index: src/sdk/globals.cpp
===================================================================
--- src/sdk/globals.cpp (revision 5039)
+++ src/sdk/globals.cpp (working copy)
@@ -20,6 +20,7 @@
     #include "manager.h"
     #include "configmanager.h" // ReadBool
     #include "filemanager.h"
+    #include "projectmanager.h"
 #endif
 
 #include "tinyxml/tinyxml.h"
Title: Re: The 26 April 2008 build (5020) is out.
Post by: jens on May 10, 2008, 02:06:34 pm
I downloaded nightly 5027 from Jens's repository. I dont know whether this problem come from elsewhere but my CB editor works strange.
If i copy&paste a cpp source in the editor, half sentences and command fragments appear in the end of the file. If i edit my files, CB simply doesnt save them. It seems it saves but the compile process fail and if i check the file outside CB the strange fragments is still there at the end of the file. I manually have to edit my cpp files and save them with a text editor. Anyway i have the correct permissions on these files.
Anyone else has same experience?

Distro: Linux Debian, wxWidgets 2.8.7 unicode build, CB nightly rev5027

Szurilo

I can confirm a behaviour that might be related to your problem, but not the copy&paste problem itself.

I just posted a new topic: Bug (?) in wxFile::Write() causes bug in the svn-version 5027 into my repo (http://forums.codeblocks.org/index.php/topic,8388.0.html)
Title: Re: The 26 April 2008 build (5020) is out.
Post by: stahta01 on May 10, 2008, 09:53:21 pm
Patch needed for NON PCH build.

Tim S

Code: [Select]
Index: src/sdk/globals.cpp
===================================================================
--- src/sdk/globals.cpp (revision 5047)
+++ src/sdk/globals.cpp (working copy)
@@ -20,6 +20,7 @@
     #include "manager.h"
     #include "configmanager.h" // ReadBool
     #include "filemanager.h"
+    #include "projectmanager.h"
 #endif
 
 #include "tinyxml/tinyxml.h"
Title: Re: The 26 April 2008 build (5020) is out.
Post by: killerbot on May 10, 2008, 09:57:17 pm
done
Title: Re: The 26 April 2008 build (5020) is out.
Post by: stahta01 on May 13, 2008, 05:17:06 pm
Patch needed for NON-PCH Windows Build.

Added include of infowindow.h.

Code: [Select]
Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 5054)
+++ src/sdk/editormanager.cpp (working copy)
@@ -34,6 +34,7 @@
     #include "sdk_events.h"
     #include <wx/file.h>
     #include <wx/dir.h>
+    #include "infowindow.h"
 #endif
 #include "cbstyledtextctrl.h"
 
There is a line with just a space at the bottom of patch.

Tim S
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Biplab on May 13, 2008, 07:06:08 pm
Patch needed for NON-PCH Windows Build.

Applied. :)
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Loaden on May 18, 2008, 06:12:20 am
Debian Lenny, CB5045, Crash!


[attachment deleted by admin]
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Biplab on May 18, 2008, 07:48:17 am
Debian Lenny, CB5045, Crash!

How??!! :?:
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Loaden on May 18, 2008, 11:49:12 am
Debian Lenny, CB5045, Crash!

How??!! :?:
When i close CB, it's crash.
Title: Re: The 26 April 2008 build (5020) is out.
Post by: jens on May 18, 2008, 12:23:20 pm
Debian Lenny, CB5045, Crash!

How??!! :?:
When i close CB, it's crash.


Does it happen always or randomly ?
Does it only happen if a project is loaded or also if you just open and close C::B ?
Does it happen with any project or only with some projects ?
Does it happen if you just open and close the project or if you have done anything like compiling, debugging etc. ?

Or a little shorter:

Can you please tell step-by-step how to reproduce the crash .
Title: Re: The 26 April 2008 build (5020) is out.
Post by: Loaden on May 18, 2008, 03:49:25 pm
Debian Lenny, CB5045, Crash!

How??!! :?:
When i close CB, it's crash.


Does it happen always or randomly ?
Does it only happen if a project is loaded or also if you just open and close C::B ?
Does it happen with any project or only with some projects ?
Does it happen if you just open and close the project or if you have done anything like compiling, debugging etc. ?

Or a little shorter:

Can you please tell step-by-step how to reproduce the crash .
randomly.
I open a project, compire it, and debuged.
when i want stop dev, i close CB, and CB crash.