commit astyle for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package astyle for openSUSE:Factory checked in at 2013-11-18 13:08:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/astyle (Old) and /work/SRC/openSUSE:Factory/.astyle.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "astyle" Changes: -------- --- /work/SRC/openSUSE:Factory/astyle/astyle.changes 2012-10-29 20:02:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.astyle.new/astyle.changes 2013-11-18 13:08:23.000000000 +0100 @@ -1,0 +2,115 @@ +Mon Nov 11 19:50:16 UTC 2013 - tbehrens@suse.com + +- update to version 2.04 + + Add new programming language Objective‑C. + Add new bracket style option "style=google" (-A14). + Add new option "indent-preproc-cond" (xw) to indent preprocessor conditional statements (#118). + Add new bracket modify options "attach-namespaces", "attach-classes", "attach-inlines", and "attach-extern-c". + Add new option "indent-modifiers" (-xG) to indent class access modifiers one-half indent (#130). + Add new option "remove-brackets" (-xj) to remove brackets from single line conditional statements. + Add new option "remove-comment-prefix" (-xp) to remove the leading '*' from multi-line comments. + Add new option "align-method-colon" (-xM) to align Objective‑C method colons. + Add new option "pad-method-colon=#" (-xP#) to space pad Objective‑C method colons. + Add new options "pad-method-prefix" (-xQ), and "unpad-method-prefix" (-xR) to pad the Objective‑C "-" and "+" method prefix. + Add new dll entry point AStyleMainUtf16 for processing C# UTF-16 strings. + Add formatting of C++11 raw string literals (#222). + Add "style=knf" as an alternative to "style=linux". + Remove depreciated "bracket=" options. + Improve recognition and formatting of pointers and references (#174 and other changes). + Improve the recognition of block-opening brackets. + Improve code using a static code analyzer (#195). + Change "max-code-length" to include Objective‑C methods. + Change "indent-elseifs" and "break-blocks" to look ahead only if in command-type brackets (speed improvement). + Fix linux bracket styles to break the opening bracket in inline function definitions (#185). + Fix indentation of switch block comments (#164). + Fix enums to indent with tabs when requested (#92, #121). + Fix formatting of rvalue reference without a name in a declaration (#219). + Fix "pad-first-paren-out" to not pad if the following parens are empty (#232). + Fix end-of-statement reset when comments follow closing bracket. + Fix the ASBeautifier active and waiting stacks to delete the ASBeautifier objects before deleting the pointers. + Fix ASBeautifier "init" to delete the tempStack vectors before deleting the tempStack. + Fix Linux piping problem by changing "cin" input to build a stringstream before formatting. + Fix to identify the correct bracket type when 'extern "C"' is part of the enum definition. + Fix to clear 'extern "C"' variables when the block is closed. + Fix unindented 'extern "C"' to not indent when in a #else preprocessor directive. + Fix not always correctly formatting linux type brackets for enum blocks. + Fix align-pointer in a range-based for statement (#217). + Fix pointer-reference argument alignment to correctly position a following comment (#235). + Fix to not attach a bracket to a line ending in a backslash '\' (#186, #214, #220). + Fix to recognize templates using multiple lines (#85, #87, #136). + Fix formatting of template continuation lines (#85, #87, #136). + Fix to allow '^' as an array operator (#233). + Fix an "enum" argument being mistaken for an enumeration (#211). + Fix to recognize a non-instatement array after a "},{" sequence. + Fix "pad-oper" to not pad before a following comma. + Fix recognition of an operator when the calculation contains a bitwise "not" '~' (#166). + Fix to allow a preprocessor statement within a preprocessor define (#238). + Fix preprocessor comparison to check for whole words (#246). + Fix "add-brackets" when a line contains more than one paren pairs (#181). + Fix to allow Mac old CR line endings in the options file (#129). + Refactor to aid debugging and improve design and decomposition: + Move ALL preliminary indentation calculations to computePreliminaryIndentation() in ASBeautifier. + Move calculation of 'force tab' indents to preLineWS() in ASBeautifier. + Combine methods init() and init(ASSourceIterator*) in ASBeautifier. + Extract method adjustParsedLineIndentation() in ASBeautifier. + Extract method parseCurrentLine() in ASEnhancer. + Remove astyle_main.cpp unused functions getFilesUnchanged, getOptionsFileRequired, and setOptionsFileRequired. + +- update to version 2.03 + + Add new option "indent=force-tab-x=#" (-xT#) to allow a tab length that different from the indent length (3430662). + Add new option, "pad-first-paren-out" (xd), to pad only the first paren in a series on the outside (3350356). + Add new option "max-code-length=#" (-xC#) to limit the length of code on a line. + Add new option "break-after-logical" (-xL) to modify a "max-code-length" line break for conditionals. + Add new option "close-templates" (-xy) to close whitespace in the angle brackets ">" of template definitions. + Add formatting of C++ rvalue references (&&) using the existing "align-pointer" and "align-reference" options. + Add formatting of C++/CLI managed pointers (the "^" character) to the "align-pointer" option. + Add translations for Dutch, Finnish, Italian, Japanese, Korean, Polish, Portuguese, Russian, Swedish, and Ukrainian. + Remove byte-order-mark from ASLocalizer.cpp. + Change the short option for delete-empty-lines from "xd" to "xe". + Change the ASTYLE_LIB option to remove __declspec for a Visual C static library when ASTYLE_NO_VCX is also declared. + Change to remove any space padding in a pointer to pointer (**). + Fix "break-elseifs" to format one-line "if" and "else" statements the same as when the option is not used. + Fix "break-elseifs" to break else-if statements when "keep-one-line-statements" also is requested. + Fix "break-elseifs" to correctly format comments preceding the else-if. + Fix C# not correctly identifying lambda expressions as a command-type bracket. + Fix C# preprocessor statements adding extra empty lines when "break-blocks" is used. + Fix C# padding "get" and "set" statements that are not headers when "break-blocks" is used. + Fix C# to recognize the "#line" statement. + Fix C++11 standard for range-based "for" loops (3458402, 3480095). + Fix C++11 standard for "enum" with a base type (3458402). + Fix C++11 standard for template closing angle brackets (no space required) (3495192). + Fix C/C++ keyword 'extern "C"' in a preprocessor causing an extra indent (1514844, 2953388, 2963382, 3093842, 3467479). + Fix breaking after a switch "default" statement when "break-elseifs" is used without "keep-one-line-statements" (3559365). + Fix in-statement arrays to indent correctly when they exceed the "max-instatement-indent". + Fix quote continuation sometimes being processed as a preprocessor directive (3445475). + Fix formatting of some conditional statements on a continuation-line. + Fix Java formatting of generics with wildcards (3428140). + Fix formatting of pointers and references to work with the new "max-code-length" option. + Fix formatting of pointers and references after a template close. + Fix formatting of empty attached brackets (3505002). + Fix C comments beginning a line breaking if they follow a semi-colon (3502700). + Fix "pad-header" not padding "return" and "throw" statements (3509134). + Fix recognition problems with templates. + Fix "struct" return type being mistaken for a struct. + Fix "pad-oper" in java for-each loop. + Fix recognition of a macro multi-line comment (3414970). + Fix bracketTypeStack entries added by #if and #else if the # is separated from the word. + Fix C++ breaking a line on an access modifier in a one-line block when "keep-one-line-blocks" is used. + Fix memory leak when "ascii" option is used. + Fix memory leak when a preprocessor statement is used without a closing #endif. + Fix preprocessor directive to allow compiling with mingw-x64 compiler. + Fix redirection on Windows so it does not hang when Linux line ends are used (3514712). + Fix redirection on Linux to output the correct line ends (3514712). + Fix non-portable return value on locale name (3452574). + Fix assert errors caused by not checking the text length on the return from peekNextText(). + Fix spelling of "depreciated" in help message (3454735). + Refactor to improve design and decomposition: + Fix warning messages from Visual Studio static code analysis. + Fix warning messages from cppcheck, except for constructor uninitialized variables (false positive). + Remove astyle_main.h dependency from ASLocalizer.h + Remove appendChar() from the inline functions. + Extract methods for pointer or reference alignment in ASFormatter. + +------------------------------------------------------------------- Old: ---- astyle_2.02.1_linux.tar.gz New: ---- astyle_2.04_linux.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ astyle.spec ++++++ --- /var/tmp/diff_new_pack.KrZJWR/_old 2013-11-18 13:08:23.000000000 +0100 +++ /var/tmp/diff_new_pack.KrZJWR/_new 2013-11-18 13:08:23.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package astyle # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: astyle BuildRequires: gcc-c++ -Version: 2.02.1 +Version: 2.04 Release: 0 Summary: Source Code Indenter, Formatter, and Beautifier for C, C++, C# and Java License: LGPL-3.0 ++++++ astyle_2.02.1_linux.tar.gz -> astyle_2.04_linux.tar.gz ++++++ ++++ 16866 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de