Home  /  RSS  /  RSS Comments  /  Enter

Boost.Locale v3 preview version is released

Friday, September 10, 2010, by artyom ; Posted in: Unicode and Localization; 0 comments

I want to announce a preview of the third version of Boost.Locale:

There are following significant changes:

Tested Platforms:

It would be soon integrated into CppCMS 1.x.x.

CppCMS 0.99.2 - Beta 2 is released

Wednesday, August 4, 2010, by artyom ; 0 comments

Update: Please take version 0.99.2.1

The second beta is availible for download:

Changes from Beta 1.

First beta version of CppCMS 1.x.x is officially out!

Thursday, June 24, 2010, by artyom ; Posted in: Progress, Framework, Comet, Unicode and Localization; 10 comments

Hello all CppCMS users.

The first beta version of CppCMS 1.x.x is available for download from the Sourceforge. The build instructions can be found here.

This version very different from CppCMS 0.0.x branch - it fixes many design flaws that had been done the previous version, it is almost 90% rewrite of the original code according to new design.

It also includes many important features

Most significant ones:

So now CppCMS beta is ready.

Hopefully first release candidate version will be ready withing about a 3 month. And the first stable release is expected at the end of 2010 beginning of 2011.

Surviving Windows Development

Sunday, June 13, 2010, by artyom ; Posted in: Unicode and Localization; 0 comments

One of the issues that had bothered my in CppCMS on Windows, was actually absence of full support of Unicode file-names.

It is known, that standard library functions like fopen or std::fstream are not capable of using UTF-8 encoded file names, like they are on all "normal" operating systems.

So in order to deal with such issues in transparent way, I added booster::nowide library that makes this conversion transparent. All functions in booster::nowide use UTF-8 encoded strings and convert then internally to wide strings for brain-damaged Win32 Wide API.

I also had created an implementation of std::fstream over stdio, especially for thous windows compilers that do not "extend" their standard libraries with non-standard wide-crap.

So, now CppCMS in fully Unicode capable over Win32. So if you use CppCMS with Windows, please note that all pathes are represented as UTF-8 strings and not "ANSI" one.

When Windows will finally enable UTF-8 locales? Maybe in Windows 15 (if it survive till then).

If you interested why do I hate "wide" API so much, read this.

You can download independent version of "nowide" library there:
http://art-blog.no-ip.info/files/nowide.zip

Once again CMake kicks me hard

Sunday, June 6, 2010, by artyom ; 0 comments

I've experienced lately quite wired issues with build, some accidental faults. It was quite clear that the issue was incorrect dependency tracking.

I thought (at the beginning) that svn was reverting time-stamps or something like that, until I got what was the issue.

"Fortunately" for me I had recently installed CMake 2.8.1 from the sources in order to track other CMake bug and I was able to do some little comparison. In short:

This is the output of sample command when I work with CMake 2.6

$ grep application.h CMakeFiles/cppcms.dir/depend.make
CMakeFiles/cppcms.dir/src/application.cpp.o: /usr/include/cppcms/application.h
CMakeFiles/cppcms.dir/src/applications_pool.cpp.o: /usr/include/cppcms/application.h
CMakeFiles/cppcms.dir/src/http_context.cpp.o: /usr/include/cppcms/application.h
CMakeFiles/cppcms.dir/src/internal_file_server.cpp.o: /usr/include/cppcms/application.h
CMakeFiles/cppcms.dir/src/rpc_json.cpp.o: /usr/include/cppcms/application.h
CMakeFiles/cppcms.dir/src/service.cpp.o: /usr/include/cppcms/application.h
CMakeFiles/cppcms.dir/src/url_dispatcher.cpp.o: /usr/include/cppcms/application.h

And this is same command for CMake 2.8...

$ grep application.h CMakeFiles/cppcms.dir/depend.make
CMakeFiles/cppcms.dir/src/application.cpp.o: ../cppcms/application.h
CMakeFiles/cppcms.dir/src/applications_pool.cpp.o: ../cppcms/application.h
CMakeFiles/cppcms.dir/src/http_context.cpp.o: ../cppcms/application.h
CMakeFiles/cppcms.dir/src/internal_file_server.cpp.o: ../cppcms/application.h
CMakeFiles/cppcms.dir/src/rpc_json.cpp.o: ../cppcms/application.h
CMakeFiles/cppcms.dir/src/service.cpp.o: ../cppcms/application.h
CMakeFiles/cppcms.dir/src/url_dispatcher.cpp.o: ../cppcms/application.h

CMake's dependency checker was using system global headers as dependency even when local files placed in explicitly specified location ".." should be checked.

CMake sucks! Do I need this suffer just for MSVC support? I don't know.

Looks like I'll have to upgrade to CMake 2.8

previous page

next page

Pages

Categories