Author Topic: The 17 february 2007 build is out.  (Read 17323 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 17 february 2007 build is out.
« on: February 17, 2007, 11:24:44 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

To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.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 17 February 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070217_rev3614_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070217_rev3614_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070217_rev3614_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070217_rev3614_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • Backup files created during saving are now deleted again.
  • wxWidgets Wizard: Added support to compile debug target with release lib of wxWidgets and other minor code changes
  • wxSmith:
    * Added support for wxMenu and wxMenuBar
    * Added block for auto-generated code in destructor of new resources (it may be needed in future)
    * Few small bug fixes
    * Added "User class" property in most items - this will allow using custom classes with behavior similar to supported items
    * Added simplified version of Codef (no need to give Language parameter nor add result to source code, it's done automatically)
    * Fixed cbp file to run C::B app when running / debugging
    * Items in resource browser contain now class name and variable name if used (for standard items), for menus it show labels
    * Added icons in resource browser (still needs polishing)
    * Committed changes to cbp which should be done in previous commit (forgot to save project)

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) (is fixed with our special wx263/wx28 dll)

« Last Edit: February 18, 2007, 09:31:25 am by killerbot »

Offline Russell

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 17 february 2007 build is out.
« Reply #1 on: February 18, 2007, 12:38:27 am »
I think menu xrc data needs to be generated outside a frame object, because otherwise it will not show up in the actual application

Online stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
Re: The 17 february 2007 build is out.
« Reply #2 on: February 18, 2007, 02:48:19 am »
Is anyone on windows having code completion lockup or crash on plugin disable?

Here's a patch that seemed to fix it under windows for me.
(note, I am running with __WXDEBUG__ defined in my builds linked to wx2.6.3p2 debug libs)

Code
Index: src/plugins/codecompletion/classbrowserbuilderthread.cpp
===================================================================
--- src/plugins/codecompletion/classbrowserbuilderthread.cpp (revision 3614)
+++ src/plugins/codecompletion/classbrowserbuilderthread.cpp (working copy)
@@ -104,10 +104,12 @@

         if (TestDestroy() || Manager::IsAppShuttingDown())
         {
+#ifdef __WXGTK__
  if(!::wxIsMainThread())
  {
  ::wxMutexGuiLeave();
  }
+#endif // __WXGTK__
             break;
         }


The wxMutexGuiLeave is being called without an wxMutexGuiEnter being called. (wxMutexGuiEnter is only called if __WXGTK__ is defined.)

Submitted as [ Patch #1890 ] Code Completion disable on windows crashes
https://developer.berlios.de/patch/?func=detailpatch&patch_id=1890&group_id=5358

Tim S
« Last Edit: February 18, 2007, 06:46:25 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 17 february 2007 build is out.
« Reply #3 on: February 18, 2007, 09:38:43 am »
@killerbot,

The SVN number in this nightly shows zero, but the date on start-page is correctly printed. Did you make any changes in autorevision? ;)
Be a part of the solution, not a part of the problem.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 17 february 2007 build is out.
« Reply #4 on: February 18, 2007, 01:35:45 pm »
nope, no changes made yet, will adjust probably on monday

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 17 february 2007 build is out.
« Reply #5 on: February 18, 2007, 02:36:29 pm »
I think menu xrc data needs to be generated outside a frame object, because otherwise it will not show up in the actual application

Uhm, I forgot to disable wxMenu tools when uing XRC file becuase this will create some memory leaks (there's no way to obtain pointer to wxMenu and it's not automatically deleted) :(. Anyway wxMenuBar should work fine, I've checked xrc sources and if wxMenuBar is added directly into wxFrame, XRC loading routines automatically add menu into frame.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 17 february 2007 build is out.
« Reply #6 on: February 18, 2007, 05:43:09 pm »
nope, no changes made yet, will adjust probably on monday

That surprises me. The time on the start page (of 17th Feb Nightly) is correctly formatted.

It seemed strange to me why without making any changes to autorevision, it becomes correct again? My Windows build had problem but Linux had no problem. :?
Be a part of the solution, not a part of the problem.

Offline Russell

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: The 17 february 2007 build is out.
« Reply #7 on: February 18, 2007, 10:02:16 pm »
I think menu xrc data needs to be generated outside a frame object, because otherwise it will not show up in the actual application

Uhm, I forgot to disable wxMenu tools when uing XRC file becuase this will create some memory leaks (there's no way to obtain pointer to wxMenu and it's not automatically deleted) :(. Anyway wxMenuBar should work fine, I've checked xrc sources and if wxMenuBar is added directly into wxFrame, XRC loading routines automatically add menu into frame.

Woops, I still had LoadMenuBar code in my frame constructor, no wonder it didn't work properly.

Any chance of toolbar support? ;)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 17 february 2007 build is out.
« Reply #8 on: February 19, 2007, 01:29:48 am »
Any chance of toolbar support? ;)

Should be pretty easy :) especially comparing to menus ;) I'll do it this week

