Author Topic: The 14 April 2007 build is out.  (Read 23923 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 14 April 2007 build is out.
« on: April 14, 2007, 08:34:55 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 14 April 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • CodeSnippets 1.1.73 2007/04/13 and 1.1.74 2007/04/14 : - Fixes & Edit additions (cf., version.cpp)

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: April 15, 2007, 09:33:47 am by killerbot »

Offline Xaviou

  • Regular
  • ***
  • Posts: 402
    • X@v's wxStuff
Re: The 14 April 2007 build is out.
« Reply #1 on: April 14, 2007, 10:40:55 pm »
Can't build on Ubuntu 6.10 Amd64 : Error in src/plugins/contrib/codesnippets/finddialogs.cpp

Code: build log
finddialogs.cpp: In constructor 'myFindReplaceDlg::myFindReplaceDlg(wxWindow*, const wxString&, const wxString&, wxUint32, long int)':
finddialogs.cpp:121: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/wx-2.6/wx/gtk/combobox.h:53: note: candidate 1: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, int, const wxString*, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.6/wx/gtk/combobox.h:64: note: candidate 2: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxArrayString&, long int, const wxValidator&, const wxString&)
make[6]: *** [finddialogs.lo] Erreur 1

And here is the error :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, NULL);

Edit : Seems to be working if adding a second cast :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);
« Last Edit: April 14, 2007, 10:53:33 pm by Xaviou »
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Xaviou

  • Regular
  • ***
  • Posts: 402
    • X@v's wxStuff
Re: The 14 April 2007 build is out.
« Reply #2 on: April 14, 2007, 11:17:07 pm »
Seems to be working if adding a second cast :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);
It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: The 14 April 2007 build is out.
« Reply #3 on: April 15, 2007, 02:32:42 am »
Seems to be working if adding a second cast :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);
It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here.


Thanks for the reports and fix.
Applied SVN 3858

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 14 April 2007 build is out.
« Reply #4 on: April 15, 2007, 06:55:08 am »
Updated Ubuntu 7.04 (Feisty) build here.

line

  • Guest
Re: The 14 April 2007 build is out.
« Reply #5 on: April 15, 2007, 10:42:38 am »
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.

Offline Gibbon

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 14 April 2007 build is out.
« Reply #6 on: April 15, 2007, 12:26:10 pm »
Latest SVN checkout:

Code
p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.

and I get this error message:

Code
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1

On Ubuntu 6.10 with the latest wx development files.

What am I missing?

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 14 April 2007 build is out.
« Reply #7 on: April 15, 2007, 12:29:22 pm »
Seriously?
I've built the same Revision on Ubuntu 6.10 half an hour ago and it compiled without any errors (wx-common installed)

Did you use wxWidget2.8?
CodeBlocks actually requires 2.6, try using this version
« Last Edit: April 15, 2007, 12:32:03 pm by darthdespotism »

Offline stg

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: The 14 April 2007 build is out.
« Reply #8 on: April 15, 2007, 12:38:14 pm »
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.

Had the same problem, too. Solved it by reassigning the shortcuts ...

Offline pauliusz

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: The 14 April 2007 build is out.
« Reply #9 on: April 15, 2007, 12:49:27 pm »
Latest SVN checkout:

Code
p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.

and I get this error message:

Code
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1

On Ubuntu 6.10 with the latest wx development files.

What am I missing?


Currently I am discussing this problem in http://developer.berlios.de/bugs/?func=detailbug&bug_id=10881&group_id=5358

ctnd

  • Guest
Message box popping up because it can't copy a project .temp file
« Reply #10 on: April 15, 2007, 01:21:25 pm »
Just thought I'd mention this because this "bug" has been present since the March 14th build. I wasn't sure what it was at first, but here's what I think. It tries to save a .temp file of the project .layout file, but if the file is only created when you close CodeBlocks  :?:, then the file hasn't been created yet if you've just created the project. So it's trying to copy a file that doesn't exist.

So I get this message box every so often:

Quote
---------------------------
Codeblocks Error
---------------------------
Failed to copy the file 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout' to 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout.temp' (error 2: the system cannot find the file specified.)
---------------------------
OK   
---------------------------

The program continues to run, it's just a bit annoying when it pops up when you're coding. :mrgreen: Temporary fix is to close CB and open it and open the project again so that it saves a .layout file. :wink:

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 14 April 2007 build is out.
« Reply #11 on: April 15, 2007, 01:32:46 pm »
Latest SVN checkout:

Code
p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.

and I get this error message:

Code
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1

On Ubuntu 6.10 with the latest wx development files.

What am I missing?


Currently I am discussing this problem in http://developer.berlios.de/bugs/?func=detailbug&bug_id=10881&group_id=5358

Possible Quick Fix, needs tested.
Code
Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@

 #include "wx/wxFlatNotebook/wxFlatNotebook.h"

+#ifndef wxHAS_REGEX_ADVANCED
+    #define wxRE_ADVANCED 0
+#endif

 namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };

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 Suryavarman

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Suryavarman
Re: The 14 April 2007 build is out.
« Reply #12 on: April 15, 2007, 04:39:02 pm »
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
me too
with ctrl+C

Offline Gibbon

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 14 April 2007 build is out.
« Reply #13 on: April 17, 2007, 12:44:40 am »
Latest SVN checkout:


Possible Quick Fix, needs tested.
Code
Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@

 #include "wx/wxFlatNotebook/wxFlatNotebook.h"

+#ifndef wxHAS_REGEX_ADVANCED
+    #define wxRE_ADVANCED 0
+#endif

 namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };




That worked.  Needed to compile without --enable-contrib.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 14 April 2007 build is out.
« Reply #14 on: April 17, 2007, 08:33:17 am »
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
me too
with ctrl+C

Can't reproduce this problem. I'm using WinXP+SP2 and latest C::B Nightly.
Be a part of the solution, not a part of the problem.