Source code indenter, formatter, and beautifier for C, C++, C# and Java
http://astyle.sourceforge.net/
Artistic Style is a source code indenter, formatter, and beautifier for the C,
C++, C# and Java programming languages. It automatically re-indents and
re-formats C / C++ / C# / Java source files. It can be used from a command
line, or it can be incorporated as classes in another C++ program.
- Sources inherited from project openSUSE:Leap:15.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.2:Update/astyle && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
astyle.changes | 0000019196 18.7 KB | |
astyle.spec | 0000002469 2.41 KB | |
astyle_3.1_linux.tar.gz | 0000185589 181 KB |
Revision 6 (latest revision is 17)
Ludwig Nussel (lnussel_factory)
accepted
request 597318
from
Kai Torben Ohlhus (siko1056)
(revision 6)
- don't obsolete libastyle1, let the distribution update handle removal of old shared lib. - Update to 3.1 * Add new options "project", "project=####", and "project=none" (#11). * Add new options, "break-return-type" and "break-return-type-decl" (358, 286, 205, 16). * Add new options, "attach-return-type" and "attach-return-type-decl" (358, 286, 205, 16). * Add new option "style=ratliff", as an alternate name for banner style. * Add new environment variable ARTISTIC_STYLE_PROJECT_OPTIONS (#11). * Add multiple extensions to the command line file paths option. * Improve recognition of unary + and - when using pad-oper. * Change the Windows default options file location from USERPROFILE to APPDATA. * Change options file input to accept UTF-16, or UTF-8 with a BOM (or signature). * Change "unsigned short" data type to c++11 "char16_t". * Change translations for new project options file. * Fix utf8LengthFromUtf16() calculation being less than the actual length. * Fix multiply followed by a dereference for "align-pointer=type". * Fix recognition of a uniform class initializer in a base class initialization (#441). * Fix indentation of "volatile" keyword not used in a method definition (#450). * Fix indentation of "final" keyword not used in a method definition (#450). * Fix indentation of compound literals in an argument list (#456). * Fix indentation of trailing return type method following a constructor (#463). * Fix space padding of closing brace before a dot (#468). * Fix Objective-C to allow for "Extern C" statements in the source files (#443, 444, 446). * Fix Objective-C to allow for method definitions without a specified return type (#447). * Fix Objective-C to allow for method definitions with multiple param types. * Fix Objective-C to replace tabbed padding with a space. * Fix Objective-C formatting of line-end comments with "unpad-return-type". * Fix Objective-C "align-method-colon" to ignore ternary (?) operators. * Fix C# base class constructor indentation (#459). * Fix C# indentation of method declaration containing a colon (#465) * Fix C/C++ to allow "interface" as a non-keyword (#445). * Fix Java to allow "default" as a non-switch keyword. * Fix line ends initialization if no line end has been read. * Fix Java build from including ASLocalizer in the shared library. * Fix to check for AStyleWx line tags after C style comments. * Fix boundary conditions and other errors discovered by fuzzing. * Refactoring: - Extract method isNumericVariable() in ASFormatter class. - Extract method isTopLevel() in ASBeautifier class. - Extract method fileExists() in Console class. - Rename ASEncoding variable from "utf8_16" to "encode". - Rename ASBeautifier vector from squareBracketDepthStack to parenDepthStack. - Combine style options in ASOptions class to avoid compiler limits. - Prevent file conflicts on update: obsolete libastylej1 - Small packaging cleanup - Update to new upstream release 3.0.1 (boo#1044030): * Switch to MIT license. * Add new option "indent-after-parens". * Add new option "attach-closing-while". * Fix crash caused by certain class initializer formats. * Fix memory leak when using "indent-preproc-define". * Fix boundary conditions discovered by american fuzzy lop fuzzer. * Drop astyle-java-includes.patch, upstream - Add astyle-java-includes.patch to fix a build error in Leap - enable Java bindings new subpackage libastylej1 - create libastylej.so symlink for Arduino
Comments 0