Author Topic: The 12 december 2006 build is out.  (Read 16771 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 12 december 2006 build is out.
« on: December 12, 2006, 08:00:37 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 12 December 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20061212_rev3369_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20061212_rev3369_Ubuntu6.06.deb (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20061212_rev3369_suse100+101.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20061212_rev3369_fc4+5.rpm (not yet)


Resolved Fixed:

  • fixed bugs in static and dynamic lib wizards complaining unable to set compiler flags

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)
  • menu items with icon not correctly aligned (since wx263)


Offline merlin3K

  • Single posting newcomer
  • *
  • Posts: 2
Re: The 12 december 2006 build is out.
« Reply #1 on: December 13, 2006, 01:23:59 am »
Hi.. I've just started using nightly builds (I've been working with old RC2) and I'm happy to see how great your work is going.

One thing I noticed and couldn't find anything in the foruns about it was that when you fold a comment and then delete the "/*" piece, it should (at least and don't see other way) unfold. But it don't then we can't access to that comments anymore except the first line. Other thing is when I move my mouse over codeblocks a bit, my cpu usage goes up to 93~100%, why is that?

One suggestion (more like a request), is it possible to allow dragging windows like the watches window, to the same tab place as projects, symbols... like it was in RC2. I found it easier to work that way.

Anyway thanks for Code::Blocks and keep up the good work.


Edit:

Same goes for folded functions, if you delete the open bracket. One thing I noticed both in the folded comments and functions is that if you delete thee "{" or the "/*" and then select the blank line below and press backspace it will show the last line of the commented text/function.


Edit:

Another thing is, GDB crashes everytimes I try to use the "watch *this" option.
« Last Edit: December 13, 2006, 12:10:50 pm by merlin3K »

JaixBly

  • Guest
Re: The 12 december 2006 build is out.
« Reply #2 on: December 13, 2006, 09:38:11 am »
Still no bug-fix for the ReactOS C::B backend? Do you have a timeframe for that bug?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12 december 2006 build is out.
« Reply #3 on: December 13, 2006, 11:47:33 am »
Still no bug-fix for the ReactOS C::B backend? Do you have a timeframe for that bug?
Well... what do you mean? I know nothing about it?!
With regards, Morten.
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

Encryptor

  • Guest
Re: The 12 december 2006 build is out.
« Reply #4 on: December 13, 2006, 02:15:47 pm »
Hi all!

