Author Topic: The 18 august 2006 build is out.  (Read 16529 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 18 august 2006 build is out.
« on: August 18, 2006, 07:05:45 pm »
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.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

For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26_gcc_cb_wx2.6.3p2.7z

The 18 August 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20060818_rev2877_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20060818_rev2877_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20060818_rev2877_fc4+5.rpm


Resolved Fixed:

  • Fixed current function arguments parsing in code-completion. Didn't work all the time
  • Remove all temporary code-completion tokens (like local variables) before starting a new search
  • Two new virtual targets added to CodeBlocks*.cbp: "Core app & plugins" and "Third-party libs"
  • Updated CodeBlocks*.cbp to format 1.5
  • Changed default settings for code-completion parser: parse local includes, global includes and preprocessor symbols are enabled now. Everyone's settings will be changed to these defaults.
  • Changed code-completion plugin version number. Was unfair to still be at 0.1 ;)
  • * Added code-completion preliminary support for typedefs:
      "typedef struct" is not supported
      "typedef class" is not supported
      "typedef enum" is not supported
      Other typedefs are supported. Yes, even function pointers
  • Disabled calltips for function pointers in code-completion. Leads to infinite loop in some cases
  • Changed _("") to _T("") because the former interferes with i18n
  • Made "project format updated" message less redundant
  • Added .pot files
  • Updated contrib plug-ins 'windows' *.cbp to format 1.5

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)
  • there are several issues with Code Completion (is being redesigned : work in progress)
  • menu items with icon not correctly aligned (since wx263)

« Last Edit: August 19, 2006, 09:40:19 am by killerbot »

Last-Attacker

  • Guest
Re: The 18 august 2006 build is out.
« Reply #1 on: August 18, 2006, 07:45:03 pm »
As much as I regret to say this (with this version also), I have discovered a bug with the code completion.
If you type '.' or '->' in a function's main scope, then it works perfectly but if you type it in a sub scope, then it comes up with a "No matches" tool tip.
For instance:

void func()
{
    obj.name="John"; //Works here

    if(obj.age < 18)
    {
         obj.allowed = false; //Says "No matches" here
    }
}

Just tell me if its just my pc or something.

sethjackson

  • Guest
Re: The 18 august 2006 build is out.
« Reply #2 on: August 18, 2006, 07:53:03 pm »
Windows ANSI build is here.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: The 18 august 2006 build is out.
« Reply #3 on: August 18, 2006, 08:17:10 pm »
Quote
Just tell me if its just my pc or something.

Local scope evaluation is still a work in progress. Will possibly finish this weekend...
Be patient!
This bug will be fixed soon...

yalding

  • Guest
Re: The 18 august 2006 build is out.
« Reply #4 on: August 19, 2006, 07:31:56 am »
I realized that recently, I can not change COMPILER for targets!

Could you please restore this feature? It is really important to me, as I am working with different version of compilers and librarys in testing my program. Thanks.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 18 august 2006 build is out.
« Reply #5 on: August 19, 2006, 09:43:09 am »
I realized that recently, I can not change COMPILER for targets!

Could you please restore this feature? It is really important to me, as I am working with different version of compilers and librarys in testing my program. Thanks.

I just tried this with the last nightly and it does work.

Which version are you using, do you have a simple mini project we could use to reproduce ????
Please tell us each step you took to end up at this failure.

yalding

  • Guest
Re: The 18 august 2006 build is out.
« Reply #6 on: August 19, 2006, 10:06:54 am »
I just tried this with the last nightly and it does work.

Which version are you using, do you have a simple mini project we could use to reproduce ????
Please tell us each step you took to end up at this failure.


Version 1.0 revision 2877 (2006-08-18 12:58:05) gcc 4.0.3 Linux/unicode
Linux csz666 2.6.15-26-686 #1 SMP PREEMPT

Reproduce the problem:
1. Open CodeBlocks.
2. Create a new C++ console project with Debug and Release targets.
3. Open the "Build Option" of the new project.
     The List which previous can choose compilers is GRAY and disabled.

Here is the screenshot:

http://www.cs.ust.hk/~yalding/Screenshot.png

Thanks.

regards,
yalding



Kreso

  • Guest
Re: The 18 august 2006 build is out.
« Reply #7 on: August 19, 2006, 10:59:11 am »
@codecompletion: since the new cc version, outside headers don't get parsed? I'm using Ogre and I don't get any cc with it. In cc settings, all includes are checked.

