Source code

Source code of the latest release:
Monex 0.723

Repository

Latest source code can be retrieved from the SVN (subversion) Monex repository.
Please read instructions on how to access the repository.

Directory structure

Main directories are:

Path Description
\Build Scripts for automatic build.
\Dokumentacija Documentation material.
\DomacaStran Home page published on monex.sourceforge.net.
\Knjiznice Common libraries.
\Orodja Tools.
\Orodja\DUnit Unit test tool.
\Orodja\UnitSorter Application to alphabetically sort used libraries in source code after the uses clause.
\Orodja\SlovarCheck Application to check the "dictionary", used for localization.
\Komponente Monex visual components
Other open source or free available components
\Monex Main source files.
\Monex\Jedro Data holding classes.
\Prevodi Translations of Monex in english, german and slovene.
\Splosno General source files (used both by Monex and Analyzator).
\Testi Unit tests
\Testi\Knjiznice Unit tests for libraries.
\Testi\Knjiznice\TestneDatoteke Files for unit tests support.
\Testi\Monex Unit tests for Monex.
\Testi\Monex\Splosno Libraries tests.
\Testi\Monex\Jedro Data classes tests.
\Testi\XmlDrevoView Visual components practical tests.
\Slike Images and icons.
\Slike\Gumbi Icons for buttons.
\Slike\Logotip Monex logo.
\Namestitev Installation script.
\Namestitev\Datoteke Files which are part of the installation.
\Exe Building out path.
\Units Build libraries (*.dcu) out path.

Projects

Monex is written in object pascal (Delphi) and is intended for Borland Delphi 7. It might compile under other versions but this was not tested.

Components

Components must be precompiled and installed into the development environment.

Project group MonexKomponenteGroup.dpg found on the \Komponente path will build and install all used components.

Monex

All projects are joined in the project group MonexGroup.dpg found in \Monex path.

Automated build

An automated build procedure can be invoked by running the build.bat script found in \Build path.
The build procedure does the following:

  • Export of the latest code from SVN
  • Build of all deliverables, unit tests and tools
  • Run of all unit tests
  • Run of test tool checking if all translations are available
  • Packing of the installation
  • ZIP of latest source

Manually tasks are still:

  • Upload of source to Sourceforge
  • Upload of newest build to Sourceforge
  • Upload of home page
  • Tagging of SVN repository

Two essential tools are used to perform the automatic build:

  • Want - Delphi friendly build tool
  • NSIS - Nullsoft scriptable install system

Documentation

Documentation (mainly in slovenian language) can be found on the \Dokumentacija path:

  • Monex.txt - high level design
  • MonexPodatki.txt - data structures
  • NePozabi.txt - don't forget to do it list - obsolete
  • KodniStil.txt - coding style
  • Monex.mm - Bugs, features and to do list (using: Free Mind) - obsolete, now available over Lighthouse
  • MonexTestiranje.mm - Test cases
  • \DTD\Slovar.dtd - dictionary DTD
  • \DTD\Slovar.xsd - dictionary XSD definition

top