Offline pauliusz

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: The 17 february 2007 build is out.
« Reply #9 on: February 19, 2007, 10:18:08 am »
While trying to compile svn 3615 I get following error:
Code
-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
build_tools/autorevision/autorevision +int +t . include/autorevision.h
Compiling: sdk\filemanager.cpp
D:\Projektai\CodeBlocks\src\sdk\filemanager.cpp:90: error: redefinition of `FileManager::FileManager()'
D:\Projektai\CodeBlocks\src\sdk\/filemanager.h:151: error: `FileManager::FileManager()' previously defined here
D:\Projektai\CodeBlocks\src\sdk\filemanager.cpp:98: error: definition of implicitly-declared `virtual FileManager::~FileManager()'
Process terminated with status 1 (0 minutes, 4 seconds)
3 errors, 0 warnings
Last svn version I managed to compile was 3596.
Can anyone help me with this?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 17 february 2007 build is out.
« Reply #10 on: February 19, 2007, 10:33:49 am »
Last svn version I managed to compile was 3596.
Can anyone help me with this?
You are mixing old headers with new implementation files. The directory layout has changed and your SVN sandbox is not up-to-date and/or corrupted. Please do a clean checkout (remove the old sandbox before) and try again.
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 JPlaroche

  • Multiple posting newcomer
  • *
  • Posts: 29
    • OMBREBLEU
Re: The 17 february 2007 build is out.
« Reply #11 on: February 19, 2007, 12:27:32 pm »
is return vacancy : why svn 0  is open code::blocks before I had the n° of well practical release

thank-you for the response   

environement windows xp  wxwidgets 2.8.0rc3 mingw 3.4.6 TortoiseMerge 1.4.3
chef de projet MASTER (AS400  RPGILE  C   and SYTEM)

student c++ and wxwidgets for validation acquis (Jean-Pierre) wxformbuilder

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 17 february 2007 build is out.
« Reply #12 on: February 19, 2007, 12:30:52 pm »
is return vacancy : why svn 0  is open code::blocks before I had the n° of well practical release

thank-you for the response   

environement windows xp  wxwidgets 2.8.0rc3 mingw 3.4.6 TortoiseMerge 1.4.3


don't worry, we are aware of the svn 0 , will be fixed ..

Brown

  • Guest
Re: The 17 february 2007 build is out.
« Reply #13 on: February 19, 2007, 12:37:43 pm »
Hello,
I like the Codeblocks but using this and older nightly builds I have a slight problem when performing a find across files.
I can never get results for text/code I have in a file named ControlDlg.cpp
Normal find picks up the text but the find in files does not get anything from this file even when I specify the file as the mask when using the search path option.
I get results from the other files and grep locates the text - it is there!!

Running SVN 3614 on Ubuntu Feisty

Kalma

  • Guest
Re: The 17 february 2007 build is out.
« Reply #14 on: February 19, 2007, 01:01:21 pm »
@ pauliusz

I have had neerly the same problem like you to build Codeblocks,
but I found out if you delete the old precompiled Headerfiles (*.gcc)
in src/sdk/ everything went fine to build codeblocks.