Author Topic: The 08 March 2007 build is out.  (Read 28967 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5519
The 08 March 2007 build is out.
« on: March 08, 2007, 11:34:51 pm »
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z

To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10.7z

For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26_gcc_cb_wx2.6.3p2.7z

The 08 March 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • Fixed few duplicate menu mnemonics
  • Bug-fix enabling unfolding of code when an error/warning line is selected/highlighted
  • help_plugin: added support for variable substitution thru MacrosManager, not just $(keyword)
  • Call wxUpdateUIEvent::SetUpdateInterval
  • Fixed: [Bug #10540] VS .Net project and the 'Exclude from compilation' flag

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)
  • menu items with icon not correctly aligned (since wx263) (is fixed with our special wx263/wx28 dll)

« Last Edit: March 09, 2007, 08:30:01 am by killerbot »

Offline Xaviou

  • Regular
  • ***
  • Posts: 416
    • X@v's wxStuff
Re: The 08 March 2007 build is out.
« Reply #1 on: March 09, 2007, 12:41:44 am »
Ubuntu 6.10 Amd64 .deb installer can be found here.
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline slymr

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 08 March 2007 build is out.
« Reply #2 on: March 09, 2007, 04:45:41 am »
Well I think I found a bug. I am using SVN 3577 (which is a little behind, I know). I was using gdb debugger and a console application. My application had a memory bug (thats why i was debugging) but i doubt that my program should affect codeblocks. Then I think i tried to abort and then tried to close my app then the menu froze and then code blocks froze.

Here is the reported error message from codeblocks.RPT:
Quote
Error occured on Thursday, March 8, 2007 at 19:39:27.

C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe caused an Access Violation at location 619d8b96 in module C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll Writing to location 00000004.

Registers:
eax=00000001 ebx=00000000 ecx=00000001 edx=03bc2230 esi=00000001 edi=0400afcc
eip=619d8b96 esp=0022f608 ebp=0022f620 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246

Call stack:
619D8B96  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:619D8B96  _ZN18wxBaseArrayPtrVoid3AddEPKvj
6D8D6AF1  C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D8D6AF1
6D88C5B5  C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D88C5B5
6D8B69C5  C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D8B69C5
6D897CB2  C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D897CB2
6D89B07D  C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D89B07D
61A6A9C8  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6A9C8  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
61A6AD8C  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6AD8C  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
61A6BD69  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6BD69  _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BBA6  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6BBA6  _ZN12wxEvtHandler20ProcessPendingEventsEv
619C1C94  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:619C1C94  _ZN12wxAppConsole20ProcessPendingEventsEv
61E1A0D8  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61E1A0D8  _ZN18wxHtmlSearchStatus8IsActiveEv
77D4EAF2  C:\WINDOWS\system32\USER32.dll:77D4EAF2  EnableMenuItem
77D4EA9E  C:\WINDOWS\system32\USER32.dll:77D4EA9E  EnableMenuItem
77D4EBF3  C:\WINDOWS\system32\USER32.dll:77D4EBF3  CallNextHookEx
7C90EAE3  C:\WINDOWS\system32\ntdll.dll:7C90EAE3  KiUserCallbackDispatcher
61AAD194  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61AAD194  _ZN11wxEventLoop8DispatchEv
61AAD020  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61AAD020  _ZN11wxEventLoop3RunEv
61B474FE  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61B474FE  _ZN9wxAppBase8MainLoopEv
00404C46  C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00404C46
61A03C97  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A03C97  _Z14wxUninitializev
61A73C9A  C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A73C9A  _Z7wxEntryP11HINSTANCE__S0_Pci
00401874  C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00401874
0047177A  C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:0047177A
00401237  C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00401237
00401288  C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00401288
7C816FD7  C:\WINDOWS\system32\kernel32.dll:7C816FD7  RegisterWaitForInputIdle

alanwong

  • Guest
Re: The 08 March 2007 build is out.
« Reply #3 on: March 09, 2007, 05:00:36 am »
Can you add style to c:B ? because I have be sick of white background screen, hope it use black background or other style that it looks as if linux.

Now, only Editor can set other colour as background.

Offline saddam le pion

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: The 08 March 2007 build is out.
« Reply #4 on: March 09, 2007, 06:26:48 am »
To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.7z

I downloaded it, extract the file and put it in the same directory as codeblocks.exe, but nothing happens: the bug is still there.
What is the next step?

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 08 March 2007 build is out.
« Reply #5 on: March 09, 2007, 06:50:05 am »
I downloaded it, extract the file and put it in the same directory as codeblocks.exe, but nothing happens: the bug is still there.
What is the next step?

There are no more steps. It works fine in my system. :)
Be a part of the solution, not a part of the problem.

Poobah

  • Guest
Re: The 08 March 2007 build is out.
« Reply #6 on: March 09, 2007, 07:19:18 am »
  • Fixed few duplicate menu mnemonics
  • Bug-fix enabling unfolding of code when an error/warning line is selected/highlighted

