Author Topic: The 26 April 2008 build (5020) is out.  (Read 37936 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
The 26 April 2008 build (5020) is out.
« 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.

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:

  • Fix for bug with filenames that contain symlinks in their paths (might open the same file more than once using different paths because of the symlinks)
  • Fixed well-hidden parsing bug related to template parameters
  • Preprocessor definitions are now parsed and display the macro's definition when the macro is used as a function
  • Fixed code-completion bug that would fail providing suggestions if the caret was at the end of the file
  • Fixed: [Bug #13676] OnCompiler(Started,Finished) event.GetProject() returns null
  • Fixed: Refresh the project tree after AutoVersioning plugin configures a project
  • LD_LIBRARY_PATH is now correctly set for targets executed with cb_console_runner
  • Added debugger option: "catch C++ exceptions"
  • Added debugger option: "auto switch to first valid frame when breaking". Meaning the debugger will switch to the first frame with valid filename/line info when breaking
  • Replaced a couple of debugger's message boxes with info windows
  • Fixed: [Bug #13679] Crash in CodeCompletion after autosave

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)


Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 26 April 2008 build (5020) is out.
« Reply #1 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).

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: The 26 April 2008 build (5020) is out.
« Reply #2 on: April 27, 2008, 11:10:39 pm »
I see a lot of progress with the parser.

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 26 April 2008 build (5020) is out.
« Reply #3 on: April 28, 2008, 01:03:05 am »
Build for Ubuntu i386/amd64 can be found here

Best regards, pasgui
« Last Edit: April 28, 2008, 02:40:03 am by pasgui »

Offline Xaviou

  • Regular
  • ***
  • Posts: 302
    • X@v's wxStuff
Re: The 26 April 2008 build (5020) is out.
« Reply #4 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.
Not yet tested on Ubuntu 8.04, but I think it should work.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline dronT78

  • Multiple posting newcomer
  • *
  • Posts: 51
Re: The 26 April 2008 build (5020) is out.
« Reply #5 on: April 28, 2008, 08:30:18 am »
What is cbproject.cpp:1: fatal error: had to relocate PCH when building from svn?

Offline Vuki

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: The 26 April 2008 build (5020) is out.
« Reply #6 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.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 26 April 2008 build (5020) is out.
« Reply #7 on: April 28, 2008, 06:24:27 pm »
Ah, and I thought there was a problem with my console projects...
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: The 26 April 2008 build (5020) is out.
« Reply #8 on: April 29, 2008, 12:10:16 am »
I see a lot of progress with the parser.

That makes me happy :D

Offline billyonthemountain

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: The 26 April 2008 build (5020) is out.
« Reply #9 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)
(ASM, C/C++)||(VISION&AI)||(EMBEDDED SYSTEMS)

kamikaze

  • Guest
Re: The 26 April 2008 build (5020) is out.
« Reply #10 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)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 26 April 2008 build (5020) is out.
« Reply #11 on: April 30, 2008, 10:06:20 am »
In Ubuntu 8.04, CB can't auto abort when F9 done.

Offline Floréal

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 26 April 2008 build (5020) is out.
« Reply #12 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?
« Last Edit: May 01, 2008, 01:40:07 pm by Floréal »

Offline libfab

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: The 26 April 2008 build (5020) is out.
« Reply #13 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

Offline Floréal

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 26 April 2008 build (5020) is out.
« Reply #14 on: May 01, 2008, 08:46:04 pm »
Okay, thank you very much.

Offline Barking_Mad

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: The 26 April 2008 build (5020) is out.
« Reply #15 on: May 02, 2008, 04:42:47 am »
Running 5020 here on Ubuntu 8.04 and its all good, nice job :)
WooF! WooF! - Ubuntu 8.10 & CB 5432 & GCC 4.3.2
To see the world in a grain of sand and heaven in a wild flower
To hold infinity in the palm of your hand and eternity in an hour - W.B

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: The 26 April 2008 build (5020) is out.
« Reply #16 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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 26 April 2008 build (5020) is out.
« Reply #17 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.
If there are any problems with it please give me a feedback.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: The 26 April 2008 build (5020) is out.
« Reply #18 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"
« Last Edit: May 08, 2008, 02:40:47 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline szurilo

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: The 26 April 2008 build (5020) is out.
« Reply #19 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

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
Re: The 26 April 2008 build (5020) is out.
« Reply #20 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"

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 26 April 2008 build (5020) is out.
« Reply #21 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: The 26 April 2008 build (5020) is out.
« Reply #22 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"
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
Re: The 26 April 2008 build (5020) is out.
« Reply #23 on: May 10, 2008, 09:57:17 pm »
done

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: The 26 April 2008 build (5020) is out.
« Reply #24 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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 26 April 2008 build (5020) is out.
« Reply #25 on: May 13, 2008, 07:06:08 pm »
Patch needed for NON-PCH Windows Build.

Applied. :)
Be a part of the solution, not a part of the problem.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 26 April 2008 build (5020) is out.
« Reply #26 on: May 18, 2008, 06:12:20 am »
Debian Lenny, CB5045, Crash!


[attachment deleted by admin]

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 26 April 2008 build (5020) is out.
« Reply #27 on: May 18, 2008, 07:48:17 am »
Debian Lenny, CB5045, Crash!

How??!! :?:
Be a part of the solution, not a part of the problem.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 26 April 2008 build (5020) is out.
« Reply #28 on: May 18, 2008, 11:49:12 am »
Debian Lenny, CB5045, Crash!

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

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 26 April 2008 build (5020) is out.
« Reply #29 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 .

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 26 April 2008 build (5020) is out.
« Reply #30 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.