Skip to content

Emmavw/wxExtension

 
 

Repository files navigation

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.

Dependencies

Build process

Building wxWidgets

  • 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

Building wxExtension

  • Project and make files are generated using Bakefile 0.2.9
    In the build dir:

    • under windows using Microsoft Visual Studio 2012:
      make or make-release

    • under cygwin:
      make
      wxExtension does not yet compile

    • under Ubuntu:
      make

    • under mac:
      make -f GNUMakefile-mac

    • under SunOS:
      /usr/sfw/bin/make

Adding functionality

  • use STL whenever possible

  • icons and bitmaps

  • 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 requires lcov and genhtml tools.

    • run cppcheck 1.56 to catch remaining errors.

Deploy

  • under Windows using:
    deploy.bat (in build dir)

  • under Linux using:
    deploy.sh (in build dir)

About

wxExtension contains a wxWidgets extension library, and some applications that show how to use it

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 89.6%
  • Racket 6.8%
  • Objective-C 2.0%
  • C 1.1%
  • Shell 0.5%