BTW: maby it would be a good idea to write cc to some database to avoid long parsing when opening projects?

Kreso

  • Guest
Re: The 18 august 2006 build is out.
« Reply #8 on: August 19, 2006, 11:31:13 am »
I keep getting crashes when trying to "compile and run", though not always, but often, here's the report:

<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
  <system description="Linux 2.6.15-25-386 i686"/>
  <modules>
    <module path="/usr/local/bin/codeblocks" address="08048000" size="00096000"/>
    <module path="/usr/lib/libgdk_pixbuf-2.0.so.0.800.18" address="411a8000" size="00015000" version="0.800.18"/>
    <module path="/usr/lib/libpango-1.0.so.0.1201.2" address="411f5000" size="00002000" version="0.1201.2"/>
    <module path="/usr/lib/libpangoft2-1.0.so.0.1201.2" address="4121c000" size="00001000" version="0.1201.2"/>
    <module path="/usr/lib/libpangocairo-1.0.so.0.1201.2" address="41226000" size="00001000" version="0.1201.2"/>
    <module path="/usr/lib/libgdk-x11-2.0.so.0.800.18" address="412a3000" size="00003000" version="0.800.18"/>
    <module path="/usr/lib/libgtk-x11-2.0.so.0.800.18" address="41673000" size="00009000" version="0.800.18"/>
    <module path="/usr/lib/libtiff.so.4.1.4" address="4181a000" size="00050000" version="4.1.4"/>
    <module path="/lib/ld-2.3.6.so" address="4df9c000" size="00001000" version="2.3.6"/>
    <module path="/usr/lib/libpng12.so.0.1.2.8" address="4dfc1000" size="00001000" version="0.1.2.8"/>
    <module path="/usr/lib/libglib-2.0.so.0.1000.3" address="4e047000" size="00001000" version="0.1000.3"/>
    <module path="/usr/lib/libexpat.so.1.0.0" address="4e066000" size="00003000" version="1.0.0"/>
    <module path="/usr/lib/libXrender.so.1.3.0" address="4e072000" size="00001000" version="1.3.0"/>
    <module path="/usr/lib/libXinerama.so.1.0.0" address="4e077000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libXi.so.6.0.0" address="4e081000" size="00001000" version="6.0.0"/>
    <module path="/usr/lib/libfontconfig.so.1.0.4" address="4e0ac000" size="00005000" version="1.0.4"/>
    <module path="/usr/lib/libXrandr.so.2.0.0" address="4e0b4000" size="00003000" version="2.0.0"/>
    <module path="/usr/lib/libXfixes.so.3.0.0" address="4e0bc000" size="00001000" version="3.0.0"/>
    <module path="/usr/lib/libXcursor.so.1.0.2" address="4e0c7000" size="00001000" version="1.0.2"/>
    <module path="/usr/lib/libgobject-2.0.so.0.1000.3" address="4e101000" size="00001000" version="0.1000.3"/>
    <module path="/usr/lib/libgmodule-2.0.so.0.1000.3" address="4e106000" size="00001000" version="0.1000.3"/>
    <module path="/usr/lib/libcairo.so.2.2.4" address="4e18b000" size="00001000" version="2.2.4"/>
    <module path="/usr/lib/libatk-1.0.so.0.1114.0" address="4e1a5000" size="00002000" version="0.1114.0"/>
    <module path="/lib/tls/i686/cmov/libnsl-2.3.6.so" address="4e555000" size="00001000" version="2.3.6"/>
    <module path="/usr/lib/libgthread-2.0.so.0.1000.3" address="4e64f000" size="00004000" version="0.1000.3"/>
    <module path="/lib/tls/i686/cmov/libc-2.3.6.so" address="4e93b000" size="00007000" version="2.3.6"/>
    <module path="/lib/tls/i686/cmov/libdl-2.3.6.so" address="4e947000" size="00003000" version="2.3.6"/>
    <module path="/lib/tls/i686/cmov/libm-2.3.6.so" address="4e96d000" size="00001000" version="2.3.6"/>
    <module path="/usr/lib/libz.so.1.2.3" address="4e983000" size="00001000" version="1.2.3"/>
    <module path="/usr/lib/libXau.so.6.0.0" address="4e988000" size="00001000" version="6.0.0"/>
    <module path="/lib/tls/i686/cmov/libpthread-2.3.6.so" address="4e99a000" size="00001000" version="2.3.6"/>
    <module path="/usr/lib/libX11.so.6.2.0" address="4e99f000" size="000e5000" version="6.2.0"/>
    <module path="/usr/lib/libXext.so.6.4.0" address="4ea87000" size="0000d000" version="6.4.0"/>
    <module path="/usr/lib/libfreetype.so.6.3.8" address="4eafc000" size="00003000" version="6.3.8"/>
    <module path="/usr/lib/libjpeg.so.62.0.0" address="4eb43000" size="00001000" version="62.0.0"/>
    <module path="/lib/libgcc_s.so.1" address="4eb4f000" size="00001000" version="1"/>
    <module path="/usr/lib/libstdc++.so.6.0.7" address="4ec1f000" size="00005000" version="6.0.7"/>
    <module path="/usr/lib/libXxf86vm.so.1.0.0" address="4f7cb000" size="00005000" version="1.0.0"/>
    <module path="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf" address="b1824000" size="00031000"/>
    <module path="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf" address="b1879000" size="00061000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcb_koders.so" address="b1900000" size="00028000"/>
    <module path="/usr/local/share/codeblocks/plugins/libwxsmith.so" address="b1a91000" size="0000d000"/>
    <module path="/usr/local/share/codeblocks/plugins/libprofiler.so" address="b1aa2000" size="0002d000"/>
    <module path="/usr/local/share/codeblocks/plugins/libkeybinder.so" address="b1b14000" size="00003000"/>
    <module path="/usr/local/share/codeblocks/plugins/libhelp_plugin.so" address="b1b3c000" size="00001000"/>
    <module path="/usr/local/share/codeblocks/plugins/libdragscroll.so" address="b1b65000" size="00002000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcodestat.so" address="b1b8c000" size="00001000"/>
    <module path="/usr/local/share/codeblocks/plugins/libbyogames.so" address="b1bcd000" size="00003000"/>
    <module path="/usr/local/share/codeblocks/plugins/libtodo.so" address="b1bfd000" size="00002000"/>
    <module path="/usr/local/share/codeblocks/plugins/libscriptedwizard.so" address="b1c67000" size="00005000"/>
    <module path="/usr/local/share/codeblocks/plugins/libdebuggergdb.so" address="b1cfa000" size="00005000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcompiler.so" address="b1e20000" size="000d2000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcodecompletion.so" address="b26f4000" size="0008a000"/>
    <module path="/SYSV00000000" address="b2787000" size="00060000"/>
    <module path="/usr/share/pixmaps/hicolor/icon-theme.cache" address="b47eb000" size="00006000"/>
    <module path="/usr/local/share/icons/hicolor/icon-theme.cache" address="b4893000" size="00144000"/>
    <module path="/usr/share/icons/crystalsvg/icon-theme.cache" address="b4f51000" size="01895000"/>
    <module path="/usr/share/icons/Tango/icon-theme.cache" address="b70d5000" size="00175000"/>
    <module path="/SYSV00000000" address="b729b000" size="00060000"/>
    <module path="/usr/local/share/codeblocks/plugins/libastyle.so" address="b7345000" size="00001000"/>
    <module path="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf" address="b7347000" size="00065000"/>
    <module path="/usr/lib/pango/1.5.0/modules/pango-basic-fc.so" address="b73ae000" size="00001000" version="fc"/>
    <module path="/usr/local/share/codeblocks/plugins/libdefaultmimehandler.so" address="b73e5000" size="00022000"/>
    <module path="/usr/local/share/codeblocks/plugins/libclasswizard.so" address="b7414000" size="00001000"/>
    <module path="/usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so" address="b7427000" size="00001000" version="2.0/2.4.0/engines/libclearlooks"/>
    <module path="/lib/tls/i686/cmov/libnss_files-2.3.6.so" address="b7442000" size="0000a000" version="2.3.6"/>
    <module path="/lib/tls/i686/cmov/libnss_nis-2.3.6.so" address="b7454000" size="00001000" version="2.3.6"/>
    <module path="/lib/tls/i686/cmov/libnss_compat-2.3.6.so" address="b745d000" size="00001000" version="2.3.6"/>
    <module path="/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so" address="b746b000" size="00007000" version="xpm"/>
    <module path="/usr/lib/locale/en_US.utf8/LC_COLLATE" address="b7476000" size="000d7000"/>
    <module path="/usr/share/locale-langpack/en_GB/LC_MESSAGES/libc.mo" address="b758a000" size="00001000"/>
    <module path="/usr/lib/gconv/ISO8859-1.so" address="b758c000" size="00001000" version="1"/>
    <module path="/usr/lib/locale/en_US.utf8/LC_NUMERIC" address="b7596000" size="00001000"/>
    <module path="/usr/lib/locale/en_US.utf8/LC_MONETARY" address="b7598000" size="00001000"/>
    <module path="/usr/lib/locale/en_US.utf8/LC_PAPER" address="b759a000" size="00001000"/>
    <module path="/usr/lib/locale/en_US.utf8/LC_ADDRESS" address="b759c000" size="00001000"/>
    <module path="/usr/lib/locale/en_US.utf8/LC_MEASUREMENT" address="b759e000" size="00001000"/>
    <module path="/usr/local/lib/libwx_gtk2u-2.6.so.0.3.1" address="b75a0000" size="0057d000" version="0.3.1"/>
    <module path="/usr/local/lib/libcodeblocks.so.0.0.1" address="b7b34000" size="00432000" version="0.0.1"/>
    <module path="[stack]" address="bfc59000" size="00016000"/>
  </modules>
  <stack>
    <frame level="2" function="wxStackWalker::Walk(unsigned int)" offset="0000002d"/>
    <frame level="3" function="wxDebugReport::AddContext(wxDebugReport::Context)" offset="00000a2e"/>
    <frame level="4" function="wxDebugReport::AddAll(wxDebugReport::Context)" offset="00000018"/>
    <frame level="5" function="wxHtmlWindow::LoadPage(wxString const&amp;)" offset="00000ca5"/>
    <frame level="6" function="wxFatalSignalHandler" offset="00000026"/>
    <frame level="7"/>
    <frame level="8" function="wxGenericTreeCtrl::CalculateLevel(wxGenericTreeItem*, wxDC&amp;, int, int&amp;)" offset="000000d6"/>
    <frame level="9" function="wxGenericTreeCtrl::CalculateLevel(wxGenericTreeItem*, wxDC&amp;, int, int&amp;)" offset="000000e8"/>
    <frame level="10" function="wxGenericTreeCtrl::CalculatePositions()" offset="00000099"/>
    <frame level="11" function="wxGenericTreeCtrl::OnInternalIdle()" offset="0000005a"/>
    <frame level="12" function="wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&amp;)" offset="00000022"/>
    <frame level="13" function="wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&amp;)" offset="00000056"/>
    <frame level="14" function="wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&amp;)" offset="00000056"/>
    <frame level="15" function="wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&amp;)" offset="00000056"/>
    <frame level="16" function="wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&amp;)" offset="00000056"/>
    <frame level="17" function="wxAppBase::ProcessIdle()" offset="00000073"/>
    <frame level="18"/>
    <frame level="19"/>
    <frame level="20" function="g_main_context_dispatch" offset="000001d7"/>
    <frame level="21"/>
    <frame level="22" function="g_main_loop_run" offset="000001d6"/>
    <frame level="23" function="gtk_main" offset="000000b4"/>
    <frame level="24" function="wxEventLoop::Run()" offset="00000052"/>
    <frame level="25" function="wxAppBase::MainLoop()" offset="00000059"/>
    <frame level="26" function="wxAppBase::OnRun()" offset="00000021"/>
    <frame level="27"/>
    <frame level="28" function="wxEntry(int&amp;, wchar_t**)" offset="0000005c"/>
    <frame level="29" function="wxEntry(int&amp;, char**)" offset="00000032"/>
    <frame level="30" function="wxMemoryFSHandlerBase::OpenFile(wxFileSystem&amp;, wxString const&amp;)" offset="000001e2"/>
  </stack>
