Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on September 21, 2008, 08:07:53 pm

Title: The 21 September 2008 build (5208) is out.
Post by: killerbot on September 21, 2008, 08:07:53 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_wx288.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 21 September 2008 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20080921_rev5208_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 21 September 2008 build (5208) is out.
Post by: stahta01 on September 21, 2008, 10:50:57 pm
More ANSI Warnings patch are on the way.

I plan to submit the patches for the contrib plugins to BerliOS.

Do you wish me also submit this one for debuggergdb plug-in?
I decided to also submit debuggergdb one to BerliOS.

Minor patch that fixes compiler error. GetModuleFileNameA complains about WCHAR*

Code
Index: src/plugins/contrib/codesnippets/codesnippetsapp.cpp
===================================================================
--- src/plugins/contrib/codesnippets/codesnippetsapp.cpp (revision 5208)
+++ src/plugins/contrib/codesnippets/codesnippetsapp.cpp (working copy)
@@ -1269,7 +1269,7 @@
     #if defined(__WXMSW__)
     if( m_Prefix.IsEmpty() )
     do{
-        WCHAR dllPath[1024] = {0};
+        wxChar dllPath[1024] = {0};
         HMODULE dllHandle = LoadLibrary(_T("codeblocks.dll"));
         if (not dllHandle) break;
         DWORD pathLen = GetModuleFileName( dllHandle, dllPath, sizeof(dllPath));

Tim S
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Jenna on September 22, 2008, 06:57:42 am
Just uploaded binary packages for debian and sources to my server (http://apt.jenslody.de/).
Title: Re: The 21 September 2008 build (5208) is out.
Post by: courage on September 22, 2008, 08:44:50 am
  • projects_importer (MSVC6): Add support for importing post build commands

Thanks, I am waiting for this so long.  :D

But I found this built also can't handle the importing correctly. First, it seems not to handle the dependence of VC6 projects correctly in the workspace, and second it seems not to handle the post commands correctly.

for example, compiling nethack3.4.3, after executing the "nethack-3.4.3/sys/winnt/nhsetup.bat", copying the modified "rpcndr.h" and importing VC6 workspace in "nethack-3.4.3/nethack.dsw", the dependence of VC6 projects is ignored in Code::Blocks. When I press the "Rebuild workspace" button, Code::Blocks will build the active project first or the first order project in the workspace.

Even though Code::Blocks imports the post build commands, it seems just importing the lines one by one. I guess the "TAB character" of the post build commands in VC6 project files mean "new line", but I am not very sure.  :?
Title: Re: The 21 September 2008 build (5208) is out.
Post by: stahta01 on September 22, 2008, 10:42:14 am
killerbot:

Whoever applied my patch above had an case issue; it should be wxChar not the wxCHAR that was used.

Tim S
Title: Re: The 21 September 2008 build (5208) is out.
Post by: MortenMacFly on September 22, 2008, 10:51:52 am
Whoever applied my patch above had an case issue; it should be wxChar not the wxCHAR that was used.
Done. Thanks. :-)
Title: Re: The 21 September 2008 build (5208) is out.
Post by: killerbot on September 22, 2008, 12:54:40 pm
killerbot:

Whoever applied my patch above had an case issue; it should be wxChar not the wxCHAR that was used.

Tim S


:oops:
Title: Re: The 21 September 2008 build (5208) is out.
Post by: SR on September 22, 2008, 02:22:38 pm
New build for Slackware 12.1:
http://sr.uz/index.php/packages/?p=127&more=1&c=1
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Xaviou on September 22, 2008, 05:28:46 pm
Ubuntu 7.04 to 8.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx288) can be found here (http://www.esnips.com/web/CodeBlocks).
Title: Re: The 21 September 2008 build (5208) is out.
Post by: marfi on September 23, 2008, 10:19:06 am
Hi, I tried to use a valgrind plugin (many thanks for that!!!) with my applications, but haven't found a way how to check an application like this:

Code
#include <stdio.h>

int main(int argc, char ** argv)
{
    getchar();

    return 0;
}

The main problem is that the valgrind plugin doesn't open any console thus the application waiting for user input freezes (and the codeblocks as well) because there is no way how to enter anything. Is it a bug or a feature?
Title: Re: The 21 September 2008 build (5208) is out.
Post by: killerbot on September 23, 2008, 02:04:36 pm
surely not a feature ;-)
Title: Re: The 21 September 2008 build (5208) is out.
Post by: pakje on September 23, 2008, 11:08:11 pm
i got a similar problems marfi
Title: Re: The 21 September 2008 build (5208) is out.
Post by: eckard_klotz on September 24, 2008, 07:52:05 am
Hello Everybody:

