Author Topic: The 30 March 2008 build (4977) is out.  (Read 41127 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 30 March 2008 build (4977) is out.
« on: March 30, 2008, 11:51:26 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_wx287.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 30 March 2008 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20080330_rev4977_win32.7z
  - Linux :
   none

Resolved Fixed:

  • Updated: Intel compiler detection code would now add VC installation dir to extra paths list
  • Added: /nologo to resource compiler of MSVC-8
  • Fixed: [Bug #13423] Search in files not working for ISO-8859-1 in Linux (Thanks Rick for the patch)
  • make delete and insert work on num keypad (thanks Rick)
  • lib_finder:
    * Added dialog allowing to edit currently known libraries
    * Compilers are now matched using wxString::Matches() - can use * and ? inside compiler filter
    * Small code refactorings
  • Fixed: Couple of warnings in Scintilla
  • Fixed: Now C::B would not prompt to select missing compiler for Targets not supported by current platform
  • Added: Support for Page-Up/Down, Home, End key in IncrementalSelectListDlg

Regressions/Confirmed/Annoying/Common bugs:

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


Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 30 March 2008 build (4977) is out.
« Reply #1 on: March 31, 2008, 01:55:39 am »
Build for Ubuntu i386/amd64 can be found here

Best regards, pasgui
« Last Edit: April 01, 2008, 12:53:00 am by pasgui »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
I need Class wizard more smart, thanks!
« Reply #2 on: March 31, 2008, 10:41:46 am »
When i add a class, the class name start with 'C', example: CTest, CRegKey, CMailList, i want the filename can not include 'c', not 'cregkey.h', but 'regkey.h' .
and Guard block also not include 'C'. not 'CREGKEY_H', but 'REGKEY_H'.

the end: i want Guard block can modify by need. example, modify to : REGKEY_H_INCLUDE.

my english is bad, sorry!
thanks!

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: I need Class wizard more smart, thanks!
« Reply #3 on: March 31, 2008, 01:04:57 pm »
When i add a class, the class name start with 'C', example: CTest, CRegKey, CMailList, i want the filename can not include 'c', not 'cregkey.h', but 'regkey.h' . and Guard block also not include 'C'. not 'CREGKEY_H', but 'REGKEY_H'.
the end: i want Guard block can modify by need. example, modify to : REGKEY_H_INCLUDE.
Well... in fact all of it you can do already. Mind trying before asking?!
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: I need Class wizard more smart, thanks!
« Reply #4 on: March 31, 2008, 01:09:45 pm »
Well... in fact all of it you can do already. Mind trying before asking?!
Here it comes for your convenience:

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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 30 March 2008 build (4977) is out.
« Reply #5 on: March 31, 2008, 02:37:54 pm »
A source-tarball and binaries for debian (32- and 64-bit) can be downloaded from my server (see signature).
There are also precompiled packages with wxWidgets cross-compile libraries available for download.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: I need Class wizard more smart, thanks!
« Reply #6 on: March 31, 2008, 04:56:56 pm »
Well... in fact all of it you can do already. Mind trying before asking?!
Here it comes for your convenience:


Before my ask, I do it. but it is manual.
I hope it can auto to it by some options.
thank you reply!
thanks to CB and CB developers!

Offline Xaviou

  • Regular
  • ***
  • Posts: 403
    • X@v's wxStuff
Re: The 30 March 2008 build (4977) is out.
« Reply #7 on: March 31, 2008, 09:20:33 pm »
Ubuntu 6.10 & 7.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx284) can be found here.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: I need Class wizard more smart, thanks!
« Reply #8 on: March 31, 2008, 10:36:25 pm »
Before my ask, I do it. but it is manual.
I hope it can auto to it by some options.
thank you reply!
thanks to CB and CB developers!

I hope it will be implemented as optional feature, I got really annoyed when VS did this automatically for me.

Regards
  BYO

Offline marfi

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: The 30 March 2008 build (4977) is out.
« Reply #9 on: April 01, 2008, 09:38:13 am »
Hi, it would be a nice feature of the class wizard to allow users to select a base class for inheritance from a list containing all classes existing in the project (i.e. displayed in the Symbols browser) - of course the ability to enter non-existing class name should be preserved. Another useful improvement would be a possibility to open the class wizard from the Symbols browser's context menu: in this case a new class defined in the class wizard should be inherited from a class currently selected in the Symbols browser.

Offline starofrainnight

  • Multiple posting newcomer
  • *
  • Posts: 11
project compile process break during RC compiling!
« Reply #10 on: April 01, 2008, 01:04:08 pm »
the problem seems releated to new feature of  "Added : /nologo to resource compiler of MSVC-8 "

I was using VC2008 express in windows xp sp2

now, i have to restore to last nightly build (4966)  :?

the build log is :

Code
-------------- Build: Debug in Passthru ---------------

[ 14.3%] cl.exe /nologo /Gz /Od /W3 /c /Zp8 /DWINVER=0X500 /DUNICODE /D_UNICODE /D_X86_ /DSTD_CALL /DWIN32_LEAN_AND_MEAN /DNT_UP /DNDIS_MINIPORT_DRIVER /DNDIS50_MINIPORT /DNDIS50 /DNDIS_WDM=1  /MTd /Zi /D_DEBUG /Zi /DDBG /DDEBUG /D_DEBUG  /GS /WX /D_MSC_VER=1500   /ID:\sb\winddk\include /Id:\sb\vc2008\VC\include /ID:\sb\winddk\inc\wxp /ID:\sb\winddk\inc\ddk\wxp /ID:\sb\winddk\inc\ddk\wdm\wxp /ID:\sb\sdks\libnet\include /ID:\sources\vc7\RaBird\src\C++\rabird  -ID:\sources\codeblocks\rabird_branch\starofrainnight\Passthru /c miniport.c /FoDebug\miniport.obj
miniport.c
[ 28.6%] cl.exe /nologo /Gz /Od /W3 /c /Zp8 /DWINVER=0X500 /DUNICODE /D_UNICODE /D_X86_ /DSTD_CALL /DWIN32_LEAN_AND_MEAN /DNT_UP /DNDIS_MINIPORT_DRIVER /DNDIS50_MINIPORT /DNDIS50 /DNDIS_WDM=1  /MTd /Zi /D_DEBUG /Zi /DDBG /DDEBUG /D_DEBUG  /GS /WX /D_MSC_VER=1500   /ID:\sb\winddk\include /Id:\sb\vc2008\VC\include /ID:\sb\winddk\inc\wxp /ID:\sb\winddk\inc\ddk\wxp /ID:\sb\winddk\inc\ddk\wdm\wxp /ID:\sb\sdks\libnet\include /ID:\sources\vc7\RaBird\src\C++\rabird  -ID:\sources\codeblocks\rabird_branch\starofrainnight\Passthru /c passthru.c /FoDebug\passthru.obj
passthru.c
[ 42.9%] rc.exe /nologo /ID:\sb\vc2008\VC\include /ID:\sb\winddk\inc\wxp /ID:\sb\winddk\inc\ddk\wxp /ID:\sb\winddk\inc\ddk\wdm\wxp  -ID:\sources\codeblocks\rabird_branch\starofrainnight\Passthru -foDebug\passthru.res passthru.rc

fatal error RC1106: invalid option: -ologo
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: project compile process break during RC compiling!
« Reply #11 on: April 01, 2008, 03:31:54 pm »
the problem seems releated to new feature of  "Added : /nologo to resource compiler of MSVC-8 "

Thanks for pointing this. Reverted in revision 4979. Please wait for the next nightly. Sorry for the inconvenience caused. :(
Be a part of the solution, not a part of the problem.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: The 30 March 2008 build (4977) is out.
« Reply #12 on: April 02, 2008, 02:12:39 am »
Missing Headers when compiled under Windows (NON PCH).

Tim S


Index: src/plugins/compilergcc/compilerLCC.cpp
===================================================================
--- src/plugins/compilergcc/compilerLCC.cpp   (revision 4982)
+++ src/plugins/compilergcc/compilerLCC.cpp   (working copy)
@@ -11,6 +11,8 @@
 // this compiler is valid only in windows
 
 #include <sdk.h>
+#include "logmanager.h"
+#include "manager.h"
 #include "compilerLCC.h"
 #include <wx/intl.h>
 #include <wx/regex.h>
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 Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 30 March 2008 build (4977) is out.
« Reply #13 on: April 02, 2008, 02:43:34 am »
Please add a option to make all obj file in the same folder, example: 'Object output dir'.
If can do, build a project like VS will most easy.
But now, CB user must set sub folder in the build option.
Thank you very much!

Offline PsYhLo

  • Almost regular
  • **
  • Posts: 157
Re: The 30 March 2008 build (4977) is out.
« Reply #14 on: April 02, 2008, 07:32:40 am »
Code
make[5]: *** No rule to make target `all'.  Stop.
make[5]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard/resources/matlab_csf'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psyhlo/devel/cb-src/src'
make: *** [all-recursive] Error 1
svn 4982

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 30 March 2008 build (4977) is out.
« Reply #15 on: April 02, 2008, 01:04:14 pm »
Missing Headers when compiled under Windows (NON PCH).

Tim S


Index: src/plugins/compilergcc/compilerLCC.cpp
===================================================================
--- src/plugins/compilergcc/compilerLCC.cpp   (revision 4982)
+++ src/plugins/compilergcc/compilerLCC.cpp   (working copy)
@@ -11,6 +11,8 @@
 // this compiler is valid only in windows
 
 #include <sdk.h>
+#include "logmanager.h"
+#include "manager.h"
 #include "compilerLCC.h"
 #include <wx/intl.h>
 #include <wx/regex.h>

DONE.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 30 March 2008 build (4977) is out.
« Reply #16 on: April 02, 2008, 04:00:31 pm »
In VC2005 compiler, i want use '/Fo' option to set obj file output dir, but it disable. the error msg is:
   cl : Command line warning D4025 : overriding '/FoD:\obj' with '/FoD:\obj\src\Test.obj'

In the same compiler, the option of '[/Zi /D_DEBUG]', this option can not use in NDEBUG mode, so when i build a release version, i can't add a debug info to bin file.
I hope change this option to [/Zi], not '[/Zi /D_DEBUG]'.
Thanks!

Linker settings can not add '/DEBUG' in a new line, but can do it like '/DEBUG /PDB:"$(BIN)\Test.pdb"'

A new bug: 'Display build progress bar' are not work.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 30 March 2008 build (4977) is out.
« Reply #17 on: April 02, 2008, 04:48:49 pm »
Code
make[5]: *** No rule to make target `all'.  Stop.
make[5]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard/resources/matlab_csf'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/scriptedwizard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psyhlo/devel/cb-src/src'
make: *** [all-recursive] Error 1
svn 4982

Fixed in revision 4984.
Be a part of the solution, not a part of the problem.

Offline cacb

  • Lives here!
  • ****
  • Posts: 536
Re: The 30 March 2008 build (4977) is out.
« Reply #18 on: April 02, 2008, 08:42:09 pm »
    • Fixed: Now C::B would not prompt to select missing compiler for Targets not supported by current platform

    Hi, I installed 4977 (thanks!) on Kubuntu 7.10 with wxWidgets 2.8.7. I still get the same dialogs about missing compiler for build targets not used under Linux

    Code
    The defined compiler for W32_Debug cannot be located (ID:msvc8)

    This happens on linux even though the build target is defined to be for the Windows platform only.

    Offline Biplab

    • Developer
    • Lives here!
    • *****
    • Posts: 1874
      • Biplab's Blog
    Re: The 30 March 2008 build (4977) is out.
    « Reply #19 on: April 03, 2008, 07:32:05 am »
    Hi, I installed 4977 (thanks!) on Kubuntu 7.10 with wxWidgets 2.8.7. I still get the same dialogs about missing compiler for build targets not used under Linux

    Code
    The defined compiler for W32_Debug cannot be located (ID:msvc8)

    This happens on linux even though the build target is defined to be for the Windows platform only.

    When does it occur?? During project loading or compiling? :)
    Be a part of the solution, not a part of the problem.

    Offline cacb

    • Lives here!
    • ****
    • Posts: 536
    Re: The 30 March 2008 build (4977) is out.
    « Reply #20 on: April 03, 2008, 08:13:00 pm »
    When does it occur?? During project loading or compiling? :)

    It occurs during project/workspace loading  8) .  I have a workspace with a couple of inter-dependent projects, and get the message once per project (even if the Windows target is not active).

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7591
      • My Best Post
    Re: The 30 March 2008 build (4977) is out.
    « Reply #21 on: April 03, 2008, 10:21:40 pm »
    Patch is needed to compile under Windows when NOT using PCH (Pre-Compiled Headers)

    Note: The include <wx/gauge.h> must be before the include of headersdetectordlg.h on Windows OS.
    This is because of wxWidgets design issue no fault of Code::Blocks. You could add the include to headersdetectordlg.h.

    My Patch moves the include headersdetectordlg.h to be the last include in file headersdetectordlg.cpp.

    Tim S

    Code
    Index: src/plugins/contrib/lib_finder/headersdetectordlg.cpp
    ===================================================================
    --- src/plugins/contrib/lib_finder/headersdetectordlg.cpp (revision 4986)
    +++ src/plugins/contrib/lib_finder/headersdetectordlg.cpp (working copy)
    @@ -1,4 +1,3 @@
    -#include "headersdetectordlg.h"
     
     //(*InternalHeaders(HeadersDetectorDlg)
     #include <wx/sizer.h>
    @@ -11,6 +10,8 @@
     
     #include <encodingdetector.h>
     
    +#include "headersdetectordlg.h"
    +
     //(*IdInit(HeadersDetectorDlg)
     const long HeadersDetectorDlg::ID_STATICTEXT1 = wxNewId();
     const long HeadersDetectorDlg::ID_STATICTEXT3 = wxNewId();
    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 killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5491
    Re: The 30 March 2008 build (4977) is out.
    « Reply #22 on: April 04, 2008, 09:11:47 am »
    done

    Offline fackue

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 30 March 2008 build (4977) is out.
    « Reply #23 on: April 07, 2008, 03:35:49 am »
    I'd like to see the left\right buttons to scroll your open tabs scroll your tabs on mouse down or up rather than single click. When it's "double-clicked" the tabs do not move.

    Offline gd_on

    • Lives here!
    • ****
    • Posts: 797
    Re: The 30 March 2008 build (4977) is out.
    « Reply #24 on: April 10, 2008, 08:05:55 pm »
     :P :P :P :P :P :P
    Wouh  :lol: :lol: :lol: :lol:
    I've just built svn 5000 on my PC.
    Nice number isn't it !!!!

    Thanks to all

    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).

    hawk

    • Guest
    Re: The 30 March 2008 build (4977) is out.
    « Reply #25 on: April 14, 2008, 04:09:05 pm »
    Sorry if I writing to you in wrong theme, but I should get the answer in short time.
    My CodeBlocks 8.02 doesn't mark up the lines with errors, when I "doubleclicking" to the error in build messages log! How can I fix it, koz i saw this function working at another PC. Please.

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2778
    Re: The 30 March 2008 build (4977) is out.
    « Reply #26 on: April 18, 2008, 04:08:47 pm »
    svn build  rev 4999 (2008-04-06T11:09:14.941468Z)   gcc 3.4.5 Windows/unicode

    Directory structure
    cbSnipSearch
      App
      Plugin
      Editor

    I cut two file from App, pasted them to Plugin with Explorer.
    CB says "file deleted, keep them open or close?"
    I responded "with the close option"
    CB crashed

    Program received signal SIGSEGV, Segmentation fault.
    ---Type <return> to continue, or q <return> to quit---bt
    0x00b92f64 in ProjectFile::SetFileState (this=0xfeeefeee, state=fvsMissing)
        at c:/Usr/Proj/cbBeta/trunk/src/sdk/projectfile.cpp:274
    274         if (state != m_VisualState)
    Current language:  auto; currently c++
    (gdb) bt
    #0  0x00b92f64 in ProjectFile::SetFileState (this=0xfeeefeee, state=fvsMissing)
        at c:/Usr/Proj/cbBeta/trunk/src/sdk/projectfile.cpp:274
    #1  0x00b34ee4 in EditorManager::CheckForExternallyModifiedFiles (
        this=0x2dd1db0) at c:/Usr/Proj/cbBeta/trunk/src/sdk/editormanager.cpp:869
    #2  0x00b3f069 in EditorManager::OnCheckForModifiedFiles (this=0x2dd1db0,
        event=@0x537d2d8)
        at c:/Usr/Proj/cbBeta/trunk/src/sdk/editormanager.cpp:2507
    #3  0x627c8185 in wxEvtHandler::ProcessEventIfMatches ()
       from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
    #4  0x627c84dc in wxEventHashTable::HandleEvent ()
       from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
    #5  0x627c94a9 in wxEvtHandler::ProcessEvent ()
       from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
    #6  0x627c92c9 in wxEvtHandler::ProcessPendingEvents ()
       from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
    #7  0x62701bf4 in wxAppConsole::ProcessPendingEvents ()
       from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
    #8  0x62cc47c5 in wxIdleWakeUpModule::MsgHookProc ()
       from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
    #9  0x77d4ed1a in USER32!IsCharAlphaW () from C:\WINDOWS\system32\user32.dll
    #10 0x00000000 in ?? () from
    #11 0x00000001 in ?? ()
    #12 0x0022facc in ?? ()
    ---Type <return> to continue, or q <return> to quit---

    Offline Biplab

    • Developer
    • Lives here!
    • *****
    • Posts: 1874
      • Biplab's Blog
    Re: The 30 March 2008 build (4977) is out.
    « Reply #27 on: April 18, 2008, 06:34:08 pm »
    svn build  rev 4999 (2008-04-06T11:09:14.941468Z)   gcc 3.4.5 Windows/unicode

    Directory structure
    cbSnipSearch
      App
      Plugin
      Editor

    I cut two file from App, pasted them to Plugin with Explorer.
    CB says "file deleted, keep them open or close?"
    I responded "with the close option"
    CB crashed

    Though I couldn't reproduce the crash in my PC, but I think the following patch can fix this crash. :)

    Code
    Index: src/sdk/editormanager.cpp
    ===================================================================
    --- src/sdk/editormanager.cpp (revision 5006)
    +++ src/sdk/editormanager.cpp (working copy)
    @@ -863,10 +863,10 @@
                     ed->SetModified(true);
                 else
                 {
    -                ed->Close();
                     ProjectFile* pf = ed->GetProjectFile();
                     if (pf)
                         pf->SetFileState(fvsMissing);
    +                ed->Close();
                 }
                 continue;
             }
    Be a part of the solution, not a part of the problem.