Author Topic: The 07 October 2007 build (4515) is out.  (Read 23475 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
The 07 October 2007 build (4515) is out.
« on: October 07, 2007, 09:59:29 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 07 October 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20071007_rev4515_win32.7z
  - Linux :
   none

Resolved Fixed:

  • wxSmith: Big update to code generation process (note that although new code has been tested, it may still have few bugs since the change affected large areas of wxSmith)
    * Generating code is now done using coder context object which keeps chunks of code currently crated and some other stuff required while code generation
    * Improved generation of header files - including PCH filter support and forward declarations (not yet fully enabled but works perfectly while testing)
    * Headers are now generated more precisely - f.ex. when there's no bitmap used while generating resource, it won't be included anywhere
    * Items using custom fonts with more than one face name share now one font enumerator and one array of faces
    * Fixed some problems with events (in most cases it was bugged list of item's events)
  • Fixed: Project specific "Custom variables" are not expanded for OpenWatcom linker
  • Added: Code to map more linker options to wlink.exe options
  • cb_share_config: added support for file groups (and masks)
  • Fixed: Plugin wizard generated code contains non-conforming characters in plugin name
  • wxSmith: Updated wxSmithContribItems to use new wxSmith framework
  • wxSmith: Added Go-To-Header / Go-To-Source into popup menu available when ight-clicking on main node of resource in resource editor
  • added bash lexer (syntax highlighting for unix shell scripts)
  • Fixed: [Bug #12113] CB crashes when using misspelled compiler
  • wxSmith:
    * Added grouped file updates and few optimizations - time of regenerating source code (when files were not opened in editor) is now up to 7-10 times faster
    * Added delayed code update (performed 0,5 sec after resource change) which together with grouped updates improved responsiveness of resource editor
  • Fixed: [Bug #12119] New File creation -> no default code
  • fix for the new build system (all devs have a look at globals.cpp and the killerbot remark !!!)

Regressions/Confirmed/Annoying/Common bugs:

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


Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: The 07 October 2007 build (4515) is out.
« Reply #1 on: October 07, 2007, 11:20:28 pm »
Wow great!, so many changes  :D

Offline Xaviou

  • Regular
  • ***
  • Posts: 302
    • X@v's wxStuff
Re: The 07 October 2007 build (4515) is out.
« Reply #2 on: October 08, 2007, 12:11:55 am »
Ubuntu 6.10 & 7.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx284) can be found here.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline pdsonic

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: The 07 October 2007 build (4515) is out.
« Reply #3 on: October 08, 2007, 02:40:03 am »
Hi,
Thank you for CodeBlocks!   :D  I've been using it full time for over a year at work and at home.


I've just 'installed' the 4515 release and am trying some of the wxSmith changes.

When I right click on a wxSmith resource and select either 'Go to header' or 'Go to source' CodeBlocks immediately disappears! (crash)

I'm running winXP SP2

Online stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: The 07 October 2007 build (4515) is out.
« Reply #4 on: October 08, 2007, 02:42:10 am »
Hi,
Thank you for CodeBlocks!   :D  I've been using it full time for over a year at work and at home.


I've just 'installed' the 4515 release and am trying some of the wxSmith changes.

When I right click on a wxSmith resource and select either 'Go to header' or 'Go to source' CodeBlocks immediately disappears! (crash)

I'm running winXP SP2


Are you using wxWidgets 2.8.4? The 2.8.3 does not work right with Code::Blocks!

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 pdsonic

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: The 07 October 2007 build (4515) is out.
« Reply #5 on: October 08, 2007, 03:51:34 am »
Yes, I'm using wxWidgets 2.8.4 (for some time already)


rafael

  • Guest
Re: The 07 October 2007 build (4515) is out.
« Reply #6 on: October 08, 2007, 04:11:21 am »
Hi,

First of all, thank you very much! :D

When I tried to create a wxWidgets project I got the following error:

(The popup window name is "Script errors")
Code: [Select]
SquirrelFunction<> call failed
AN ERROR HAS OCURRED [wrong number of parameters]

CALLSTACK
*FUNCTION [SetupProject()]
C:\CodeBlocks/share/codeblocks/templates/wizard/wxwidgets/wizard.script line [753]

LOCALS
[target] INSTANCE
[libdir] INSTANCE
[project] INSTANCE
[this] TABLE

I was using rev4503 and had no problems.

OS: Windows Vista Home Premium
wxWidgets: 2.8.6 (compiled with mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release)
MinGW: GCC 3.4.5

Online stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: The 07 October 2007 build (4515) is out.
« Reply #7 on: October 08, 2007, 04:49:48 am »
@pdsonic:

I tried but I can NOT duplicate the issue of C::B crashing on swapping header/source on wxs file opened in Editor.

XP SP2
wxWidgets 2.8.4
Code::Blocks SVN 4515
mingwm10.dll 15,649 bytes

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 Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 07 October 2007 build (4515) is out.
« Reply #8 on: October 08, 2007, 05:24:53 am »
When I tried to create a wxWidgets project I got the following error:

Fixed. Thanks a lot for pointing this. :)
Be a part of the solution, not a part of the problem.

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: The 07 October 2007 build (4515) is out.
« Reply #9 on: October 08, 2007, 05:53:47 am »
  • Fixed: [Bug #12119] New File creation -> no default code

That's awesome - thanks!

Joseph

Offline starofrainnight

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: The 07 October 2007 build (4515) is out.
« Reply #10 on: October 08, 2007, 07:09:10 am »
Hi,
Thank you for CodeBlocks!   :D  I've been using it full time for over a year at work and at home.


I've just 'installed' the 4515 release and am trying some of the wxSmith changes.

When I right click on a wxSmith resource and select either 'Go to header' or 'Go to source' CodeBlocks immediately disappears! (crash)

I'm running winXP SP2


I'm the same ... crashing, go crashing ...  :(

Even reinstall CodeBlocks ...

-----------------------------

I try to build 4515 myself with debug mode, then select 'Go to header', it give me an Assertion failed :

     File: CodeBlock\src\include\/manager.h
     Line: 171
     
     Expression : Mgr<MgrT>::instance == 0
« Last Edit: October 08, 2007, 08:17:16 am by starofrainnight »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 07 October 2007 build (4515) is out.
« Reply #11 on: October 08, 2007, 07:40:01 am »
debian-repository with nightlies

Cannot update to 4516 fast enough, because I go in holidays in two hours and I have to build on server (needs several hours), because upload via ISDN takes too long.
So 4515 is on the server.
I try to update it this evening.

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

and

Code: [Select]
deb http://jens.lody.name/debian/ etch main
deb-src http://jens.lody.name/debian/ etch 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 -

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 07 October 2007 build (4515) is out.
« Reply #12 on: October 08, 2007, 08:19:37 am »
I've just 'installed' the 4515 release and am trying some of the wxSmith changes.

When I right click on a wxSmith resource and select either 'Go to header' or 'Go to source' CodeBlocks immediately disappears! (crash)


I'm the same ... crashing, go crashing ...  :(


Fixed in revision 4517. Please wait for the next nightly. :)

In the meantime don't use these menu options.
Be a part of the solution, not a part of the problem.

Offline marfi

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: The 07 October 2007 build (4515) is out.
« Reply #13 on: October 08, 2007, 09:01:41 am »
Hi, I've found out that is impossible to build wxWidgets (maybe even others) projects generated by the C::B Application Wizard compiled with MS Visual Studio 2005 compiler. Even after manual addition of a required header files which are located in directories not included in the standard compiler paths there are still plenty of "unresolved external symbols" (for example for _timezone, _iob, ...) for both static and dynamic linking. Moreover, if the project is set to use unicode, the amount of unresolved externals is even bigger.

Offline starofrainnight

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: The 07 October 2007 build (4515) is out.
« Reply #14 on: October 08, 2007, 09:05:42 am »
Quote
Fixed in revision 4517. Please wait for the next nightly. Smile

In the meantime don't use these menu options.

Biplab:

:D Great! Thanks for all your work!

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 07 October 2007 build (4515) is out.
« Reply #15 on: October 08, 2007, 09:16:59 am »
Hi, I've found out that is impossible to build wxWidgets (maybe even others) projects generated by the C::B Application Wizard compiled with MS Visual Studio 2005 compiler. Even after manual addition of a required header files which are located in directories not included in the standard compiler paths there are still plenty of "unresolved external symbols" (for example for _timezone, _iob, ...) for both static and dynamic linking. Moreover, if the project is set to use unicode, the amount of unresolved externals is even bigger.

That indicates that the wxWidgets library has been compiled against static CRT. wxWidgets project wizard configures the settings for wxWidgets lib compiled against dynamic CRT.

You need to edit the project file to link appropriately. Please read the following article for details.

Quote
http://biplab.in/2007/01/17/revision-5-of-modified-wxwidgets-project-wizard-of-codeblocks/

Or just recompile your wxWidgets lib against dynamic crt.
« Last Edit: October 08, 2007, 11:10:00 am by Biplab »
Be a part of the solution, not a part of the problem.

Offline marfi

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: The 07 October 2007 build (4515) is out.
« Reply #16 on: October 08, 2007, 02:33:15 pm »
To Biplab: Thank you very much! Now it works! ;)

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 07 October 2007 build (4515) is out.
« Reply #17 on: October 08, 2007, 03:47:39 pm »
as announced here svn 4516 for debian sid and etch is on my server
Edit:
svn4517 is compiling since 5 hours on the server ( :? it's not a really fast server), but it comes , I think tomorrow morning (UTC +02:00) is on the server now.

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: The 07 October 2007 build (4515) is out.
« Reply #18 on: October 08, 2007, 07:12:08 pm »
No love for linux anymore?  I use windows but I've noticed the last few releases aren't for linux.

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 07 October 2007 build (4515) is out.
« Reply #19 on: October 08, 2007, 07:41:21 pm »
Build for Ubuntu i386/amd64 can be found here
« Last Edit: October 08, 2007, 08:35:40 pm by pasgui »

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 07 October 2007 build (4515) is out.
« Reply #20 on: October 08, 2007, 09:34:07 pm »
No love for linux anymore?  I use windows but I've noticed the last few releases aren't for linux.

There are Linux-Packages (Ubuntu & Debian) built by forum-members so fast, why bother an offical build? ;)

Additionally I'm for example built C::B from source when I like to upgrade ;)

Offline dr snuggles

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: The 07 October 2007 build (4515) is out.
« Reply #21 on: October 09, 2007, 10:23:09 am »
No love for linux anymore?  I use windows but I've noticed the last few releases aren't for linux.
I think it is better this way.

Windows users just need one version and like just to download working programs.
Linux users need different versions depending on their distribution and prefer to build their own program by compiling the source and optimise where they can.

The next official version will probably be in all kind of linux flavours, but I don't think we have to worry to much about an official release yet :D.

Offline jsibarani

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: The 07 October 2007 build (4515) is out.
« Reply #22 on: October 09, 2007, 01:21:05 pm »
To Biplab:
Quote
Please wait for the next nightly.  :)

