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.4 is used as a stable master branch
-
OTL database 4.0.214 is used by syncodbcquery
-
under windows using Microsoft Visual Studio 2012 nmake:
nmake -f makefile.vc
or
nmake -f makefile.vc BUILD=release
-
under windows using cygwin 1.7.9:
../configure --with-msw --disable-shared
-
under Ubuntu 12.10 linux g++ g++ (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2:
../configure --with-gtk
or
../configure --with-gtk=3
after installing gtk:
sudo apt-get install libgtk2.0-dev
-
under mac os 10.4 use gcc 4.0.1 (use v2.9.3 tag) (part of xcode25_8m2258_developerdvd.dmg):
../configure --with-mac
-
under mac os 10.5 not tested
-
under SunOS using GNU make (/usr/sfw/bin):
../configure --with-gtk --disable-shared --without-opengl
-
Project and make files are generated using Bakefile 0.2.9
In the build dir:-
under windows using Microsoft Visual Studio 2012:
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
-
-
use STL whenever possible
-
icons and bitmaps
-
menu and toolbar bitmaps are from wxWidgets, using wxArtProvider
-
application icons from Tango, converted to ico, converted to xpm using GIMP 2.6.6), convert to mac icns (first make 128 by 128 icon)
-
-
doxy document sources
API documentation is generated from the sources using Doxygen 1.7.1 -
translation is done using poedit 1.5.4
-
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:
sudo apt-get install libcppunit-dev
-
run
test-all.sh
from the build dir, which collects output in several log files. -
test coverage can be generated by running
coverage.sh
This requireslcov
andgenhtml
tools. -
run cppcheck 1.56 to catch remaining errors.
-
-
under Windows using:
deploy.bat
(in build dir) -
under Linux using:
deploy.sh
(in build dir)