diff options
author | rillig <rillig@pkgsrc.org> | 2018-02-18 04:34:20 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2018-02-18 04:34:20 +0000 |
commit | 9f481364dd233dda360465d39b546fe29b4b55bc (patch) | |
tree | a3cbc6f1187ee29c40e620df69c95bdabbfac896 /devel | |
parent | 3f2bddce93bb4e7a5b3105320c67a497f712dbea (diff) | |
download | pkgsrc-9f481364dd233dda360465d39b546fe29b4b55bc.tar.gz |
devel/astyle: update to 3.1
Changes since 2.05.1:
Artistic Style 3.1 (January 2018)
* 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.
Artistic Style 3.0.1 (May 2017)
* Fix crash caused by certain class initializer formats (#435).
* Fix "final" identifier not being recognized as a pre-command header
(#433).
* Fix recognition of certain rvalue reference variables.
Artistic Style 3.0 (April 2017)
* Add new option "indent-after-parens" (#396, 152, 108, 79).
* Add new option "attach-closing-while" (#177).
* Add "style=run-in" as an alternative for "style=horstmann".
* Add "break-closing-braces" to "style=stroustrup" (#267).
* Add formatting for C++11 trailing return type methods.
* Add new class ASPeekStream using RAII to allow early method returns.
* Change affected variable names to new AStyle terminology.
* Change some vector push_back() statements to emplace_back().
* Fix memory leak when using "indent-preproc-define".
* Fix sometimes splitting an r-value reference when "pad-oper" is used.
* Fix in-statement-indent brace check not always checking a brace
(#421).
* Fix formatting of C# get/set and add/remove when braces are attached
(#430).
* Fix formatting of C# generic constraints (#430).
* Fix padding of C# null conditional operator.
* Fix attach-inlines to not attach a brace followed by a run-in comment.
* Fix not always breaking lines after "add-braces" (#341).
* Fix unpadding the "in" in a foreach statement (#386).
* Fix boundary conditions discovered by american fuzzy lop fuzzer
(#370).
* Refactoring:
* Replace NULL with C++11 nullptr.
* Rename Utf8_16 class to ASEncoding.
* Move ASConsole constructor and destructor from inline to
non-inline.
* Move console error stream (cerr) from global to ASConsole class.
* Move ASConsole pointer in ASOptions from global to a class
member.
* Move findHeader and findOperator methods from ASBeautifier to
ASBase.
* Minor changes from PVS-Studio analyzer.
* Minor changes from clang-tidy.
Artistic Style 2.06 (December 2016)
* Add new bracket style option "style=mozilla".
* Add new option "break-one-line-headers" (#33, 64, 367).
* Add new option "indent-continuation".
* Add new option "pad-comma" (#100).
* Add removing spaces before a comma (#100).
* Add new Objective-C options "pad-return-type" (-xq) and
"unpad-return-type" (-xr).
* Add new Objective-C options "pad-param-type" (-xS) and
"unpad-param-type" (-xs).
* Add formatting of C++14 single-quote digit separators (#337).
* Add indentation for CORBA IDL module statement (#414).
* Add translations for Bulgarian, Estonian, Greek, Hungarian, Norwegian,
and Romanian.
* Remove lineend option from formatCinToCout function.
* Improve align-method-colon and apply to Objective-C method calls.
* Improve recognition of header guards in preprocessor statements.
* Improve recognition of C++11 uniform initializer brackets (#381, 411,
415).
* Improve the processing of quoted strings and verbatim strings.
* Change align-method-colon short first line to align on the longest
line instead of the first line.
* Change to not break empty one line brackets to support new
"break-one-line-headers".
* Change add-brackets to not add to one line blocks to support new
"break-one-line-headers".
* Change add-brackets to not add to one line statements in support new
"break-one-line-headers".
* Fix not recognizing an escaped space character within a quote (#403).
* Fix not recognizing "else" brackets as COMMAND_TYPE (#400).
* Fix attaching "if" statements to a #else preprocessor directive
(#356).
* Fix not clearing global variables for a new file (#364).
* Fix not recognizing an rvalue reference in a template (#404).
* Fix breaking a line when processing the first line of a file (#400).
* Fix breaking a line in an exponential (#392).
* Fix indentation of an "enum" without following brackets (#401, 384).
* Fix indentation of arguments using preceding commas (#355).
* Fix indentation of Pico style one line blocks.
* Fix not padding header for "new" or "delete" followed by parens.
* Fix template variable not being cleared at end of a statement (#380).
* Fix "close-templates" to only close ending angle brackets (#375).
* Fix pad-oper to not pad a + or - following an open bracket (#378).
* Fix C# to recognize "using" as a header.
* Fix C# to always recognize "forever" as a header.
* Fix Pico style not always computing the indentation for one line
blocks.
* Fix indentation of Objective-C @interface statement (#333).
* Fix assert error when Objective-C "@" is followed by whitespace.
* Fix end of line comments for "pad-method-prefix" and
"unpad-method-prefix".
* Fix end of line comments for "pad-method-colon".
* Refactoring:
* Consolidate scattered ASFormatter conditional statements into a
padParenObjC method.
* Remove BracketMode STROUSTRUP_MODE and change it to LINUX_MODE.
* Remove ASBase methods from being inlined as class definitions.
* Replace C char arrays in astyle_main.cpp with C++ strings.
* Return language translation as a mutable variable.
* Portability changes for additional compiler support (#352).
* Minor changes based on results of the Clang-Tidy.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/astyle/Makefile | 5 | ||||
-rw-r--r-- | devel/astyle/PLIST | 3 | ||||
-rw-r--r-- | devel/astyle/distinfo | 10 |
3 files changed, 8 insertions, 10 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile index b1bf3677329..d6d854bb0f4 100644 --- a/devel/astyle/Makefile +++ b/devel/astyle/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2018/02/18 04:16:59 rillig Exp $ +# $NetBSD: Makefile,v 1.20 2018/02/18 04:34:20 rillig Exp $ -DISTNAME= astyle_2.05.1_linux +DISTNAME= astyle_3.1_linux PKGNAME= ${DISTNAME:S/_linux//:S/_/-/} -PKGREVISION= 1 CATEGORIES= textproc devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=astyle/} diff --git a/devel/astyle/PLIST b/devel/astyle/PLIST index 38a24f9ea7e..23707628677 100644 --- a/devel/astyle/PLIST +++ b/devel/astyle/PLIST @@ -1,8 +1,7 @@ -@comment $NetBSD: PLIST,v 1.5 2018/02/18 04:16:59 rillig Exp $ +@comment $NetBSD: PLIST,v 1.6 2018/02/18 04:34:20 rillig Exp $ bin/astyle share/doc/astyle/astyle.html share/doc/astyle/install.html -share/doc/astyle/license.html share/doc/astyle/news.html share/doc/astyle/notes.html share/doc/astyle/styles.css diff --git a/devel/astyle/distinfo b/devel/astyle/distinfo index 9be97cea3f5..4aba817f944 100644 --- a/devel/astyle/distinfo +++ b/devel/astyle/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.15 2016/07/11 18:26:52 schmonz Exp $ +$NetBSD: distinfo,v 1.16 2018/02/18 04:34:20 rillig Exp $ -SHA1 (astyle_2.05.1_linux.tar.gz) = b2ccedbb49f7f892afd6a9a59a67b57c36c41df3 -RMD160 (astyle_2.05.1_linux.tar.gz) = fc3bc88bc18a6d7177f3e645fda7cc79c497a968 -SHA512 (astyle_2.05.1_linux.tar.gz) = 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 -Size (astyle_2.05.1_linux.tar.gz) = 152765 bytes +SHA1 (astyle_3.1_linux.tar.gz) = 84814b8bb4e52489687f2bce3c2d57ce7d3dcebe +RMD160 (astyle_3.1_linux.tar.gz) = a8225fc99f11d681eeef55e1d812fe9a88d13685 +SHA512 (astyle_3.1_linux.tar.gz) = 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2 +Size (astyle_3.1_linux.tar.gz) = 185589 bytes |