Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on November 10, 2006, 05:18:54 pm

Title: The 10 november 2006 build is out.
Post by: killerbot on November 10, 2006, 05:18:54 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 10 November 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20061110_rev3202_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20061110_rev3202_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20061110_rev3202_suse100+101.rpm
         http://prdownload.berlios.de/codeblocks/CB_20061110_rev3202_fc4+5.rpm


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 10 november 2006 build is out.
Post by: Belgabor on November 10, 2006, 05:54:54 pm
In the last few nightlies (not sure when it started) I have an issue with wxFlatNotebook. When opening a file and a new notebook page is created it starts to "overflow" too early. What I mean is that the leftmost page is scrolled out too early. As soon as I press the left arrow, it scrolls, the arrow gets deactivated and everything is as it should be.
Too early in my case means rougly when half of the available notebook tab space is filled.
If I'm not clear enough, just say so and I'll provide screenshots :)
Title: Re: The 10 november 2006 build is out.
Post by: cstudent on November 10, 2006, 07:58:10 pm
Ubuntu 6.10 (Edgy) build here (http://www.savefile.com/projects/1037211).
Title: Re: The 10 november 2006 build is out.
Post by: killerbot on November 10, 2006, 10:57:23 pm
In the last few nightlies (not sure when it started) I have an issue with wxFlatNotebook. When opening a file and a new notebook page is created it starts to "overflow" too early. What I mean is that the leftmost page is scrolled out too early. As soon as I press the left arrow, it scrolls, the arrow gets deactivated and everything is as it should be.
Too early in my case means rougly when half of the available notebook tab space is filled.
If I'm not clear enough, just say so and I'll provide screenshots :)
I have the feeling I have noticed this to.

I will notify eranif (unless he already sees this).
Title: Re: The 10 november 2006 build is out.
Post by: Russell on November 11, 2006, 12:32:30 am
Could anyone supply some freebsd builds? the ports collection contains 1.0rc2 :/
Title: Re: The 10 november 2006 build is out.
Post by: sethjackson on November 11, 2006, 02:18:01 am
Could anyone supply some freebsd builds? the ports collection contains 1.0rc2 :/

In the meantime you could build it yourself. ;)
Title: Re: The 10 november 2006 build is out.
Post by: SharkCZ on November 11, 2006, 10:41:56 am
This nightly build will be available soon in Fedora Extras for Fedora Core 5, 6 and Development.
Title: Re: The 10 november 2006 build is out.
Post by: kelo81 on November 11, 2006, 02:51:08 pm
Hello everybody, I found a little bug when deling with viltual folders, I'm sending you the steps to reproduce it:

- Create a viltual folder.
- Put some files inside it.
- Create another virtual folder.
- Move those files into the new virtual folder.
- Remove the older viltuar folder.
- Save the project.

And you'll see that the old virtual folder comes up again, it's impossible to delete it; the only workaround I found is to delete it manually from the XML file (*.cbp)

Title: Re: The 10 november 2006 build is out.
Post by: nzoltan on November 11, 2006, 06:37:27 pm
Hi, the Replace dialog is too small (linux, fedora)


[attachment deleted by admin]
Title: Re: The 10 november 2006 build is out.
Post by: squizzz on November 11, 2006, 07:09:15 pm
In the last few nightlies (not sure when it started) I have an issue with wxFlatNotebook. When opening a file and a new notebook page is created it starts to "overflow" too early. What I mean is that the leftmost page is scrolled out too early. As soon as I press the left arrow, it scrolls, the arrow gets deactivated and everything is as it should be.
Too early in my case means rougly when half of the available notebook tab space is filled.
If I'm not clear enough, just say so and I'll provide screenshots :)
I have the feeling I have noticed this to.

I will notify eranif (unless he already sees this).

It probably happened here:
Quote from: SVN log
Revision: 3174
Date: 12:05:51, 3 November 2006
* updated wxFlatNotebook to eranifs first revision in svn :-)

