Skip to content

Commit 3c9789e

Browse files
Rodrigo.Ruz.VRodrigo.Ruz.V
Rodrigo.Ruz.V
authored and
Rodrigo.Ruz.V
committed
Added Astyle(http://astyle.sourceforge.net) formatter support for C++ and C# code.
1 parent 65f14ac commit 3c9789e

18 files changed

+5117
-37
lines changed

AStyle/bin/AStyle.exe

353 KB
Binary file not shown.

AStyle/doc/astyle.html

+1,576
Large diffs are not rendered by default.

AStyle/doc/index.html

+227
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
3+
<html xmlns="http://www.w3.org/1999/xhtml">
4+
5+
<head>
6+
<title>Artistic Style - Index</title>
7+
<meta http-equiv="Content-Language" content="en-us" />
8+
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
9+
<link href="styles.css" rel="stylesheet" type="text/css" />
10+
</head>
11+
12+
<body>
13+
14+
<!-- body text -->
15+
16+
<h1>
17+
Artistic Style 2.02</h1>
18+
19+
<h2>
20+
A Free, Fast and Small Automatic Formatter<br />
21+
for C, C++, C#, and Java Source Code</h2>
22+
23+
<br />
24+
25+
<center>
26+
<table>
27+
<tbody>
28+
<tr><td>Home Page:</td>
29+
<td><a href="http://astyle.sourceforge.net/">http://astyle.sourceforge.net/</a></td>
30+
</tr>
31+
<tr><td>Project Page:</td>
32+
<td><a href="http://sourceforge.net/projects/astyle/">http://sourceforge.net/projects/astyle/</a></td>
33+
</tr>
34+
</tbody>
35+
</table>
36+
</center>
37+
38+
<p>
39+
&nbsp;</p>
40+
<p class="noindent">
41+
Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.</p>
42+
<p class="noindent">
43+
When indenting source code, we as programmers have a tendency to use both spaces and tab characters to create
44+
the wanted indentation. Moreover, some editors by default insert spaces instead of tabs when pressing the tab
45+
key, and other editors (Emacs for example) have the ability to "pretty up" lines by automatically setting up the
46+
white space before the code on the line, possibly inserting spaces in a code that up to now used only tabs for
47+
indentation.</p>
48+
<p class="noindent">
49+
Since the NUMBER of space characters showed on screen for each tab character in the source code changes between
50+
editors (unless the user sets up the number to his liking...), one of the standard problems programmers are facing
51+
when moving from one editor to another is that code containing both spaces and tabs that was up to now perfectly
52+
indented, suddenly becomes a mess to look at when changing to another editor. Even if you as a programmer take
53+
care to ONLY use spaces or tabs, looking at other people's source code can still be problematic.</p>
54+
<p class="noindent">
55+
To address this problem, Artistic Style was created - a filter written in C++ that automatically re-indents and
56+
re-formats C / C++ / C# / Java source files. It can be used from a command line, or it can be incorporated as
57+
classes in another C++ program.</p>
58+
59+
<h3>
60+
<a href="astyle.html">Documentation</a></h3>
61+
62+
<p>
63+
There is complete documentation for using Artistic Style. Most documentation is included in the distribution package.</p>
64+
65+
<h3>
66+
<a href="news.html">News</a> and <a href="notes.html">Release Notes</a></h3>
67+
68+
<p>
69+
Information on the changes in the current release. The News contains information on major changes and how they
70+
might affect the use of Artistic Style. The Release Notes contains a list of all changes made to the program.
71+
Information on old releases is also listed.
72+
</p>
73+
74+
<h3>
75+
<a href="http://sourceforge.net/projects/astyle/files/">Download</a></h3>
76+
77+
<p>
78+
The latest release can be downloaded from the SourceForge file releases page. A link to the "latest version" near
79+
the top of the page will download the correct package for your platform. Or you can select the appropriate
80+
package from the "astyle" release folders. The Windows package contains a compiled binary. Other platforms
81+
will need to compile the source code. Makefiles are included for the most popular compilers. Follow the install
82+
instructions for the appropriate platform as described in the "Install" documentation.</p>
83+
84+
<h3>
85+
<a href="subversion.html">Subversion</a></h3>
86+
87+
<p>
88+
The latest development files can be checked out from the Artistic Style repository using Subversion.
89+
</p>
90+
91+
<h3>
92+
<a href="install.html">Install</a></h3>
93+
94+
<p>
95+
Information on compiling and installing Artistic Style. The Windows platform comes with a precompiled
96+
executable. Other platforms must compile the project. Follow the instructions for the appropriate platform (Linux,
97+
Mac, or Windows).</p>
98+
99+
<h3>
100+
<a href="license.html">License</a></h3>
101+
102+
<p>
103+
Artistic Style may be used and distributed under version 3 the <a href="http://www.gnu.org/licenses/lgpl.html"><b>
104+
GNU Lesser General Public License</b></a> (LGPL). The LGPL is a set of additional permissions added to version
105+
3 of the <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>. You can use Artistic Style
106+
in free or commercial software without charge. Projects that use Artistic Style do not have to make the source
107+
code available. If Artistic Style itself is modified, however, the modified Artistic Style source code must be
108+
made available.</p>
109+
110+
<h3>
111+
<a href="scripts.html">Scripts</a></h3>
112+
113+
<p>
114+
This page contains scripts to support the Artistic Style program. They are in various script languages and work
115+
on different platforms. It includes scripts to clean the directories of backup files created by Artistic Style.</p>
116+
117+
<h3>
118+
<a href="links.html">Links</a></h3>
119+
120+
<p>
121+
There are several applications that use Artistic Style as contributed software. It is either embedded in the application
122+
or called as a command line program. The applications include Graphical User Interfaces to view the effect of
123+
formatting on the source code, development environments for various platforms, and other software.&nbsp;</p>
124+
125+
<h3>
126+
<a href="http://astyle.sourceforge.net/develop/">Developer Information</a></h3>
127+
128+
<p>
129+
Artistic Style has compile options for creating a shared library (DLL) or static library for use with a Graphical
130+
User Interface (GUI). With the Java Development Kit (JDK) installed it can be compiled as a Java Native Interface
131+
(JNI) and called from a Java program. The Developer Information documents the calling procedure and has example
132+
programs for C++, Java, and C#.</p>
133+
134+
<h3>
135+
Bug Reports, Change Requests, Notification</h3>
136+
137+
<p>
138+
Bug reports and change requests should be submitted to the <a href="http://sourceforge.net/tracker/?group_id=2319&amp;atid=102319">
139+
bug tracker page</a>. You must be logged in to SourceForge to submit a report. If possible include an example
140+
that shows the problem. It does not need to be functional code. Note that code copied and pasted into the bug
141+
report <strong>will not be indented</strong> after the data is submitted. You must indicate the indentation when
142+
you submit the request (e.g. replace leading spaces with periods).</p>
143+
<p>
144+
New releases are announced through an <a href="https://lists.sourceforge.net/lists/listinfo/astyle-announce">astyle-announce</a>
145+
mailing list. You will receive notification of new releases and important repository commits. No SourceForge user
146+
account is needed, but registered site users can subscribe using their SourceForge mail alias. (Mail aliases take
147+
the form: [email protected]). The sign-up page can also be accessed from the <a href="https://sourceforge.net/projects/astyle/support">
148+
user support page</a>. There are other ways to subscribe on the <a href="http://sourceforge.net/projects/astyle/files/">
149+
file releases page</a> that use an RSS feed. You can use them if you want.</p>
150+
<p>
151+
To contact the project by email use the address <a href="mailto:[email protected]">[email protected]</a>.</p>
152+
153+
<h3>
154+
Maintainers</h3>
155+
156+
<p>
157+
Artistic Style is maintained and updated by <a href="mailto:[email protected]">Jim Pattee</a>. The original author
158+
was Tal Davidson, Israel.</p>
159+
160+
<h3>
161+
Acknowledgments</h3>
162+
163+
<p>
164+
Thanks to Jim&nbsp;Watson, Fred&nbsp;Shwartz, W.&nbsp;Nathaniel&nbsp;Mills&nbsp;III, Danny&nbsp;Deschenes, Andre&nbsp;Houde,
165+
Richard&nbsp;Bullington, Paul-Michael&nbsp;Agapow, Daryn&nbsp;Adler, Dieter&nbsp;Bayer, Sam&nbsp;Cooler, Jim&nbsp;Duff,
166+
Emilio&nbsp;Guijarro, Jens&nbsp;Krinke, Eran&nbsp;Ifrah, Travis&nbsp;Robinson, Max&nbsp;Horn, Ettl&nbsp;Martin,
167+
Mario&nbsp;Gleichmann, J&nbsp;P&nbsp;Nurmi, Colin&nbsp;D&nbsp;Bennett, Christian&nbsp;Stimming, MrTact, Wim&nbsp;Rosseel,
168+
Matthew&nbsp;Woehlke, Chris&nbsp;Schwarz, Chang&nbsp;Jiang, Arseny&nbsp;Solokha, Milian Wolff, Johannes Martin,
169+
Arne F?rlie, Marvin Humphrey
170+
for their patches and contributions
171+
to Artistic Style.</p>
172+
<p>
173+
Thanks to <strong><a href="http://sourceforge.net">SourceForge</a></strong> for giving Artistic Style its home.</p>
174+
<p>
175+
Thanks to all the dedicated beta-testers and bug notifiers!</p>
176+
177+
<!-- bottom of document -->
178+
179+
<p>
180+
&nbsp;</p>
181+
<hr style="margin-left: -0.4in;" />
182+
183+
<center class="footer">
184+
<table width="100%">
185+
<col width="30%" />
186+
<col width="40%" />
187+
<col width="30%" />
188+
<tr><td align="left" style="height: 32px"><a href="http://www.gnu.org/licenses/lgpl.html">
189+
<img src="http://www.gnu.org/graphics/lgplv3-88x31.png" alt="[LGPLv3]" /></a> <a href="http://www.gnu.org/licenses/gpl.html">
190+
<img src="http://www.gnu.org/graphics/gplv3-88x31.png" alt="[GPLv3]" /></a></td>
191+
<td align="center" style="color: #0000A0; font-size: x-large; font-weight: bold; height: 32px;">ENJOY!!!</td>
192+
<td align="right" style="height: 32px"><a href="http://sourceforge.net/projects/astyle">
193+
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=2319&type=15" width="150" height="40" alt="[SourceForge.net]" /></a>
194+
</td>
195+
</tr>
196+
</table>
197+
</center>
198+
199+
<p>
200+
&nbsp;</p>
201+
202+
<!-- Piwik -->
203+
204+
<script type="text/javascript">
205+
var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/astyle/" : "http://sourceforge.net/apps/piwik/astyle/");
206+
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
207+
</script>
208+
209+
<script type="text/javascript">
210+
try {
211+
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
212+
piwikTracker.trackPageView();
213+
piwikTracker.enableLinkTracking();
214+
} catch( err ) {}
215+
</script>
216+
217+
<noscript>
218+
<p>
219+
<img src="http://sourceforge.net/apps/piwik/astyle/piwik.php?idsite=1" style="border: 0" alt="" /></p>
220+
</noscript>
221+
222+
<!-- End Piwik Tag -->
223+
224+
</body>
225+
226+
</html>
227+

0 commit comments

Comments
 (0)