Author Topic: The 02 December 2007 build (4696) is out.  (Read 53229 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 02 December 2007 build (4696) is out.
« 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.

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:

  • Fixed: [Bug #12564] insert class methods inserts wrong methods
  • Applied: [Patch #2260] Show possible line number ranges in Go to line dialog
  • Applied: [Patch #2261] Allow jumping to the first line in Go to line dialog
  • fixed file assocs dialog appearing again and again
  • Fixed possible crash on app shutdown
  • fixed some (further) possible crash candidates (added null pointer sanity checks)
  • CodeSnippets 1.2.104 2007/11/29
    - mods to compensate for CB OpenFilesList change
    - fixed incorrect selection of dragged tree item
    - make it easier to rename a catagory
    - Add "U" xpm for url type snippets
  • DragScroll 1.2.04 2007/11/29
    - add non-pch logmanager header
    - correct "focus follows mouse" event on long compilations
    - correct editor focus event on long compilations
    - remove unused MouseRightKeyCtrl code
  • wxSmith:
    * Added wxColourDialog support
    * Added %l Codef formatting char (to get coLour)
    * Added one unified function producing unique names for temporary variables in generated code
  • CodeSnippets 1.2.105 2007/12/01
    - fix Linux crash when CB terminates and window is floating
    - on Linux disable drag/drop out of Project panel because of recurring drag/drop freeze bug
  • fix crash on exit (todo list is the cause)

Regressions/Confirmed/Annoying/Common bugs:

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


Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 02 December 2007 build (4696) is out.
« Reply #1 on: December 02, 2007, 06:29:29 pm »
Build for Ubuntu i386/amd64 can be found here

Best regards, pasgui
« Last Edit: December 02, 2007, 07:45:19 pm by pasgui »

Offline Xaviou

  • Regular
  • ***
  • Posts: 403
    • X@v's wxStuff
Re: The 02 December 2007 build (4696) is out.
« Reply #2 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.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Rayman

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 02 December 2007 build (4696) is out.
« Reply #3 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #4 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).

Offline AmR EiSa

  • Multiple posting newcomer
  • *
  • Posts: 75
Re: The 02 December 2007 build (4696) is out.
« Reply #5 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 :( !!!

liuyizheanxy

  • Guest
Re: The 02 December 2007 build (4696) is out.
« Reply #6 on: December 03, 2007, 07:44:28 am »
Build for Ubuntu i386/amd64 can be found here

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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #7 on: December 03, 2007, 07:49:36 am »
Build for Ubuntu i386/amd64 can be found here

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).

dr snuggles

  • Guest
Re: The 02 December 2007 build (4696) is out.
« Reply #8 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?

STiAT

  • Guest
Re: The 02 December 2007 build (4696) is out.
« Reply #9 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #10 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
--- 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();

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 02 December 2007 build (4696) is out.
« Reply #11 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:
« Last Edit: December 03, 2007, 01:08:01 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline kelo81

  • Multiple posting newcomer
  • *
  • Posts: 86
Re: The 02 December 2007 build (4696) is out.
« Reply #12 on: December 03, 2007, 03:07:08 pm »
Note [for Morten]: This is my 2000'th post. :lol:

Congrats!!  :D
Ezequiel Ruiz
Tango/04 consultant
www.tango04.com

Offline wobien

  • Multiple posting newcomer
  • *
  • Posts: 69
Re: The 02 December 2007 build (4696) is out.
« Reply #13 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #14 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.
« Last Edit: December 04, 2007, 06:02:54 am by jens »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 02 December 2007 build (4696) is out.
« Reply #15 on: December 04, 2007, 09:26:37 am »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 02 December 2007 build (4696) is out.
« Reply #16 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... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: The 02 December 2007 build (4696) is out.
« Reply #17 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

Offline RJP Computing

  • Almost regular
  • **
  • Posts: 135
    • RJP Computing
Re: The 02 December 2007 build (4696) is out.
« Reply #18 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".
« Last Edit: December 04, 2007, 06:56:28 pm by RJP Computing »
- Ryan

Ubuntu/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, ATI Radeon 9600XT 256MB

Offline wobien

  • Multiple posting newcomer
  • *
  • Posts: 69
Re: The 02 December 2007 build (4696) is out.
« Reply #19 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.
« Last Edit: December 05, 2007, 01:35:51 pm by wobien »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: The 02 December 2007 build (4696) is out.
« Reply #20 on: December 05, 2007, 01:55:41 am »
Build for Ubuntu i386/amd64 can be found here

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

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: The 02 December 2007 build (4696) is out.
« Reply #21 on: December 05, 2007, 03:10:17 am »
Build for Ubuntu i386/amd64 can be found here

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...

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 02 December 2007 build (4696) is out.
« Reply #22 on: December 05, 2007, 09:15:30 am »
Build for Ubuntu i386/amd64 can be found here

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

flying

  • Guest
Re: The 02 December 2007 build (4696) is out.
« Reply #23 on: December 05, 2007, 09:54:52 am »
where can i found it for FC5??

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 02 December 2007 build (4696) is out.
« Reply #24 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 !!!
« Last Edit: December 05, 2007, 06:44:32 pm by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: The 02 December 2007 build (4696) is out.
« Reply #25 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
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>
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline bgolding

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 02 December 2007 build (4696) is out.
« Reply #26 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
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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 02 December 2007 build (4696) is out.
« Reply #27 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
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: The 02 December 2007 build (4696) is out.
« Reply #28 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
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 :)
« Last Edit: December 05, 2007, 10:37:14 pm by daniel2000 »
Nightly builds for openSUSE

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #29 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #30 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #31 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
--- 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)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #32 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.

Offline wobien

  • Multiple posting newcomer
  • *
  • Posts: 69
Re: The 02 December 2007 build (4696) is out.
« Reply #33 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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 02 December 2007 build (4696) is out.
« Reply #34 on: December 09, 2007, 06:17:47 pm »
You can open it with a texteditor and search for "remote_debugging" as XML-tags.