Author Topic: The 26 January 2007 build is out.  (Read 13253 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5209
The 26 January 2007 build is out.
« on: January 26, 2007, 11:15:31 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 26 January 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070126_rev3542_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070126_rev3542_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070126_rev3542_suse100+101.i586.rpm
         http://prdownload.berlios.de/codeblocks/CB_20070126_rev3542_fc4+5.i586.rpm


Resolved Fixed:

  • Added encoding detection for files loading (brute-force)
  • Greatly improved C++ parser's parsing time (~70-90% decrease)

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: January 27, 2007, 12:37:35 pm by killerbot »

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: The 26 January 2007 build is out.
« Reply #1 on: January 27, 2007, 11:10:47 am »
  • Greatly improved C++ parser's parsing time (~70-90% decrease)

Wow that's a serious speedup! Thanks!

Offline dronT78

  • Multiple posting newcomer
  • *
  • Posts: 51
Re: The 26 January 2007 build is out.
« Reply #2 on: January 27, 2007, 11:18:30 am »
Checkout rev. 3543
./bootstrap
error : configure.in:10: require Automake 1.9, but have 1.7.9
but yesterday all was ok.
whats up?  :shock:
i have automake 1.10!
OS Gentoo Linux AMD64
« Last Edit: January 27, 2007, 11:25:16 am by dronT78 »

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: The 26 January 2007 build is out.
« Reply #3 on: January 27, 2007, 01:09:40 pm »
Checkout rev. 3543
./bootstrap
error : configure.in:10: require Automake 1.9, but have 1.7.9
but yesterday all was ok.
whats up?  :shock:
i have automake 1.10!
OS Gentoo Linux AMD64
I'll check  this. It's a problem with the WANT_AUTOMAKE variable, it is currently set to 1.7, but due to my change in configure.in 1.9 is required, but only for make dist :?
Nightly builds for openSUSE

Offline Jan van den Borst

  • Multiple posting newcomer
  • *
  • Posts: 99
Re: The 26 January 2007 build is out.
« Reply #4 on: January 27, 2007, 01:10:46 pm »
LS
Some time ago I posted a bug regarding editing my project. At some point the bug was gone, now it has returned.

The bug is editing the properties of my lib building project. If I open the properties of this project and then press the OK button it crashes my codeblocks. If I press cancel codeblocks doesnt crash. I cannot figure out what is wrong: Is it my project file or my conf file.

Any help is welcome.
(project file and conf file included)

[attachment deleted by admin]

Offline dronT78

  • Multiple posting newcomer
  • *
  • Posts: 51
Re: The 26 January 2007 build is out.
« Reply #5 on: January 27, 2007, 01:14:33 pm »
I'll check  this. It's a problem with the WANT_AUTOMAKE variable, it is currently set to 1.7, but due to my change in configure.in 1.9 is required, but only for make dist :?
thanks, but i build CB with
./configure --enable-contrib --prefix=/usr
make
make install

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: The 26 January 2007 build is out.
« Reply #6 on: January 27, 2007, 02:09:04 pm »
Wow, this build loaded amazingly quick.
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Offline dronT78

  • Multiple posting newcomer
  • *
  • Posts: 51
Re: The 26 January 2007 build is out.
« Reply #7 on: January 27, 2007, 02:12:57 pm »
Now there is another two bugs

first with debugger.
make wxWidgets Projects from template.
insert return true; in first line at bool MyApp::OnInit()
now run debug/continue from panel button
after this unable to stop debugger

second with enviroment
when open cbp file from Thunar in XFCE4.4 codeblocks opened but not responding
before kill -9

project is attached. have fun :(

[attachment deleted by admin]

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: The 26 January 2007 build is out.
« Reply #8 on: January 27, 2007, 02:16:18 pm »
thanks, but i build CB with
./configure --enable-contrib --prefix=/usr
make
make install
Yes, but the gentoo automake-wrapper (/usr/bin/automake is linked to it) looks whether WANT_AUTOMAKE is defined correctly and then uses the specified version.  bootstrap defines WANT_AUTOMAKE=1.7, that's why automake-1.7 is used ;)
But since there's a problem with automake < 1.9, it uses the old v7 tar format (filenames limited to 99 characters), I added an option to use a newer tar format, but this option isn't availabe in automake < 1.9 and causes this error :( automake doesn't care whether you use make dist because it doesn't know. It wants to set up everything like it's defined
I'll look whether there's a work around.
Nightly builds for openSUSE

Offline Kazade

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: The 26 January 2007 build is out.
« Reply #9 on: January 27, 2007, 10:51:58 pm »

  • Greatly improved C++ parser's parsing time (~70-90% decrease)

F*ck me thats fast!  :lol:

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: The 26 January 2007 build is out.
« Reply #10 on: January 27, 2007, 11:19:33 pm »
thanks, but i build CB with
./configure --enable-contrib --prefix=/usr
make
make install
Can you try it with rev3545 (or later) ? Should be fixed now. I checked it on gentoo also with automake 1.10. It will use automake 1.9.
Generally, it will now also work with automake 1.7/1.8 again as far as you don't use make dist ;)

If you don't fetch a fresh checkout, you'll have to start with ./bootstrap again.
Nightly builds for openSUSE

Offline windhawk

  • Single posting newcomer
  • *
  • Posts: 6
Re: The 26 January 2007 build is out.
« Reply #11 on: January 28, 2007, 10:12:20 am »
A bug I've found with this build:

Right clicking a file in the project tree and choosing properties from the menu doesn't always give me the properties of the selected file, but those of a different one in the project instead. :(

(Win XP)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5209
Re: The 26 January 2007 build is out.
« Reply #12 on: January 28, 2007, 12:24:46 pm »
A bug I've found with this build:

Right clicking a file in the project tree and choosing properties from the menu doesn't always give me the properties of the selected file, but those of a different one in the project instead. :(

(Win XP)

could you provide a little test project reconstructing the bug ?

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
Re: The 26 January 2007 build is out.
« Reply #13 on: January 28, 2007, 12:31:47 pm »
I am wondering how can you successfully build CB under WinXP.

In recent weeks, I have failed in building it. In fact, it's because of sdk\scripting.  After adding some #include "*h"s,  I have got these:

Code: [Select]
sdk\scripting\squirrel\sqarray.h:21: error: no matching function for call to `operator new(unsigned int, SQArray*&)'
sdk\scripting\squirrel\sqarray.h:13:   instantiated from here
sdk\scripting\squirrel\squtils.h:52: error: no matching function for call to `operator new(unsigned int, void*)'
sdk\scripting\squirrel\sqarray.h:61:   instantiated from here
sdk\scripting\squirrel\squtils.h:33: error: no matching function for call to `operator new(unsigned int, void*)'
sdk\scripting\squirrel\sqarray.h:65:   instantiated from here
sdk\scripting\squirrel\squtils.h:71: error: no matching function for call to `operator new(unsigned int, void*)'

There is no any problem at last month. Now, I have no idea.

My environment of building is that:
Code: [Select]
OS:  WinXP sp2
Compiler: gcc version 3.4.5 (mingw special)
wxWidget: 2.6.3
CB: svn 3545

However, I have successfully built CB under FreeBSD 6.2-release.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5209
Re: The 26 January 2007 build is out.
« Reply #14 on: January 28, 2007, 12:59:56 pm »
detailed explanation in the wiki, search on the word 'cookbook' --> nightly cookbook, explains how it is build

Offline dronT78

  • Multiple posting newcomer
  • *
  • Posts: 51
Re: The 26 January 2007 build is out.
« Reply #15 on: January 28, 2007, 03:22:49 pm »
Quote
Can you try it with rev3545 (or later) ?
I'll try tomorrow. Now i'm far away from my comp  :D

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
Re: The 26 January 2007 build is out.
« Reply #16 on: January 28, 2007, 05:11:35 pm »
I am wondering how can you successfully build CB under WinXP.

There is no any problem at last month. Now, I have no idea.

However, I have successfully built CB under FreeBSD 6.2-release.

I have known the reasons that is I am using a older CB to compile the newest CB sources and the earlier CB can't correctly parse the CodeBlocks.cbp.
« Last Edit: January 29, 2007, 10:50:03 am by heromyth »

Offline windhawk

  • Single posting newcomer
  • *
  • Posts: 6
Re: The 26 January 2007 build is out.
« Reply #17 on: January 28, 2007, 09:36:17 pm »
A bug I've found with this build:

Right clicking a file in the project tree and choosing properties from the menu doesn't always give me the properties of the selected file, but those of a different one in the project instead. :(

(Win XP)

could you provide a little test project reconstructing the bug ?

I can't seem to reproduce this for now...  :? Not sure what I was doing before that might have made a difference. I was creating and moving around a few files in virtual folders at the time, but this doesn't seem to make a difference in a new test project. The wrong file properties shown were always quite close to the correct file alphabetically. Not sure that information helps though.

Ah well. I'll let you know if I can reproduce it again.

[EDIT:] Ah no! found it :) . It seems to happen if you remove source files from the project tree. I have a several virtual folders with source files in. I create two files (test.h and test.cpp) and move them to one of the folders and save them (not sure if that matters). Then I right click and "Remove file from project" for those two files. Then I go to the next virtual folder down from the one those were in, and try to get the properties of any of the source files there, and it gives me the properties of the one two down the list (or nothing for the last two in the folder).

This will be solved if you restart code::blocks and open the project again.
« Last Edit: January 28, 2007, 09:44:08 pm by windhawk »