Title: Re: The 10 november 2006 build is out.
Post by: eranif on November 11, 2006, 08:55:00 pm
In the last few nightlies (not sure when it started) I have an issue with wxFlatNotebook. When opening a file and a new notebook page is created it starts to "overflow" too early. What I mean is that the leftmost page is scrolled out too early. As soon as I press the left arrow, it scrolls, the arrow gets deactivated and everything is as it should be.
Too early in my case means rougly when half of the available notebook tab space is filled.
If I'm not clear enough, just say so and I'll provide screenshots :)

Hi,

I cant seem to reproduce this using the current SVN head (using my demo).

Can you reproduce it (using the demo) using the latest revision? ? or provide me with a screenshot with the problem as you see it in C::B?
Eran
Title: Re: The 10 november 2006 build is out.
Post by: Belgabor on November 12, 2006, 12:33:28 am
Could you give me a link to a windows binary of the latest demo compiled against head please? My development environment uses wxWidgets cvs, so it probably won't compile cleanly for me.
Title: Re: The 10 november 2006 build is out.
Post by: Pecan on November 12, 2006, 02:33:07 am
Could you give me a link to a windows binary of the latest demo compiled against head please? My development environment uses wxWidgets cvs, so it probably won't compile cleanly for me.

Nightly Builds

