Author Topic: The 14 February 2009 build (5456) is out.  (Read 96101 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: The 14 February 2009 build (5456) is out.
« Reply #15 on: February 19, 2009, 06:49:04 am »
Maybe I found a strange bug in 5432 and 5456.

There is no effect when I set the syntax background color in the syntax highlighting setting panel.  :?

What OS ?
Can you explain exactly what colour you tried to change, that does not work.

I just tried several backgrounds for C++ on linux and there aren't any problems.

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: The 14 February 2009 build (5456) is out.
« Reply #16 on: February 19, 2009, 11:27:21 am »
What OS ?
Can you explain exactly what colour you tried to change, that does not work.

I just tried several backgrounds for C++ on linux and there aren't any problems.

Sorry to not to explain clearly. Setting background color is only effect with system default color in Windows XP, and not effect when setting custom color, even if I delete the original config dir of code::blocks and restart it.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: The 14 February 2009 build (5456) is out.
« Reply #17 on: February 19, 2009, 11:44:07 am »
No problem here (on XP SP3 at work) C::B r5458.
I only tried it for C/C++ languages, but that works as expected here.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #18 on: February 19, 2009, 11:45:27 am »
No problem in my windows xp. See the screenshot.


[attachment deleted by admin]
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #19 on: February 19, 2009, 11:56:05 am »
Can codeblocks editor recognize the preprocess blocks.
I open the save file in both Codeblocks and NotePad++. It seems that NotePad++ works well. See the screen shot below.


[attachment deleted by admin]
« Last Edit: March 03, 2009, 07:15:18 am by ollydbg »
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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: The 14 February 2009 build (5456) is out.
« Reply #20 on: February 19, 2009, 11:59:48 am »
Can codeblocks editor recognize the proprocess blocks.
I open the save file in both Codeblocks and NotePad++. It seems that NotePad++ works well. See the screen shot below.


Just check "Settings -> Editor -> Folding -> Fold preprocessor commands".

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #21 on: February 19, 2009, 12:02:56 pm »
Can codeblocks editor recognize the proprocess blocks.
I open the save file in both Codeblocks and NotePad++. It seems that NotePad++ works well. See the screen shot below.


Just check "Settings -> Editor -> Folding -> Fold preprocessor commands".

Thank you for your quick help. It works!
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #22 on: February 20, 2009, 02:33:29 pm »
Here is the Thread Search problem. (I'm using Windows XP)

In Setting->Editor-> I use "ISO-8859-1" and select "AS fallback encoding".

I open the source code of  codeblocks. When I use the Thread Search or context menu->Find occurrence of some words, it will prompt a lot of messages saying many filed can't be opened. See the screen shot below.

Is there something wrong? Thank you!






[attachment deleted by admin]
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.

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: The 14 February 2009 build (5456) is out.
« Reply #23 on: February 20, 2009, 05:16:39 pm »
Here is the Thread Search problem. (I'm using Windows XP)

In Setting->Editor-> I use "ISO-8859-1" and select "AS fallback encoding".

I open the source code of  codeblocks. When I use the Thread Search or context menu->Find occurrence of some words, it will prompt a lot of messages saying many filed can't be opened. See the screen shot below.

Is there something wrong? Thank you!


me too, me too, me too

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: The 14 February 2009 build (5456) is out.
« Reply #24 on: February 20, 2009, 09:08:33 pm »
Hi,

If my memory is good enough, wxTextFile is used to parse files.
I have no problem if I use UTF8 for encoding.
Some details at this thread.

I have no time for development for now. The two items on my TODO list are this one and the size optimization for small screens with yesno patch.

Dje


Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #25 on: February 21, 2009, 11:05:17 am »
@DJE

I change to UTF-8. After restarting my c::b, but still 6 errors on searching.

I'm using Windows XP English.

Edit:
If I use UTF-8. Then the Tokenizer.cpp can't be shown correctly, nothing was displayed in the editor window. I have report this bug before, and someone suggest using the iso-8859-1. :D
« Last Edit: February 21, 2009, 03:24:43 pm by ollydbg »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #26 on: February 21, 2009, 04:48:36 pm »
HI, After  unchecking "Allow only one running instance" in Setting -> General settings .

I found that I can still run one instance of c::b. (windows xp)

Is this a bug?

Thanks.


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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: The 14 February 2009 build (5456) is out.
« Reply #27 on: February 21, 2009, 07:05:58 pm »
HI, After  unchecking "Allow only one running instance" in Setting -> General settings .

I found that I can still run one instance of c::b. (windows xp)

Is this a bug?

Thanks.




Read what the next checkbox right after "Allow only one running instance" does and you understand.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #28 on: February 22, 2009, 02:01:29 am »
HI, After  unchecking "Allow only one running instance" in Setting -> General settings .

I found that I can still run one instance of c::b. (windows xp)

Is this a bug?

Thanks.




Read what the next checkbox right after "Allow only one running instance" does and you understand.

Thanks Jens.
So, The next checkbox "Use an already running instand...." should be unchecked  to let another c::b running.
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 February 2009 build (5456) is out.
« Reply #29 on: February 22, 2009, 07:17:06 am »
Feature need for the 1024*768 screen.

Hi, I think a horizontal Scroll bar is need to show the build output. Because the output string will be truncated. See the screen shot below.

Thank you!


[attachment deleted by admin]
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.