Author Topic: The 12 October 2008 build (5268) is out.  (Read 39934 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 12 October 2008 build (5268) is out.
« on: October 12, 2008, 06:17:05 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.

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx288.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc421.7z

The 12 October 2008 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20081012_rev5268_win32.7z
  - Linux :
   none

Resolved Fixed:

  • fixed crash-candidates: conversion to multibyte-string fails in some rare cases and crashes C::B if result is passed to c/c++-functions
  • fixed bug in tokenizer related to function arguments with nested c-style comments
  • wxSmith: updated wxPropGrid from 1.2.10 to 1.2.12 (for wx28 compatibility)
  • pending breakpoints can now be removed after starting debug-session
  • fixed an issue that causes progressbar to stay always on top when adding files in linux via projects context menu
  • fixed a problem with accessing infopanes correctly after moving or toggling them
  • HexEditor: Added editor for stored expressions
  • wxSmith:
    * Added missing size events to some base items (not all items updated)
    * Added "Advanced" category on the palette - it will be used for more complex items available inside wxWidgets
    * Added following items provided by rcoll:
    - wxSingleInstanceChecker
    - wxSashWindow
    - wxSashLayoutWindow
    - wxStopWatch
    - wxSymbolPickerDlg
    - wxGLCanvas (not yet enabled since it causes stability problems on gtk)
  • HexEditor (expressions):
    * Switched memory accessing operator from "<dataType>( <offset> )" to "<dataType>[ <offset> ]"
    * added alternative to '@' as a string 'cur'
  • wxSmith: Updated (added) missing events to wxCheckListBox (derived from wxListBox)
  • fixed a problem when disabling a plugin that uses two infopanes, at least one of them was not deleted, also fixing a wxFlatNotebook bug, if the last two notebooks get deleted and the last had the focus before
  • Valgrind plugin: fixed a crash, when plugin was disabled
  • update.bat: supress warnings about non-existing files, if UI resources are compressed the first time
  • Removed: Unnecessary files from wxPropertyGrid. Please do not put them in C::B repository
  • ThreadSearch plugin: fixed a bug that causes a crash on linux (maybe also on win), when ThreadSearch uses Messages notebook and was toggled off and then on again
  • Added "--file=foo.cpp[:line]" option so a file can be opened and, optionally, jump to a specific line
  • wxSmith: Fixed bug in font property generating wrong code when relative size was used
  • Patch #2570 to fix bug #10775, "GotoLine()" now works correctly, even if parts of the code are folded. Thanks to XayC
  • wxSmith:
    * Enabled wxGLCanvas (setting custom context not available yet)
    * Changed some code to use same naming convention
  • pumped wxScintilla component to v1.71.1, pumped scintilla component to v1.7.6
  • Fixes to make new Scintilla test-branch build on Linux (with cbp and autotools) and to remove some warnings
  • todo list plugin: made todo types configurable
  • Patch for (wx)scintilla to have more colourful highlight-capabilities with indicators, patch for Highlight occurences to use this
  • Adding incremental search as contrib-plugin
  • several updates and fixes on the initial IncrementalSearch

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)


Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 12 October 2008 build (5268) is out.
« Reply #1 on: October 12, 2008, 06:51:20 pm »
Would be grate to have some updater plugin in code blocks.
gcc+winXP+suse.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 12 October 2008 build (5268) is out.
« Reply #2 on: October 12, 2008, 07:07:22 pm »
Strangely, the corrections I proposed to be able to translate the menu File/Import project does not seem to work on your 5268 version, thought, I verified, it has been applied in svn, and it works on my own build (5269), correctly updated from svn !
Others corrections works as in my previous builds.

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 SR

  • Multiple posting newcomer
  • *
  • Posts: 22
    • My blog
Re: The 12 October 2008 build (5268) is out.
« Reply #3 on: October 12, 2008, 07:08:20 pm »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 12 October 2008 build (5268) is out.
« Reply #4 on: October 12, 2008, 09:36:23 pm »
Sources (tar-ball) and binaries for debian (32- and 64-bit) can be found in my repo: http://apt.jenslody.de/ .
I have svn r5269 uploaded to my server (the only difference to r5268 are some cosmetical changes for "Incremental search" conf-dialog).

Starting with this revision the binaries on my server are linked against wxWidgets 2.8.9.
Please upgrade your installation.

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: The 12 October 2008 build (5268) is out.
« Reply #5 on: October 13, 2008, 04:25:04 am »
I want Code::Blocks to import Visual C++ workspace and projects correctly. Please...  :oops:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 12 October 2008 build (5268) is out.
« Reply #6 on: October 13, 2008, 07:34:23 am »
I want Code::Blocks to import Visual C++ workspace and projects correctly. Please...  :oops:
can you give test examples of where it goes wrong ?

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: The 12 October 2008 build (5268) is out.
« Reply #7 on: October 13, 2008, 10:34:31 am »
I want Code::Blocks to import Visual C++ workspace and projects correctly. Please...  :oops:
can you give test examples of where it goes wrong ?

Thanks for killerbot's concerning.  :)

I had posted the first help topic "here" and Morten had kindly done a patch into svn5208 built. After testing svn5208, I found it also can't import Visual C++ workspace and projects correctly. I had "replied" in the svn5208 topic.

