Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on June 21, 2009, 05:55:27 pm

Title: The 21 June 2009 build (5678) is out.
Post by: killerbot on June 21, 2009, 05:55:27 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 21 June 2009 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20090621_rev5678_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 21 June 2009 build (5678) is out.
Post by: Jenna on June 21, 2009, 06:04:32 pm
Just uploaded the debian-build on my server (http://apt.jenslody.de/) (see signature).

They are build on lenny-pbuilder and linked against wxWidgets 2.8.10.

The revision for my builds is 5671.
The only missing parts are the wx2.9-migration fixes, but they don't make any difference for builds < wx2.9.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: Sunyata on June 22, 2009, 06:16:09 am
Hi,
Thank you for the efforts keep fixing and upgrading the CodeBlocks.
Thanks :)
Title: Re: The 21 June 2009 build (5678) is out.
Post by: Xaviou on June 22, 2009, 08:13:44 am
Ubuntu 8.04 to 9.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx2810) can be found  here (http://www.archive-host.com/compteur.php?url=http://codeblocks.archive-host.com/CB_20090621_802_rev5678_Ubuntu804-904_wx2810_amd64tar.gz) (direct link).
Title: Re: The 21 June 2009 build (5678) is out.
Post by: stahta01 on June 23, 2009, 05:38:52 am
Patch to fix Crash when SDCC Static Library is compiled. See thread http://forums.codeblocks.org/index.php/topic,10748.msg73648.html#msg73648

Definitely stops the crash; but, I am not sure a valid Static Lib is created. squalyl, confirmed it fixes the issue and a good static Library is created.

Tim S

Code
Index: src/plugins/compilergcc/compilerSDCC.cpp
===================================================================
--- src/plugins/compilergcc/compilerSDCC.cpp (revision 5679)
+++ src/plugins/compilergcc/compilerSDCC.cpp (working copy)
@@ -138,7 +138,7 @@
     m_Commands[(int)ctGenDependenciesCmd].push_back(CompilerTool(_T("$compiler -MM $options -MF $dep_object -MT $object $includes $file")));
     m_Commands[(int)ctLinkExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $options $link_options $libs $link_objects")));
     m_Commands[(int)ctLinkConsoleExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $options $link_options $libs $link_objects")));
-    //m_Commands[(int)ctLinkStaticCmd].push_back(CompilerTool(_T("$lib_linker -r $static_output $link_objects\n\tranlib $exe_output")));
+    m_Commands[(int)ctLinkStaticCmd].push_back(CompilerTool(_T("$lib_linker -r $static_output $link_objects")));
     m_Commands[(int)ctLinkNativeCmd] = m_Commands[(int)ctLinkConsoleExeCmd]; // unsupported currently
 
     LoadDefaultRegExArray();
Title: Re: The 21 June 2009 build (5678) is out.
Post by: Grom on June 23, 2009, 05:54:21 pm
What about new version? We have nighties forever...
Title: Re: The 21 June 2009 build (5678) is out.
Post by: stahta01 on June 24, 2009, 01:06:04 am
What about new version? We have nighties forever...

Would it help if one of the Nightly snapshots was named an Beta every 6 months or so?

Tim S

Title: Re: The 21 June 2009 build (5678) is out.
Post by: Loaden on June 24, 2009, 04:16:45 am
Quote
support vector debugging
std::vector<std::string> unwork!
Title: Re: The 21 June 2009 build (5678) is out.
Post by: oBFusCATed on June 24, 2009, 12:00:33 pm
It should partially work.

Should show:

+ v
- - [size] = 3
- - [capacity] = 4
+ -
+ - [1]
+ - [2]

The plus symbols mean that the entry can be expanded, so you can see the members of the string class.
Does that work?
Title: Re: The 21 June 2009 build (5678) is out.
Post by: dk on June 24, 2009, 03:31:27 pm
It should partially work.

Should show:

No. It's show:

Code
A = Couldn't find method std::vector <std::basic_string <char, std::char_traits <char> , std::allocator <char> > , [... and so on] 

Where A is vector <string>.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: dk on June 24, 2009, 03:38:34 pm
Would it help if one of the Nightly snapshots was named an Beta every 6 months or so?

Current nightly are enough stable and have some new features (vector debugging is cool!).

I need new version with automated installer and integrated MinGW to distribute C::B to my school students.

Since my students are 13-16 years old, it is too difficult for them to install C::B as separate MinGW compiler and C::B IDE.


Title: Re: The 21 June 2009 build (5678) is out.
Post by: oBFusCATed on June 24, 2009, 03:46:05 pm
Code
A = Couldn't find method std::vector <std::basic_string <char, std::char_traits <char> , std::allocator <char> > , [... and so on] 

Where A is vector <string>.


Can you post 2-3 lines of the code, so I can reproduce it?
Does it work for vector<int>?
Title: Re: The 21 June 2009 build (5678) is out.
Post by: dk on June 24, 2009, 03:53:06 pm
Code
#include <iostream>
#include <vector>

using namespace std;

int main()
{
    vector <string> A;
    A.resize(4);
    A[0]="abc";
    A[2]="def";
    A.push_back("xyz");
    return 0;
}

$ g++ --version
i586-alt-linux-g++ (GCC) 4.4.0 20090514 (ALT Linux 4.4.0-alt3)

$ gdb --version
GNU gdb 6.6-alt3 (ALT Linux)

C::B - svn 5678.

Title: Re: The 21 June 2009 build (5678) is out.
Post by: oBFusCATed on June 24, 2009, 04:10:29 pm
What a strange combination - bleeding edge compiler and relatively old debugger.
Can you try with gdb 6.8?

p.s. I'll test the code later....
Title: Re: The 21 June 2009 build (5678) is out.
Post by: dk on June 24, 2009, 04:16:47 pm
What a strange combination - bleeding edge compiler and relatively old debugger.
Can you try with gdb 6.8?

No. gdb 6.8 is rather new (3 months old) and there are no gdb 6.8 in my linux distribution repository.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: oBFusCATed on June 24, 2009, 04:32:08 pm
An year and 3 month is more correct  :lol:

http://sources.redhat.com/gdb/ (March 27, 2008: GDB 6.8 Released!)
Title: Re: The 21 June 2009 build (5678) is out.
Post by: dk on June 24, 2009, 04:34:25 pm
An year and 3 month is more correct  :lol:
Oh, yes, I see  :o

But in fact, I haven't gdb 6.8.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: Jenna on June 24, 2009, 06:15:28 pm
I have gdb 6.8 and the vector<std::string> is not recognized correctly.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: franzl on June 24, 2009, 08:08:45 pm
I work on a dual boot system with winxp (ntfs partition) and ubuntu 9.04 amd 64 (ext3).
In linux it's possible to open projects saved on the mounted win partition, but I cannot write to ntfs with the current nightly. So I cannot save changes and build the project. With stable 8.02 it works correctly.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: Jenna on June 24, 2009, 08:21:41 pm
I work on a dual boot system with winxp (ntfs partition) and ubuntu 9.04 amd 64 (ext3).
In linux it's possible to open projects saved on the mounted win partition, but I cannot write to ntfs with the current nightly. So I cannot save changes and build the project. With stable 8.02 it works correctly.

See here (http://forums.codeblocks.org/index.php/topic,10735.0.html) for an explanation and a possible solution.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: oBFusCATed on June 24, 2009, 08:58:03 pm
Ah, the problem is in C::B...

Here is part of the debug log:

Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector

The string is registered first and vector<string> matches the regexpr for the string class, so C::B tries to display it as string :(
Title: Re: The 21 June 2009 build (5678) is out.
Post by: oBFusCATed on June 25, 2009, 10:30:30 pm
Is there some code in C::B (the code completion a suppose) that can parse the type of that is returned from the 'whatis' command?
Using regexpr is not robust :(
Title: Re: The 21 June 2009 build (5678) is out.
Post by: ollydbg on June 26, 2009, 07:11:50 am
Is there some code in C::B (the code completion a suppose) that can parse the type of that is returned from the 'whatis' command?
Using regexpr is not robust :(
In the Code Completion source code. There are two kind of parsers.
One is the general parser which parse all the files in the current workspace, and generate a database.
The other is a local parser which parse the locally context code, to give a tooltip or calltip things, it use many functionality from scintella.

I suggest using the first one. These code were located in:
parserthread.cpp (Note, both files in disk and wxstring in memory can be parsed) :D
But seems a little complex :D
Title: Re: The 21 June 2009 build (5678) is out.
Post by: nanyu on June 26, 2009, 11:42:20 am
there are two bookmasks submenus.

[attachment deleted by admin]
Title: Re: The 21 June 2009 build (5678) is out.
Post by: ollydbg on July 01, 2009, 01:06:42 pm
there are two bookmasks submenus.

This is (maybe) mmkider's TraceBar plugin issue :D see here (http://forums.codeblocks.org/index.php/topic,9886.msg69056.html#msg69056)
I have reported several days ago. You can check the new released one.
Title: Re: The 21 June 2009 build (5678) is out.
Post by: Hans Henrik on July 01, 2009, 01:47:48 pm
Quote
- Fix crash when backspace\cut after Ctrl-A (Thanks Loaden)
i cant reproduce this bug in rev 5616 at least
well guess it occurred later, w/e
Title: Re: The 21 June 2009 build (5678) is out.
Post by: danielnet on July 17, 2009, 12:26:19 pm
Hi,
after installing this nightly build (5678) CB crashes when clicking "project/built options..." or "project/properties..."

I am using Windows Vista, gcc 4.4.0, gdb 6.8. (Compiling and debugging works fine.)
Can me please someone give a hint what might be wrong?

Thanks
Daniel
Title: Re: The 21 June 2009 build (5678) is out.
Post by: squalyl on July 20, 2009, 11:17:28 pm
well, aren't nightly builds supposed to be built... nightly?
why are there no more releases since june 21? holidays? :D
Title: Re: The 21 June 2009 build (5678) is out.
Post by: Wavesonics on July 21, 2009, 12:33:36 am
Real life, jobs, lots of reasons :P