|
1 |
| -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
2 | 2 |
|
3 |
| -<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | +<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> |
4 | 4 |
|
5 | 5 | <head>
|
6 | 6 | <title>Artistic Style - Subversion</title>
|
7 | 7 | <meta http-equiv="Content-Language" content="en-us" />
|
8 | 8 | <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
|
| 9 | + <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" /> |
9 | 10 | <link href="styles.css" rel="stylesheet" type="text/css" />
|
10 | 11 | </head>
|
11 | 12 |
|
12 | 13 | <body>
|
13 | 14 |
|
14 |
| - <h1> |
15 |
| - Artistic Style Subversion Repository</h1> |
| 15 | + <h1>Artistic Style Subversion Repository</h1> |
16 | 16 |
|
17 | 17 | <p>
|
18 | 18 | </p>
|
19 | 19 |
|
20 |
| - <h3> |
21 |
| - Artistic Style</h3> |
| 20 | + <h3>Artistic Style</h3> |
22 | 21 |
|
23 | 22 | <p>
|
24 | 23 | The latest development source is in the Artistic Style repository at SourceForge. It can be checked out using
|
25 | 24 | Subversion. The source code is under development and some changes take several weeks to complete. The intermediate
|
26 | 25 | source files have not been through the extensive system tests that are done before each release. Use reasonable
|
27 | 26 | precautions when using source code from the repository.</p>
|
28 | 27 | <p>
|
29 |
| - The repository address is "https://astyle.svn.sourceforge.net/svnroot/astyle". The current version is in the "trunk/AStyle" |
30 |
| - branch of the repository. The file and directory names in the repository are case sensitive.</p> |
| 28 | + The current version is in the "trunk/AStyle" branch of the repository. The file and directory names are case |
| 29 | + sensitive.</p> |
31 | 30 | <p>
|
32 | 31 | A sample checkout is:<br />
|
33 |
| - <strong>svn checkout "https://astyle.svn.sourceforge.net/svnroot/astyle/trunk/AStyle" "$HOME/astyle"</strong></p> |
| 32 | + <strong>svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyle" |
| 33 | + "$HOME/astyle"</strong></p> |
34 | 34 | <p>
|
35 |
| - Note that the URLs used to access the repository will change when the project is upgraded to the Allura platform |
36 |
| - by SourceForge. SourceForge should provide information on the new URLs.</p> |
37 |
| - <p> |
38 |
| - You can also <a href="http://astyle.svn.sourceforge.net/viewvc/astyle/">browse the subversion repository</a>. 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.</p> |
| 35 | + You can also <a href="https://sourceforge.net/p/astyle/code/HEAD/tree/" target="_blank" title="open new window">browse |
| 36 | + the subversion repository</a>. The current development release is in the "trunk" directory. This gives you |
| 37 | + a view into the current status of the project's code without actually checking-out the files.</p> |
39 | 38 | <p>
|
40 | 39 | </p>
|
41 | 40 |
|
42 |
| - <h3> |
43 |
| - Other Projects</h3> |
| 41 | + <h3>Other Projects</h3> |
44 | 42 |
|
45 | 43 | <p>
|
46 | 44 | Two additional Artistic Style projects are available in the repository. They are not maintained for the general
|
47 |
| - public but are available if you want them. You may have to create your own project files and scripts to use them. |
48 |
| - These projects require the Artistic Style project above. They are an extension that requires the Artistic Style |
49 |
| - source. All projects, and any additional source required, should be installed in the same top level folder.</p> |
| 45 | + public, but are available if you want them. You may have to create your own project files and scripts to use |
| 46 | + them.</p> |
| 47 | + <p> |
| 48 | + All projects, and any additional source required, should be installed in the same top level folder. A sample file |
| 49 | + directory containing ALL the projects should look as follows. The project dependencies are described |
| 50 | + below.</p> |
| 51 | + <pre> Projects |
| 52 | + AStyle |
| 53 | + AStyleDev |
| 54 | + AStyleTest |
| 55 | + AStyleWx |
| 56 | + AStyleWxTest |
| 57 | + googlemock |
| 58 | + googletest</pre> |
50 | 59 |
|
51 |
| - <h4> |
52 |
| - AStyleDev</h4> |
| 60 | + <h4>AStyleDev</h4> |
53 | 61 |
|
54 | 62 | <p>
|
55 | 63 | AStyleDev contains the development files that are made available in the "Developer Information" section. Refer
|
56 | 64 | to that section for more information.</p>
|
57 | 65 | <p>
|
58 |
| - A sample checkout is:<br /> |
59 |
| - svn checkout "https://astyle.svn.sourceforge.net/svnroot/astyle/trunk/AStyleDev" "$HOME/astyledev"</p> |
| 66 | + These projects require the Artistic Style project to compile.</p> |
60 | 67 | <p>
|
61 |
| - Note that the URLs used to access the repository will change when the project is upgraded to the Allura platform |
62 |
| - by SourceForge. SourceForge should provide information on the new URLs.</p> |
| 68 | + A sample checkout is:<br /> |
| 69 | + <strong>svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleDev" "$HOME/astyledev" |
| 70 | + </strong></p> |
63 | 71 |
|
64 |
| - <h4> |
65 |
| - AStyleTest</h4> |
| 72 | + <h4>AStyleTest</h4> |
66 | 73 |
|
67 | 74 | <p>
|
68 |
| - AStyleTest contains the unit test programs and test scripts for Artistic Style. |
69 |
| - </p> |
| 75 | + AStyleTest contains the unit test programs and test scripts for Artistic Style. There are over 2500 tests in the |
| 76 | + main test program.</p> |
| 77 | + <p> |
| 78 | + This project requires the Artistic Style project to compile. |
| 79 | + In addition, the test program requires Google Mock and Google Test described below.</p> |
| 80 | + <p> |
| 81 | + The main test project, AStyleTest, can be run in Visual Studio using the graphical Visual Studio Test |
| 82 | + Explorer. The procedure is described below.</p> |
70 | 83 | <p>
|
71 | 84 | A sample checkout is:<br />
|
72 |
| - svn checkout "https://astyle.svn.sourceforge.net/svnroot/astyle/trunk/AStyleTest" "$HOME/astyletest"</p> |
| 85 | + <strong>svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleTest" "$HOME/astyletest" |
| 86 | + </strong></p> |
| 87 | + |
| 88 | + <h4>AStyleWx</h4> |
| 89 | + |
| 90 | + <p> |
| 91 | + AStyleWx contains a GUI test program for Artistic Style that uses the wxWidgets C++ library.</p> |
| 92 | + <p> |
| 93 | + This project requires the Artistic Style project to compile. |
| 94 | + Files for download are made available in the |
| 95 | + <a href="https://sourceforge.net/projects/astylewx.astyle.p/" target="_blank" title="open new window">Artistic Style |
| 96 | + Wx</a> subproject. The download contains all files needed to compile the project. The subproject can be accessed |
| 97 | + from the Artistic Style SourceForge pages.</p> |
73 | 98 | <p>
|
74 |
| - Note that the URLs used to access the repository will change when the project is upgraded to the Allura platform |
75 |
| - by SourceForge. SourceForge should provide information on the new URLs.</p> |
| 99 | + A sample checkout is:<br /> |
| 100 | + <strong>svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleWx" "$HOME/astylewx" |
| 101 | + </strong></p> |
| 102 | + |
| 103 | + <h4>AStyleWxTest</h4> |
| 104 | + |
76 | 105 | <p>
|
77 |
| - In addition to the Artistic Style source the test program requires |
78 |
| - <a href="http://code.google.com/p/googlemock/" |
79 |
| - target="astyle" title="open new window">Google Mock</a>. This is the Google multi-platform framework for writing C++ |
80 |
| - unit tests. The main Artistic Style test project, AStyleTest, actually uses "integration" tests instead of |
81 |
| - "unit" tests. This type of testing can be effective for programs that were written without unit tests to begin |
82 |
| - with.</p> |
| 106 | + AStyleTest contains the unit test programs and test scripts for AStyleWx. </p> |
83 | 107 | <p>
|
84 |
| - An optional leak finder program can be added if you |
85 |
| - are using Visual Studio. The <a href="https://vld.codeplex.com/" target="astyle" |
86 |
| - title="open new window">Visual Leak Detector</a> should be installed in the default install directory |
87 |
| - (C:\Program Files (x86)\Visual Leak Detector). You do NOT need to change the "PATH" environment variable. |
88 |
| - It can be downloaded from the website or installed from standard versions of Visual Studio 2012 from the |
89 |
| - "Tools > Extensions and Updates" menu.</p> |
| 108 | + This project requires the AStyleWx project to compile. In addition, the test program requires Google Mock and |
| 109 | + Google Test described below.</p> |
90 | 110 | <p>
|
91 |
| - |
92 |
| - </p> |
| 111 | + A sample checkout is:<br /> |
| 112 | + <strong>svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleWxTest" "$HOME/astylewxtest" |
| 113 | + </strong></p> |
93 | 114 |
|
94 |
| - <center style="margin-left: -0.4in;"> |
95 |
| - <a href="http://sourceforge.net/projects/astyle"> |
96 |
| - <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" width="150" height="40" alt="[SourceForge.net]" /></a> |
97 |
| - </center> |
| 115 | + <h4>Google Mock and Google Test</h4> |
98 | 116 |
|
99 | 117 | <p>
|
100 |
| - </p> |
| 118 | + Google Test and Google Mock is the Google multi-platform framework for writing C++ unit tests. |
| 119 | + It is available on <a href="https://github.com/google/googletest" target="_blank" title="open new window">GitHub</a> |
| 120 | + and can be downloaded as a zip file by pressing the green "clone or download" button and selecting |
| 121 | + "Download ZIP". The default is to download the master development branch. The latest stable release |
| 122 | + can be obtained by using the drop-down box labeled "Branch: master", selecting the "tags" |
| 123 | + tab, and then selecting the latest release. The selected release can then be downloaded using the "clone |
| 124 | + or download" button. Download the latest release for googletest and googlemock from the repository.</p> |
| 125 | + <p> |
| 126 | + The Artistic Style project files are set up to use googletest and googlemock installed in the top level folder |
| 127 | + as indicated above. The library compile for googlemock includes googletest. The library compile for googletest |
| 128 | + includes only googletest. The AStyle test programs have their own project files for compiling the test platform. |
| 129 | + There are also compile project files in the downloaded google modules if you want to use them. They create a static |
| 130 | + library file that is linked to the test program. The google downloads contain instructions for using the |
| 131 | + package. </p> |
101 | 132 |
|
102 |
| - <!-- Piwik --> |
| 133 | + <h4>Visual Studio Test Explorer</h4> |
103 | 134 |
|
104 |
| - <script type="text/javascript"> |
105 |
| -var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/astyle/" : "http://sourceforge.net/apps/piwik/astyle/"); |
106 |
| -document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); |
107 |
| - </script> |
| 135 | + <p> |
| 136 | + Some of the test projects can be run in Visual Studio Community using Visual Studio Test Explorer. |
| 137 | + If there is a <strong>.gta.runsettings</strong> file in the solution directory for a test project, |
| 138 | + the test will run in the Test Explorer.</p> |
| 139 | + <p> |
| 140 | + The "Google Test Adapter" extension must be installed from the Tools > "Extensions |
| 141 | + and Updates" menu. After restarting Visual Studio the test window is activated from the Test |
| 142 | + > Window > "Test Explorer" menu option. After compiling, the tests will appear in |
| 143 | + the test window. Then they may be run from the "Test Explorer" window or from the Test menu |
| 144 | + options.</p> |
| 145 | + <p> |
| 146 | + Test Explorer may be used for other test projects. The tests can also be run as a command line program by using |
| 147 | + the standard debug or run button on the menu or toolbar.</p> |
108 | 148 |
|
109 |
| - <script type="text/javascript"> |
110 |
| -try { |
111 |
| -var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1); |
112 |
| -piwikTracker.trackPageView(); |
113 |
| -piwikTracker.enableLinkTracking(); |
114 |
| -} catch( err ) {} |
115 |
| - </script> |
| 149 | + <p> |
| 150 | + </p> |
116 | 151 |
|
117 |
| - <noscript> |
118 |
| - <p> |
119 |
| - <img src="http://sourceforge.net/apps/piwik/astyle/piwik.php?idsite=1" style="border: 0" alt="" /></p> |
120 |
| - </noscript> |
| 152 | + <p style="margin-left: -0.4in; text-align: center;"> |
| 153 | + <a href="http://sourceforge.net/projects/astyle"> |
| 154 | + <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=16" alt="" /></a></p> |
121 | 155 |
|
122 |
| - <!-- End Piwik Tag --> |
| 156 | + <p> |
| 157 | + </p> |
123 | 158 |
|
124 | 159 | </body>
|
125 | 160 |
|
|
0 commit comments