Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on July 17, 2007, 08:02:42 pm

Title: The 17 July 2007 build (4273) is out.
Post by: killerbot on July 17, 2007, 08:02:42 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_wx284.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

The 17 July 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20070717_rev4273_win32.7z
  - Linux :
   http://prdownload.berlios.de/codeblocks/CB_20070717_rev4273_Ubuntu6.10+7.04_wx2.8.4.deb (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070717_rev4273_Debian4.0_wx2.8.4.deb (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070717_rev4273_suse100-102.wx28.i586.rpm (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070717_rev4273_fc4+5.i586.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 17 July 2007 build (4273) is out.
Post by: Grom on July 18, 2007, 06:13:18 am
I wont to have RC3 :cry:
Title: Re: The 17 July 2007 build (4273) is out.
Post by: kurapix on July 18, 2007, 11:12:01 am
Nice ... I feel that RC3 is not that far away (didn't mandrav said he was keeping the new debian dir? ;) ).

Kurapix
Title: Re: The 17 July 2007 build (4273) is out.
Post by: indigo0086 on July 18, 2007, 07:16:37 pm
Are there extra steps I need to do to get symbols for Boost libraries to show.  I can use them, but even when I try to recal variables I just declared they don't show up.
Title: Re: The 17 July 2007 build (4273) is out.
Post by: drrngrvy on July 18, 2007, 08:56:04 pm
I took a short break from reinstalling the debian packages of the nightlies for the last few weeks. Now I'm back I can't get them working: I'm told "Dependency is not satisfiable: libwxbase2.8-0" despite the fact that I've got libwxbase2.8-0 and libwxbase2.8-dev installed (I have version 2.8.1.1-0ubuntu4). Has nobody else had this problem?
Title: Re: The 17 July 2007 build (4273) is out.
Post by: darthdespotism on July 18, 2007, 09:19:55 pm
I think CB requires 2.8.4 if you want a 2.8.*
Title: Re: The 17 July 2007 build (4273) is out.
Post by: cstudent on July 18, 2007, 09:55:17 pm
I took a short break from reinstalling the debian packages of the nightlies for the last few weeks. Now I'm back I can't get them working: I'm told "Dependency is not satisfiable: libwxbase2.8-0" despite the fact that I've got libwxbase2.8-0 and libwxbase2.8-dev installed (I have version 2.8.1.1-0ubuntu4). Has nobody else had this problem?

The deb requires you to install wx2.8.4 using the wxWidgets repository. Read the wiki page (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Ubuntu) on how to update everything.
Title: Re: The 17 July 2007 build (4273) is out.
Post by: rickg22 on July 19, 2007, 03:10:24 am
I've got a problem with build 4278...

The code completion hints are back! :) But everytime i hover empty space, I get this annoying hint:

Quote
(const char*, int, int)
(const char*)
(int, const char*)
(const char*, const char*)
(int)
(const char*)

And it's making me mad!!!  :evil: Any idea of how to fix it?
Title: Re: The 17 July 2007 build (4273) is out.
Post by: kisoft on July 19, 2007, 08:13:22 am
I've got a problem with build 4278...

The code completion hints are back! :) But everytime i hover empty space, I get this annoying hint:

Quote
(const char*, int, int)
(const char*)
(int, const char*)
(const char*, const char*)
(int)
(const char*)

And it's making me mad!!!  :evil: Any idea of how to fix it?
I see another hint (see attach). Really annoying.


[attachment deleted by admin]
Title: Re: The 17 July 2007 build (4273) is out.
Post by: raph on July 19, 2007, 10:48:07 am
I've got a problem with build 4278...

The code completion hints are back! :) But everytime i hover empty space, I get this annoying hint:

Quote
(const char*, int, int)
(const char*)
(int, const char*)
(const char*, const char*)
(int)
(const char*)
Exactly the same here.
I temporarily disabled it, until it is fixed.

Some other issues:

[attachment deleted by admin]
Title: Re: The 17 July 2007 build (4273) is out.
Post by: dje on July 19, 2007, 11:08:29 am
Hi !

