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

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
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 »

nzoltan

  • Guest
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;
}
*/

takeshimiya

  • Guest
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.

takeshimiya

  • Guest
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?


takeshimiya

  • Guest
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:

Kreso

  • Guest
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: 5491
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 ;-)