News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

The 14 February 2009 build (5456) is out.

Started by killerbot, February 15, 2009, 09:00:09 AM

Previous topic - Next topic

Jenna

Quote from: courage on February 19, 2009, 03:32:10 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.

courage

Quote from: jens on February 19, 2009, 06:49:04 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.

Jenna

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.

ollydbg

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.

ollydbg

#19
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]
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.

Jenna

Quote from: ollydbg on February 19, 2009, 11:56:05 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".

ollydbg

Quote from: jens on February 19, 2009, 11:59:48 AM
Quote from: ollydbg on February 19, 2009, 11:56:05 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".

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.

ollydbg

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.

nanyu

Quote from: ollydbg 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!


me too, me too, me too

dje

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


ollydbg

#25
@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
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.

ollydbg

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.

Jenna

Quote from: ollydbg 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.




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

ollydbg

Quote from: jens on February 21, 2009, 07:05:58 PM
Quote from: ollydbg 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.




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.

ollydbg

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.