The same for me when I type
Code
if (

Dje
Title: Re: The 17 July 2007 build (4273) is out.
Post by: Wolf on July 19, 2007, 06:47:07 pm
Hello,
I simply opened my project, and as soon as my mouse was over a space, it showed the annoying hint everyone seems to be getting. I didn't wait at all on a space, it just displayed it right away. And now it is hiding part of this page. =P I even get two of them, but the second one disappears after a while. (yay! still turned it off)

Also, I noticed something strange. I don't think C::B parses the files as it should for code completion. Here's the folder architecture:
include
  SDL
    SDL.h
    SDL_video.h
    ...

#include <SDL/SDL.h>

What I see:
What I don't but should see:
It seems like it is recursive only for preprocessor symbols.
Hope I gave enough details.

-- Wolf --
Title: Re: The 17 July 2007 build (4273) is out.
Post by: rickg22 on July 19, 2007, 07:11:35 pm
so, how do you disable that popup hint?
Title: Re: The 17 July 2007 build (4273) is out.
Post by: MortenMacFly on July 19, 2007, 07:33:42 pm
so, how do you disable that popup hint?
Settings -> Editor -> Code Completion -> Tab "Code completion" -> deactivate "Display info when hovering mouse over a token".
With regards, Morten.
Ps.: BTW: now that I have compiled a more recent version of C::B this stroke me, too... quite annoying. :-(
Title: Re: The 17 July 2007 build (4273) is out.
Post by: foomaster on July 19, 2007, 09:49:47 pm
Hello,
I simply opened my project, and as soon as my mouse was over a space, it showed the annoying hint everyone seems to be getting. I didn't wait at all on a space, it just displayed it right away. And now it is hiding part of this page. =P I even get two of them, but the second one disappears after a while. (yay! still turned it off)

Also, I noticed something strange. I don't think C::B parses the files as it should for code completion. Here's the folder architecture:
include
  SDL
    SDL.h
    SDL_video.h
    ...

#include <SDL/SDL.h>

What I see:
  • variables/constants + functions + preprocessor symbols[SDL.h]
  • preprocessor symbols[files included by SDL.h]

What I don't but should see:
  • variables/constants + functions [files included by SDL.h]

It seems like it is recursive only for preprocessor symbols.
Hope I gave enough details.

-- Wolf --

There is something even stranger about the parser. I've been developing a small project (Hangman) + a small framework on top of SDL + STL for some time now, and I've been using Code::Blocks, because I do intend to make my program available on gcc-enabled os-es. Today I was using the build from 17th July, not 18th, so I'll speak about it. I've risen the question of cc's search depth and was ensured that it was recursive and only the "finding of files" was the problem. The parser has truly evolved this week, I'm impressed. But there are some illogical things about it. For example:
1) I use MSYS + MinGW as a compiler set (mingw being placed in the recommended %msys_root%/mingw dir)
2) My SDL headers are in the usual directory for a windows install (%msys_root%/include/SDL)
The bug (?)
Code
...
#include <SDL/SDL.h>
...
namespace Hangman {
...
   SDL_Surface* example = NULL;
... // load / create the surface
   Uint32 encodedColour = SDL_MapRGB(example->format, 0, 0xff, 0xff); // <===
...
}
Here we have all kinds of suggestions, but not format. Ok, I'm used to Kate's approach to "code completion", so it's not a problem to remember things. However, I'm failing to understand why the hell it doesn't have the whole list of suggestions. If it were a #define, it wouldn't be parsed at all (furthermore, I don't see it realized as a #define...). There are suggestions, so it IS parsed. Then, why not the whole list of members?

Bug (?) #2
The default "function" completion. Whenever (I don't know if it actually reproduces itself every single time, but it is reproducible this way) an opening bracket "(" is typed and there is no default argument list (that is, there is no function declared before that moment with the given name), a "default" parameter list is evoked. It is identical to to tool-tip "bug" list. That is why I think they are closely related. The problem is: this is truly annoying. If I type "...main(", the list is evoked. If I type "if (", "while (", or any other keyword (which makes me think the parser can't fully tell a keyword apart from identifier, let alone function/keyword) the same default function argument list is evoked.

Bug (?) #3
Local variables aren't truly "local". I mean, sometimes I have a local member-function variable called (e.g.) result. As far as I'm aware, this is neither c++, nor c keyword. Bah, this doesn't matter, as this occurs with any local variable. So, I have my variable in one function and then I use the same name in another (this happens even when they are in different files 0_o), it is auto-completed (in the list of suggestions). This gets even more interesting: scope seems to be a fierce adversary. I use heavily SDL_Color. This is a structure with four 8-bit integers, named r, g, b and unused. Well, I noticed that there was something strange with "unused", so I typed it without "m_clr." ... and guess what? It was in the list of suggested items. Truly amazing.

Well, I can't think of more weird things about Code::Blocks, but, hell, it's late and I'm supposed to be getting early this morning!

Cheers, and keep up the good work!
Title: Re: The 17 July 2007 build (4273) is out.
Post by: rhf on July 21, 2007, 12:55:02 am
so, how do you disable that popup hint?
Settings -> Editor -> Code Completion -> Tab "Code completion" -> deactivate "Display info when hovering mouse over a token".
With regards, Morten.
Ps.: BTW: now that I have compiled a more recent version of C::B this stroke me, too... quite annoying. :-(
I just downloaded the nightly build 4281 (Windows), and it has the same problem. Thank you for telling us how to disable it.
Before I saw this post, I tried Settings -> Editor -> Code Completion -> Tab "Code Completion" ->  activate "Disable code-completion".
Surprisingly, this did not fix the problem!  Every now and then when I scrolled with the vertical scroll button, the tip would re-appear.
Bummer.
Title: Re: The 17 July 2007 build (4273) is out.
Post by: killerbot on July 21, 2007, 10:52:47 am
nightly of 20 july should have some improvements in this area, please try it out to see if the problem persists