Artistic Style - Release Notes

# Artistic Style Release Notes

> ### Artistic Style 1.21 (June 2007)

> - New function, formatArrayBrackets, to improve array formatting and indentation.
> - Attach brackets to lines with end-of-line comments.
> - Break brackets from lines with end-of-line comments without bringing the comments with them.
> - Move ASFormatter and ASBeautifier static initialization from constructor to "init" function to allow for changes in the file type.
> - Add --preserve-date (-Z) option.
> - New functions formatBrackets, padOperators and PadParens to improve decomposition.
> - Add identification of file mode (C, C#, or Java) to file open procedure.
> - Keywords in headers now depend on file mode (C, C#, or Java) and object type (formatter or beautifier).
> - Remove short options -c (mode=c) and -j (mode=java) since the mode is now set automatically from the file extension.
> - Change Linux bracket formatting for header files.
> - Fix formatting of empty blocks.
> - Expand BracketType definition.
> - Fix "do not change" bracket mode inconsistencies with other bracket formatting.
> - Remove mode=java from Java predefined style.
> - Change long option --errors-to-standard-output to --errors-to-stdout.
> - Fix breaking of struct variable declaration.
> - Add support for OpenVMS compiler.
> - Inline the ASBeautifier function isLegalNameChar.
> - Fix no-indent of block comments starting in column 1 or 2.
> - Fix formatting of Java anonymous class defined as a method call parameter (bracket within a paren).
> - Fix indentation for Java "for each" statement.
> - Fix bracket being attached to a preprocessor directive.
> - Fix extra indent of single line blocks when a previous line probation header is found.
> - Fix formatting of block comments when continuation lines have different leading whitespace characters.
> - Fix deleting a blank line before a bracket when brackets=attach.
> - Fix segmentation fault on preprocessor continuation line followed by an empty line.
> - Fix bad bracket indent that sometimes occurs when brackets=attach and it cannot be attached.
> - Fix trimming of comment lines.
> - Fix incorrect identification of "new" operator pointers as calculations.
> - Fix incorrect identification of assignments as command type bracket.
> - Fix incorrect indentation of pointers following a dot operator or pointer.
> - Fix attaching "else if" statements to a single line block.
> - Fix header recognition problem when header is proceeded by a tab instead of a space.
> - Fix line break when colon is followed by a comment.
> - Fix ASBeautifier not identifying a template definition.
> - Change indents around the end of line to two indents.
> - Change header includes to fix header dependencies for Linux GCC 4.3.
> - Add output line number for debugging.
> - Add filename to trace output.
> - Add trace for arrays.
> - Add trace for bracketType .
> - Fix no-indent comment in a #else preprocessor directive.
> - Fix block comment continuation line indent when block comments do not start the line.
> - Adjust position of block comments (/*) when padding is added or deleted.
> - Fix incorrect formatting if "return" is included in a function name.
> - Fix incorrect padding if template depth is greater that one and pad=oper is used.
> - Fix incorrect bracket type identification when bracket is followed by a comment.
> - Fix incorrect bracket type identification when a "const" method is declared.
> - Fix incorrect bracket type identification when pre-definition header is inside a paren.
> - Fix deleting a space when attaching a bracket with line comments.
> - Fix indentation when the conditional "?" operator is used in a single line statement.
> - Fix indentation when single line "if" statement is used.
> - Add pointers, multiply operators, and selected variables to do not unpad in paren unpad procedure.
> - Return exit code 0 for --version and --help.

> ### Artistic Style 1.20.2 (February 2007)

> - Fix problems with the new stream I/O procedure added in release 1.20.1:
>   - Fix adding an extra blank line at end of document.
>   - Fix line ending on last line when cin and cout option is used.

> ### Artistic Style 1.20.1 (January 2007)

> - The following changes were made to improve processing for Mac OS X platforms:
>   - Remove Makefile linker option -s and add a separate "strip" command.
>   - Open console input and output streams as binary to allow Linux line ends on a Windows platform.
>   - Change stream I/O procedure to allow for Mac OS 9 line endings.
>   - Change output stream end of line from endl so output stream is not flushed with each write.
>   - Change information messages from cerr to cout.
>   - Removed messages when I/O is to cin and cout to accommodate TextWrangler.

> ### Artistic Style 1.20 (January 2007)

> - Call importOptions() from function AStyleMain() to allow slop in options parameters.
> - New makefiles for GCC and Intel with new compile options.
> - New project file for Visual C with new compile options.
> - Change comments to reflect the GNU Lesser General Public License.
> - Indent message maps for MFC and event tables for wxWidgets.
> - Fix incorrect formatting for an empty comment.
> - Fix "Unknown option" in default options file when last line does not contain CR or LF.
> - Patch from Dieter Bayer to fix case indent when a scope resolution operator is used.
> - Change long option --brackets=break-closing-headers to --brackets=break-closing.
> - Add short option -y for --brackets=break-closing.
> - Add short option -e for --break-elseifs.
> - Add short option -w for --indent-preprocessor.
> - Add short option -f for --break-blocks.
> - Add short option -F for --break-blocks=all.
> - Remove the backup file after formatting when --suffix=none.
> - Show total time at end of job.
> - Improved error handling for invalid options with ASTYLE_LIB.
> - Add function AStyleGetVersion() to ASTYLE_LIB option.
> - Change preprocessor macro from ASTYLE_GUI to ASTYLE_LIB.
> - Add astyle namespace to ASEnhancer.
> - Add #include <ctype.h> for Red Hat distribution of GCC 3.2 (prior to Jan 2004).
> - Remove commented-out code.

> ### Artistic Style 1.19 (July 2006)

> - Add unpad=paren option.
> - Always pad paren headers (e.g. 'if', 'for', 'while').
> - Fix problem of pad=oper working different if pad=paren is declared.
> - Add additional tests to distinguish the multiplication operator from pointers.
> - Fix padding parens before a member access pointer (->).
> - If space padding has changed, move end-of-line comments to the original column, if possible.
> - Move potential calculation decision to outside of operator padding function.
> - Fix duplication of last line of source if a final endline is not present.
> - Fix class initializer not indented on last line if bracket is attached.
> - Fix identification of templates contained in parens.
> - Fix one line block occurring before end of class.
> - Fix line added after one line block with bracketFormatMode = NONE_MODE.
> - Add needed variables to ASBeautifier copy constructor.
> - Trim end of line for multi-line comments.
> - Add a breakLine before paren checks (needed for unpad=paren option).
> - Add trace file to ASFormatter.
> - Move formatting message from end to beginning of formatting.
> - Move the building of vectors to ASResource. Vectors for classes ASBeautifier and ASFormatter should now have the same values.
> - Move debugging variable inLineNumber from ASFormatter to ASBeautifier.
> - Bypass char processing for UTF8 characters in ASBeautifier.
> - Move switchVariables struct from ASEnhancer to the header file.
> - Remove preprocessorHeader vector (not used).
> - Remove variable isInConst (not used).
> - Remove commented-out code.

> ### Artistic Style 1.18 (June 2006)

> - The following changes were made for the option pad=oper:
>   - Does not remove extra spaces from formatted expressions.
>   - Does not pad opening parens on the outside.
>   - Does not remove leading spaces from multi-line comments.
>   - Does not pad negative numbers.
>   - Does not add a space to the end of preprocessor directives.
>   - Will not pad operators inside block parens [].
> - The following changes were made for the option pad=paren:
>   - Formats correctly with or without pad=oper.
>   - Does not add a space for each additional run if pad=oper is not used.
>   - Outside of opening paren is padded correctly.
>   - Inside of closing paren is padded correctly.
>   - Does not pad block parens [].
>   - Added short option P, previously used for pad=all.
> - Added new options pad=paren-out (d) and pad=paren-in (D).
> - Removed option pad=all.
> - Add short option V for convert-tabs.
> - Added bounds checking to options containing parameters.
> - Display a message when a default options file is used.
> - Replaced IS_PARAM_OPTION(S) macros with overloaded isParamOption. Fixed compare problem with short param options.
> - Fix EOF problem with default options file.

> ### Artistic Style 1.17 (May 2006)

> - The following changes were made for processing bracketFormatMode = NONE_MODE:
>   - Removed the function isFormattingEnabled() and always performed the formatting.
>   - Removed the formatting bypass for NONE_MODE.
>   - Fix brackets always being broken in the 2 cases where NONE_MODE formatting was done.
>   - Added new functions to support the processing of NONE_MODE brackets.
>   - Made other minor changes necessary for correct NONE_MODE processing.
> - Changed indent cases option to indent the entire case block.
> - Changed to output Windows or Linux line endings.
> - Added ASEnhancer module for case statement indenting.
> - Corrected errors in identifying options indent=tab=, and force-indent=tab=.
> - Corrected errors in identifying options min-conditional-indent=, and max-instatement-indent=.
> - Improved error and information messages.
> - Added capability to compile as a console program, shared library, or static library.
> - Fixed problem with semicolons and parens being put on a line by themselves.
> - Fixed spaces being added before a line comment.
> - Fixed blank line added after some preprocessor statements.
> - Fixed preprocessor statements not being trimmed.
> - Do not indent line comments that begin in column 1 or 2.
> - Fixed indentation problem with ending }; of class statements.
> - Changed nextLine() function to eliminate char buffer limits.
> - Moved Windows default options file to %USERPROFILE%.
> - Removed NEW operators to prevent memory leaks.
> - Fixed space before the semicolon in return ; statement.
> - Fixed extra space that was sometimes added when pad operators was used.
> - Removed string parameter from IS_PARAM_OPTION.
> - Added forward declaration of parseOption() to eliminate compile error.
> - Added input line number counter for debugging.
> - Add statements to check for markers if break-blocks or break-blocks=all is used.
> - Remove warnings for signed/unsigned mismatch.
> - Removed COMPARE macro and used string compare.
> - Removed compiler_defines.h.
> - Removed USES_NAMESPACE declaration.

> ### Artistic Style 1.16

> There was no release 1.16.

> ### Artistic Style 1.15.3 (7 March 2002)

> - Bug fix in handling of brackets after line-comments.
> - Bug fix: C# add/remove event property headers now properly formatted.

> ### Artistic Style 1.15.2 (2 March 2002)

> - Bug fixes in exception handling phrases, e.g. multiple catches and try..finally.

> ### Artistic Style 1.15.1 (2 March 2002)

> - Bug fix: C# properties are now formatted properly.

> ### Artistic Style 1.15.0 (2 March 2002)

> - Added support for C#.
> - Artistic Style is now licensed only under the GNU Public License (GPL).
> - Compilation under G++ 3.0 now works properly.
> - Bug fix: Opening brackets that appear at the beginning of a line immediately after an empty line comment are now handled properly, and not appended as part of the line comment.
> - Bug fix: Brackets inside comments are now not mis-indented within the comment.

> ### Artistic Style 1.14.1 (2 June 2001)

> - Bug fix: : '<' and '>' symbols within template declarations (e.g. 'foo<bar*, xoo>') are now left unpadded in the padding modes.
> - Bug fix: Fixed false recognizing of headers within larger words (e.g. 'catch' in 'gcatch').

> ### Artistic Style 1.14.0 (1 June 2001)

> - Bug fix: Fixed indentation of statements within preprocessor '#if...' statements.
> - Bug fix: Templates are now not broken from their bodies.
> - Bug fix: '<' and '>' symbols within template definitions (e.g. 'template<class T>') are now left unpadded in the padding modes.

> ### Artistic Style 1.13.8 (13 April 2001)

> - Bug fix: Fixed indentation of multiple nested non-block brackets, such as in multi bracketed static array declarations.

> ### Artistic Style 1.13.7 (6 April 2001)

> - New option:'--force-indent=tab=#' (or 'T#') instructs astyle to indent using tabs in all the pre-statement white space, including areas astyle's '--indent=tab' prefers to indent using spaces, such as white space in multi-line statements.
> - Bug fix: Fixed unwanted empty line insertions between empty blocks (e.g. '{}') and closing brackets that come immediately after them.
> - Bug fix: Fixed unwanted empty line insertions immediately after colons (e.g. 'default:', 'label:', ...)

> ###

> ### Artistic Style 1.13.6 (24 January 2001)

> ###

> - Bug fix: Preprocessor lines now remain unpadded in padding modes.

> ### Artistic Style 1.13.5 (24 January 2001)

> - Bug fix: Fixed the insertion of phantom empty lines immediately after {} blocks.
> - Bug fix: Bare open brackets ('{') with no preceding headers are now broken appropriately from their preceding code lines in the 'attach' and 'linux' bracketmodes.
> - Bug fix: Fixed operator recognition for long operators such as '>>=', '<<= '.

> ### Artistic Style 1.13.4 (24 January 2001)

> - Bug fix: L" unicode strings are now handled properly in padding modes.
> - Bug fix: Fixed the padding around '-' operators (which went sour somewhere in the past).
> - Bug fix: Fixed the handling of exponent numbers (e.g. 12.2e+2) in padding modes. The fix enables 'e+' to be regarded as part of the exponent.

> ### Artistic Style 1.13.3 (23 January 2001)

> - Line that contain both headers and their following non-header code (e.g. 'if (isFoo) doBar();') are now broken by default into multiple lines. To keep these lines as single lines, use '--one-line= keep-statements'.
> - Added the new option '--break-elseifs' which breaks 'else if()' statements into multiple lines.
> - The option block breaking options now works properly with the padding options.
> - Various minor bug fixes.

> ### Artistic Style 1.13.2 (21 January 2001)

> - Added the new option '--brackets=break-closing-headers'. When this option is added to either '--brackets=attach' or '--brackets= linux', astyle breaks closing headers (e.g. 'else', 'catch') from their preceding closing brackets.
> - '--break-blocks' and '--break-blocks= all' now correctly handle blocks that appear immediately before closing brackets, and do not append empty lines between them and the closing brackets.

> ### Artistic Style 1.13.0 (27 September 1999)

> - Moved back to odd-minor-numbered development versions, and even-minor-numbered stable versions.
> - Added the new option '--break-blocks' which breaks apart unrelated blocks, labels, classes, etc.
> - Added the new option '--break-blocks=all' which also breaks apart blocks of closing headers, such as 'else', 'catch', etc.
> - Fixed indentation handling of labels and class-definition identifiers such as 'public:', 'protected:', ... (thanks to Daryn Adler for his patch)
> - Fixed indentation of nested class definitions. (thanks to Daryn Adler for his patch)
> - Added the new option '--indent-preprocessor' which (surprisingly) tries to reindent C/C++ preprocessor macro lines. Astyle should do an pretty nice indentation job if the macro code is sane, but don't expect miracles for horrid macro definitions...

> ### Artistic Style 1.11.6 (27 September 1999)

> - Improved indentation of lines containing single-line blocks.

> ### Artistic Style 1.11.5 (25 September 1999)

> - Improved the bug fix for a 'const' keyword bug which resulted in wrong indentation of methods that are declared const.

> ### Artistic Style 1.11.4 (18 September 1999)

> - Improved handling of single colons (':') in class headers, e.g. class Foo : public Bar { ... }
> - Improved handling of single colons (':') in method (constructor) headers, e.g. Foo::Foo(int a) : Bar(a)

> ### Artistic Style 1.11.3 (16 September 1999)

> - Fixed a serious bug in the formatting of brackets, introduced in 1.11.2.

> ### Artistic Style 1.11.2 (10 September 1999)

> - Fixed an indentation bug in statements that contain the 'const', that resulted in wrong indentation of array blocks that where declared const. (Thanks Daniel!)
> - Fixed an indentation bug that could arise in lines that appear immediately after several preprocessor commands. (Thanks Daniel!).
> - Fixed a bug that inserted an empty line after closing brackets if a comment appeared immediately prior to the closing bracket. (Thanks Ed!)
> - Fixed a bug that eliminated empty lines between closing brackets and immediately following opening brackets. (Thanks Ed!)

> ### Artistic Style 1.11.1 (3 September 1999)

> - Fixed a bug that inserted an empty line at the begining of source files.

> ### Artistic Style 1.11.0 (3 September 1999)

> - Astyle now filters out line-feeds ('\r') before begining to parse lines. This should take care of bizarre formatting that existed when moving source files from Windows (which breaks lines with a linefeed AND newline ("\r\n") to unix (which breaks lines only with newlines).
> - The "struct", "static" and "synchronized" keywords are now finally handled correctly in both the contexts of block headers AND simple keywords.
> - Better treatment of precompiler lines that end with backslashes, and the lines that immediately follow them.
> - The '--indent-classes' (or '-C') option now works correctly (again...).
> - Series of short command-line options (e.g. "-b -s4 -C") are now parsed correctly.

> ### Artistic Style 1.10.4 (27 July 1999)

> - Fixed a MAJOR bug (inserted in 1.10.3) that resulted wrong handling of double-colons ('::') in C++.

> ### Artistic Style 1.10.3 (24 July 1999)

> - Fixed a bug (inserted yesterday) that resulted in unwanted line breaks before closing-brackets.
> - Fixed a bug in the handling of 'static' blocks in java.
> - Added the new option '--indent-cases' (or '-K') for indenting 'case XXX:' lines so they are flush with their following code lines.
> - Added the new option '--fill-empty-lines' (or '-E') which fills empty lines with the white-space of their previous line.

> ### Artistic Style 1.10.2 (23 July 1999)

> - Fixed a series of related bugs that resulted in certain cases of lacking line breaks after close-brackets, and colons. Thanks Jeroen!

> ### Artistic Style 1.10.1 (18 July 1999)

> - Fixed a bug (introduced in astyle 1.10.0) that can result in missing line breaks before closing brackets if they appear immediately after comments. Thanks Larry!

> ### Artistic Style 1.10.0 Release (14 July 1999)

> - Improved handling of empty bracket blocks ( e.g.{ } ). Thanks Michael!

> ### Artistic Style 1.10.0 Prerelease (4 July 1999)

> - Fixed a bug in the in-statement indentation algorithm which resulted in sub-optimal indentation of multiple-line conditional statements that immediately follow headers such as 'if', 'else if', 'while', etc... As a result, the current in-statement indentation is finally what it should have been long ago - MUCH better then in the last stable versions.
> - The "linux" bracket style (in which definition brackets are broken while code brackets are attached) has been fixed, and should finally work correctly.
> - Artistic Style can now parse both C/C++ and Java files in the same command. Unless a specific language mode is specified (e.g. --style=java or --style=c), astyle will now automatically set the language mode according to each file's suffix (java mode for the '.java' suffix , c mode otherwise).
> - Multiple statements in a single line (e.g. aaa; bbb; fff;) are now broken up by default.
> - Added the option '--one-line=keep-statements' (or '-o') that keeps multiple statements in a single line attached, thus countering the default break detailed above.
> - Changed the option previously called '--keep-one-line-blocks' to '--one-line=keep-blocks', for similarity with the new option above.
> - Changed the short option name of the option '--errors-to-standard-output' from '-o' to '-X'.
> - Up to now, Artistic Style always inserted a minimal indent of twice the current selected indent size inside multi-line conditional headers ('if', 'while' ...), so that it would be clear where the headers end and the code after them begins. The current version adds the option '--min-conditional-indent=#' (or '-m#') that sets the absolute minimal indent between conditional headers and their multiple-line conditional statements. If this option is not specified, the default indent remains twice the current selected indent size.
>   For example, This option should come very handy in code that already has brackets after EVERY conditional statement (even if just one line is in that bracket...) - in such a case, it would be wise to set --min-conditional-indent=0 since the brackets already make it clear where the header ends and the code begins...
> - Added the ability to set the assumed tab size when in '--indent-tab' mode by using '--indent-tab=#' or '-t#' and replacing the # with the wanted size. If the size is not specified, the size of each tab is assumed to be 4 spaces long.

> ### Artistic Style 1.8.2 (18 March 1999)

> - Fixed pointer handling problems in ASBeautifier that led to crashes when parsing preprocessor commands.
> - Fixed the problem in locating the default options file in the directory pointed to by $HOME or %HOMEPATH% when these system variables do not contain an '/' (or '\' ...) at their end.
> - Fixed inverse insertion of spaces vs. tabs when in -t mode. (Thanks Brian!)
> - Got rid of those pesky C4786 warnings when compiling under Visual C++ (Thanks John!)

> ### Artistic Style 1.8.1 (9 March 1999)

> - Changed the '--style=k&r' option to '--style= kr' , so that linux/unix machines don't misinterpret the '&' as a background processing command.

> ### Artistic Style 1.8.0 (3 March 1999)

> - Added support for predefined styles. Current supported styles are: ansi, k&r, linux, gnu, java. these can be set by using '--style=THESTYLE' (e.g. '--style=linux').
> - Added '--indent-blocks' (or -G) option, which adds indentation to entire blocks, including their brackets, in similar fashion to the standard gnu style.
> - Added option '--brackets=linux' (or '-l') which breaks definition-block brackets, but attaches command-block brackets.
> - Padding can now be set separately for operators alone('-p' or '--pad=oper'), parentheses alone ('--pad=paren) or both ('-P' or '--pad=all').
> - Artistic Style looks for a default options file in the following order:
>   1. The contents of the ARTISTIC_STYLE_OPTIONS environment variable if it exists.
>   2. The file called .astylerc in the directory pointed to by the HOME environment variable ( i.e. $HOME/.astylerc ).
>   3. The file called .astylerc in the directory pointed to by the HOMEPATH environment variable ( i.e. %HOMEPATH%\.astylerc ).
>   If a default options file is found, the options in this file will be parsed BEFORE the command-line options. Options within the default option file may be written without the preliminary '-' or '--'. Indentation within #if , #else and #endif precompiler commands now works correctly even if the program lines between these precompiler commands contain non-pared brackets.
> - Improved handling of labels (e.g. 'exit:'). By default, labels are now flushed completely to the left. Labels can also be indented to one indent LESS than current standard indentation by using the new option '--indent-labels' (or '-L') .
> - Fixed handling of the 'operator' keyword when it is preceded by a non space character (such as '&' or '*').
> - Fixed wrong bracket handling after 'throws' statements.
> - Fixed wrong indentation of single-line blocks. These where indented 1 indent to much.
> - Fixed wrong indentation of headers in internal classes (java mode). These where indented 1 indent to little.
> - The option ' --errors-to-standard-output' now has the one-letter option '-o'.
> - Fixed bug which resulted in an unneeded indent in function-declarations in which function-variables are declared before the function declaration and are preceded by the 'static' keyword. Thanks Scott.

> ### Artistic Style 1.6.0 (5 January 1999)

> - Fixed zero indentation that resulted when a '-suffix' option was set after a '--indent=spaces' (or '-s') option..
> - Wrong options are now announced.
> - Changed default indentation to NOT automatically indent class blocks and switch blocks. Instead, the new options '--indent-classes' (or '-C') and '--indent-switches' (or '-S') should be used. The option '--indent-switches' replaces the old option '--flush-switches'.

> ### Artistic Style 1.4.1 (4 January 1999)

> - Fixed ability to write options without the preceding '--' in the default options file.
> - Added one-letter options to most options that had only long-options in version 1.4.0 .
> - Added a '-v' or '--version' option that writes the current Artistic Style version.

> ### Artistic Style 1.4.0 (3 January 1999)

> - MAJOR NEW CHANGE IN THE FORMAT OF OPTIONS:
>   Options are now either short one-letter options starting with '-', or long multi-letter options starting with '--'. The Short one-letter options MAY BE ATTACHED TOGETHER. Thus, writing '-bps4' is the same as writing '-b -p -s4'.
>   Many options that have up to now had a 2 letter format now retain only their long format. I truly believe that the combination of attached-one-letter options PLUS a default option's file containing long-letter-options related to style will be much easier to work with than the previous setup.
> - Added support for a default options file (pointed to by the ARTISTIC_STYLE_OPTIONS environment variable).
> - Changed downloading method from the server. From now, there will be specific directories containing the latest stable sources, stable binaries, and development sources.
> - Space padding ('-p' or '--pad') now works correctly (1) around semicolons and commas, (2) between headers that require parentheses after them (such as 'if', 'while'...)and those parentheses, and (3) after parentheses (unless immediately followed by a ';' or ',' or '.') .
> - From now on, namespace blocks are NOT indented by default. To indent namespace blocks use the new '--indent-namespaces' option.
> - Added options '--errors-to-standard-output' for redirection of standard-error to standard-output from within Artistic Style, and '--suffix=' for specifying a suffix other than '.orig' to append to original filenames..
> - Corrected indentation of 'default' in switch statements. (Up to now, this only worked correctly in java mode...).

> ### Artistic Style 1.2.0 (19 December 1998)

> - Artistic Style 1.2.0 is the first stable result of a new version numbering, in which development versions are numbered with an odd minor number (such as 1.1.x), and stable versions are numbered with an even number (1.2.x). Thus, version 1.2.0 accumulates all the additions/changes of the 1.1.x development versions of Artistic Style.
> - A new '-ol' formatting mode that eliminates breaking of one-line blocks.
> - Fixed a SERIOUS bug, which resulted in wrong formatting of brackets ('{', '}') that came IMMEDIATELY AFTER definition type brackets, (e.g. brackets that come right after 'class', 'interface', 'name-space', etc ...). This bug was mistakenly introduced when I set out to correctly space-pad pointer and reference signs, somewhere in version 0.9.x .
> - Fixed unwanted elimination of final empty lines.
> - Fixed broken indentation of virgin opening-brackets that occur immediately after a previous closing-bracket.
> - Fixed space-padding to not insert a space in front of ':' characters unless they are a part of a '? ... : ' statement.

> ### Artistic Style 1.0.5 (11 December 1998)

> - 'extern' blocks now handled correctly.
> - Fixed handling of ^= in '-p' mode.
> - Win32 executables now contain wildcard expansion. *** Look at the README.TXT for info on how to include wildcard expansion abilities when compiling Artistic Style under Win32. (Thanks for the info on wildcard-expansion enabling, Nat!!!)

> ### Artistic Style 1.0.4 (2 December 1998)

> - Fixed unwanted space-padding around urinary minuses and '-' symbols within exponents (e.g. 2.5E-5) when using the '-p' option.

> ### Artistic Style 1.0.3 (1 December 1998)

> - Control characters now remain in the indented file.
> - Fixed a bug in which long quoted white-space sequences where mistakenly eliminated in the '-p' mode.
> - Fixed unwanted line-breaks in '-ab -p' mode, that in some cases occurred between '//' and the rest of a line comment.
> - Fixed handling of '>>=', '<<= ' in '-p' mode.

> ### Artistic Style 1.0.2 (27 November 1998)

> - Fixed a SERIOUS bug of missing needed line-breaks in lines immediately after line-comments when in '-ab' mode.
> - Support for the 'finally' header.
> - lines that contain only white-space now become empty lines.

> ### Artistic Style 1.0.1 (26 November 1998)

> - Fixed a SERIOUS bug, which lacked a needed line-break between closing brackets and the headers that follow them (e.g. '} else') when in '-bb' mode. In fixing the bug, I used a variation on a patch sent by Richard Bullington - THANKS!
> - Fixed a set of SERIOUS bugs which inserted an empty line into both the start and end of the reindented file.
> - Improved documentation of formatting options in the file astyle.html .

> ### Artistic Style 1.0.0 (24 November 1998)

> - Indented files now retain the original file name, while the original pre-indented file is saved with a ".orig"at its end. Thus, after the call "astyle -bb foo.cpp", the newly indented file will be called "foo.cpp", while a file called "foo.cpp.orig" will contain the original pre-indented file.
> - Artistic Style may now be used and /or modified and/or distributed under EITHER the "Artistic License", or the GNU General Public License (GPL).
> - Methods with headers that end with 'const' are now properly indented.
> - Cleaner, more robust, and better documented source code.

> ### Artistic Style 0.9.2

> - Fixed a serious bug which led to a maximal supported source code line size of 128 characters!!!
> - Maximal supported line size is now 1024 characters.
> - Fixed a serious bug in the handling of brackets inside '#define' statements.
> - Fixed a serious bug in which '#include' files containing slashes (i.e. #include <foo_dir/foo> ) where space-padded when using option '-p' on C, C++ files.

> ### Artistic Style 0.9.1

> - Much improved space-padding around pointers ('*') and references ('&') and the 'operator' key-word in C and C++ source files when using the '-p' space padding option.
> - Fixed several pointer handling bugs which led to potential core dumps.
> - Version 0.9.1 now includes all the abilities I am planning for the final 1.0 version, and should be looked at as the first pre-release version of Artistic Style.

> ### Artistic Style 0.9.0

> - Added a formatting layer (ASFormatter.cpp) around the indentation layer (ASBeautifier.cpp).
> - As a result, the following formatting capabilities have been added:
>   - Bracket ('{' and '}') placement in either ANSI C style or Java style.
>   - Space padding around operators, i.e. (1+2)*3-4 becomes ( 1 + 2 ) * 3 - 4 .
> - Fixed the 'tab' elimination bug introduced in ASBeautifier 0.8.2 .
> - Fixed a bug which under-indented class headers containing inheritance info.

> ### ASBeautifier 0.8.2

> - Fixed indentation problem in brackets around 'struct', and 'union' blocks.
> - Added recognition for '\' characters in the end of lines.
> - Improved indentation of post-method-declaration variable initializations.
> - Several minor bug fixes.

> ### ASBeautifier 0.8.1

> - Fixed an important bug in pointer arithmetic which resulted both in phantom indentation errors, and in core-dumps when trying to indent java files.

> ### ASBeautifier 0.8.0

> - This is the first public release of ASBeautifier. It is a direct port to C++ of JSBeautifier 1.1.1, PLUS extensions to for C++ indentation.
> - So far, very little beta-testing has been done for the C++ extensions. This should change extremely with the open-source release (this was the case with JSBeautifier...), so expect ASBeautifier to become bug-free fast!!!
> - The C++ source code is not yet written in optimal quality. I rushed a little so that I could release this initial release as soon as possible. This will soon change.