Code::Blocks

User forums => Nightly builds => Topic started by: killerbot on December 28, 2010, 04:57:20 pm

Title: The 28 December 2010 build (6906) is out.
Post by: killerbot on December 28, 2010, 04:57:20 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_gcc451-TDM.7z

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

The 28 December 2010 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20101228_rev6906_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 28 December 2010 build (6906) is out.
Post by: killerbot on December 28, 2010, 04:58:08 pm
SPECIAL NOTE :

Quote
10) all is now build with TDM-GCC 4.5.1 (28 December 2010)
Therefor it is advised to also redownload the mingwm dll and the wx dll. Since these have also been rebuild with the TDM GCC 4.5.1 compiler.

Title: Re: The 28 December 2010 build (6906) is out.
Post by: killerbot on December 28, 2010, 05:02:19 pm
be patient, the original post will come online, due to some internal policies it is currently not visible ...
Title: Re: The 28 December 2010 build (6906) is out.
Post by: jens on December 28, 2010, 05:13:05 pm
be patient, the original post will come online, due to some internal policies it is currently not visible ...
It's there now, debian nightlies follow this evening.
Title: Re: The 28 December 2010 build (6906) is out.
Post by: jens on December 28, 2010, 08:33:27 pm
be patient, the original post will come online, due to some internal policies it is currently not visible ...
It's there now, debian nightlies follow this evening.

Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo (http://apt.jenslody.de/).
Title: Re: The 28 December 2010 build (6906) is out.
Post by: dk on December 29, 2010, 10:20:02 am
Has been fixed bug in EditorTweaks when right-click in editor with non-english locale?
Title: Re: The 28 December 2010 build (6906) is out.
Post by: emptymind on January 01, 2011, 06:02:35 pm
Why is TODO list  empty. Example of my todo :
// TODO: Add freq update here?
Title: Re: The 28 December 2010 build (6906) is out.
Post by: keenblade on January 02, 2011, 12:25:24 pm
C::B svn revision 6906 fails to compile on my gentoo ~amd64 with both wxGTK-2.8.11 and 2.9.1 giving this same error:
Code: [Select]
cbauibook.cpp: In member function 'void cbAuiNotebook::OnDwellTimerTrigger(wxTimerEvent&)':
cbauibook.cpp:96:9: error: 'wxTheApp' was not declared in this scope
make[3]: *** [cbauibook.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src'
make: *** [all-recursive] Error 1
emake failed
My system: ~amd64, gcc-4.5.2, glibc-2.12.1-r3, wxGTK-2.8.11 and 2.9.1
Title: Re: The 28 December 2010 build (6906) is out.
Post by: jens on January 02, 2011, 01:31:52 pm
C::B svn revision 6906 fails to compile on my gentoo ~amd64 with both wxGTK-2.8.11 and 2.9.1 giving this same error:

Works fine with wx2.8.10 on debian, openSuse and windows.

Nevertheless, it should be fixed in svn r6907.
Title: Re: The 28 December 2010 build (6906) is out.
Post by: Pecan on January 02, 2011, 02:41:33 pm
Why is TODO list  empty. Example of my todo :
// TODO: Add freq update here?


I find that when I enter a new TODO, I have to do a refresh. See if that helps.
You must also choose the appropriate Scope (see Scope button) to see the listing.


Title: Re: The 28 December 2010 build (6906) is out.
Post by: keenblade on January 02, 2011, 03:36:33 pm
...Nevertheless, it should be fixed in svn r6907.
jens, thanks for fixing. Now, I have another error:
Code: [Select]
editorbase.cpp: In member function 'virtual void EditorBase::InitFilename(const wxString&)':
editorbase.cpp:92:5: error: 'ProjectsArray' was not declared in this scope
editorbase.cpp:92:20: error: 'projects' was not declared in this scope
editorbase.cpp:92:66: error: invalid use of incomplete type 'struct ProjectManager'
../../src/include/manager.h:26:7: error: forward declaration of 'struct ProjectManager'
make[3]: *** [editorbase.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src'
make: *** [all-recursive] Error 1
emake failed
Title: Re: The 28 December 2010 build (6906) is out.
Post by: oBFusCATed on January 02, 2011, 05:22:40 pm
Works fine with wx2.8.10 on debian, openSuse and windows.
Jens, if I remember correctly he is using -disable-pch, that's why it is working for you :)
Title: Re: The 28 December 2010 build (6906) is out.
Post by: stahta01 on January 02, 2011, 06:26:09 pm
Patch needed for NON-PCH Build Under Windows. Tim S.
Code: [Select]
Index: src/sdk/editorbase.cpp
===================================================================
--- src/sdk/editorbase.cpp (revision 6907)
+++ src/sdk/editorbase.cpp (working copy)
@@ -19,6 +19,7 @@
     #include "editormanager.h"
     #include "pluginmanager.h"
     #include "cbproject.h" // FileTreeData
+    #include "projectmanager.h" // ProjectsArray
     #include <wx/wfstream.h>
 #endif
 

Code: [Select]
Index: src/plugins/contrib/ThreadSearch/ThreadSearchView.cpp
===================================================================
--- src/plugins/contrib/ThreadSearch/ThreadSearchView.cpp (revision 6907)
+++ src/plugins/contrib/ThreadSearch/ThreadSearchView.cpp (working copy)
@@ -17,6 +17,7 @@
     #include "cbeditor.h"
     #include "configmanager.h"
     #include "editorcolourset.h"
+    #include "logmanager.h"
 #endif
 
 #include "cbstyledtextctrl.h"
Title: Re: The 28 December 2010 build (6906) is out.
Post by: Pecan on January 02, 2011, 07:51:27 pm
Alt-g is showing every file in every project in the workspace. It used to show only the files in the activated workspace.

This is very confusing. If you pick a file from an inactive project, (say version.h), it can take hours to figure out what went wrong.

If this is going to change, it should be made an option or the picker dialog should show which project the file is associated with.

Title: Re: The 28 December 2010 build (6906) is out.
Post by: jens on January 02, 2011, 07:57:58 pm
Patch needed for NON-PCH Build Under Windows. Tim S.

fixed in svn r6908

Thanks Tim !
Title: Re: The 28 December 2010 build (6906) is out.
Post by: keenblade on January 02, 2011, 08:48:30 pm
With svn r6909, here comes the next error:
Code: [Select]
dragscroll.cpp:1844:5: error: 'event' does not name a type
dragscroll.cpp:1846:1: error: expected declaration before '}' token
make[4]: *** [dragscroll.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/plugins/contrib/dragscroll'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src'
make: *** [all-recursive] Error 1
emake failed
Title: Re: The 28 December 2010 build (6906) is out.
Post by: Pecan on January 02, 2011, 09:13:36 pm
With svn r6909, here comes the next error:
Code: [Select]
dragscroll.cpp:1844:5: error: 'event' does not name a type
dragscroll.cpp:1846:1: error: expected declaration before '}' token
make[4]: *** [dragscroll.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/plugins/contrib/dragscroll'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/src'
make: *** [all-recursive] Error 1
emake failed

Fixed, svn 6910
Thanks
Title: Re: The 28 December 2010 build (6906) is out.
Post by: keenblade on January 02, 2011, 10:36:43 pm
Guys, you are great. Thanks for the perfect support. All compile errors are gone.
Title: Re: The 28 December 2010 build (6906) is out.
Post by: CatalinRO on January 05, 2011, 01:16:20 pm
Hi! On Windows 7, 64-bit, this version crashes when trying to open Settings->Compiler and debugger... unless it is started with "Run as administrator".

The Windows generated error report indicates an access violation caused by the instruction at offset 000106AC.
Title: Re: The 28 December 2010 build (6906) is out.
Post by: oBFusCATed on January 07, 2011, 01:34:59 pm
This is very confusing. If you pick a file from an inactive project, (say version.h), it can take hours to figure out what went wrong.
It is way better, that before, when only the active project's files were shown :P

If this is going to change, it should be made an option or the picker dialog should show which project the file is associated with.
Unfortunately it is not easy to add something to this dialog, because it is multipurpose dialog and it is used in several places (CC I think).
Probably it will be easier to append the project name to every line in the list control.

I'll look into it...
Title: Re: The 28 December 2010 build (6906) is out.
Post by: oBFusCATed on January 16, 2011, 04:13:43 pm
Here is the patch to add the project name: https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3119&group_id=5358
Title: Re: The 28 December 2010 build (6906) is out.
Post by: RaSla on January 16, 2011, 09:39:52 pm
SVN 6906_win32, Win7_64

BUG:
I've made "C++ syntax highlight" in dark-blue style, like "NortonCommander-Blue".
Also I've changed Caret-color to YELLOW.

When I'm coding INSIDE BRACES, caret is changing color to BLACK sometimes,
AND closing-brace still MATCHING highlighting, when opening-brace already have NO MATCHING highlighting sometimes.
Title: Re: The 28 December 2010 build (6906) is out.
Post by: Folco on January 16, 2011, 10:57:17 pm
Could you provide a test case (when this bug appears) ? It would be very useful to help debugging.
Title: Re: The 28 December 2010 build (6906) is out.
Post by: RaSla on January 16, 2011, 11:32:48 pm
Could you provide a test case (when this bug appears) ? It would be very useful to help debugging.

1) Changing Caret-color to YELLOW,2 lines!
2) keybording in code (this is key-pressing map):
 p r i n t (

3) TA-DA!
We see, that Caret is RED, 2 lines!

4) keybording in code
<space> a s d <left> <up>

5) TA-DA!
We see, that Caret is BLACK, 1 line AGAIN!

This is changing not only color ( yellow ->red -> black),
but caret-size (for "line" caret-type) too!
Title: Re: The 28 December 2010 build (6906) is out.
Post by: RaSla on January 17, 2011, 12:24:10 am
Else BUG:

SVN r6906, Win7_64

In VISIBLE part of Code, minimized functions are self-changing [ + ] to [ - ], BUT STILL minimized,
when CodeBlocks window is backgrounded (when I googling or running project app) some time
(I can't determine conditions more accurately).

So when you clicking [-], function is just setting UNDERLINE (like on "minimize" ),
instead of "Open minimized code".

I repeat - this bug present ONLY IN VISIBLE PART of Code-window!
Minimized functions above & under visible part - aren't changing [ + ]