I thought the problems are that Code::Blocks may not handle the dependency of each other projects correctly when importing VC6 workspace, and does not import the pre/post commands correctly.

[For the problem of  dependency]
For NetHack3.4.3, after doing the setup before compiling, we should import the nethack.dsw VC6 workspace file. After importing finished, I found Code::Blocks did not handle the dependency. I think it is easy to see.

[For the problem of  pre/post commands]
Morten did a patch to import post commands, but it still can't work correctly. I guess the "TAB character" of the post build commands in VC6 project files means "new line".

for example, there is the post commands in "makedefs.cbp" imported form VC6 project file of makedefs:
Code
echo chdir ..\util	chdir ..\util	chdir
echo makedefs.exe -v makedefs.exe -v
echo makedefs.exe -o makedefs.exe  -o
echo makedefs.exe -p makedefs.exe -p
the first line "echo chdir ..\util   chdir ..\util   chdir" should be(or mean) the three commands: "echo chdir ..\util", "chdir ..\util" and "chdir".

In the "makedefs.dsp" file(VC6 Project), this single line of three commands is split by TAB characters.
Equally, the line "echo makedefs.exe -v   makedefs.exe -v" should be(or mean) the two commands: "echo makedefs.exe -v" and "makedefs.exe -v".

Finally, I am afraid my poor English ability will make you confused.  :oops:
« Last Edit: October 13, 2008, 01:17:59 pm by courage »

Offline Xaviou

  • Regular
  • ***
  • Posts: 403
    • X@v's wxStuff
Re: The 12 October 2008 build (5268) is out.
« Reply #8 on: October 13, 2008, 01:01:15 pm »
Ubuntu 7.04 to 8.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx288) can be found here.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Etienne

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: The 12 October 2008 build (5268) is out.
« Reply #9 on: October 13, 2008, 02:39:49 pm »
Hello,

Thanks for this build, its add a lots of features I was waiting for (breakpoints, more wxsmith...).

However, there is the same build bug as before  :( :
"I can confirm this, and Morton also suffers from this.
 It seems to happen when there are errors during the compilation step."
 (from svn_5206)

When building with building  errors (specially templates), its crash sometimes, or exit immediately , if the build is retryed , its works.

About this, would it be possible to save the .wxs and .cbp files before building? (they are not saved, even if they are included with the project), because if its crash without saving, wxsmith is in a strange state with this files.

Thanks and see you.

Etienne de Foras

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12 October 2008 build (5268) is out.
« Reply #10 on: October 13, 2008, 05:13:37 pm »
Morten did a patch to import post commands, but it still can't work correctly.
I guess the "TAB character" of the post build commands in VC6 project files means "new line".
How weird. You mean a new command can either be after a TAB or after a new line? Well in that case I did it incorrect, indeed.

But is that always true, or just for the NetHacks stuff??? This sounds really strange to me. Because a TAB in a shell on Windows does *not* mean a new command...?!
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12 October 2008 build (5268) is out.
« Reply #11 on: October 13, 2008, 05:24:41 pm »
"I can confirm this, and Morton also suffers from this.
 It seems to happen when there are errors during the compilation step."
 (from svn_5206)
We are at it... probably Jens just found the reason... be patient.
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 courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: The 12 October 2008 build (5268) is out.
« Reply #12 on: October 14, 2008, 04:10:35 am »
But is that always true, or just for the NetHacks stuff??? This sounds really strange to me. Because a TAB in a shell on Windows does *not* mean a new command...?!

Hello, Morten:

I think it may be the VC6 stuff. :wink:

You can Google the keyword "PostBuild_Cmds" to observe it. It would be very easy to see that if TAB does not mean a "new line" or a "new command", those commands will be nonsense. In Windows Shell, TAB does not mean a new line absolutely, but I think TAB is a special character could be the rule only in VC6(or VC series is).
« Last Edit: October 14, 2008, 04:17:09 am by courage »

Offline hangl

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: The 12 October 2008 build (5268) is out.
« Reply #13 on: October 14, 2008, 06:19:32 am »

confirm this!

Hello,

Thanks for this build, its add a lots of features I was waiting for (breakpoints, more wxsmith...).

However, there is the same build bug as before  :( :
"I can confirm this, and Morton also suffers from this.
 It seems to happen when there are errors during the compilation step."
 (from svn_5206)

When building with building  errors (specially templates), its crash sometimes, or exit immediately , if the build is retryed , its works.

About this, would it be possible to save the .wxs and .cbp files before building? (they are not saved, even if they are included with the project), because if its crash without saving, wxsmith is in a strange state with this files.

Thanks and see you.

Etienne de Foras


Offline danselmi

  • Developer
  • Almost regular
  • *****
  • Posts: 203
Re: The 12 October 2008 build (5268) is out.
« Reply #14 on: October 14, 2008, 10:51:52 am »

Quote
When building with building  errors (specially templates), its crash sometimes, or exit immediately , if the build is retryed , its works.
I had the same problem with codeblocks linked against wxWidgets 2.8.9.
I changed back to 2.8.7 and have not noticed this behavior anymore.