News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

The 04 September 2010 build (6570) is out.

Started by killerbot, September 04, 2010, 10:48:10 PM

Previous topic - Next topic

killerbot

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2810_gcc441.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc441.7z

The 04 September 2010 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20100904_rev6570_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:




seb_seb0

Hello,

unfortunately, the wxSmith bug is not solved (colours & font editors in wxPropertyGrid not displaying image).

I have however found a fix for the wxsMyColourPropertyClass.
The problem come from a change in name of a virtual method :
   from virtual wxSize GetImageSize() const;
   to virtual wxSize OnMeasureImage(int item = -1)  const;

I have created a new method OnMeasureImage, and now it works !
See patch attached.

Hopefully it will always be that simple for all others regressions in wxSmith.

Regards,

Sebastien

PS: it is written in the wxWidgets doc:

Quotevirtual void wxPGProperty::OnCustomPaint  ( wxDC &  dc, 
  const wxRect &  rect, 
  wxPGPaintData &  paintdata   
)   [virtual]

Override to paint an image in front of the property value text or drop-down list item (but only if wxPGProperty::OnMeasureImage is overridden as well).

ahui886

Thanks!
code:blocks is becoming better and better.

eckard_klotz

Hello Everybody.

I'm a user of the cppcheck-plugin. The tool itself works. But I'm missing a posibility to configure it.

1. Since I don't have the admin-rights to install cppcheck I've copied a ready installed package from an other computer to my system. It works, but I have to search the tool every-time when i want to start it. Ii there a possibility to set the location in the environment-configuration of code::blocks?

2. If I load the code::blocks project of cppcheck and start cppcheck to testst its own sources I can click on one message,  code::blocks opens the file and jumps to the asosiated code-line. If I do the same in my project, I have to search the code-line by my self. How do I have to configure my project to activate the 'find by' click feature?

3. I want to suppress some messages. I can see that cppcheck will be started with an file named 'CppCheckInput.txt'. I think that this file can be used for configuring the tool. But where is it? Or How can I tell code::blocks to use my own one?

Best Regards,
                   Eckard Klotz.

oBFusCATed

Quote from: eckard_klotz on September 09, 2010, 12:58:54 PM

3. I want to suppress some messages. I can see that cppcheck will be started with an file named 'CppCheckInput.txt'. I think that this file can be used for configuring the tool. But where is it? Or How can I tell code::blocks to use my own one?
This file is auto generated and it is used to specify which files should be checked. I think it can't be used for error suppression...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

killerbot

cppcheck plug-in currently is not configurable, but it would be good idea (it already crossed our mind) to configure the path for it so it can find the cppcheck executable.

That input file is generated on the fly, for providing the input files, it is not reusable.

MortenMacFly

Quote from: eckard_klotz on September 09, 2010, 12:58:54 PM
1. Since I don't have the admin-rights to install cppcheck I've copied a ready installed package from an other computer to my system. It works, but I have to search the tool every-time when i want to start it. Ii there a possibility to set the location in the environment-configuration of code::blocks?
This you can actually solve if you put the executable to your path or in the path where codeblocks.exe is located. Alternatively expand the PATH environment variable to the path where your cppcheck.exe is.

However, surely the plugin could be enhanced to offer at least some configuration options.
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]

eckard_klotz

Hello Everybody.

Thanks for the quick reaction. I learned the plug-in is still under development and there is somebody who is interested in ideas to define new features. That's great.

Has anybody an idea why the cppcheck-project is able to activate the 'find by click' feature I described (and why my project is not)?

Quote
2. If I load the code::blocks project of cppcheck and start cppcheck to testst its own sources I can click on one message,  code::blocks opens the file and jumps to the asosiated code-line. If I do the same in my project, I have to search the code-line by my self. How do I have to configure my project to activate the 'find by' click feature?

Best regards,
                   Eckard Klotz.

MortenMacFly

Quote from: eckard_klotz on September 09, 2010, 06:41:15 PM
Has anybody an idea why the cppcheck-project is able to activate the 'find by click' feature I described (and why my project is not)?
No, this works for me. Can you send a stripped sample project where it does not? Is it probably Makefile based (although this still should work)?!
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]

emptymind

When i use abbreviation, new line symbols '\n' just printing in editor. It was working fine before.

ChaiAo

Excuse me, but I have question.

What's the different between "build (6570)" and "build (6570) DEBUGGER BRANCH version" please?
I have downloaded "Code::Blocks 10.05" which displayed on index.
Please tell me which patch should I have?
"build (6570)" or "build (6570) DEBUGGER BRANCH version"

Thanks a lot.

MortenMacFly

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]

ChaiAo

Quote from: MortenMacFly on September 10, 2010, 04:22:27 PM
Quote from: ChaiAo on September 10, 2010, 03:34:44 PM
What's the different between "build (6570)" and "build (6570) DEBUGGER BRANCH version" please?
http://forums.next.codeblocks.org/index.php/topic,13170.msg88486.html#msg88486
....read the last sentences.

Thanks a lot.
But why doesn't Mr. killerbot put them together?

ptDev

Quote from: ChaiAo on September 11, 2010, 03:13:59 PM
Quote from: MortenMacFly on September 10, 2010, 04:22:27 PM
Quote from: ChaiAo on September 10, 2010, 03:34:44 PM
What's the different between "build (6570)" and "build (6570) DEBUGGER BRANCH version" please?
http://forums.next.codeblocks.org/index.php/topic,13170.msg88486.html#msg88486
....read the last sentences.

Thanks a lot.
But why doesn't Mr. killerbot put them together?

The debugger branch will be merged with the trunk as soon as it becomes stable. The "Debugger Branch" releases are meant precisely for testing towards this end.

ChaiAo