X-Spam-Check-By: sourceware.org Message-Id: Date: Mon, 20 Nov 2006 10:34:52 -0500 From: "Chris Sutcliffe" To: cygwin AT cygwin DOT com Subject: [ANNOUNCEMENT] Updated: astyle-1.19-1 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Reply-To: cygwin AT cygwin DOT com X-Mailer: Perl5 Mail::Internet v1.74 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I've taken over as maintainer of astyle and packaged the current version of astyle (1.19) using cygport. For a list of changes since the last astyle release see below. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. If you have questions or comments, please send them to the Cygwin mailing list at: cygwin AT cygwin DOT com . *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain DOT com AT cygwin DOT com If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Changes since astyle-1.15.3: 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: o Does not remove extra spaces from formatted expressions. o Does not pad opening parens on the outside. o Does not remove leading spaces from multi-line comments. o Does not pad negative numbers. o Does not add a space to the end of preprocessor directives. o Will not pad operators inside block parens []. * The following changes were made for the option pad=paren: o Formats correctly with or without pad=oper. o Does not add a space for each additional run if pad=oper is not used. o Outside of opening paren is padded correctly. o Inside of closing paren is padded correctly. o Does not pad block parens []. o 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: o Removed the function isFormattingEnabled() and always performed the formatting. o Removed the formatting bypass for NONE_MODE. o Fix brackets always being broken in the 2 cases where NONE_MODE formatting was done. o Added new functions to support the processing of NONE_MODE brackets. o 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. -- Chris Sutcliffe http://ir0nh34d.googlepages.com http://ir0nh34d.blogspot.com http://emergedesktop.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/