</report>

Kreso

  • Guest
Re: The 18 august 2006 build is out.
« Reply #9 on: August 19, 2006, 11:35:43 am »
or when I run and try to save a file as well.

Kreso

  • Guest
Re: The 18 august 2006 build is out.
« Reply #10 on: August 19, 2006, 01:08:09 pm »
all those crashes seem to be related to code completion. I have disabled it and havent experienced a single crash since.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 18 august 2006 build is out.
« Reply #11 on: August 19, 2006, 06:29:33 pm »
I just tried this with the last nightly and it does work.

Which version are you using, do you have a simple mini project we could use to reproduce ????
Please tell us each step you took to end up at this failure.


Version 1.0 revision 2877 (2006-08-18 12:58:05) gcc 4.0.3 Linux/unicode
Linux csz666 2.6.15-26-686 #1 SMP PREEMPT

Reproduce the problem:
1. Open CodeBlocks.
2. Create a new C++ console project with Debug and Release targets.
3. Open the "Build Option" of the new project.
     The List which previous can choose compilers is GRAY and disabled.

Here is the screenshot:

http://www.cs.ust.hk/~yalding/Screenshot.png

Thanks.

regards,
yalding




I tried this on my linux box and it works. Anyone else having this problem ??

Offline polygon7

  • Multiple posting newcomer
  • *
  • Posts: 104
    • Home site