http://forums.codeblocks.org/index.php?board=20.0
Title: Re: The 10 november 2006 build is out.
Post by: Belgabor on November 12, 2006, 03:15:26 am
I refered to eranifs wxFlatNotebook demo =)
Title: Re: The 10 november 2006 build is out.
Post by: oz on November 12, 2006, 08:40:12 am
Ubuntu 6.10 (Edgy) build here (http://www.savefile.com/projects/1037211).

I use this build on ubuntu edgy, and it said "incomplete entry on line 40, /etc/maincap" at startup, does any one know if it is my problem or somewhere else?
Title: Re: The 10 november 2006 build is out.
Post by: Brainfart on November 12, 2006, 03:18:26 pm
I got a strange problem with this build on WindowsXP: when I opened a project today, all my files are categorized after their absolute location on disk, beginning from the root drive. When when I disable "display folders as on disk" in projectree options, the files are listed with their absolute path in the projectmanager. The editor tabs also show the absolute path of the opened file. Despite this might be an a minor problem to, it makes code::blocks quite unhandy to use...
Yesterday, everything worked fine, even with this build...

Edit: This seems to happen when I added the wx.rc file which is on an completely different location on disk then my project files.
Maybe this is the way it should work, but if so, is their any way of adding an resource file to the project without this to happen?
Title: Re: The 10 november 2006 build is out.
Post by: hckr83 on November 12, 2006, 05:10:03 pm
omg! I love whoever invented nightly builds!!
I just downloaded this and I LOVE IT!! so much easier to use and less buggy
you should release this as an RC3 even if it's just to get a better release out there!
this owns RC2 in the face with a rusty shovel!

edit:
only thing I can see wrong with it is how .asm files always go under other by default and
how even though code::blocks has the syntax highlighting for asm files when you try opening them in a project file it still says "this is an unknown filetype, would you like to open this in an external viewer or in code::blocks"
Title: Re: The 10 november 2006 build is out.
Post by: FALCO on November 12, 2006, 07:40:11 pm
is anyone working on code comletion (the cool popup under alt+space that shows all functions, variables, constants and stuff, begining with what you have already typed)?
Title: Re: The 10 november 2006 build is out.
Post by: paparazzi on November 12, 2006, 08:20:05 pm
Hi!

When trying to run the C::B on a machine where C::B have never been used before the following error message appears:

"Can not enumerate files in directory: 'C:\Documents and Settings\Andrew\Application Data\codeblocks/share/codeblocks/plugins' (error 3: the system can not find the file specified.)"

This bug does not manifests itself when upgrading from the Nov. 1 nightly build (the previous NB I was using).

Thanks.
Title: Re: The 10 november 2006 build is out.
Post by: hckr83 on November 12, 2006, 09:25:51 pm
Hi!

When trying to run the C::B on a machine where C::B have never been used before the following error message appears:

"Can not enumerate files in directory: 'C:\Documents and Settings\Andrew\Application Data\codeblocks/share/codeblocks/plugins' (error 3: the system can not find the file specified.)"

This bug does not manifests itself when upgrading from the Nov. 1 nightly build (the previous NB I was using).

Thanks.


hmmm [to developers:]in the nightly build does code::blocks automatically set it self up when you first run codeblocks.exe, or do you have to run some install program that people have forgot about
Title: Re: The 10 november 2006 build is out.
Post by: paparazzi on November 12, 2006, 09:44:27 pm
Hi!

Yet another problem has been discovered. Here it is, just do the following:

1. Run C::B and create a new wxSmith project.
2. Choose wxSmith -> Add Frame.
3. Click an arbitrary button on the Layout tab to add a new sizer to the form.
4. Press Ctrl+Z.

Application crashes at this point.

Happy bug fighting!
Andy.
Title: Re: The 10 november 2006 build is out.
Post by: artoj on November 12, 2006, 10:48:14 pm
I use this build on ubuntu edgy, and it said "incomplete entry on line 40, /etc/maincap" at startup, does any one know if it is my problem or somewhere else?

You have have a problem in that file. If I recall correctly it's actually wxWidgets that creates that error because I had the same problem with FileZilla 3 (which also uses wxWidgets).

I had a line something like this in /etc/mailcap (in the error line):

Code
application/x-emerald-theme
        ext: emerald

I removed those two lines and the error disappeared. Remember to backup the file before deleting anything from it though.
Title: Re: The 10 november 2006 build is out.
Post by: nzoltan on November 12, 2006, 11:30:25 pm
When I try change editor tabs order (drag&drop), the whole GNOME & C::B is freeze. Only way to escape that CTRL+ALT+F1 and "killall codeblocks". This is a permanent bug. Linux, fedora.

:cry:
Title: Re: The 10 november 2006 build is out.
Post by: gjsmo on November 13, 2006, 12:50:01 am
 :?
Small bug:After I run a program, the "Run" toolbar button stays depressed. Also, artoj is right, the menu and toolbar images do not change from "disabled" to "enabled" and back. It would be nice if this was fixed, as artoj has already given fixes for it as of January 10th.
Title: Re: The 10 november 2006 build is out.
Post by: artoj on November 13, 2006, 09:20:02 am
It would be nice if this was fixed, as artoj has already given fixes for it as of January 10th.

Huh? I _reported_ the bug on 10th of January. The reason why this isn't fixed yet is because we don't know what the specific problem with these toolbar images is. And the menu images... well, I think we'll have to live with that problem a long time:

Screenshot 1 (http://ajonsson.kapsi.fi/pub/codeblocks/debug/cb-vista-project-mnu.png)

Screenshot 2 (http://ajonsson.kapsi.fi/pub/codeblocks/debug/cb-vista-build-mnu.png)

(And yes, the toolbars work correctly on those images)

Title: Re: The 10 november 2006 build is out.
Post by: kurapix on November 13, 2006, 09:55:15 am
I don't know if someone already post about this HUGE bug :
1 - I opened my main.c file.
2 - I close it.
3 - I opened the project where the main.c was.
4 - OMG empty file.
Code::Blocks erased my main.c contents wow ... luckily it was a small stuff.

It was on Ubuntu 6.10 with cstudent package.

Kurapix
Title: Re: The 10 november 2006 build is out.
Post by: killerbot on November 13, 2006, 10:21:39 am
I don't know if someone already post about this HUGE bug :
1 - I opened my main.c file.
2 - I close it.
3 - I opened the project where the main.c was.
4 - OMG empty file.
Code::Blocks erased my main.c contents wow ... luckily it was a small stuff.

It was on Ubuntu 6.10 with cstudent package.

Kurapix

did you type in any non ansi characters ?
then you need to set your encoding correctly !!!
Title: Re: The 10 november 2006 build is out.
Post by: kurapix on November 13, 2006, 10:31:51 am
No i type only letters, no specials characters but { } [ ]  :lol: . By The Way how do you change the encoding?
In the first step my main.c is not empty.

Kurapix 
Title: Re: The 10 november 2006 build is out.
Post by: rjmyst3 on November 13, 2006, 01:04:02 pm
When I try change editor tabs order (drag&drop), the whole GNOME & C::B is freeze. Only way to escape that CTRL+ALT+F1 and "killall codeblocks". This is a permanent bug. Linux, fedora.

I have also had this when dragging tabs in wxFlatNotebook in a different application on Linux (Ubuntu 6.06 at the time). I think it is an intermittent flatnotebook bug. Sometimes dragging works, but it is easy to get stuck where gnome thinks you're still dragging something where you're not, and there is no way to let go.
Title: Re: The 10 november 2006 build is out.
Post by: Pecan on November 13, 2006, 01:08:53 pm
This is a wxWidgets to GTK communications bug in drag&drop.
Not much CodeBlocks can do about it except turn off drag&drop on linux.

Not a good choice.

Puts CB between a rock & a hard place
Title: Re: The 10 november 2006 build is out.
Post by: rjmyst3 on November 13, 2006, 01:51:36 pm
Quote
This is a wxWidgets to GTK communications bug in drag&drop.
This may be true, but I've only seen this on wxFlatNotebook - not on wxScintilla, for example. And I remember reading about a change to wxScintilla to improve drag&drop handling to prevent this in GTK.

I don't know much about coding drag&drop, but perhaps the handling could be improved in wxFlatNotebook?
Title: Re: The 10 november 2006 build is out.
Post by: dje on November 13, 2006, 03:15:45 pm
Hi !!

I found a (small) GUI bug.
- Activate Script console (View->Script console must be checked)
- In Messages notebook, right-click on Script console and click on Show/hide->Script console
- Right-click on any of the messages tab, Script console is not checked.
- Click on View menu, Script console is checked. The first click on it does nothing, the second re-enable it.

Dje
Title: Re: The 10 november 2006 build is out.
Post by: killerbot on November 13, 2006, 05:06:45 pm
Hi !!

I found a (small) GUI bug.
- Activate Script console (View->Script console must be checked)
- In Messages notebook, right-click on Script console and click on Show/hide->Script console
- Right-click on any of the messages tab, Script console is not checked.
- Click on View menu, Script console is checked. The first click on it does nothing, the second re-enable it.

Dje

thanks for the feedback, could you please file this bug report at berlios project page.

This applies to all other people who are providing us with bug reports, since in the forum they will get lost, but on the bug tracker on the project page, they will survive and get their needed attention.
Thanks to everyone !!!
Title: Re: The 10 november 2006 build is out.
Post by: dje on November 13, 2006, 05:18:58 pm
That's what I thought and did just after...
Bug ID 009438 !

Dje
Title: Re: The 10 november 2006 build is out.
Post by: nzoltan on November 13, 2006, 06:12:44 pm
This is a wxWidgets to GTK communications bug in drag&drop.
Not much CodeBlocks can do about it except turn off drag&drop on linux.

How can I disable drag&drop in GNOME? Please help me...  :(
Title: Re: The 10 november 2006 build is out.
Post by: Pecan on November 13, 2006, 08:45:20 pm
This is a wxWidgets to GTK communications bug in drag&drop.
Not much CodeBlocks can do about it except turn off drag&drop on linux.

How can I disable drag&drop in GNOME? Please help me...  :(

You would compile wxWidgets yourself and set the define in setup.h to 0
Code
#define wxUSE_DRAG_AND_DROP 1

This might cause other side effects.

If its just wxFlatNotebook thats the problem, you could compile it with the wxFNB_NODRAG flag.

Title: Re: The 10 november 2006 build is out.
Post by: nzoltan on November 13, 2006, 09:11:57 pm
If its just wxFlatNotebook thats the problem, you could compile it with the wxFNB_NODRAG flag.

<OFF>
I never develop wWindows before
</OFF>

Thanks. I found the wxFNB_NODRAG but have a magic value (0x80). Therefore if I comment out lines between 1300 and 1308 in wxFlatNotebook.cpp (codeblocks source tree), it will enough?
Title: Re: The 10 november 2006 build is out.
Post by: rjmyst3 on November 13, 2006, 09:23:39 pm
Quote
Thanks. I found the wxFNB_NODRAG but have a magic value (0x80). Therefore if I comment out lines between 1300 and 1308 in wxFlatNotebook.cpp (codeblocks source tree), it will enough?

no, you'd need to find all of the wxFlatNotebook constructors in the code::blocks source code, and pass the wxFNB_NODRAG flag in them.
example,

before:
Code
wxFlatNotebook* m_editor = new wxFlatNotebook( this, -1, wxDefaultPosition, wxDefaultSize, wxFNB_SMART_TABS | wxFNB_VC8 ); 

after:
Code
wxFlatNotebook* m_editor = new wxFlatNotebook( this, -1, wxDefaultPosition, wxDefaultSize, wxFNB_SMART_TABS | wxFNB_VC8 | wxFNB_NODRAG ); 

Then, recompile code::blocks
Title: Re: The 10 november 2006 build is out.
Post by: nzoltan on November 13, 2006, 11:28:04 pm
no, you'd need to find all of the wxFlatNotebook constructors in the code::blocks source code, and pass the wxFNB_NODRAG flag in them.
example,

Thanks, success! C::B is now stable.  :)
Title: Re: The 10 november 2006 build is out.
Post by: gjsmo on November 14, 2006, 01:29:55 am
I use this build on ubuntu edgy, and it said "incomplete entry on line 40, /etc/maincap" at startup, does any one know if it is my problem or somewhere else?

You have have a problem in that file. If I recall correctly it's actually wxWidgets that creates that error because I had the same problem with FileZilla 3 (which also uses wxWidgets).

I had a line something like this in /etc/mailcap (in the error line):

Code
application/x-emerald-theme
        ext: emerald

I removed those two lines and the error disappeared. Remember to backup the file before deleting anything from it though.
Never delete anything - comment it out by adding a # (hash mark) at the beginning of the line
Title: Re: The 10 november 2006 build is out.
Post by: gjsmo on November 14, 2006, 01:35:56 am
It would be nice if this was fixed, as artoj has already given fixes for it as of January 10th.

Huh? I _reported_ the bug on 10th of January. The reason why this isn't fixed yet is because we don't know what the specific problem with these toolbar images is. And the menu images... well, I think we'll have to live with that problem a long time:

Screenshot 1 (http://ajonsson.kapsi.fi/pub/codeblocks/debug/cb-vista-project-mnu.png)

Screenshot 2 (http://ajonsson.kapsi.fi/pub/codeblocks/debug/cb-vista-build-mnu.png)

(And yes, the toolbars work correctly on those images)


Could someone with proper rights to the SF.net project page close these bugs because they are now fixed:

1401383 (http://sourceforge.net/tracker/index.php?func=detail&aid=1401383&group_id=126998&atid=707416) 
1401376 (http://sourceforge.net/tracker/index.php?func=detail&aid=1401376&group_id=126998&atid=707416)

Thanks for killerbot for creating the patches (and devs for applying them). :)
Is not this saying that the bugs are fixed?
Title: Re: The 10 november 2006 build is out.
Post by: artoj on November 14, 2006, 09:23:53 am
Huh? I _reported_ the bug on 10th of January. The reason why this isn't fixed yet is because we don't know what the specific problem with these toolbar images is. And the menu images... well, I think we'll have to live with that problem a long time:

Screenshot 1 (http://ajonsson.kapsi.fi/pub/codeblocks/debug/cb-vista-project-mnu.png)

Screenshot 2 (http://ajonsson.kapsi.fi/pub/codeblocks/debug/cb-vista-build-mnu.png)

(And yes, the toolbars work correctly on those images)

These images are on Windows Vista which correctly shows the toolbar images. The problem happens on XP.

Quote
Could someone with proper rights to the SF.net project page close these bugs because they are now fixed:

1401383 (http://sourceforge.net/tracker/index.php?func=detail&aid=1401383&group_id=126998&atid=707416) 
1401376 (http://sourceforge.net/tracker/index.php?func=detail&aid=1401376&group_id=126998&atid=707416)

Thanks for killerbot for creating the patches (and devs for applying them). :)
Is not this saying that the bugs are fixed?

Those 2 were different bugs (nothing to do with the toolbars).