by default wxSmith generate .cpp and .h file in the same folder with project file,
could you please make it also possible to select for a different folder?
right now i have to type the path directly in the dialog.
and if possible for the wxsmith folder would be great  :D( i have to edit my project file manually to change the location  :( )

Thanks

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 07 October 2007 build (4515) is out.
« Reply #23 on: October 09, 2007, 02:09:56 pm »
To Biplab:
Quote
Please wait for the next nightly.  :)

by default wxSmith generate .cpp and .h file in the same folder with project file,
could you please make it also possible to select for a different folder?

@jsibarani
Byo develops & maintains wxSmith and thus I'll redirect the feature request to him. :)

@byo
A feature request for you. :)
Be a part of the solution, not a part of the problem.

Offline tutes

  • Single posting newcomer
  • *
  • Posts: 3
Re: The 07 October 2007 build (4515) is out.
« Reply #24 on: October 09, 2007, 02:52:16 pm »
debian-repository with nightlies

Cannot update to 4516 fast enough, because I go in holidays in two hours and I have to build on server (needs several hours), because upload via ISDN takes too long.
So 4515 is on the server.
I try to update it this evening.

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

and

Code: [Select]
deb http://jens.lody.name/debian/ etch main
deb-src http://jens.lody.name/debian/ etch 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 -


