Author Topic: The 13 October 2007 build (4530) is out.  (Read 19644 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5234
The 13 October 2007 build (4530) is out.
« on: October 13, 2007, 06:58:57 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_wx284.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

The 13 October 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20071013_rev4530_win32.7z
  - Linux :
   none

Resolved Fixed:

  • Fixed: [Bug #12110] "Output filename" doesn't get saved correctly in project
  • wxSmith: Fixed bug in %o nd %r formattings (so valid item is now passed to SetSizer or Sizer->Add etc)
  • wxSmith: Enabled forward declarations switch for new resources (such resources will create forward declaration instead of including header where it's possible)
  • only check for pkg-config/gtk+-2.0 when actually using wxGTK
  • wxSmith: Enabled PCH gard (list of headers is now splitted into two parts when pch file is used - one for includes already in pch file and second for those headers that are not included in pch)

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 13 October 2007 build (4530) is out.
« Reply #1 on: October 13, 2007, 08:55:32 pm »
Build for Ubuntu i386 can be found here

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 13 October 2007 build (4530) is out.
« Reply #2 on: October 13, 2007, 10:07:40 pm »
debian-repository with nightlies (slow because it's a home-server via dsl)

actually svn4530

etch / stable
Code: [Select]
deb http://jens.lody.name/debian/ etch main
deb-src http://jens.lody.name/debian/ etch main

lenny / testing
Code: [Select]
deb http://jens.lody.name/debian/ lenny main
deb-src http://jens.lody.name/debian/ lenny main

sid / unstable
Code: [Select]
deb http://jens.lody.name/debian/ unstable main
deb-src http://jens.lody.name/debian/ unstable main

add my public-key to apt's trustdb:
Code: [Select]
wget -q http://jens.lody.name/debian/jens.asc -O-  | sudo apt-key add -
build against wxWidgets 2.84 from

Code: [Select]
http://apt.tt-solutions.com/debian/ etch mainkey-import to apt's trusted keys:
Code: [Select]
wget -q http://www.tt-solutions.com/vz/key.asc -O-  | sudo apt-key add -

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 13 October 2007 build (4530) is out.
« Reply #3 on: October 13, 2007, 10:44:05 pm »
Codeblocks crashes for me on Ubuntu 7.10 Beta.

Build with dpkg-buildpackage without -nc (like doing make clean && make && make install)

I'll atach crashlog

[attachment deleted by admin]

Offline Marenz

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: The 13 October 2007 build (4530) is out.
« Reply #4 on: October 14, 2007, 01:42:17 pm »
Hi there,
using gcc-4.1 fixed my problems regarding the timestamp functions, thanks for the help.

Though here is a.. well bug or misbehaviour: Everytime i debug a program and it receives an error, and codeblocks asks for a Backtrace, i get the msg "the layout has changed, do you want to save it?" as if i would have hit the close button.. i always press cancle then. After that, the msg for the backtrace pops up...
Update: it happens even without the backtrace question.. always when i debug

debian lenny, amd64, selfcompiled (4529)

--Ano
« Last Edit: October 14, 2007, 01:51:30 pm by Suprano »

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 13 October 2007 build (4530) is out.
« Reply #5 on: October 14, 2007, 02:33:23 pm »
is this the same for you as the one that happens for me (crashlog above)?

Offline Marenz

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: The 13 October 2007 build (4530) is out.
« Reply #6 on: October 14, 2007, 02:50:05 pm »
no, no crash here. i don't build a package, i just do make install

--Ano

Usky_yahooo

  • Guest
Re: The 13 October 2007 build (4530) is out.
« Reply #7 on: October 14, 2007, 03:50:42 pm »
seemingly there is a bug in wxSmith
When adding a dialog and adding text controls,the source code generated is not correct.Seemingly the contructor didn't call the right function .And I can't access the text control text through the variable .The build in the October 1st is better.

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 13 October 2007 build (4530) is out.
« Reply #8 on: October 14, 2007, 04:30:03 pm »
no, no crash here. i don't build a package, i just do make install

--Ano

You said the backtrace poped up? This is what I meant ;)

Offline sque

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: The 13 October 2007 build (4530) is out.
« Reply #9 on: October 14, 2007, 05:19:39 pm »
  • Fixed: [Bug #12110] "Output filename" doesn't get saved correctly in project

Really thanx for this bug fix! it was essential for me :D

I am wondering if it is too hard to bind "DEL" key at Project Manager to remove files from project. This exists on MSVC and I find it very useful on large projects if you want to do a massive reorganize of your project files than right click->remove file.
Tell me a bug and I 'll tell you two  :twisted:

Offline Marenz

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: The 13 October 2007 build (4530) is out.
« Reply #10 on: October 14, 2007, 05:42:16 pm »
no, no crash here. i don't build a package, i just do make install

--Ano

You said the backtrace poped up? This is what I meant ;)


Nah, you missunderstood that.
When I debug an application within codeblocks, codeblocks gives me the message if i want to save the changed layout, as if i would have pressed the close button.
I first thought the msg pops only up, if the program that i am debugging has crashed and the usuall msg-box apprears: "receivied signal X, want a backtrace?", but it pops up always, not only if the debugged-program crashes.

--Ano

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 13 October 2007 build (4530) is out.
« Reply #11 on: October 14, 2007, 11:23:26 pm »
OK thanks for clarifying ;)

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 13 October 2007 build (4530) is out.
« Reply #12 on: October 15, 2007, 07:09:51 am »
Can somebody compile nightly build to OpenSUSE 10.3 32 and 64 bit?

src/wxscintilla.cpp:1639: error: prototype for 'int wxScintilla::GetEndAtLastLine()' does not match any in class 'wxScintilla'
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: candidate is: bool wxScintilla::GetEndAtLastLine()
src/wxscintilla.cpp:1639: error: 'int wxScintilla::GetEndAtLastLine()' cannot be overloaded
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: with 'bool wxScintilla::GetEndAtLastLine()'
make[3]: *** [wxscintilla.lo] Error 1
make[3]: Leaving directory `/home/user/Documents/CodeBlocks/src/sdk/wxscintilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/Documents/CodeBlocks/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Documents/CodeBlocks/src'
make: *** [all-recursive] Error 1
[email protected]:~/Documents/CodeBlocks>             

 :roll:
« Last Edit: October 15, 2007, 07:46:21 am by Grom »
gcc+winXP+suse.

Offline eranif

  • Regular
  • ***
  • Posts: 254
Re: The 13 October 2007 build (4530) is out.
« Reply #13 on: October 15, 2007, 08:10:46 am »
Quote
src/wxscintilla.cpp:1639: error: prototype for 'int wxScintilla::GetEndAtLastLine()' does not match any in class 'wxScintilla'
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: candidate is: bool wxScintilla::GetEndAtLastLine()
It looks like that your compiler is looking for function int wxScintilla:GetEndAtLastLine(), while the actual function returns bool

Maybe you have somewhere a define for -Dbool=int ?
or #define bool int

I know it was a solution couple of years ago when not all compilers had 'bool' has valid C++ type.
Eran

Offline pdsonic

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: The 13 October 2007 build (4530) is out.
« Reply #14 on: October 15, 2007, 08:39:06 am »
Finally had a chance to try revision 4530.

It works nicely, Thanks byo!

 :D

Thank you for wxSmith. It is just what we needed and it is free to boot!


Offline jsibarani

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: The 13 October 2007 build (4530) is out.
« Reply #15 on: October 15, 2007, 09:27:23 am »
wow,thanks for the new features , byo.

i created new dialog with xrc resource file.
but wxsmith generates wrong code
Code: [Select]
class wxBoxSizer;
//*)

class LoginDialog: public wxDialog
{
public:

LoginDialog(wxWindow* parent);
virtual ~LoginDialog();

//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)

And this problem also affect my existing sources.

Creating dialog without xrc resources,  wxBoxSizer* doesn't get generated


I'm using winXP pro sp2


Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 13 October 2007 build (4530) is out.
« Reply #16 on: October 15, 2007, 04:53:27 pm »
Quote
src/wxscintilla.cpp:1639: error: prototype for 'int wxScintilla::GetEndAtLastLine()' does not match any in class 'wxScintilla'
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: candidate is: bool wxScintilla::GetEndAtLastLine()
It looks like that your compiler is looking for function int wxScintilla:GetEndAtLastLine(), while the actual function returns bool

Maybe you have somewhere a define for -Dbool=int ?
or #define bool int

I know it was a solution couple of years ago when not all compilers had 'bool' has valid C++ type.
Eran


I used gcc 4.2.1 from stanfart OpenSUSE 10.3 instalation. Would be grate to have a nightly buid for the OpenSUSE 10.3. I am not familiar with C::B compulation and I see that is not trivial task.
gcc+winXP+suse.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 13 October 2007 build (4530) is out.
« Reply #17 on: October 15, 2007, 07:05:42 pm »
wow,thanks for the new features , byo.

i created new dialog with xrc resource file.
but wxsmith generates wrong code
Code: [Select]
class wxBoxSizer;
//*)

class LoginDialog: public wxDialog
{
public:

LoginDialog(wxWindow* parent);
virtual ~LoginDialog();

//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)


Ok, I know where's the problem - when using XRC file sizers can not be used as members of resource since can not easily obtain pointer to such sizer. It should be easy to fix :)

BYO

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 13 October 2007 build (4530) is out.
« Reply #18 on: October 15, 2007, 07:09:29 pm »
Finally had a chance to try revision 4530.

It works nicely, Thanks byo!

 :D

Thank you for wxSmith. It is just what we needed and it is free to boot!



Nice to hear that :)

BYO

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 13 October 2007 build (4530) is out.
« Reply #19 on: October 15, 2007, 09:03:49 pm »
Is somebody responsible for the C::B compilation under the OpenSUSE? :shock: I have troubles to launch the C::B under the OpenSuse 10.3!!!
gcc+winXP+suse.