📄 notes.html
字号:
</ul> <h3>Artistic Style 1.20.2 (February 2007)</h3> <ul> <li> Fix problems with the new stream I/O procedure added in release 1.20.1: <ul> <li>Fix adding an extra blank line at end of document.</li> <li>Fix line ending on last line when cin and cout option is used.</li> </ul> </li> </ul> <h3>Artistic Style 1.20.1 (January 2007)</h3> <ul> <li> The following changes were made to improve processing for Mac OS X platforms: <ul> <li>Remove Makefile linker option -s and add a separate "strip" command.</li> <li>Open console input and output streams as binary to allow Linux line ends on a Windows platform.</li> <li>Change stream I/O procedure to allow for Mac OS 9 line endings.</li> <li>Change output stream end of line from endl so output stream is not flushed with each write.</li> <li>Change information messages from cerr to cout.</li> <li>Removed messages when I/O is to cin and cout to accommodate TextWrangler.</li> </ul> </li> </ul> <h3>Artistic Style 1.20 (January 2007)</h3> <ul> <li>Call importOptions() from function AStyleMain() to allow slop in options parameters.</li> <li>New makefiles for GCC and Intel with new compile options.</li> <li>New project file for Visual C with new compile options.</li> <li>Change comments to reflect the GNU Lesser General Public License.</li> <li>Indent message maps for MFC and event tables for wxWidgets.</li> <li>Fix incorrect formatting for an empty comment.</li> <li>Fix "Unknown option" in default options file when last line does not contain CR or LF.</li> <li>Patch from Dieter Bayer to fix case indent when a scope resolution operator is used.</li> <li>Change long option --brackets=break-closing-headers to --brackets=break-closing.</li> <li>Add short option -y for --brackets=break-closing.</li> <li>Add short option -e for --break-elseifs.</li> <li>Add short option -w for --indent-preprocessor.</li> <li>Add short option -f for --break-blocks.</li> <li>Add short option -F for --break-blocks=all.</li> <li>Remove the backup file after formatting when --suffix=none.</li> <li>Show total time at end of job.</li> <li>Improved error handling for invalid options with ASTYLE_LIB.</li> <li>Add function AStyleGetVersion() to ASTYLE_LIB option.</li> <li>Change preprocessor macro from ASTYLE_GUI to ASTYLE_LIB.</li> <li>Add astyle namespace to ASEnhancer.</li> <li>Add #include <ctype.h> for Red Hat distribution of GCC 3.2 (prior to Jan 2004).</li> <li>Remove commented-out code.</li> </ul> <h3>Artistic Style 1.19 (July 2006)</h3> <ul> <li>Add unpad=paren option.</li> <li>Always pad paren headers (e.g. 'if', 'for', 'while').</li> <li>Fix problem of pad=oper working different if pad=paren is declared.</li> <li>Add additional tests to distinguish the multiplication operator from pointers.</li> <li>Fix padding parens before a member access pointer (->).</li> <li>If space padding has changed, move end-of-line comments to the original column, if possible.</li> <li>Move potential calculation decision to outside of operator padding function.</li> <li>Fix duplication of last line of source if a final endline is not present.</li> <li>Fix class initializer not indented on last line if bracket is attached.</li> <li>Fix identification of templates contained in parens.</li> <li>Fix one line block occurring before end of class.</li> <li>Fix line added after one line block with bracketFormatMode = NONE_MODE.</li> <li>Add needed variables to ASBeautifier copy constructor.</li> <li>Trim end of line for multi-line comments.</li> <li>Add a breakLine before paren checks (needed for unpad=paren option).</li> <li>Add trace file to ASFormatter.</li> <li>Move formatting message from end to beginning of formatting.</li> <li>Move the building of vectors to ASResource. Vectors for classes ASBeautifier and ASFormatter should now have the same values.</li> <li>Move debugging variable inLineNumber from ASFormatter to ASBeautifier.</li> <li>Bypass char processing for UTF8 characters in ASBeautifier.</li> <li>Move switchVariables struct from ASEnhancer to the header file.</li> <li>Remove preprocessorHeader vector (not used).</li> <li>Remove variable isInConst (not used).</li> <li>Remove commented-out code.</li> </ul> <h3>Artistic Style 1.18 (June 2006)</h3> <ul> <li> The following changes were made for the option pad=oper: <ul> <li>Does <strong>not</strong> remove extra spaces from formatted expressions.</li> <li>Does <strong>not</strong> pad opening parens on the outside.</li> <li>Does <strong>not</strong> remove leading spaces from multi-line comments.</li> <li>Does <strong>not</strong> pad negative numbers.</li> <li>Does <strong>not</strong> add a space to the end of preprocessor directives.</li> <li>Will <strong>not</strong> pad operators inside block parens [].</li> </ul> </li> <li> The following changes were made for the option pad=paren: <ul> <li>Formats correctly <strong>with</strong> or <strong>without</strong> pad=oper.</li> <li>Does <strong>not</strong> add a space for each additional run if pad=oper is not used.</li> <li>Outside of opening paren is padded correctly.</li> <li>Inside of closing paren is padded correctly.</li> <li>Does <strong>not</strong> pad block parens [].</li> <li>Added short option P, previously used for pad=all.</li> </ul> </li> <li>Added new options pad=paren-out (d) and pad=paren-in (D).</li> <li>Removed option pad=all.</li> <li>Add short option V for convert-tabs.</li> <li>Added bounds checking to options containing parameters.</li> <li>Display a message when a default options file is used.</li> <li>Replaced IS_PARAM_OPTION(S) macros with overloaded isParamOption. Fixed compare problem with short param options.</li> <li>Fix EOF problem with default options file.</li> </ul> <h3>Artistic Style 1.17 (May 2006)</h3> <ul> <li> The following changes were made for processing bracketFormatMode = NONE_MODE: <ul> <li>Removed the function isFormattingEnabled() and always performed the formatting.</li> <li>Removed the formatting bypass for NONE_MODE.</li> <li>Fix brackets always being broken in the 2 cases where NONE_MODE formatting was done.</li> <li>Added new functions to support the processing of NONE_MODE brackets.</li> <li>Made other minor changes necessary for correct NONE_MODE processing.</li> </ul> </li> <li>Changed indent cases option to indent the entire case block.</li> <li>Changed to output Windows or Linux line endings.</li> <li>Added ASEnhancer module for case statement indenting.</li> <li>Correctederrorsinidentifyingoptionsindent=tab= ,andforce-indent=tab=.</li> <li>Corrected errors in identifying options min-conditional-indent=, and max-instatement-indent=.</li> <li>Improved error and information messages.</li> <li>Added capability to compile as a console program, shared library, or static library.</li> <li>Fixed problem with semicolons and parens being put on a line by themselves.</li> <li>Fixed spaces being added before a line comment.</li> <li>Fixed blank line added after some preprocessor statements.</li> <li>Fixed preprocessor statements not being trimmed.</li> <li>Do not indent line comments that begin in column 1 or 2.</li> <li>Fixed indentation problem with ending }; of class statements.</li> <li>Changed nextLine() function to eliminate char buffer limits.</li> <li>Moved Windows default options file to %USERPROFILE%.</li> <li>Removed NEW operators to prevent memory leaks.</li> <li>Fixed space before the semicolon in return ; statement.</li> <li>Fixed extra space that was sometimes added when pad operators was used.</li> <li>Removed string parameter from IS_PARAM_OPTION.</li> <li>Added forward declaration of parseOption() to eliminate compile error.</li> <li>Added input line number counter for debugging.</li> <li>Add statements to check for markers if break-blocks or break-blocks=all is used.</li> <li>Remove warnings for signed/unsigned mismatch.</li> <li>Removed COMPARE macro and used string compare.</li> <li>Removed compiler_defines.h.</li> <li>Removed USES_NAMESPACE declaration.</li> </ul> <h3>Artistic Style 1.16</h3> <blockquote> There was no release 1.16. </blockquote> <h3>Artistic Style 1.15.3 (7 March 2002)</h3> <ul> <li>Bug fix in handling of brackets after line-comments.</li> <li>Bug fix: C# add/remove event property headers now properly formatted.</li> </ul> <h3>Artistic Style 1.15.2 (2 March 2002)</h3> <ul> <li>Bug fixes in exception handling phrases, e.g. multiple catches and try..finally.</li> </ul> <h3>Artistic Style 1.15.1 (2 March 2002)</h3> <ul> <li>Bug fix: C# properties are now formatted properly.</li> </ul> <h3>Artistic Style 1.15.0 (2 March 2002)</h3> <ul> <li>Added support for C#.</li> <li>Artistic Style is now licensed only under the GNU Public License (GPL).</li> <li>Compilation under G++ 3.0 now works properly.</li>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -