Author Topic: The 29 May 2008 build (5082) is out.  (Read 30911 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5164
The 29 May 2008 build (5082) is out.
« on: May 29, 2008, 08:29:33 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 29 May 2008 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20080529_rev5082_win32.7z
  - Linux :
   none

Resolved Fixed:

  • Fixed: [Bug #13841] memory dump does randomly not work (by applying [Patch #2475]). Thanks Jens for the patch
  • fixed broken replace in files (thanks to Bob)
  • Fixed: Memory dump window shows wrong memory address
  • DragScroll 1.2.15 2008/05/22
    -Allow multiple invocations of OnAppStartupDoneInit() in order to catch windows that open after we intialize. (2008/03/4)
    - Conversion to use only one event handler (2008/04/22)
    - Optimizations in MouseEventsHandler
    - SearchForScrollableWindows() as service to external callers
    - Added DragScroll events for rescanning/adding/removing windows
    - Optimized/cleaned up MouseEventHandler
    - Removed OnWindowOpen EditorManager dependencies
    - Add Configure() and event to invoke it. 2008/04/29
  • Script console is now a docking window (instead of being part of the logs)
  • Script console now keeps a history of entered commands
  • Fixed layout of some dialogs
  • Applied: [Patch #2452] Speedup 'update.bat'
  • Debugger plugin: Bugfix: Valid frames in the call stack being discarded, ? Check: '(' printed as the address of call stack #0 when there's not address information at all for it

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 29 May 2008 build (5082) is out.
« Reply #1 on: May 29, 2008, 09:44:56 pm »
A source tar-ball (usable on linux and windows) and binaries for debian (32 and 64 bit) are available on my server.

Offline Xaviou

  • Regular
  • ***
  • Posts: 297
    • X@v's wxStuff
Re: The 29 May 2008 build (5082) is out.
« Reply #2 on: May 29, 2008, 10:40:54 pm »
Ubuntu 7.04 to 8.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx287) can be found here.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 29 May 2008 build (5082) is out.
« Reply #3 on: May 30, 2008, 12:03:29 am »
Build for Ubuntu i386/amd64 can be found here

Best regards, pasgui

Offline nanyu

  • Almost regular
  • **
  • Posts: 187
  • nanyu
Help me!
« Reply #4 on: June 02, 2008, 04:16:24 am »
codeblocks svn 5082 + windows XP (home) + mingw32

First Step:      RUN CodeBlocks, and start coding
Second Step:  in the mean time, insert a cd into my Dvd drive and browse it
Third Step:     Back to CodeBlocks and build the project. While the project is building, an error msg pops up.
                   The title is:"mingw32-g++.exe - no disk"
                    Error Msg:"No Disk were found, please insert a disk in to D:"(P.S. my DVD Driver is D:\)
Fourth Step: either Reboot CodeBlocks or Reboot the pc, problem still remain. The only way to pass the above problem is, insert a CD into my DVD Driver during CodeBlocks is building project.

help me , thanks.
« Last Edit: June 02, 2008, 05:52:55 pm by nanyu »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6550
    • My Best Post
Re: The 29 May 2008 build (5082) is out.
« Reply #5 on: June 02, 2008, 04:45:18 am »
nanyu:

Try doing
"File" -> "Recent Files"
"Clear History"

Someone posted this as a fix for a problem somewhat like yours.

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 nanyu

  • Almost regular
  • **
  • Posts: 187
  • nanyu
Re: The 29 May 2008 build (5082) is out.
« Reply #6 on: June 02, 2008, 05:11:26 am »
Dear Tim
i did wht u told, but problem still remain.

btw, i didn't browse the CD with Code Blocks at all. I only browsed my CD with file explorer. Therefore, i don't think clear History will help

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6550
    • My Best Post
Re: The 29 May 2008 build (5082) is out.
« Reply #7 on: June 02, 2008, 05:19:29 am »
nanyu:

Has the MinGW GCC ever worked? If not, I suggest downloading a newer 3.4.5 MinGW install.
One of the recent MinGW GCC had a problem that was close to yours.

Tim S
« Last Edit: June 02, 2008, 05:23:34 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 killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5164
Re: The 29 May 2008 build (5082) is out.
« Reply #8 on: June 02, 2008, 07:26:45 am »
or download the MinGW files for the 4.2.1 (or is it 4.1.2) (I use the dm2) : works ok for me

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 29 May 2008 build (5082) is out.
« Reply #9 on: June 02, 2008, 08:23:33 am »
It's a known problem of the GCC-3.4.5 build for Vista. Please download the latest one.
Be a part of the solution, not a part of the problem.

Offline Sunyata

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 29 May 2008 build (5082) is out.
« Reply #10 on: June 02, 2008, 09:18:35 am »
I am also having the same problem in XP and Vista.
But after restart the PC and not try to access the CD drive, it works fine.
Another way to resolve the problem is just insert any CD into the drive,
the error will not appear anymore.

Offline nanyu

  • Almost regular
  • **
  • Posts: 187
  • nanyu
Re: The 29 May 2008 build (5082) is out.
« Reply #11 on: June 02, 2008, 09:51:43 am »
Dear stahta01,killerbot,Biplab and Biplab ,thanks for your replies.
But I still cann`t  settle it now.
To BipLab, ACE can not be compiled in (mingw32) GCC3.4.5 while I really need it.
« Last Edit: June 02, 2008, 09:54:27 am by nanyu »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 29 May 2008 build (5082) is out.
« Reply #12 on: June 02, 2008, 01:01:06 pm »
As I said earlier, it is a problem of certain build of GCC. You can read about the problem in details from the following links.

Quote
http://forums.codeblocks.org/index.php?topic=8088.msg60513#msg60513
http://www.nabble.com/forum/ViewPost.jtp?post=16344592&framed=y

This bug was fixed in the following release.
Quote
http://sourceforge.net/forum/forum.php?forum_id=815819

So grab the right package and your problem will be solved.

If I'm not wrong, C::B 8.02 ships with the wrong GCC for Vista package which has this issue. May be it's time for a new release or at least repackage the 8.02 with the fixed compiler. :)

To BipLab, ACE can not be compiled in (mingw32) GCC3.4.5 while I really need it.

Sorry, but I couldn't understand your message.
Be a part of the solution, not a part of the problem.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6550
    • My Best Post
Re: The 29 May 2008 build (5082) is out.
« Reply #13 on: June 02, 2008, 03:17:52 pm »
Patch for NON-PCH Build on Windows.

Tim S


Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.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 Belgabor

  • Multiple posting newcomer
  • *
  • Posts: 91
Re: The 29 May 2008 build (5082) is out.
« Reply #14 on: June 03, 2008, 01:33:36 am »
The Insert -> All Class methods without implementation function does not add methods of nested classes correctly.
If I have
Code: [Select]
struct A {
  struct B {
    void callme();
  };
};
it correctly shows "A::B::callme(): void" in the selection list, but adds
Code: [Select]
void B::callme()
{

}
to the cpp file, ie the "A::" is missing.
« Last Edit: June 03, 2008, 01:36:08 am by Belgabor »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5164
Re: The 29 May 2008 build (5082) is out.
« Reply #15 on: June 03, 2008, 08:46:18 am »
Patch for NON-PCH Build on Windows.

Tim S


Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.h>


done

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 29 May 2008 build (5082) is out.
« Reply #16 on: June 03, 2008, 04:10:37 pm »
In Debian Lenny, I opened CB and edit some source code. When i type 'wxS', the 'S' will make CB crash.
In the /tmp dir, it's exist a folder: codeblocks_dbgrpt-12559-20080603T220018, but nothing in it.
When i retry again, the crash repeat.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9493
Re: The 29 May 2008 build (5082) is out.
« Reply #17 on: June 03, 2008, 05:52:18 pm »
Patch for NON-PCH Build on Windows.
Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.h>
:lol: :lol: :lol:

I can't believe it! That's what this plugin is actually for: NOT to have to apply any PCH fixes... Need to dig into that. WTF...?! :shock:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 29 May 2008 build (5082) is out.
« Reply #18 on: June 04, 2008, 03:31:53 am »
Debian Lenny: Using CB, the computer shut down, when i restart the computer, and open the prev project, i found all file can not edit. and the project show with a lock ico.
How to unlock the project?
Thanks!
---------------------------------
Found the reason! because the disk is read-only!
« Last Edit: June 04, 2008, 03:57:28 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 29 May 2008 build (5082) is out.
« Reply #19 on: June 04, 2008, 04:28:24 pm »
Debian: if some cpp file include chinese char, and Settings->Editor->Default encoding is 'Windows 936', this file will auto change encoding to ISO-8859-1, and the chinese char can not show correct.

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 29 May 2008 build (5082) is out.
« Reply #20 on: June 05, 2008, 03:54:11 pm »
Codeblocks continues passing .INL files to the linker and ar can't link.  :(

The .inl files are always included from the .h file that declares the template.
#include "mytemplate.inl.

I have to return to the 8.02 version.  :(

Thanks for your work.  :D

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9493
Re: The 29 May 2008 build (5082) is out.
« Reply #21 on: June 05, 2008, 04:10:03 pm »
Codeblocks continues passing .INL files to the linker and ar can't link.  :(
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Chilihead

  • Guest
Re: The 29 May 2008 build (5082) is out.
« Reply #22 on: June 05, 2008, 04:46:40 pm »
Greetings,

i cant debug anymore with this build. console applications simply dont start.

CB Build: 5082
System: WinXP

debuger's log

PATH=.;C:\Programme\CodeBlocks\MinGW\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\doxygen\bin;C:\Qt\4.4.0\bin;c:\Programme\Microsoft SQL Server\90\Tools\binn\
Command-line: C:\Programme\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname  -quiet -args bin/Debug/CogardReader.exe
Working dir : C:\Entwickel\CDAE\CogardReader\
> set prompt >>>>>>cb_gdb:
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.7.50.20071127
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set debugevents on
>>>>>>cb_gdb:
> set new-console on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> catch throw
Catchpoint 1 (throw)
>>>>>>cb_gdb:
> directory C:/Entwickel/CDAE/CogardReader/
>>>>>>cb_gdb:
> directory C:/Entwickel/
>>>>>>cb_gdb:
> break "C:/Entwickel/CDAE/CogardReader/main.cpp:18"
Breakpoint 2 at 0x418971: file C:/Entwickel/CDAE/CogardReader/main.cpp, line 18.
>>>>>>cb_gdb:
> run
gdb: win32_init_thread_list
warning: Lowest section in C:\WINDOWS\system32\odbcint.dll is .rsrc at 1f841000
Catchpoint 1 (exception thrown)
__static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at C:/Programme/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iostream:77
C:/Programme/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iostream:77:3064:beg:0x41ede8
>>>>>>cb_gdb:
> set debugevents off
>>>>>>cb_gdb:

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 29 May 2008 build (5082) is out.
« Reply #23 on: June 05, 2008, 08:02:51 pm »
Quote
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?

Sorry "2 times" I don't know how to do it or if I have permissions to do that :P

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 29 May 2008 build (5082) is out.
« Reply #24 on: June 05, 2008, 08:46:36 pm »
Quote
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?

Sorry "2 times" I don't know how to do it or if I have permissions to do that :P

Open C::B and on "Start here"-tab click on "Report a bug",
or click here

You need to register at berlios to be able to file a bug-report.

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 29 May 2008 build (5082) is out.
« Reply #25 on: June 09, 2008, 02:42:09 pm »
Oops! Thank u jens  :D