I've got Debian lenny, there is no problem if i put the etch source.... but you made it with libxwbase2.8-0 and libxwgtk2.8-0 in etch (and lenny) the version of that packages are 2.6 ... so it's better to made the resources with that version

sorry for my english it's pretty bad

rcaferraz

  • Guest
Re: The 07 October 2007 build (4515) is out.
« Reply #25 on: October 09, 2007, 03:19:11 pm »
Have you got another mirror?

I'm trying to download it for 2 hours, and the berlios link doesn't work.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 07 October 2007 build (4515) is out.
« Reply #26 on: October 09, 2007, 08:02:27 pm »
I've got Debian lenny, there is no problem if i put the etch source.... but you made it with libxwbase2.8-0 and libxwgtk2.8-0 in etch (and lenny) the version of that packages are 2.6 ... so it's better to made the resources with that version

wxWidgets 2.8.6 is out and debian or ubuntu packages can be found (look at the wxWidgets download page),

but codeblocks is developped with / for 2.8.4 at the moment.
sources for debian can be downloaded 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 -
No love for linux anymore?  I use windows but I've noticed the last few releases aren't for linux.
I think it is better this way.

Windows users just need one version and like just to download working programs.
Linux users need different versions depending on their distribution and prefer to build their own program by compiling the source and optimise where they can.

