# 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 is "https://astyle.svn.sourceforge.net/svnroot/astyle". The current version is in the "trunk/AStyle" branch of the repository. The file and directory names in the repository are case sensitive.

A sample checkout is:
svn checkout "https://astyle.svn.sourceforge.net/svnroot/astyle/trunk/AStyle" "$HOME/astyle"

Note that the URLs used to access the repository will change when the project is upgraded to the Allura platform by SourceForge. SourceForge should provide information on the new URLs.

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://astyle.svn.sourceforge.net/svnroot/astyle/trunk/AStyleDev" "$HOME/astyledev"

Note that the URLs used to access the repository will change when the project is upgraded to the Allura platform by SourceForge. SourceForge should provide information on the new URLs.

#### AStyleTest

AStyleTest contains the unit test programs and test scripts for Artistic Style.

A sample checkout is:
svn checkout "https://astyle.svn.sourceforge.net/svnroot/astyle/trunk/AStyleTest" "$HOME/astyletest"

Note that the URLs used to access the repository will change when the project is upgraded to the Allura platform by SourceForge. SourceForge should provide information on the new URLs.

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.