Re: The 18 august 2006 build is out.
« Reply #12 on: August 19, 2006, 07:15:40 pm »
Version 1.0 revision 2877 (2006-08-18 12:58:05) gcc 4.0.3 Linux/unicode
Linux csz666 2.6.15-26-686 #1 SMP PREEMPT

Reproduce the problem:
1. Open CodeBlocks.
2. Create a new C++ console project with Debug and Release targets.
3. Open the "Build Option" of the new project.
     The List which previous can choose compilers is GRAY and disabled.

Here is the screenshot:

http://www.cs.ust.hk/~yalding/Screenshot.png

Thanks.

regards,
yalding




I tried this on my linux box and it works. Anyone else having this problem ??
I have the same problem.

Linux Gentoo (2.6.18-rc4-viper),
gcc 4.1.1,
wx-unicode 2.6.3.2,
C::B build 2874
best regards,
p7
 Free open source UML modeling tool: ArgoUML

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 18 august 2006 build is out.
« Reply #13 on: August 19, 2006, 09:08:54 pm »
do you have any idea, since when this problem started ??

Chocoboko

  • Guest
Re: The 18 august 2006 build is out.
« Reply #14 on: August 21, 2006, 07:47:42 am »
I am not sure if this is the right place to put this, but this is my best guess since this deals with a correction stated to be fixed in this version.

