Author Topic: The 07 September 2007 build (4439) is out.  (Read 23472 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
The 07 September 2007 build (4439) is out.
« on: September 07, 2007, 06:21:47 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_wx284.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

The 07 September 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20070907_rev4439_win32.7z
  - Linux :
   http://prdownload.berlios.de/codeblocks/CB_20070907_rev4439_Ubuntu6.10+7.04_wx2.8.4.tar.gz
   http://prdownload.berlios.de/codeblocks/CB_20070907_rev4439_Debian4.0_wx2.8.4.tar.gz
   http://prdownload.berlios.de/codeblocks/CB_20070907_rev4439_suse100-102.wx28.i586.rpm (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070907_rev4439_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • wxSmith: Implemented jumping to event handler function body when changing handler / double clicking on item that has main handler set
  • add support for TriCore, MSP430 and PowerPC
  • Help plugin: Added support to display man pages
  • Fixed: Project file is removed while Rebuilding / Cleaning a Dynamic Library Project

Regressions/Confirmed/Annoying/Common bugs:

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

« Last Edit: September 08, 2007, 02:00:41 pm by killerbot »

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 07 September 2007 build (4439) is out.
« Reply #1 on: September 07, 2007, 07:09:17 pm »
Build for Ubuntu 6.10/7.04 i386/amd64 can be found here
« Last Edit: September 08, 2007, 10:51:12 am by pasgui »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6666
    • My Best Post
Re: The 07 September 2007 build (4439) is out.
« Reply #2 on: September 07, 2007, 07:40:54 pm »
Patch to get windows build without precompiled headers.

Tim S

Code: [Select]
Index: src/plugins/contrib/help_plugin/man2html.cpp
===================================================================
--- src/plugins/contrib/help_plugin/man2html.cpp (revision 4439)
+++ src/plugins/contrib/help_plugin/man2html.cpp (working copy)
@@ -142,6 +142,10 @@
 # define BYTEARRAY(x) x
 #endif
 
+#ifdef __MINGW32__
+    #include <io.h>
+#endif
+
 #include "man2html.h"
 
 using namespace std;

adding either of below should work, but only adding io.h was tested.

#ifndef WX_PRECOMP
    #include <wx/filefn.h>
#endif

or

#ifdef __MINGW32__
    #include <io.h>
#endif

« Last Edit: September 07, 2007, 07:42:58 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: The 07 September 2007 build (4439) is out.
« Reply #3 on: September 07, 2007, 07:46:01 pm »
Tim: I added that fix in my local copy, but I'll have to commit it later (because of BerliOS).

Thanks.

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: The 07 September 2007 build (4439) is out.
« Reply #4 on: September 07, 2007, 07:52:18 pm »
Build for Ubuntu 6.10/7.04 i386 can be found here

Great work! :)

Offline notBlahButBlahBlah

  • Single posting newcomer
  • *
  • Posts: 8
Re: The 07 September 2007 build (4439) is out.
« Reply #5 on: September 07, 2007, 09:00:32 pm »
Great great works !  :lol:

Do you know this bug? I have 2 files .cpp opened, the second tab of the editor has the focus. I close the tab of the first file by pressing on the knurl situated over the tab. Results : the list of the methods of the main class is emptied. When I click in the body of a method, l list do not update. Can you reproduce the bug? :shock:

Best regards, :mrgreen:

Offline Xaviou

  • Regular
  • ***
  • Posts: 302
    • X@v's wxStuff
Re: The 07 September 2007 build (4439) is out.
« Reply #6 on: September 07, 2007, 11:46:20 pm »
Ubuntu 6.10 & 7.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx284) can be found here.
These packages can also be founded here for a classic "apt-get" install (thanks pasgui).
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Anubis

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 07 September 2007 build (4439) is out.
« Reply #7 on: September 08, 2007, 01:56:39 am »
First time i've actually used a nightly build, but a few bugs i've noticed off the top of my head...
(Compiled and running on Linux/Gentoo Amd64)

