Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on March 28, 2009, 08:07:46 pm

Title: The 28 March 2009 build (5489) is out.
Post by: killerbot on March 28, 2009, 08:07:46 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 (http://forums.codeblocks.org/index.php/topic,3232.0.html).

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2810.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 28 March 2009 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20090328_rev5489_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 28 March 2009 build (5489) is out.
Post by: killerbot on March 28, 2009, 08:08:11 pm
to stress it explicitly : build with wx 2.8.10 !!!!!!!!!!!!!!
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Baluarte on March 28, 2009, 11:28:15 pm
Hallelujah!!! Congratulations for all!

The apparently eternal "toolbar-images-not-changing-state (is a wx problem/Win XP problem)" trouble is DEAD. Long life to Codeblocks!

Baluarte
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Jenna on March 28, 2009, 11:57:32 pm
Just uploaded the debian-build on my server (see signature).

They are still build against wxWidgets 2.8.9 , because debian packages for 2.8.10 are not (yet) available.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: boyumeow on March 29, 2009, 04:08:56 am
Sorry if I ask a question that may have been answered before, what is the different between using wxwidget-2.8.10 and wxwidget source from SVN? It seems that if I compile cb using wxwidget source from SVN, I would get errors although I have change all link libraries reading from 28 to 29 (I might have miss out some). The first few was compiling until it reaches wxFlatNotebook which start to give me errors. Unless U all require more details about it, then I would upload the errors. Btw, I dun get errors if I compile cb using wxwidget-2.8.10 (Vista32).

Sorry if I am asking irrelevant question, pls forgive me. Thanks.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: ollydbg on March 29, 2009, 04:09:18 am
Great! I'm waiting for several days!
I will download and test it! :D
Thanks!

Edit:
Oh my God!
Drag the toolbar vertically will make cb crash. This problem happened several months ago. Did I still need to use the DLL of wxWidgets 2.8.8 to replace the DLL of 2.8.10?

Thanks.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: stahta01 on March 29, 2009, 05:16:11 am
Sorry if I ask a question that may have been answered before, what is the different between using wxwidget-2.8.10 and wxwidget source from SVN? It seems that if I compile cb using wxwidget source from SVN, I would get errors although I have change all link libraries reading from 28 to 29 (I might have miss out some). The first few was compiling until it reaches wxFlatNotebook which start to give me errors. Unless U all require more details about it, then I would upload the errors. Btw, I dun get errors if I compile cb using wxwidget-2.8.10 (Vista32).

Sorry if I am asking irrelevant question, pls forgive me. Thanks.

wxWidgets SVN trunk is wxWidgets 2.9; which is an development release which changes the wxWidgets API in many different ways. Code::Blocks has issues went built against wxWidgets 2.9; I have not been able to get past the event design changed that took place in SVN 58911 or near there.

Tim S
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Xaviou on March 29, 2009, 11:24:44 am
Ubuntu 7.04 to 8.10 Amd64 tar.gz archive (containing '.deb' installers builds with wx289) can be found  here (http://www.archive-host.com/compteur.php?url=http://codeblocks.archive-host.com/CB_20090327_802_rev5489_Ubuntu704-810_wx289_amd64tar.gz) (direct link).
Title: Re: The 28 March 2009 build (5489) is out.
Post by: SharkCZ on March 29, 2009, 12:49:16 pm
Fedora packages (10 + Rawhide) for nightly C::B builds are usually available in my personal repository - http://fedora.danny.cz/danny/
Title: Re: The 28 March 2009 build (5489) is out.
Post by: pasgui on March 29, 2009, 01:31:03 pm
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Xaviou on March 29, 2009, 09:21:42 pm
Hi
Attached is a patch for i18n improvements.

Regards
Xav'

[attachment deleted by admin]
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Loaden on March 30, 2009, 04:32:54 am
debug plugin for cdb don't work!
when press F7, it's not update the editor window.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Outis on March 30, 2009, 05:12:08 pm
Codeblocks crashed 2 times while saving files, but i cannot provoke it till now.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: ollydbg on March 30, 2009, 05:27:28 pm
Codeblocks crashed 2 times while saving files, but i cannot provoke it till now.
I can't reproduce this crashing. Which OS? Windows? If possible, can you upload the "saved files" for testing?
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Outis on March 30, 2009, 06:58:58 pm
I'm running Windows XP. As I said before, I don't know which file under which circumstances caused the crash. There were two crashes within two hours, one after I closed a single file (no I don't know which on of a dozen, damn :( ) and one after closing the whole project. Perhaps I can tell you more after the next crash  :|

[EDIT] Here we go:
1. Compile project
2. while the compiler (in my case: mingw 4.3) is running, change the currently open file (for example, delete a whitespace/newline or whatever)
3. Save or recompile, doing the latter cb will crash, but the compiler will keep on working.
[/EDIT]
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Jenna on March 30, 2009, 07:19:56 pm
I'm running Windows XP. As I said before, I don't know which file under which circumstances caused the crash. There were two crashes within two hours, one after I closed a single file (no I don't know which on of a dozen, damn :( ) and one after closing the whole project. Perhaps I can tell you more after the next crash  :|

There might be (it's not sure) a crashlog in the directory, where C::B's executable is.

If I remember right, it's called "codeblocks.rpt" on windows (not 100% sure about the name) and its timestamp should be the time of the last crash.

If it's not too big, you can attach it to a post, if it's too big, yu can send it to me via mail (my nickname at codeblocks dot org).

"my nickname" is not meant literally, of course.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Outis on March 30, 2009, 07:35:39 pm
The file exists, but the timestamp is NOT the time of the last crash. (Not the change of my last post)
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Loaden on March 31, 2009, 04:39:39 am
http://mac.softpedia.com/progChangelog/Artistic-Style-Changelog-50730.html
AStyle is 1.2.3 now!
Title: Re: The 28 March 2009 build (5489) is out.
Post by: geiermeier on April 01, 2009, 02:18:21 pm
When loading files with very long lines, the horizontal scroll bar doesn't reflect the true length of the line(s). Using the scroll bar, one can only scroll for, say some hundred columns. But then it is possible to go further to the right with the cursor keys or [END]. When doing so, the scroll bar adjusts it self to the reached length.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: ollydbg on April 01, 2009, 02:59:11 pm
When loading files with very long lines, the horizontal scroll bar doesn't reflect the true length of the line(s). Using the scroll bar, one can only scroll for, say some hundred columns. But then it is possible to go further to the right with the cursor keys or [END]. When doing so, the scroll bar adjusts it self to the reached length.
How many lines in your source code? very long lines? Could you add this file as an attachment for testing?
Title: Re: The 28 March 2009 build (5489) is out.
Post by: vchavezp on April 01, 2009, 10:18:56 pm
Please Help..
I've installed this Nightly Build and wxPack...

I try to generate a wxWidget Project
but when i try to build i get this message:

#include "wx/msw/wx.rc"

No such file or directory.



I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.

I tried to create it there and put an wx.rc text file in there and it didn't work.


Where should this file wx.rc be located and what has to be in it?


thank you for your help.


V.Chavez

Title: Re: The 28 March 2009 build (5489) is out.
Post by: Seronis on April 02, 2009, 04:06:18 am
C:\dev\wxMSW\wxWidgets-2.8.7\include\wx\msw

I believe you are just assigning the wrong include path. My path layout for example is listed above.  'wx' is an explicite folder inside the wxwidgets heirarchy.  In my case i have set

C:\dev\wxMSW\wxWidgets-2.8.7\include

as an entry in the compiler include paths and i find the given file without issue.  HTH


Please Help..
I've installed this Nightly Build and wxPack...

I try to generate a wxWidget Project
but when i try to build i get this message:

#include "wx/msw/wx.rc"

No such file or directory.

I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.
I tried to create it there and put an wx.rc text file in there and it didn't work.
Where should this file wx.rc be located and what has to be in it?
thank you for your help.

V.Chavez
Title: Re: The 28 March 2009 build (5489) is out.
Post by: ollydbg on April 02, 2009, 04:10:20 am
Please Help..
I've installed this Nightly Build and wxPack...

I try to generate a wxWidget Project
but when i try to build i get this message:

#include "wx/msw/wx.rc"

No such file or directory.



I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.

I tried to create it there and put an wx.rc text file in there and it didn't work.


Where should this file wx.rc be located and what has to be in it?


thank you for your help.


V.Chavez



In my 2.8.9, it was located in D:\wxWidgets-2.8.9\include\wx\msw
But I'm not using a wxPack, I build this library my self. It is simple. see here:

http://wiki.codeblocks.org/index.php?title=Using_wxWidgets
Title: Re: The 28 March 2009 build (5489) is out.
Post by: geiermeier on April 02, 2009, 09:17:00 am
How many lines in your source code? very long lines? Could you add this file as an attachment for testing?

I use CB for editing some (partly) binary files, too. I like the way Scintilla displays the unprintable ascii characters.

It's the same length as the horizontal scrollbar is initialized to with a blank file. It's about 280 characters.
That's long enough for editing (the usual) source code. But I think the scrollbar should initialize correctly for all files.

To reproduce: just create a new file with more than 300 characters in one line; that worked for me.

I'm using CB on XP, btw. The current nightly.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: rhf on April 02, 2009, 12:48:09 pm
@ geiermeier

Just a thought. I occasionally use SciTE (Scintilla Text Editor) and had the same problem with line lengths.
The fix was to edit the SciTEGlobal.properties file. Specifically, to change the property
horizontal.scroll.width=2200 to say horizontal.scroll.width=10000.
I don't know if this is the same in the Scintilla editor used in CB, but one of the developers can probably help out.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: lobby on April 02, 2009, 02:23:21 pm
i already had this problem with the horizontal scrollbar, sometimes it is not large enought to go to the end of the line
(easy to reproduce as geiermeier said)
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Jenna on April 02, 2009, 02:53:36 pm
Scrollbar width:

I prepare a patch to use the ScrollWidthTracking feature of (wx)Scintilla.

This feature sets the ScrollWidth automatically according to the longest line seen.

I will make this feature optional (and disabled by default), because the scintilla-devs have disabled it for performance reasons:

Quote from: wxSintilla docu
For performance, Scintilla does not measure the width of the document to determine the properties of the horizontal scroll bar. Instead, an assumed width (2000 pixels) is used.

I hope I find the time this afternoon or evening (UTC +02:00).

EDIT:

committed (svn r5496)
Title: Re: The 28 March 2009 build (5489) is out.
Post by: my522198969 on April 03, 2009, 09:13:21 am
How to turn the language simplified Chinese? Who can give me a sinicizing document?

 - replaced non-english content by translation with babelfish.altavista.com -

Jens
Title: Re: The 28 March 2009 build (5489) is out.
Post by: killerbot on April 03, 2009, 09:15:39 am
only English language. In case this would happen again, we will have to close your account.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: ollydbg on April 03, 2009, 09:46:40 am
@my522198969
See this post:
http://forums.codeblocks.org/index.php/topic,10204.0.html
Title: Re: The 28 March 2009 build (5489) is out.
Post by: lobby on April 03, 2009, 01:39:45 pm
i think the option about the scrollbar width calculation should be set by default.

Ergonomy should be prefered over the performance, it will be harder to deduce that there is an option to fix the scrollbar width instead of another one to improve performance (if needed)

Anyway that's a pity that the scrollbar width have to be completely recalculated, while it could be done when lines are printed.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Jenna on April 03, 2009, 01:52:28 pm
i think the option about the scrollbar width calculation should be set by default.

Ergonomy should be prefered over the performance, it will be harder to deduce that there is an option to fix the scrollbar width instead of another one to improve performance (if needed)

Anyway that's a pity that the scrollbar width have to be completely recalculated, while it could be done when lines are printed.

You are right, that ergonomy should be prefered over the performance.
But there have been reasosns to have the option switched off by default:

The scrollbar-width will be recalculated according to the longest visible line, seen by the editor, not always and not for the complete file.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: stahta01 on April 04, 2009, 08:18:24 am
Patch Needed for NON-PCH Windows Build.

Tim S

Code
Index: src/plugins/contrib/ThreadSearch/TextFileSearcherRegEx.cpp
===================================================================
--- src/plugins/contrib/ThreadSearch/TextFileSearcherRegEx.cpp (revision 5518)
+++ src/plugins/contrib/ThreadSearch/TextFileSearcherRegEx.cpp (working copy)
@@ -11,6 +11,7 @@
 #include "sdk.h"
 #ifndef CB_PRECOMP
  // Required extra includes
+ #include <wx/intl.h>
  #include <wx/string.h>
 #endif
 
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Biplab on April 04, 2009, 08:31:02 am
Patch Needed for NON-PCH Windows Build.

Applied. Thanks Tim. :)
Title: Re: The 28 March 2009 build (5489) is out.
Post by: critic on April 07, 2009, 07:48:55 am
Who knows when codecompletion plugin will work properly, especially with template classes?
It work fast, but with errors.
I think that developers of C::B will notice this, because this engine in IDEs is very important for users today.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Jenna on April 07, 2009, 07:51:16 am
Who knows when codecompletion plugin will work properly, especially with template classes?
It work fast, but with errors.
I think that developers of C::B will notice this, because this engine in IDEs is very important for users today.

An update for code-completion is currently in the test phase.
But there is no exact timline, when it will be applied.

Please be patient.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: critic on April 07, 2009, 08:50:17 am
Thanks for information!
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Digited on April 07, 2009, 05:41:27 pm
Thanks for implementing open/close of project tree folders on double click and saving sizes of management and log&others!
Maybe you could also add side moving of editor's tabs with mouse wheel, like in Firefox?
Title: cb(svn5489) crashed after close workspace and move mouse cursor on mainmenu.
Post by: nanyu on April 08, 2009, 10:57:58 am
windows xp
cb svn5489

step1 : run c::b, and it auto open the last workspace with 4 project. (since the opt "open default workspace" is setted)
step2 : I close the workspace (main menu : file->close space) or "close  all projects".
step3 : everything ok now ... but after I move the mouse cursor to main menu item (etc: view, edit), aft 0.5 sec,
              the area of mainmenu bar turn white, and then the whole cb windows turn white, at the end, cb crashed.(see the codeblocks.RPT)

----------------------------------------
edit1:
1. I try to uninstall the codecompletion plugin(0.7), cb crash again, and i got a new rpt with context:
  Error occured on Wednesday, April 8, 2009 at 16:49:29.
Quote
E:\CodeBlocks\codeblocks.exe caused an Access Violation at location 65eb0de8 Reading from location 65eb0de8.

Registers:
eax=00000000 ebx=00000000 ecx=77bfc2e3 edx=46c4003c esi=00bab238 edi=0023feb8
eip=65eb0de8 esp=0023f8c0 ebp=0023f978 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
65EB0DE8
2. I  restart the cb (now the cc plugin was uninstalled), and i repeat the steps(1~3) which list about,  cb _will_not_ crash.
3. at last, I reinstall the cc plugin(which exported before i uninstalled it), and redo the steps, cb crash again.

----------------------------------------
edit2:

1. I rollback the cb to svn5456, and repeat steps(1-3), c::b didn't crash.
2. export the cc plugin
3. update the c::b to svn 5489
4. uninstall the cc plugin
5. install the cc plugin which export from svn5456.
6. repeat steps(1~3), c::b crash again.

[attachment deleted by admin]
Title: Re: The 28 March 2009 build (5489) is out.
Post by: ollydbg on April 08, 2009, 03:34:51 pm
@nanyu
I can't reproduce the crash in biplab's portable c::B (maybe svn 5519). I reopen a workplace with 2 projects.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: FlyingMonkey on April 12, 2009, 04:03:30 pm
I'm new to CB, trying it for the first time.  Instructions I read said to run the latest nightly (it seems actually monthly) build.  I've downloaded the correct wxWidgets and mingw files fine.  I can't seem to get the download for this CB build to work.  Is that mirrored somewhere?  Are instructions to set all this up included somewhere?

Thanks in advance,
Ed
Title: Re: The 28 March 2009 build (5489) is out.
Post by: critic on April 13, 2009, 06:03:12 am
Hello, everybody!
I develop projects using Qt Trolltech 4 on C::B. But to do this I need a plugin. For this purpose QtWorkbench already exists, but it has bugs and it's updates are very rare.
I created my own plugin - QtHelper - that is easier in use and it creates .pro file and Makefile using C::B project's settings.
But now in C::B I can't access some pages in project options dialog (search directories ant etc) when using custom makefile
In this case I need to switch off custom makefile option and apply settings, after this I change project settings (they mentioned above) and then I need to switch on custom Makefile option and apply settings again.

I think it is not nice.
It will be better to work with Qt projects as with other C++ project (without additional movements)

How to do?
For what developers of C::B close access to project settings when using custom makefile in project?
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Jenna on April 14, 2009, 10:09:32 am
For what developers of C::B close access to project settings when using custom makefile in project?

The access is removed, because it does not really make sense to add anything there, because the content is used to create the commands C::B passes to the compiler.
But if you use a custom makefile all this is done by the makefile, C::B only runs the commands for make, make clean etc. as the user defined them on the "Make" commands tab. For the same purposes the content of this tab is disabled, when you do not use a custom makefile.
Title: Re: The 28 March 2009 build (5489) is out.
Post by: Joel on April 19, 2009, 04:25:10 pm
Is it possible to choose either C or C++ project in Win32?
I running this C::B nightly with Visual C++ 2003 toolkit and I'll be a nice feature...
Thanks.