Thanks for fixing up the code folding stuff. I'm happy to see it working nicely again. :)

Regarding the duplicate menu mnemonics, take a look at the find and replace dialogs:

Find (also Find in Files):
-"Find" and "From cursor" share the same one.
-"Cancel" and "Match case" do, too.

Replace (also Replace in Files):
-"Replace with" and "Replace"
-"Cancel" and "Match case"

Alturin

  • Guest
Re: The 08 March 2007 build is out.
« Reply #7 on: March 09, 2007, 09:10:08 am »
To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.7z

I downloaded it, extract the file and put it in the same directory as codeblocks.exe, but nothing happens: the bug is still there.
What is the next step?

Silly question, but did you open the .7 archive and use it instead of the normal lib?

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 08 March 2007 build is out.
« Reply #8 on: March 09, 2007, 09:20:36 am »
Regarding the duplicate menu mnemonics, take a look at the find and replace dialogs:

Thanks for pointing them. It has been fixed.  :)
Be a part of the solution, not a part of the problem.

dr snuggles

  • Guest
Re: The 08 March 2007 build is out.
« Reply #9 on: March 09, 2007, 10:28:48 am »
Debugging not working correctly: I can start a debug session (F8), but that is it. I cannot traverse further into the code with F7, shift-F7 or ctrl-F7. All debug options are grayed out except for disable debug.


« Last Edit: March 09, 2007, 10:37:11 am by dr snuggles »

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: The 08 March 2007 build is out.
« Reply #10 on: March 09, 2007, 03:55:00 pm »
Are there any patches to remove redundant method declarations from the class browser?  It really confuses me if there are a lot of methods in a class and they are listed twice.

yuku

  • Guest
Re: The 08 March 2007 build is out.
« Reply #11 on: March 09, 2007, 05:32:52 pm »
Hi,

I just tried using code::blocks and wxwidgets to learn creating C++ GUI programs.

I am using wxMSW 2.8.0 and the C::B 08 march 2007 build. MinGW 5.1.3.

I compiled wxWidgets using the cmd:
Code
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=0 MONOLITHIC=1 BUILD=release UNICODE=1

Then I used the wxWidgets project wizard in C::B. The options I chose on the wizard pages are:
- wxWidgets 2.8.x
- wxSmith, Dialog Based
- GNU GCC Compiler, create debug and release configuration.
- use wxWidgets DLL = no, wxWidgets is built as monolithic library = yes, Enable unicode = yes.
- Additional libraries: I tried both none and only "wxWidgets JPEG Library"

I then selected "Release" then pressed F9.

But the build log is:

Code
-------------- Build: Release in CobaCodeBlocks7 ---------------
Compiling: CobaCodeBlocks7Main.cpp
Compiling: resource.rc
Compiling: CobaCodeBlocks7App.cpp
Linking executable: bin\Release\CobaCodeBlocks7.exe
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x2c9): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x309): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x37f): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x460): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x677): undefined reference to `png_create_read_struct'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x6aa): undefined reference to `png_set_read_fn'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x6b8): undefined reference to `png_create_info_struct'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x796): undefined reference to `png_destroy_read_struct'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x816): undefined reference to `png_read_info'
.... and so on...
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagjpeg.o):imagjpeg.cpp:(.text+0xc92): undefined reference to `jpeg_set_quality'
Process terminated with status 1 (0 minutes, 8 seconds)
50 errors, 0 warnings

What's wrong with that?

Sorry I am a newbie in this area, I know C++ only as much as using std::iostream  :P

Thanks in advance! I hope this first obstacle is solved so I can start developing...

watt

  • Guest
Re: The 08 March 2007 build is out.
« Reply #12 on: March 09, 2007, 05:35:09 pm »
today i install this version in my pc(windows) ... but i can't build my projects.
appear this error:
Release:
mingw32-g++.exe -L\usr\lib -L"C:\Program Files\CodeBlocks\lib"  -o bin\Release\Game.exe obj\Release\main.o   -s  -lglut -lGL -lGLU -lXxf86vm  -mwindows
ld: crt2.o: No such file: No such file or directory

debug:
mingw32-g++.exe -Wall -g -g  -I\usr\include -I"C:\Program Files\CodeBlocks\include" -IC:\mingw\include  -c D:\programacao\Game\main.cpp -o obj\Debug\main.o
mingw32-g++.exe: installation problem, cannot exec `cc1plus':
« Last Edit: March 09, 2007, 05:45:35 pm by watt »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 08 March 2007 build is out.
« Reply #13 on: March 09, 2007, 05:51:44 pm »
What's wrong with that?

Please add wxpng.lib, wxjpeg.lib. That would help you to compile it properly. :)

I think I've missed this particular configuration. Thanks for pointing the bug. I'll fix it soon.

Regards,

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

yuku

  • Guest
Re: The 08 March 2007 build is out.
« Reply #14 on: March 09, 2007, 05:53:36 pm »
Thanks! That gave me a new light!

But I'm really a newbie in C++ and C::B IDE, can you point me how to do that? I looked up through the project options but cannot find any.