wxExtension contains a wxWidgets extension library, adding xml lexer configuration and useful classes to wxWidgets, and some applications that show how to use it.
The syncped application is one of these applications, being a full featured source code text editor.
-
wxWidgets 2.9.3 is used as a stable master branch
http://www.wxwidgets.org/ -
database is OTL (Version 4.0.214)
http://otl.sourceforge.net/
-
under windows using Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel using command line prompt
nmake -f makefile.vc
-
under windows using cygwin 1.7.9
../configure --with-msw --disable-shared
-
under Ubuntu 11.04 linux gcc gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
../configure --with-gtk
-
under mac os 10.4 use gcc 4.0.1 (part of xcode25_8m2258_developerdvd.dmg)
../configure --with-mac
-
under SunOS using GNU make (/usr/sfw/bin)
../configure --with-gtk --disable-shared --without-opengl
-
First of all, the new C++ auto keyword is used a lot, so you need a recent compiler to compile sources.
-
Project and make files are generated using Bakefile 0.2.9
http://www.bakefile.org/
in the build dir:-
under windows:
make
ormake-release
-
under cygwin
make
wxextension does not yet compile -
under Ubuntu:
make
-
under mac:
make -f GNUMakefile-mac
-
under SunOS:
/usr/sfw/bin/make
-
-
STL is used whenever possible
-
icons and bitmaps
- menu and toolbar bitmaps are from wxWidgets, using wxArtProvider
- application icons
http://tango.freedesktop.org/Tango_Desktop_Project and converted to ico using
http://www.convertico.com/ and converted to xpm using GIMP (2.6.6)
http://www.gimp.org/ and convert to mac icns (first make 128 by 128 icon) http://iconverticons.com/
-
coding standard:
http://www.gnu.org/prep/standards/standards.html
and wxWidgets guidelines
http://www.wxwidgets.org/develop/standard.htm -
apply a patch:
patch -p0 -i fixes.patch
-
doxy document sources
API documentation is generated from the sources using Doxygen (1.7.1) http://www.stack.nl/~dimitri/doxygen/ -
translation is done using poedit (1.4.6)
http://www.poedit.net/ wxextension has it's own localization file, your application should also add it's own one(add _() around text strings), and also put the standard wxwidgets localization file in the localization dir.
The place where to put your po files can be found by running wxex-sample, that shows the folder on the status bar. You can also test other languages using the special LANG config item, e.g. setting it to 80 allows you to test french translation. -
automated testing is done using cppunit (1.12)
http://sourceforge.net/projects/cppunit:sudo apt-get install libcppunit-dev
add a test for it in- extension/test/base
- extension/test/gui
- extension/test/gui-report
where it has least dependencies,
run test-all.sh from the build dir, which collects output in several log files.
-
add a sample for it in
- extension/sample
- extension/sample/report
-
debug
- under Windows using IDE
- under Linux using ddd
-
deploy
- under Windows using deploy.bat (in build dir)
- under Linux using deploy.sh (in build dir)