The next official version will probably be in all kind of linux flavours, but I don't think we have to worry to much about an official release yet :D.

I build with pure etch / pure sid against wxWidgets2.8.4 from apt.tt-solutions and the standard shared libraries and compilers shipped with this distributions.
This should reliably work for these distributions.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 07 October 2007 build (4515) is out.
« Reply #27 on: October 09, 2007, 08:36:03 pm »
Have you got another mirror?

I'm trying to download it for 2 hours, and the berlios link doesn't work.

When you download from my server please have in mind, that it is just a home-server via dsl.
So it's quite slow and if there are multiple downloaders the bandwidth is not what you know from a "real" server.
Might change sometimes.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 07 October 2007 build (4515) is out.
« Reply #28 on: October 09, 2007, 10:47:33 pm »
by default wxSmith generate .cpp and .h file in the same folder with project file,
could you please make it also possible to select for a different folder?
right now i have to type the path directly in the dialog.
and if possible for the wxsmith folder would be great  :D( i have to edit my project file manually to change the location  :( )

Thanks


Hi, this shouldn't be hard to add - the easiest solition is to remember directory which was used last time. If that would be satisfying, I'll try to add it soon. Other solutions may require some more time. If you could send feature request to berlios, that would also help me trace this.

Regards
   BYO

rcaferraz

  • Guest
Re: The 07 October 2007 build (4515) is out.
« Reply #29 on: October 10, 2007, 03:13:50 am »
Have you got another mirror?

I'm trying to download it for 2 hours, and the berlios link doesn't work.

When you download from my server please have in mind, that it is just a home-server via dsl.
So it's quite slow and if there are multiple downloaders the bandwidth is not what you know from a "real" server.
Might change sometimes.

Sorry, I wasn't aware it was a home-server. It is quite good when it works, though. I've seen it not working only once.
Thanks for supporting NightlyBuilds by the way.

Offline jsibarani

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: The 07 October 2007 build (4515) is out.
« Reply #30 on: October 10, 2007, 08:44:08 am »
Quote
If you could send feature request to berlios, that would also help me trace this.
ok,i'll do it asap, rite now i'm still downloading 4518.

Regards

Offline jazzer

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 07 October 2007 build (4515) is out.
« Reply #31 on: October 11, 2007, 03:45:36 am »
Thanks for bash lexer, guys!