1) Find/Replace in Files works,  Find Replace does not.
(It seems clicking OK in that dialog only checks for text in the Replace in Files tab, and not the standard Replace tab, which results in a "Can't look for an empty search criterion!" error, and the freplace not proceeding.)
Additionally, clicking from the Replace in Files tab, to the Replace tab doesn't change input focus to the Replace tab's search text box...


2) Saving a workspace still doesn't add the proper workspace file extension on to the end, which results in not being able to open it without renaming it...

3) (Not sure if this is a bug, or intended...) When adding new files to a project (ctrl+shift+N), and asked to save the file... the file save dialog always defaults it's starting location to the project location...
Wouldn't it be better to a) start from where the previous 'new' file in that project was saved to, b) where the majority of the project's files are saved to, or c) have each project define a 'source' directory... which it always defaults to as the top-most directory for source code files...
(because I for one know my source directory is no where near my project directory... I have to navigate through ~8 folders to get to my source directory for the architecture i'm building)


Beyond that, lookin' good guys :)   - Starting to think I should contribute :)

EDIT:
4) Opening the find dialog (ctrl+F) doesn't automatically put input focus to the find dialog's search text box... you have to manually click in the box before it has input.

5) When adding a (new?) file to an existing project, you sometimes get a progress bar come up 'over' the dialog to select what builds to include the file in...

6) When you change settings in a project, it doesn't mark the project as dirty, so it never thinks it has to be rebuilt...   Really frustrating, along with no project dependencies in a workspace... :\

Edit: Still no reply to any of these issues, wondering if I should start a new thread for them?
« Last Edit: September 09, 2007, 01:13:16 pm by Anubis »

Offline badboy

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 07 September 2007 build (4439) is out.
« Reply #8 on: September 08, 2007, 07:48:47 am »
http://prdownload.berlios.de/ is down. This is not the first time.  :(

Why is code::Blocks using berlios and not SourceForge.net?

/badboy

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: The 07 September 2007 build (4439) is out.
« Reply #9 on: September 08, 2007, 08:26:18 am »
BerliOS is having trouble once again, not just the prdownload server.

