Author Topic: The 26 November 2008 build (5322) is out.  (Read 85738 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 26 November 2008 build (5322) is out.
« Reply #30 on: December 19, 2008, 03:04:20 pm »
The way it's done in C::B is the way recommended by wxWidgets:
Quote
wxFile(const char* filename, wxFile::OpenMode mode = wxFile::read)

Opens a file with the given mode. As there is no way to return whether the operation was successful or not from the constructor you should test the return value of IsOpened to check that it didn't fail.
quote from wxWidgets doc

Offline Wavesonics

  • Multiple posting newcomer
  • *
  • Posts: 43
Re: The 26 November 2008 build (5322) is out.
« Reply #31 on: December 20, 2008, 07:47:53 pm »
Quote
Has anyone noticed this bug:

When using the symbol browser for a project, it seems like the entire program loses focus, and I have to switch to some other running program and then back to C::B for it to become interactive again.

It might not *just* be when using the symbol browser, but thats when I've noticed it so far.

I've seen this on Vista64 and XP32, no one else has seen this?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 26 November 2008 build (5322) is out.
« Reply #32 on: December 21, 2008, 02:38:07 pm »
Has anyone noticed this bug:

When using the symbol browser for a project, it seems like the entire program loses focus, and I have to switch to some other running program and then back to C::B for it to become interactive again.

It might not *just* be when using the symbol browser, but thats when I've noticed it so far.

Also, another small one, when using the symbol browser, when you click on a symbol to jump to it, it jumps to it just fine, but it scrolls the symbol browsers all the way to the bottom, kinda annoying.

HI, Wavesonics
I test it again about the "symbol browsers" problem you stated. I found that sometimes when I click an entry on the symbol browser list. The cursor will go to the right line, but the scrollbar of the symbol browser will move to the bottom of the list. This bug happen randomly, not every time I use the "symbol browser".
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 26 November 2008 build (5322) is out.
« Reply #33 on: December 21, 2008, 11:38:20 pm »
I will not be at home the next days (until saturday).

So I updated the packages on my server to revision 5341 5344 this night.

I know it's a little bit early, but I will most likely not have much time to read and post in the forum until I'm back, so

I want to wish all users and all devs a
merry christmas
« Last Edit: December 22, 2008, 09:27:51 am by jens »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 26 November 2008 build (5322) is out.
« Reply #34 on: December 22, 2008, 02:57:17 am »
Thanks!
Merry Christmas to code::blocks's users and developers!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Kalith

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: The 26 November 2008 build (5322) is out.
« Reply #35 on: December 26, 2008, 02:16:20 am »
Merry Christmas to all of you ^^
(and don't forget our present : the new nightly :P)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 26 November 2008 build (5322) is out.
« Reply #36 on: December 26, 2008, 07:57:58 pm »
Small problem with last svn 5363.
In newly modified compilergcc.cpp, lines 3363 and 3364 _ is used.
But this makes a problem with xgettext when extracting chains to be translated. Apparently xgettext find non-ansi characters then no .pot file is created.
If I use _T instead, no more problems. Effectively, those two strings have not to be translated I think.
May be an other source of problem : this file is detected as "Ansi as UTF-8" by my text editor, though all other .cpp or .h files are only seen as Ansi.

And Merry Christmas too.

gd_on
« Last Edit: December 26, 2008, 08:08:21 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).

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 26 November 2008 build (5322) is out.
« Reply #37 on: December 26, 2008, 09:30:41 pm »
you are right, no need to translate. So _T() is sufficient.

The ansi/utf8 : no sure about that yet, on windows I got bitten by it. But on linux it seemed to work ok. Will have to lookaround a bit longer...

Offline jmccay

  • Almost regular
  • **
  • Posts: 202
Re: The 26 November 2008 build (5322) is out.
« Reply #38 on: January 05, 2009, 03:28:41 am »
I have not been following the nightly builds closely.  Is this forum still the only place to get the latest nightly build for WinXP, and is this still the newest?

jmccay
OS: WinXP, Win98 SE, & sometimes Linux

a little light reading from the wxWidgets 2.6.2 readme: A detailed 2000-page reference manual is supplied in HTML, PDF and Windows Help form: see the docs hierarchy.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 26 November 2008 build (5322) is out.
« Reply #39 on: January 05, 2009, 07:15:44 am »
yes, still in this forum, an new one will be coming  today or tomorrow ;-)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 26 November 2008 build (5322) is out.
« Reply #40 on: January 05, 2009, 07:50:02 am »
yes, still in this forum, an new one will be coming  today or tomorrow ;-)
HI, killerbot. Thanks for your effort on this.

My question is: If I build the latest svn codeblocks on my computer. The output file are in the folder: like "F:\cb_svn\src\output", can I manually copy these files to over write the last SVN version?

If it works, how to deal with plugins? It seems there are some conflicts on the wxWidgets version of these files?

Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 26 November 2008 build (5322) is out.
« Reply #41 on: January 05, 2009, 08:28:27 am »
My question is: If I build the latest svn codeblocks on my computer. The output file are in the folder: like "F:\cb_svn\src\output", can I manually copy these files to over write the last SVN version?

You can, but if you have plugins installed that are build against different versions of C::B it will most likely not work (the plugins will not be loaded).
You have to rebuild them also.

I use only standard C::B on my windows-box and before I copy a new version, I completely remove all contents of my C::B folder under "Programm files".

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 26 November 2008 build (5322) is out.
« Reply #42 on: January 05, 2009, 09:00:50 am »
OK, I understand.
Thanks.
I don't even install  any unofficial  plugins. So, It is reasonably to totally delete the previous version files and paste the latest ones.

By the way, Your "windows-box" means a "virtual windows system" on your linux? Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 26 November 2008 build (5322) is out.
« Reply #43 on: January 05, 2009, 11:14:13 am »
By the way, Your "windows-box" means a "virtual windows system" on your linux? Thanks.

Yes and no.

I use w2k in a kvm-virtual-system under linux, but also have win xp on one partition on my laptop (I need it for work) and at work.
I also have a virtual kubuntu-system, to test 32-bit C::B with kde (I don't use kde anymore on my normal system).
On all systzems I have C::B for work and for testing purposes.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 26 November 2008 build (5322) is out.
« Reply #44 on: January 05, 2009, 03:23:02 pm »
I just clear the folder d:/program files/codeblocks , and copy the latest SVN build by myself. It works.
It seems that some Contrib Plugins like " wxSmith related DLL" were not included.
I'm not sure how to integrate the old Contrib Plugins such as " wxsmith.dll " "wxSmithContribItems.dll" ...

If I didn't delete any files in the d:/program files /codeblocks, and just paste the new files to over write the old ones(I want to keep the old Contrib Plugins), then It crashed when starting. I guess that some Contrib Plugins conflicts with codeblocks.exe I built.
« Last Edit: January 05, 2009, 03:34:52 pm by ollydbg »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.