You might want to check out infowindow.cpp again.  It still has _ instead of _T.  It came up when I was compiling the source from SVN and got an error saying that "_" was undefined.

I'm using Slackware Linux;  I figure I'm going to need to build it myself since I am not using Red Hat or Debian or a distro that inherits from it.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 18 august 2006 build is out.
« Reply #15 on: August 21, 2006, 09:12:26 am »
I am not sure if this is the right place to put this, but this is my best guess since this deals with a correction stated to be fixed in this version.

You might want to check out infowindow.cpp again.  It still has _ instead of _T.  It came up when I was compiling the source from SVN and got an error saying that "_" was undefined.

I'm using Slackware Linux;  I figure I'm going to need to build it myself since I am not using Red Hat or Debian or a distro that inherits from it.

fixed in svn

Angel Portal

  • Guest
Re: The 18 august 2006 build is out.
« Reply #16 on: August 22, 2006, 09:27:35 pm »

I have just installed the nightly builds in my system, and worked fine so far.
I am reporting because I am using Win98, and so I use the ANSI version of
it.
Now I downloaded the C:B and I intend to create my own C:B with the nightly
I got from the FORUM.
I am going to use the Wiki Tutor to do so!

Best Regards
Angel Portal

Angel Portal

  • Guest
Re: The 18 august 2006 build is out.
« Reply #17 on: August 24, 2006, 03:14:49 pm »

Yerstaday I was trying to create my own CB from the Nightly. My first one.
I was reading the CookBook from the Wiki and took the XML file named
CbProjects.workspace, I edited in the Notepad of my Win98, and after
trying to open it int the CB that came from the nightly builds it appears
a message saying the C::B do not let open another instance of it.
I went into the menu bar and did the change allowing that, but opened
another C::B and thats all, It was supposed for the C::B to ask for the
two globals variables, but it did not shows-up. is It a mistake or I did
something wrong?

Angel Portal
P.S. Do I had to run the CodeBlocks.cbp instaed of CbProjects.workspace?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Be patient!
This bug will be fixed soon...