Could it be that there was a general change in the plugin-parts ?
I'm not able to load the ShellExtensions of Damien Moore anymore with  C::B-5208.

Quote
....   \CodeBlock\NightlyBuilds\2008_09_21\bin/share/codeblocks/plugins/ShellExtensions.dll: not loaded (missing symbols?)

It was possible with the build 5195 and before. I tested it with both plugin-versions of this year.

I use WinXP SP2

Best Regards,
                   Eckard Klotz
Title: Re: The 21 September 2008 build (5208) is out.
Post by: afb on September 24, 2008, 12:58:40 pm
- Mac OS X:
  http://prdownload.berlios.de/codeblocks/CB_20080921_rev5211_mac289.zip
Title: Re: The 21 September 2008 build (5208) is out.
Post by: pasgui on September 24, 2008, 10:45:36 pm
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Title: Re: The 21 September 2008 build (5208) is out.
Post by: xplorer87 on September 25, 2008, 11:05:25 am
nice work! the bug (http://forums.codeblocks.org/index.php/topic,9064.msg65287.html#msg65287) i pointed out in the previous build has been fixed ;)
Title: Re: The 21 September 2008 build (5208) is out.
Post by: mmkider on September 26, 2008, 10:42:01 am
I found a bug.
I can't call compiler and debugger toolbar to show.
they are always hide.
I remember I click and run cb_share_config.exe,then I got this trouble

thx.

(http://mmkider.googlepages.com/hide.jpg)
Title: Re: The 21 September 2008 build (5208) is out.
Post by: MortenMacFly on September 26, 2008, 11:37:56 am
I can't call compiler and debugger toolbar to show.
Click on menu "View" -> "Layouts" -> "Delete current" to reset the layout.

BTW: cb_share_config is nothing to just play with. You really should know what you do. Nevertheless I doubt this was the reason.
Title: Re: The 21 September 2008 build (5208) is out.
Post by: mmkider on September 26, 2008, 12:12:24 pm
I can't call compiler and debugger toolbar to show.
Click on menu "View" -> "Layouts" -> "Delete current" to reset the layout.

BTW: cb_share_config is nothing to just play with. You really should know what you do. Nevertheless I doubt this was the reason.

thx,you solve my trouble quickly.
I hard to careful about anything.
I think about cb_share_config is no problem, but I only remember this step.

codeblocks is good tool.
 :D
Title: Re: The 21 September 2008 build (5208) is out.
Post by: three_minute_hero on September 27, 2008, 02:22:37 pm
Hi everyone,

I pointed out a bug in a previous build that still occurs.

Here's an easier way to reproduce it (the order matters):
- Open Socoa.cbp
- Open Socoa.Test.cbp
- Close the Socoa project in the manager bar
In Linux, that makes C::B crash :(

I use Debian GNU/Linux Sid.

Could anyone tell me whether he can reproduce the bug? That would make me fell less alone :lol:

Thanks.

[attachment deleted by admin]
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Jenna on September 27, 2008, 04:08:32 pm
Could anyone tell me whether he can reproduce the bug? That would make me fell less alone :lol:
Sorry, but I can't reproduce.
Title: Re: The 21 September 2008 build (5208) is out.
Post by: stahta01 on September 28, 2008, 05:30:22 am
Patch needed to fix NO-PCH compile under WinXP.

Tim S

Code
Index: src/plugins/debuggergdb/gdb_commands.h
===================================================================
--- src/plugins/debuggergdb/gdb_commands.h (revision 5234)
+++ src/plugins/debuggergdb/gdb_commands.h (working copy)
@@ -20,6 +20,8 @@
 #include "configmanager.h"
 #include <globals.h>
 #include <manager.h>
+#include <editormanager.h>
+#include <cbeditor.h>
 #include <scriptingmanager.h>
 #include <sqplus.h>
 #include <infowindow.h>
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Jenna on September 28, 2008, 09:17:02 am
Patch needed to fix NO-PCH compile under WinXP.

Tim S

Code
Index: src/plugins/debuggergdb/gdb_commands.h
===================================================================
--- src/plugins/debuggergdb/gdb_commands.h (revision 5234)
+++ src/plugins/debuggergdb/gdb_commands.h (working copy)
@@ -20,6 +20,8 @@
 #include "configmanager.h"
 #include <globals.h>
 #include <manager.h>
+#include <editormanager.h>
+#include <cbeditor.h>
 #include <scriptingmanager.h>
 #include <sqplus.h>
 #include <infowindow.h>

Applied.
Thank you.
Title: Re: The 21 September 2008 build (5208) is out.
Post by: mmkider on September 29, 2008, 05:18:01 am
when I closed build message tab, I build code and pull up window then wiil display error.

(http://mmkider.googlepages.com/displayError.JPG)
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Jenna on September 29, 2008, 08:47:03 am
when I closed build message tab, I build code and pull up window then wiil display error.

I'm not sure if I understand it right.
Are these the steps to reproduce the error on your machine ?


If that's the problem, I can not reproduce it.
If these are not (exactly) the steps you made before the error occurs, please post them again.

But there are some changes in trunk that fixed problems with accessing the infopane-tabs in some cases (and maybe your problem, too).

If you use a self-build version, you can try to use the actual svn-code, else you can wait until the next nightly.

Please report if the problem still occurs then.
Title: Re: The 21 September 2008 build (5208) is out.
Post by: mmkider on September 29, 2008, 10:21:43 am
when I closed build message tab, I build code and pull up window then wiil display error.

  • close "Build messages" tab via context menu ("Toggle -> Build messages")
  • build your project
  • reopen ""Build messages" via context menu
  • "Build messages" appears now as part of "Build log"

ya, you are right. I use Nightly builds .
confuse for display of build log.
I build bigger project as codeblocks source code , and I drag and drop  title bar of other window on the same time.


(http://mmkider.googlepages.com/displayError1.JPG)

:)
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Loaden on October 02, 2008, 11:31:51 am
Two Question:
1. Replace in files: can't support replace  "));  to  ");
2. CDB can't show stl::string's value, when F8 debugging.
thanks!
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Jenna on October 02, 2008, 11:41:31 am
Two Question:
1. Replace in files: can't support replace  "));  to  ");
2. CDB can't show stl::string's value, when F8 debugging.
thanks!

1. Works here. Did you accidently check "Regular expression" ?

2. Can't say anything only use gcc. Sorry !
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Loaden on October 02, 2008, 04:52:10 pm
Two Question:
1. Replace in files: can't support replace  "));  to  ");
2. CDB can't show stl::string's value, when F8 debugging.
thanks!

1. Works here. Did you accidently check "Regular expression" ?

2. Can't say anything only use gcc. Sorry !

When "Regular expression" checked, it's work fine. thanks!
Title: Re: The 21 September 2008 build (5208) is out.
Post by: hangl on October 06, 2008, 03:27:55 am
CB is a great work ,it is my first choice.but I face some problems ,when I compile a project,CB ofen crashed!sadly I have to say it crashed too may times ,I did not do special work ,just modified code and recompiled ,sometimes it crased, sometimes not ,maybe 20~30% .

I am using nightly build 5208,winxp sp2 mingw Gcc 4.2.3

crash information is attached!



[attachment deleted by admin]
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Jenna on October 06, 2008, 07:57:15 am
CB is a great work ,it is my first choice.but I face some problems ,when I compile a project,CB ofen crashed!sadly I have to say it crashed too may times ,I did not do special work ,just modified code and recompiled ,sometimes it crased, sometimes not ,maybe 20~30% .

I am using nightly build 5208,winxp sp2 mingw Gcc 4.2.3

crash information is attached!


Do you know if the crash happens, if the code is error-free, or only while parsing output from compiler including error-messages ?
Title: Re: The 21 September 2008 build (5208) is out.
Post by: killerbot on October 06, 2008, 10:17:35 am
I can confirm this, and Morton also suffers from this. It seems to happen when there are errors during the compilation step.
Title: Re: The 21 September 2008 build (5208) is out.
Post by: jfouche on October 06, 2008, 12:36:56 pm
Hi

You can do like me : don't make error while you 're coding  :P
--
Jérémie
Title: Re: The 21 September 2008 build (5208) is out.
Post by: stahta01 on October 08, 2008, 02:09:56 am
Patch needed to build current SVN under Windows when not using PCH.

The unpatched code built OK with PCH using MinGW GCC 3.4.5, 4.2.4, and 4.3.2 (Last two where TDM Builds)

Tim S

Code
Index: src/plugins/contrib/wxSmith/wxsresourcetree.cpp
===================================================================
--- src/plugins/contrib/wxSmith/wxsresourcetree.cpp (revision 5245)
+++ src/plugins/contrib/wxSmith/wxsresourcetree.cpp (working copy)
@@ -30,6 +30,11 @@
 #include "configmanager.h"
 #include "globals.h"
 
+#if defined(__WXMSW__) && defined(LoadImage)
+    // Fix Windows winuser.h Header define of LoadImage.
+    #undef LoadImage
+#endif
+
 namespace
 {
     class wxsResourceTreeProjectData: public wxsResourceTreeItemData
Title: Re: The 21 September 2008 build (5208) is out.
Post by: killerbot on October 08, 2008, 07:46:23 am
Patch needed to build current SVN under Windows when not using PCH.

The unpatched code built OK with PCH using MinGW GCC 3.4.5, 4.2.4, and 4.3.2 (Last two where TDM Builds)

Tim S

Code
Index: src/plugins/contrib/wxSmith/wxsresourcetree.cpp
===================================================================
--- src/plugins/contrib/wxSmith/wxsresourcetree.cpp (revision 5245)
+++ src/plugins/contrib/wxSmith/wxsresourcetree.cpp (working copy)
@@ -30,6 +30,11 @@
 #include "configmanager.h"
 #include "globals.h"
 
+#if defined(__WXMSW__) && defined(LoadImage)
+    // Fix Windows winuser.h Header define of LoadImage.
+    #undef LoadImage
+#endif
+
 namespace
 {
     class wxsResourceTreeProjectData: public wxsResourceTreeItemData

I should have listened to you, I was adding these from your patch in berlios 1 by 1 till it compiled, but that was on a system using pch. Will do it today.
Title: Re: The 21 September 2008 build (5208) is out.
Post by: killerbot on October 08, 2008, 01:28:58 pm
done
Title: Re: The 21 September 2008 build (5208) is out.
Post by: Grom on October 10, 2008, 09:52:03 pm
What about the neew nightly build? Do you have any plans to update the wxSmith
Title: Re: The 21 September 2008 build (5208) is out.
Post by: killerbot on October 10, 2008, 11:51:20 pm
new nightly later this weekend
Title: Re: The 21 September 2008 build (5208) is out.
Post by: gd_on on October 11, 2008, 09:38:42 am
For a (the ?) next nightly, I have found a few strings that cause problems when you want to localize C::B (in french in may case). I wrote an "how to" in the forum Help Wanted/Codeblocks Translation...

Problems on some portions of codes, using _T and not _ to enter strings that normally should be translated in localized versions of C::B :

within src/plugins/projectsimporter/projectsimporter.cpp
line 103 should be :
        fileMenu->Insert(++id, wxNewId(), _("&Import project"), m_Menu);

within sdk/pluginsconfigurationdlg.cpp
line 99 should be :
    initialInfo << _("when performing any operation on it...");
line 107 should be :
      initialInfo << _("problematic plugins. Enable plugins at will now...");


within envvars_cfgdlg.h
line 31 is
   return _T("Environment variables");
but if is
   return _("Environment variables");
translation is not done anyway apparently ! May be the problem is not here ! :(

gd_on
Title: Re: The 21 September 2008 build (5208) is out.
Post by: killerbot on October 11, 2008, 11:22:09 am
For a (the ?) next nightly, I have found a few strings that cause problems when you want to localize C::B (in french in may case). I wrote an "how to" in the forum Help Wanted/Codeblocks Translation...

Problems on some portions of codes, using _T and not _ to enter strings that normally should be translated in localized versions of C::B :

within src/plugins/projectsimporter/projectsimporter.cpp
line 103 should be :
        fileMenu->Insert(++id, wxNewId(), _("&Import project"), m_Menu);

within sdk/pluginsconfigurationdlg.cpp
line 99 should be :
    initialInfo << _("when performing any operation on it...");
line 107 should be :
      initialInfo << _("problematic plugins. Enable plugins at will now...");


within envvars_cfgdlg.h
line 31 is
   return _T("Environment variables");
but if is
   return _("Environment variables");
translation is not done anyway apparently ! May be the problem is not here ! :(

gd_on

DONE.