News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The 26 November 2008 build (5322) is out.

Started by killerbot, November 27, 2008, 06:26:06 PM

Previous topic - Next topic

Wahooney

Fabricati Diem, Celerata!

Jenna

Quote from: MortenMacFly on November 29, 2008, 04:04:26 PM
Quote from: Wahooney on November 29, 2008, 03:51:53 PM
I've attached an updated squirrel lexer file that includes the 'const' and 'enum' keywords introduced in squirrel 2.2+
I get an "archive is broken" error. Mind trying again with a ZIP, please?

Martin, you seem to have a problem on your computer, my download works and there are no errors in archive.

MortenMacFly

Quote from: jens on November 29, 2008, 04:15:20 PM
Martin, you seem to have a problem on your computer, my download works and there are no errors in archive.
Strange thing, but you are right. I am on another PC (laptop) now and all works just fine. Got both of the files in question... Now all that's missing is C::B - it's not my laptop and not even a laptop of a programmer.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Erick

Hi there, my first post...

When do we will get a new stable release? Most of the resent nigthlys are more stable than the current 8.02 stable release. A truly stable stable release is important to keep community growing, 8.02 sometimes crashes badly, lack some cool features like highlighting and behaves strangely once in a while.

5309 was a good nigthly, never crashed on me, 5322 is going in the same path. Good job guys.

koala01

Hi,

I don't know if i'm at the good place, but, it seems that last NB witch "class wizard" plugin works is rev 5274 one (from 2008 october 18th)

Have i to report a bug for that :?:

Jenna

Quote from: koala01 on November 30, 2008, 12:46:14 PM
Hi,

I don't know if i'm at the good place, but, it seems that last NB witch "class wizard" plugin works is rev 5274 one (from 2008 october 18th)

Have i to report a bug for that :?:

Did you read this (r5297)
Quote from: killerbot on November 08, 2008, 02:42:57 PM

  • Moved class wizard menu item to "File->New->Class

Loaden

When i added a search path, it's changed to:

[attachment deleted by admin]

MortenMacFly

Quote from: Loaden on November 30, 2008, 03:13:16 PM
When i added a search path, it's changed to:
It's as big as it should be that you can read the target's names... so... what?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

stahta01

#23
Patch needed to compile against wxWidgets 2.8 with 2.4 compatible mode on. Tim S

See thread http://forums.next.codeblocks.org/index.php/topic,9444.msg68171/topicseen.html#msg68171


Index: src/tools/cb_share_config/mainframe.cpp
===================================================================
--- src/tools/cb_share_config/mainframe.cpp (revision 5332)
+++ src/tools/cb_share_config/mainframe.cpp (working copy)
@@ -434,9 +434,6 @@
     wxT("Code::Blocks configuration files (*.conf)|*.conf|"
         "All files (*.*)|*.*"),                      // wildcards
     wxFD_OPEN | wxFD_FILE_MUST_EXIST                 // flags
-#if (WXWIN_COMPATIBILITY_2_4)
-    | wxFD_HIDE_READONLY
-#endif
   );

   return filename;
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

#24
Quote from: killerbot on November 27, 2008, 06:26:06 PM

Regressions/Confirmed/Annoying/Common bugs:


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


This bug seems to be fixed in the 2.8 Branch SVN number 57223

Note: This 2.8 Branch revealed an issue in Code::Blocks

The line "wxFile f(name, wxFile::write);" is not checked afterwards for a valid value of "f". I added code below as a temp work around, but it is not well written code; an better coder needs to fix this bug.


Index: src/sdk/filemanager.cpp
===================================================================
--- src/sdk/filemanager.cpp (revision 5333)
+++ src/sdk/filemanager.cpp (working copy)
@@ -336,7 +336,7 @@
         }

         wxFile f(name, wxFile::write);
-        if ( !f.IsOpened() )
+        if ( !f.Access(name, wxFile::write) || !f.IsOpened() )
         {
             return false;
         }


Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

dje

H!

Each time I try to disale the ToDo plugin, I have a crash.
Does anyone confirm this ?
Windows XP SP2, SVN5322

Dje

Wavesonics

Has anyone noticed this bug:

When using the symbol browser for a project, it seems like the entire program loses focus, and I have to switch to some other running program and then back to C::B for it to become interactive again.

It might not *just* be when using the symbol browser, but thats when I've noticed it so far.

Also, another small one, when using the symbol browser, when you click on a symbol to jump to it, it jumps to it just fine, but it scrolls the symbol browsers all the way to the bottom, kinda annoying.

ollydbg

Quote from: Wavesonics on December 15, 2008, 04:51:17 PM
Has anyone noticed this bug:

When using the symbol browser for a project, it seems like the entire program loses focus, and I have to switch to some other running program and then back to C::B for it to become interactive again.

It might not *just* be when using the symbol browser, but thats when I've noticed it so far.

Also, another small one, when using the symbol browser, when you click on a symbol to jump to it, it jumps to it just fine, but it scrolls the symbol browsers all the way to the bottom, kinda annoying.
I haven't got the problem you stated. I'm using this nightly build and Windows XP.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Loaden

Quote||note: obsolete option -I- used, please use -iquote instead|
This is a BUG? all info in the pictures.
svn build rev 5338 (2008-12-17T06:04:25.033374Z) gcc 4.3.2 Windows/unicode
OS: Windows SP3.



[attachment deleted by admin]

MortenMacFly

#29
Quote from: stahta01 on December 10, 2008, 08:25:05 AM

Index: src/sdk/filemanager.cpp
===================================================================
--- src/sdk/filemanager.cpp (revision 5333)
+++ src/sdk/filemanager.cpp (working copy)
@@ -336,7 +336,7 @@
         }

         wxFile f(name, wxFile::write);
-        if ( !f.IsOpened() )
+        if ( !f.Access(name, wxFile::write) || !f.IsOpened() )
         {
             return false;
         }

I don't see any problem with the old code. If the file cannot be opened that way using the constructor f.IsOpened() will return false...?! Can you give more details, please?

Edit:
Would this be better:

        wxFile f;
        if (!f.Open(name, wxFile::write))
            return false;

???
And if so: Why?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]