Artistic Style - Subversion

# Artistic Style Subversion Repository

### Artistic Style

The latest development source is in the Artistic Style repository at SourceForge. It can be checked out using Subversion. The source code is under development and some changes take several weeks to complete. The intermediate source files have not been through the extensive system tests that are done before each release. Use reasonable precautions when using source code from the repository.

The repository address was changed on 5/31/13 when the project was upgraded to the Allura platform by SourceForge. The new repository address is "https://svn.code.sf.net/p/astyle/code" or "svn://svn.code.sf.net/p/astyle/code". The OLD repository address was "https://astyle.svn.sourceforge.net/svnroot/astyle", which is now read only. If you have checked out a working copy of the AStyle source check the Repository Upgrade FAQ for information on how to change the repository.

The current version is in the "trunk/AStyle" branch of the repository. The file and directory names are case sensitive.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyle" "$HOME/astyle"

You can also browse the subversion repository. The current development release is in the "trunk" directory. This gives you a view into the current status of the project's code without actually checking-out the files.

### Other Projects

Two additional Artistic Style projects are available in the repository. They are not maintained for the general public but are available if you want them. You may have to create your own project files and scripts to use them. These projects require the Artistic Style project above. They are an extension that requires the Artistic Style source. All projects, and any additional source required, should be installed in the same top level folder.

#### AStyleDev

AStyleDev contains the development files that are made available in the "Developer Information" section. Refer to that section for more information.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleDev" "$HOME/astyledev"

#### AStyleTest

AStyleTest contains the unit test programs and test scripts for Artistic Style. There are over 2000 tests in the main test program.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleTest" "$HOME/astyletest"

In addition to the Artistic Style source the test program requires Google Mock. This is the Google multi-platform framework for writing C++ unit tests. The main Artistic Style test project, AStyleTest, actually uses "integration" tests instead of "unit" tests. This type of testing can be effective for programs that were written without unit tests to begin with.

An optional leak finder program can be added if you are using Visual Studio. The Visual Leak Detector should be installed in the default install directory (C:\Program Files (x86)\Visual Leak Detector). You do NOT need to change the "PATH" environment variable. It can be downloaded from the website or installed from standard versions of Visual Studio 2012 from the "Tools > Extensions and Updates" menu.