Author Topic: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.  (Read 115522 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5489
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_wx2810_gcc441.7z

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

The 25 September 2010 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20100925_rev6634_CC_BRANCH_win32.7z
  - Linux :
   none

Important changes compared to previous CODECOMPLETION BRANCH nightly:

* cc_branch: applied patch to fix a crash under Windows and do some cleanup, namely:
- fix a crash under windows
- use member variables with the unified naming style
- now NativeParser::GetParser returns always a reference
- removing parser instance unnecessary
- parser for the active editor is never removed
- refactoring some variable names, function names
* cc_branch: applied patch to fix *NONE* project parser error AND add parsing any files opened through DDE or the command-line
* cc_branch: applied patch to fix a hang while reparsing
* cc_branch: applied patch to fix an error when opening a header file without a project
* cc_branch: applied patch to improve locker for system headers
* cc_branch: applied patch simplify interface to batch parser AND improve performance
* cc_branch: applied patch to support CC for member variable initialisation
* cc_branch: build fix for parser test project
* cc_branch: reverted patch of 6238r to fix the issue reported here: http://forums.codeblocks.org/index.php/topic,13338.msg89975.html#msg89975
* cc_branch: applied patch to fix system headers parsing completely hangs
* cc-branch: reverted commit 6629 (re-revert commit 6238), it was not the cause for the issuedescribed in http://forums.codeblocks.org/index.php/topic,13338.msg89975.html#msg89975;
partly reverted commit 6594, that causes the issue
* cc_branch: applied patch to add some more comments AND improve consistency of style for header files
* cc_branch: little cosmetic fix (comparison with pointer)
* cc_branch: applied patch to add possibility to remove all bookmarks
* all updates that occurred on trunk

THIS IS A SPECIAL TEST BUILD OF REFACTORINGS CARRIED OUT ON THE CODE COMPLETION BRANCH IN OUR SVN.
FOCUS IS ON ENHANCED CODE COMPLETION USABILITY.

Give your feedback on this version only in this thread, don't mix it with the regular nightly please.

Once we don't have any blockers on this version,we will merge the changes into trunk and it will be part of the regular nightlies.
« Last Edit: September 28, 2010, 10:56:04 am by killerbot »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #1 on: September 27, 2010, 08:49:41 pm »
Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo.

If you want to use apt (or dselect, synaptic or whatever) you need to add the following entries to /etc/apt/sources.list :
Code
deb http://apt.jenslody.de/ any cc
deb-src http://apt.jenslody.de/ any cc
and remove entries for the normal nightlies.

Alternatively you can download the deb's directly from http://apt.jenslody.de/pool/cc/c/codeblocks/ .

Offline superbaby

  • Single posting newcomer
  • *
  • Posts: 2
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #2 on: September 28, 2010, 02:15:12 am »
Where is the download link for Windows?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #3 on: September 28, 2010, 07:07:23 am »
Where is the download link for Windows?
In the first post by killerbot.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Borr

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #4 on: September 28, 2010, 07:57:43 am »
Where is the download link for Windows?
In the first post by killerbot.

Quote
The 19 September 2010 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20100919_rev6608_CC_BRANCH_win32.7z
  - Linux :

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #5 on: September 28, 2010, 08:13:52 am »
Please replace from 6608 to 6634, the fixed download link is:
http://prdownload.berlios.de/codeblocks/CB_20100919_rev6634_CC_BRANCH_win32.7z

@killerbot could you fix the download url error?



Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5489
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #8 on: September 28, 2010, 10:56:34 am »
fixed in the original post. Thanks guys.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #9 on: September 30, 2010, 05:05:35 am »
1. Fix batch parse failed when create a empty project
2. Improve AddParseThread
3. Make code clean of "token.h"
« Last Edit: September 30, 2010, 05:08:40 am by Loaden »

Offline polygon7

  • Multiple posting newcomer
  • *
  • Posts: 104
    • Home site
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #10 on: September 30, 2010, 12:24:30 pm »
Hi,
I have following segfaults when loading some big project ~800k LOC /
~3000-4000 files (but about 10 files are opened) with C::B version 10.05cc6634-1
from Jens repository (CC branch). I have it usually three times on five C::B starts.

Quote
Editor Open
project data set for /home/xxxxx.h
Top Editor: /home/xxxxx.cpp

** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed

** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
[New Thread 0xa9bb1b70 (LWP 30027)]

** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
Caching GCC dir: /usr/include/c++/4.4
Caching GCC dir: /usr/include/c++/4.4/i486-linux-gnu
Caching GCC dir: /usr/include/c++/4.4/backward
Caching GCC dir: /usr/local/include
Caching GCC dir: /usr/lib/gcc/i486-linux-gnu/4.4.3/include
Caching GCC dir: /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed
Caching GCC dir: /usr/include
Passing list of files to batch-parser.
Header to parse up-front: '/usr/include/c++/4.4/cstddef'
Add up-front parsing 1 file(s) for project 'xxxxx'...
Add batch-parsing 4979 file(s) for project 'xxxxx'...
Create new parser for project 'xxxxx'
Starting batch parsing for project 'xxxxx'...
Start switch from OnParserStart::ptCreateParser
Switch parser to project 'xxxxx'
[New Thread 0xa93b0b70 (LWP 30032)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa9bb1b70 (LWP 30027)]
0x00000adf in ?? ()
(gdb) bt
#0  0x00000adf in ?? ()
#1  0x00f06698 in wxEvtHandler::AddPendingEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00263e91 in wxPostEvent (this=0xb1c148c) at /usr/include/wx-2.8/wx/event.h:2570
#3  cbThreadPool::TaskDone (this=0xb1c148c) at cbthreadpool.cpp:167
#4  0x002642e4 in cbThreadPool::cbWorkerThread::Entry (this=0xa936000) at cbthreadpool.cpp:236
#5  0x00f058b8 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00f0591d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00f7396e in start_thread (arg=0xa9bb1b70) at pthread_create.c:300
#8  0x01193a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
(gdb)

best regards,
p7
 Free open source UML modeling tool: ArgoUML

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #11 on: September 30, 2010, 01:02:49 pm »
What is the meaning about this log?
Quote
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed

** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
[New Thread 0xa9bb1b70 (LWP 30027)]

** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
:(

Offline polygon7

  • Multiple posting newcomer
  • *
  • Posts: 104
    • Home site
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #12 on: September 30, 2010, 01:53:32 pm »
What is the meaning about this log?
Quote
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed

** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
[New Thread 0xa9bb1b70 (LWP 30027)]

** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
:(

I think it is related to gtk/wxgtk, but unfortunately google says nothing special about that message.
I don't remember if I see it earlier but I don't run C::B in console or in gdb very often.


// EDIT: Yet another thing - I have lot of messages:
Quote
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...

and Ctrl+Space (CC) is not working.
« Last Edit: September 30, 2010, 02:31:52 pm by polygon7 »
best regards,
p7
 Free open source UML modeling tool: ArgoUML

Offline childinsilence

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #13 on: September 30, 2010, 02:03:54 pm »
I think it is related to gtk/wxgtk, but unfortunately google says nothing special about that message.
I don't remember if I see it earlier but I don't run C::B in console or in gdb very often.

The function can be found here (for example, don't know which version you use): Google Codesearch

The message you get is related to GTK, because I get it in one of my wxWidget applications too.

EDIT: Forgot to say, that I use wxGTK on the one and wxMSW on another system. I get that message only on wxGTK.  :lol:
« Last Edit: September 30, 2010, 03:13:38 pm by childinsilence »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5489
Re: The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
« Reply #14 on: September 30, 2010, 04:51:57 pm »
I found some issues with code completion. They are described here : http://forums.codeblocks.org/index.php/topic,13413.0.html