It seems I cannot start Code::Blocks on Linux anymore. It worked before I rebooted. Now all I get is the splash screen, which doesn't go away even after 10 minutes..
I am using Ubuntu Linux Edgy.
Code
$ uname -a
Linux home-desktop 2.6.17-10-generic #2 SMP Fri Oct 13 15:34:39 UTC 2006 x86_64 GNU/Linux
Codeblocks version : 3374 SVN.  3371 didn't start either after the reboot.
wxWidgets version 2.6.3 (monolithic unicode).
No error is shown in the shell.
I've done a strace() and (after a while) it keeps displaying these lines:
Code
$strace ./codeblocks
[...]
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN, revents=POLLIN}], 2, 0) = 1
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN, revents=POLLIN}], 2, 0) = 1
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN, revents=POLLIN}], 2, 0) = 1
write(5, "\24\0\6\0f\4\300\2=\1\0\0\6\0\0\0\0\0\0\0\377\377\377\377"..., 24) = 24
read(5, "p\0\243\v\1\0\300\2-\0@\3\1\0\0\0\220Jc|\217Jc|L\367T\0"..., 32) = 32
read(5, 0x7fffa6ac4640, 32)             = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(5, "\1 \244\v\1\0\0\0\6\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0Q\252"..., 32) = 32
read(5, "\0\0\0\0", 4)                  = 4
write(5, "\24\0\6\0f\4\300\2\350\0\0\0\4\0\0\0\0\0\0\0\377\377\377"..., 24) = 24
read(5, 0x7fffa6ac46c0, 32)             = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(5, "\1 \245\v\3\0\0\0\4\0\0\0\0\0\0\0\3\0\0\0\0\0\0\0Q\252"..., 32) = 32
read(5, "\25\1\0\0N\1\0\0J\1\0\0", 12)  = 12
futex(0x6d8330, FUTEX_WAKE, 1)          = 1
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
write(5, "\24\0\6\0f\4\300\2\350\0\0\0\4\0\0\0\0\0\0\0\377\377\377"..., 24) = 24
read(5, 0x7fffa6ac46c0, 32)             = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(5, "\1 \246\v\3\0\0\0\4\0\0\0\0\0\0\0\3\0\0\0\0\0\0\0Q\252"..., 32) = 32
read(5, "\25\1\0\0N\1\0\0J\1\0\0", 12)  = 12
futex(0x6d8330, FUTEX_WAKE, 1)          = 1
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
brk(0x147c000)                          = 0x147c000
brk(0x1473000)                          = 0x1473000
brk(0x1470000)                          = 0x1470000
write(5, "\200\2\5\0\0\0\300\2\3\0\300\2\0\0\0\0\0\0\0\0\2\377\4"..., 628) = 628
ioctl(5, FIONREAD, [0])                 = 0
futex(0x6d8330, FUTEX_WAKE, 1)          = 1
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
writev(5, [{"5\30\4\0\202\4\300\2t\0\300\2\270\1\331\0\227\4\5\0\203"..., 16236}, {"\0\0U\0\0\0V\0\0\200\"\1\0\0U\0\0\200\"\1\0\0V\0\0\200"..., 3600}], 2) = 19836
write(5, "\227\7\2\0\277\4\300\2\227\7\2\0\300\4\300\0026\4\2\0\276"..., 2652) = 2652
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
write(5, "\2\7\4\0t\0\300\2\0@\0\0e\4\300\2\2\4\4\0n\0\300\2\0@\0"..., 32) = 32
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 902) = 0
[...]
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 1000) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 1000) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 3) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 1000) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 1000) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 1000) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 1000) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 1000) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll( <unfinished ...>

Any ideas what is happening? Is there anything else you need in order to identify the problem?

Thanks in advance!
« Last Edit: December 13, 2006, 02:18:22 pm by Encryptor »

Offline fiammy

  • Multiple posting newcomer
  • *
  • Posts: 46
    • Nebulagame
Re: The 12 december 2006 build is out.
« Reply #5 on: December 13, 2006, 03:04:38 pm »
You say that the former version doesn't work either after rebooting. Are you sure you didn't do any changes to your machine that came into effect only after you rebooted?

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 12 december 2006 build is out.
« Reply #6 on: December 13, 2006, 04:01:47 pm »
Problem with translation file.
It seems that with this 3369 build, codeblocks.mo file is no more recognized.
Until now, I had this file in my main codeblocks directory and my CodeBlocks interface was in french.
I tried to put it in share/... as described in the wiki, but no success.
It was OK with the build 3364, the last one I tried (and with many others before...).
My OS : Win2000, SP4.

Anyway, Thanks.

PS : Probably an important information. I'm no more an administrator of this PC (my company made this changement this morning  :(). Could it be the reason of the problem ? Other information : I tried this build on an other PC where I'm still administrator :D. Here, it works : menus are in french...
« Last Edit: December 13, 2006, 05:17:52 pm by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Encryptor

  • Guest
Re: The 12 december 2006 build is out.
« Reply #7 on: December 13, 2006, 11:42:21 pm »
Except the standard Ubuntu Update using Adept, I didn't do anything special with the machine.
Something must have changed after the reboot, but the question is: if something changed indeed, and Codeblocks doesn't like it, why isn't it displaying an error, a warning or something.. ?
With the tiny bit of knowledge that I have, from reading the strace log, I suspect Codeblocks is waiting for some kind of resource and it's not getting access to it..
Could somebody else take a look at the strace log?

Thanks!

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 12 december 2006 build is out.
« Reply #8 on: December 13, 2006, 11:52:45 pm »
Problem with translation file.
It seems that with this 3369 build, codeblocks.mo file is no more recognized.
Until now, I had this file in my main codeblocks directory and my CodeBlocks interface was in french.
I tried to put it in share/... as described in the wiki, but no success.
It was OK with the build 3364, the last one I tried (and with many others before...).
My OS : Win2000, SP4.

Anyway, Thanks.

PS : Probably an important information. I'm no more an administrator of this PC (my company made this changement this morning  :(). Could it be the reason of the problem ? Other information : I tried this build on an other PC where I'm still administrator :D. Here, it works : menus are in french...
no idea, but retry with your rev 3364, if it fails in there also, then it might be related to no longer admin rights. Well the fact it works on the other machine with admin rights seems to proof your assumption.

i have no idea      how that translation works, but maybe CB wants to read/write in an area where it is not allowed. Who knows how those translations work ??

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12 december 2006 build is out.
« Reply #9 on: December 14, 2006, 12:14:23 am »
i have no idea how that translation works, but maybe CB wants to read/write in an area where it is not allowed.
I *could* also be that you had copied the files as administrator and they are not accessible by a default user. This happened to me with another software in that past and was hard to find out. I hadn't the right to *read* (not only write!) a plugin DLL I had copied to this folder as admin due to the file permissions. The result was that the mother application suddenly crashed during initialisation... :( This will especially happen if you have turned off the file permission inheritance for some folders as I did... ;-) Could you (gd_on) verify that you can copy (maybe even move) the C::B files into another folder?

With regards, Morten.
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 Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: The 12 december 2006 build is out.
« Reply #10 on: December 14, 2006, 12:21:49 am »
Still no bug-fix for the ReactOS C::B backend? Do you have a timeframe for that bug?

Are you talking about this, it is in no way related to the CB team.

JaixBly

  • Guest
Re: The 12 december 2006 build is out.
« Reply #11 on: December 14, 2006, 10:12:12 am »
Still no bug-fix for the ReactOS C::B backend? Do you have a timeframe for that bug?

Are you talking about this, it is in no way related to the CB team.
Yepp, if we get this working, C::B will probably be our official IDE.
/JaixBly
Växjö, Sweden

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 12 december 2006 build is out.
« Reply #12 on: December 14, 2006, 10:21:47 am »
i have no idea      how that translation works, but maybe CB wants to read/write in an area where it is not allowed. Who knows how those translations work ??
Text inside _() is translated. _() is a macro that expands to a wxWidgets function whic calls gettext. The latter reads a .mo file according to the language settings if it can (to find a replacement), and otherwise returns the original string.

There's no registry hacking involved, nor any file accesses outside locations which should be accessible by the application normally, nor any other evil stuff.

Martin probably got it right. Probably the files belong to Administrator and are not user-readable.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 12 december 2006 build is out.
« Reply #13 on: December 14, 2006, 10:56:43 am »
About translation usage :
1) I have this problem only with Windows 2000. I tried on XP on two differents accounts, one with administrator privileges, one as a standard user, without any problems.
2) I tried to modify the read/write access of the differents files (through an other Administrator account), set me as the proprietary of the files, gave me a full control... Menus were always in english under my user account. (but appear in french under the administrator account, but I can't use this account for my standard activity for security reasons in my company)
3) Then I tried to copy, move codeblock folder elsewhere. Copy was good, worked well, but menus always in english.
4) I uninstalled codeblocks, and reinstall it under my standard account. I use the intaller CodeBlocks_with_MinGW_Setup.exe provided by bigbug (http://forums.codeblocks.org/index.php?topic=3225.msg34340#msg34340). I added the .mo file in this new install. CodeBlocks works well but menus are still in English. That's certainly proves that this problem is not linked to a specific nightly distribution (I first though it was with that nightly). If I update with the last nightly (after erasing files to be sure that it's as a new install), menus are always in english. If I look in the advanced properties of each file, I'm the proprietary and have (normally) a full control on those files. Really strange  :( :(.
It really looks as if, I can have localized menus, only if I am an Administrator on Windows 2000. (as I told before, no problems with XP).

gd
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12 december 2006 build is out.
« Reply #14 on: December 14, 2006, 06:03:41 pm »
Still no bug-fix for the ReactOS C::B backend? Do you have a timeframe for that bug?
Are you talking about this, it is in no way related to the CB team.
The source-code of a "C::B workspace creation tool"?!
Well... would someone enlighten me about what error we are talking here?! Am I missing something?
With regards, Morten.
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 Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: The 12 december 2006 build is out.
« Reply #15 on: December 14, 2006, 07:22:16 pm »
It looks like the build system for ReactOS and they have a backend the generates CB project and workspace files.  I guess it broken, but without a bug report we don't even know what's wrong.

JaixBly

  • Guest
Re: The 12 december 2006 build is out.
« Reply #16 on: December 14, 2006, 09:06:41 pm »
It looks like the build system for ReactOS and they have a backend the generates CB project and workspace files.  I guess it broken, but without a bug report we don't even know what's wrong.
Yiannis and ROS dev Christoph_VW is working on fixing this stuff, it's a function that's missing in C::B if I have understood it correct.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 12 december 2006 build is out.
« Reply #17 on: December 15, 2006, 08:29:07 am »
About the translation problem (sorry the other subject in this post!) :
I think I understand the problem now. It's not the .mo file which is a problem but the default.conf (where menus are kept obviously) and the other files located in my profile. When Codeblocks was first installed, I was an administrator. When I installed the .mo file, I was already a standard user. Obviously, I had only read rights on those files and codeblocks was then unable to reset them. But after setting me as a proprietary of those files (with the help of an administrator!!), deleting them and restarting codeblocks which recreated them, everything is good now. :P :P

gd
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).