News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 19 June 2007 build is out.

Started by killerbot, June 19, 2007, 07:38:56 PM

Previous topic - Next topic

killerbot

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/wxmsw28u_gcc_cb_wx284.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

The 19 June 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20070619_rev4107_win32.7z
  - Linux :
   http://prdownload.berlios.de/codeblocks/CB_20070619_rev4107_Ubuntu6.10+7.04_wx2.8.4.deb
   http://prdownload.berlios.de/codeblocks/CB_20070619_rev4107_suse100-102.wx28.i586.rpm (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070619_rev4107_fc4+5.i586.rpm (not yet)


Resolved Fixed:


  • Fixed: Couple of Signed/Unsigned warnings in EnvVar plugin.
  • Fixed: DLL linking issue with Borland compilers
  • DLL Wizard:
    - Fixed: Generated DLL not exporting function(s).
    - Added: Borland, MSVC, OpenWatcom, Digital Mars C compiler support.
    - Added: Wizard will now create a header to use exported function(s)

Regressions/Confirmed/Annoying/Common bugs:


  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)


Biplab

Windows Nightly revision number is incorrect.
Be a part of the solution, not a part of the problem.


cstudent


luoyonggang

The log file is not specify the encode standard,so it's will post incorrect things when i explore it in the Internet Explorer. I was using simplified Chinese Operating system, and in there is some simplified Chinese Characters in the log. So i think in the log file you must specify the chartset so that the browser can recognize the log file in a correct way.
Build log saved as: unnamed_build_log.html

skirby

Hello,

I have found a bug in this release (I haven't done the test with previous release).
- Create a simple Dos project with accented character in you project path like D:\Mélange
- Make an error somewhere in the code.
- Compile the project => In Build message window, you can see the error

Nothing happened if you double click on Build message window.
Normally, C::B goes on the line in error.
It does not happen if path does not contains accented character.

You can see a screenshot here:


I hope you could fix it.

Thanks and have a nice day.

David Perfors

Could you show the output of the Build log?
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

skirby


MortenMacFly

#8
Quote from: skirby on June 20, 2007, 12:44:33 PM
I hope you could fix it.
I am currently testing a patch that should tackle this.
If you want to, try replacing line 40 in compiler.cpp which is currently:

const wxString Compiler::FilePathWithSpaces = _T("[][{}() \t#%$~A-Za-z0-9_:+/\\.-]+");

...with:

#ifdef __WXMSW__
const wxString Compiler::FilePathWithSpaces = _T("[a-zA-Z]:\\[^/:*?\"<>]*\\?[^\\/:*?\"<>]*");
#else
const wxString Compiler::FilePathWithSpaces = _T("[.]{0,2}[/][^/:*?\"<>]*/?[^//:*?\"<>]*");
#endif                                           

That's also the root of the culprit btw... ;-)
With regards, Morten.

Edit: Ok... that's not supposed to work... forget about it for a while...
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]

killerbot

note that thos special symbols need to be there :

Eg. : C:\My{direc tor]y\I[s he(re)

is a valid dir : how stupid it may be, but it is

MortenMacFly

#10
Quote from: killerbot on June 20, 2007, 02:41:39 PM
Eg. : C:\My{direc tor]y\I[s he(re)
is a valid dir : how stupid it may be, but it is
I know. That's why I'm trying to do it the opposite way: *forbid* certain characters (notice the ^ in the RegExp) but allow all others.
With regards, Morten.

Edit: Now this should actually work:

#ifdef __WXMSW__
const wxString Compiler::FilePathWithSpaces = _T("[a-zA-Z]:\\\\[^/:*?\\\"<>]*\\\\?|[^/:*?\\\"<>]*");
#else
const wxString Compiler::FilePathWithSpaces = _T("[.]{0,2}[/][^\\\\:*?\\\"<>]*/?|[^\\\\:*?\\\"<>]*");
#endif                                           
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]

skirby

Why don't you simply exclude only these characters:
Quote\ / : * ? " < > |

Windows forbid these characters when you create or rename a folder.

David Perfors

Morton, just a reminder ;)
could you use the simple C++ statement:
if(platform::windows) (see prep.h and the anti macro's topics on the forums ;))
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

MortenMacFly

Quote from: mispunt on June 20, 2007, 03:27:03 PM
if(platform::windows) (see prep.h and the anti macro's topics on the forums ;))
I can't, as this is a const global variable... ;-)
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]

MortenMacFly

#14
Quote from: skirby on June 20, 2007, 03:21:06 PM
Why don't you simply exclude only these characters:
Quote\ / : * ? " < > |
Windows forbid these characters when you create or rename a folder.
Keep in mind we are cross-platform. But for windows this is what I'm actually trying to do, including to verify a correct file syntax (with drive letter etc...)
With regards, Morten.

Edit: BTW: It really seems to work now, the "Mélange" example at least...
Could some other devs have a look at this proposal, too, please?!
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]