We used SourceForge before, and the project is still "registered" there (just try http://codeblocks.sf.net/ and it'll take you to http://www.codeblocks.org/). The main reasons of our moving to BerliOS were: SourceForge didn't have a svn server (I know they have one now) and some developers had speed issues with the SourceForge servers.

BerliOS was working fine, but this year it started having some troubles. However, we're not planning to move back to SourceForge again. Let's hope they fix all those problems soon.

Offline wwolf

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: The 07 September 2007 build (4439) is out.
« Reply #10 on: September 08, 2007, 08:44:01 am »
Hi,

Is there some mirror available?  I am trying to download the Windows stuff, but yesterday night it suddenly stopped and I cannot connect to the download site anymore.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: The 07 September 2007 build (4439) is out.
« Reply #11 on: September 08, 2007, 09:02:15 am »
We don't have any extra mirrors. You will have to continue trying till BerliOS work again. Sorry :(

If it's like last night's problem then it should start working again in about one hour (even though I have no idea why it's happening).

Offline wwolf

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: The 07 September 2007 build (4439) is out.
« Reply #12 on: September 08, 2007, 09:08:09 am »
Well, I keep trying for over 12 hours now.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: The 07 September 2007 build (4439) is out.
« Reply #13 on: September 08, 2007, 09:46:23 am »
I have a mix between revision 4430 and 4433. You can use it in the meanwhile.

cb433x
wx284

nanard

  • Guest

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 07 September 2007 build (4439) is out.
« Reply #15 on: September 08, 2007, 11:09:57 am »
I've uploaded the official copy of Rev4339 (which I could download last night) to the following link.

Quote
http://hosted.filefront.com/biplab/
Be a part of the solution, not a part of the problem.

Offline orefa

  • Multiple posting newcomer
  • *
  • Posts: 102
Re: The 07 September 2007 build (4439) is out.
« Reply #16 on: September 08, 2007, 03:24:59 pm »
Between build 4429 and this 4439 build, the help_plugin.dll has stopped loading under Windows 2000...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: The 07 September 2007 build (4439) is out.
« Reply #17 on: September 08, 2007, 03:40:49 pm »
Unfortunately I don't have a Windows 2000 to test that :(

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6666
    • My Best Post
Re: The 07 September 2007 build (4439) is out.
« Reply #18 on: September 08, 2007, 03:55:51 pm »
Between build 4429 and this 4439 build, the help_plugin.dll has stopped loading under Windows 2000...

Patch to try on SVN 4443; it compilers and loads, no idea if it works.
My next patch works better.

Tim S
« Last Edit: September 08, 2007, 10:50:19 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: The 07 September 2007 build (4439) is out.
« Reply #19 on: September 08, 2007, 04:42:52 pm »
I'm not that sure about the change for the bzip2 and zlib #includes. I think it would be better to modify the cbp file to include those directories.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6666
    • My Best Post
Re: The 07 September 2007 build (4439) is out.
« Reply #20 on: September 08, 2007, 04:58:46 pm »
I'm not that sure about the change for the bzip2 and zlib #includes. I think it would be better to modify the cbp file to include those directories.

Yeah, you can fix it that way. And in some ways its better.

Tim S

patch below works for me.

Code: [Select]
Index: src/plugins/contrib/help_plugin/help-plugin.cbp
===================================================================
--- src/plugins/contrib/help_plugin/help-plugin.cbp (revision 4441)
+++ src/plugins/contrib/help_plugin/help-plugin.cbp (working copy)
@@ -44,6 +44,8 @@
  <Add option="-DcbDEBUG" />
  <Add option="-DTIXML_USE_STL" />
  <Add option="-DwxUSE_UNICODE" />
+ <Add directory="bzip2" />
+ <Add directory="zlib" />
  </Compiler>
  <Linker>
  <Add library="bzip2/libbzip2.a" />
Index: src/plugins/contrib/help_plugin/MANFrame.cpp
===================================================================
--- src/plugins/contrib/help_plugin/MANFrame.cpp (revision 4443)
+++ src/plugins/contrib/help_plugin/MANFrame.cpp (working copy)
@@ -7,8 +7,11 @@
 #include <wx/wfstream.h>
 #include <wx/filename.h>
 #include <stdio.h>
 #include <bzlib.h>
 #include <zlib.h>
+#ifndef CB_PRECOMP
+    #include "globals.h" // cbC2U
+#endif
 
 namespace
 {
« Last Edit: September 08, 2007, 10:48:26 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline tvaster

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: The 07 September 2007 build (4439) is out.
« Reply #21 on: September 08, 2007, 05:05:17 pm »
What happened to XRC option checkbox when creating a new project from main page?
Worked about a week ago I believe.

SVN 4443 Suse 10.2

Thanks.

Offline wwolf

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: The 07 September 2007 build (4439) is out.
« Reply #22 on: September 08, 2007, 06:32:47 pm »
Thanks guys!

Attila

Offline h8or

  • Multiple posting newcomer
  • *
  • Posts: 13
    • My personal webpage
Re: The 07 September 2007 build (4439) is out.
« Reply #23 on: September 08, 2007, 10:11:56 pm »
Between build 4429 and this 4439 build, the help_plugin.dll has stopped loading under Windows 2000...
... and under Windows XP SP2.

Offline Icek

  • Single posting newcomer
  • *
  • Posts: 5
Re: The 07 September 2007 build (4439) is out.
« Reply #24 on: September 09, 2007, 09:57:56 am »
Hi all, i dont know if this was already reported, but i have this problem :
I open some file, write some code, then try build and if there is any error, codeblocks open new panel with the same file and show me error there. This later produce problems with saving files and / or codeblocks show message that this file has been modified outside of codeblocks, but it is not true.

defza

  • Guest
Re: The 07 September 2007 build (4439) is out.
« Reply #25 on: September 10, 2007, 05:52:42 pm »
Hi,

Been using Codeblocks for one of our courses http://www.cs.sun.ac.za/~rw745/.

My crash log attached.

Also, if CB crashes, the .cbp file isn't saved, so all my added files aren't in the project anymore, so it's a mission to add them again. Anyway one could make it autosave when adding new files etc?

Thanks!

[attachment deleted by admin]