News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 26 April 2008 build (5020) is out.

Started by killerbot, April 27, 2008, 07:37:59 PM

Previous topic - Next topic

Barking_Mad

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

stahta01

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

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

src/include/tinyxml/tinyxml.h:52:22: tinystr.h: No such file or directory
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

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.

stahta01

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

Tim S


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"
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

szurilo

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

killerbot

done

Quote from: 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


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"


Jenna

Quote from: 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

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

stahta01

Patch needed for NON PCH build.

Tim S


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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

killerbot


stahta01

Patch needed for NON-PCH Windows Build.

Added include of infowindow.h.


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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Biplab

Be a part of the solution, not a part of the problem.

Loaden

Debian Lenny, CB5045, Crash!


[attachment deleted by admin]

Biplab

Be a part of the solution, not a part of the problem.


Jenna

Quote from: Loaden on May 18, 2008, 11:49:12 AM
Quote from: Biplab on May 18, 2008, 07:48:17 AM
Quote from: Loaden on May 18, 2008, 06:12:20 AM
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 .