Author Topic: The 03 september 2006 build is out.  (Read 18555 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
The 03 september 2006 build is out.
« on: September 03, 2006, 09:27:59 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

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 03 September 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20060903_rev2946_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20060903_rev2946_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20060903_rev2946_fc4+5.rpm


Resolved Fixed:

  • cbKeyBinder v0.4.25d
    - record dynamically changed menu items
    - Get menu shortcuts via wxAcceratorEntry to appease wxGTK
    - Add file name to corrupted file message
    - Non Destructive update of menu items
    - backup of .ini file to .ini.bak before delete/save
  • Fixed freeze in linux when updating the symbols browser
  • Updated main project file and all contrib plugins' project files for
    linux

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)

« Last Edit: September 04, 2006, 07:25:36 am by killerbot »

Offline nzoltan

  • Multiple posting newcomer
  • *
  • Posts: 39
Re: The 03 september 2006 build is out.
« Reply #1 on: September 03, 2006, 11:33:46 pm »
Quote
Fixed freeze in linux when updating the symbols browser

This is solve the infinite loop problem, C::B works fine again on Linux (FC4). Thanks!

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 03 september 2006 build is out.
« Reply #2 on: September 04, 2006, 12:49:49 am »
The following code will break code::blocks (August 26th build).

Well, actually what happens is my source file gets truncated to  a 0 length file.

This caused all kinds of mayhem until I figured out that one or more of the characters in the source was throwing code::blocks into a spin.

I suspect that an end of file marker is perhaps being interpreted here, or worse.

Just stick this in a code::blocks window and save the file.

/m



// Modifies a given PChar by transforming each character into its uppercase
//  equivalent (including international characters such as " --> " etc).

void DoUpperCase(PChar st)
{
  int stLength = 0, k = 0;

  if (st != NULL)
  {
    stLength = strlen(st);
    for(k = 0; k < stLength; k++) {
      switch (st[k]) {
        // Spanish
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // French (and Italian etc)
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // German?
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // Danish
        case '': st[k] = ''; break;
        // Swedish
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // Other
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        default: st[k] = toupper(st[k]); break;
      }
    }
  }
}

// Modifies a given PChar by transforming each character into its uppercase
//  equivalent (including international characters such as " --> " etc).

void DoLowerCase(PChar st) {
  int stLength = 0, k = 0;

  if (st != NULL) {
    stLength = strlen(st);
    for(k = 0; k < stLength; k++) {
      switch (st[k]) {
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // French (and Italian etc)
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // German?
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // Danish
        case '': st[k] = ''; break;
        // Swedish
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        // Other
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        case '': st[k] = ''; break;
        default: st[k] = tolower(st[k]); break;
      }
    }
  }
}

  lowerCase = MallocPChar(st);
  // works even if lowerCase == NULL
  DoLowerCase(lowerCase);

  return lowerCase;
}
*/

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: The 03 september 2006 build is out.
« Reply #3 on: September 04, 2006, 01:24:53 am »
I guess you are not saving the file in an appropiate encoding (ie. menu Edit->File Encoding->UTF-8).

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 03 september 2006 build is out.
« Reply #4 on: September 04, 2006, 01:45:28 am »
I did that and it set my file to zero length.

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: The 03 september 2006 build is out.
« Reply #5 on: September 04, 2006, 02:24:46 am »
I did that and it set my file to zero length.
It will not do the conversion automatically. Copy and paste the text somewhere else, make the file be UTF-8, and paste it again.

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 03 september 2006 build is out.
« Reply #6 on: September 04, 2006, 02:56:14 am »
OK did that and it worked.

So files cannot be converted to a new encoding?  Is that a limitation that can be overcome with a coding change in code::blocks?


Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: The 03 september 2006 build is out.
« Reply #7 on: September 04, 2006, 03:07:32 am »
OK did that and it worked.

So files cannot be converted to a new encoding?  Is that a limitation that can be overcome with a coding change in code::blocks?
It is not in the (current) scope of Code::Blocks to do conversion between different encodings.
Ideally you would always use UTF-8, right from the start. Else, you can use a program like iconv to convert between any encodings.

Note that you can set a default encoding in menu Settings->Editor->Default encoding when opening files.

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 03 september 2006 build is out.
« Reply #8 on: September 04, 2006, 03:47:46 am »
わかりました。 ありがとう!

マークでした。

Thanks Takeshi.


Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: The 03 september 2006 build is out.
« Reply #9 on: September 04, 2006, 04:03:04 am »
I've noticed that when using this build when the call tips are displayed, I get extremely high CPU usage.  On average from 8 to 10%, but when the call tips are displayed, if I start to type text, the CPU usage will spike to 100% and remain there while I keep typing text.

What's interesting is that even with Code Completion disabled, just typing in the editor will drive the CPU usage to 65% or so.

edit: Should have mentioned, I'm running Windows XP SP1.
« Last Edit: September 04, 2006, 01:47:42 pm by ironhead »

Offline sque

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: The 03 september 2006 build is out.
« Reply #10 on: September 04, 2006, 01:19:51 pm »
Everything perfect again at linux (exept for that wierd slowness, anyway). CC looks more robust and makes no mistakes!  :shock: I was waiting a long time to see it.

:clap: :clap: @ Devs
Ty for your time :D
Tell me a bug and I 'll tell you two  :twisted:

Offline Kreso

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: The 03 september 2006 build is out.
« Reply #11 on: September 04, 2006, 01:27:01 pm »
aaaah, nothing beats codeblocks in linux :) great work guys!

I have a usability suggestion for the symbol browser toolbar:

both comboboxes should be editable, so when you write in a few letters, the dropdown list shortens to only those references that begin with the few letters you specified (case-insensitive)

Offline sque

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: The 03 september 2006 build is out.
« Reply #12 on: September 04, 2006, 01:40:18 pm »
A damn.. still unfixed bug: https://developer.berlios.de/bugs/?func=detailbug&bug_id=8592&group_id=5358
It's quite annoying as for some plugins I got to edit the conf file to enable/disable.
Tell me a bug and I 'll tell you two  :twisted:

Offline paolo.bormida

  • Single posting newcomer
  • *
  • Posts: 8
Re: The 03 september 2006 build is out.
« Reply #13 on: September 04, 2006, 01:46:16 pm »
Hi all!

Thanx for the wonderful work you're doing: C::B is becoming better and better every single day.

I am wondering whether this problem is only mine or common to the nightly builds though: icons on the left pane in the dialogs in the "Setting" menu appear with black squared background (I suppose it should be white, or better transparent). And it happens on at least three different PCs, so it is not a single video card or driver.

Does anyone have any idea of that?

Thanx in advance.

Paolo

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5193
Re: The 03 september 2006 build is out.
« Reply #14 on: September 04, 2006, 02:00:18 pm »
Quote
both comboboxes should be editable, so when you write in a few letters, the dropdown list shortens to only those references that begin with the few letters you specified (case-insensitive)

Is on the to-do list ;-)