pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/astyle



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jul 11 18:26:52 UTC 2016

Modified Files:
        pkgsrc/devel/astyle: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/astyle/patches: patch-src_astyle__main.cpp

Log Message:
Update to 2.05.1. From the changelog:

- Fix incorrectly reporting files containing disabled formatting as
  being formatted.
- Fix incorrect handling of quoted arguments in the options file (#321).
- Fix error in identifying an enum return type as an enumeration
  (#322, 323).
- Fix error in identifying an enum argument as an enumeration (#327).
- Fix recognition of Qt keywords when used as variables in C++ (#329).
- Fix recognition of a pointer in a C++ cast (#316).
- Fix removing trailing whitespace after a changed pointer or
  reference cast.

- Add new bracket style option "style=vtk" (#155).
- Add new option "indent-preproc-block" to indent blocks of preprocessor
  directives (#21, #114, #229, #242, #294).
- Add new option, "dry-run", to run AStyle without updating the files
  (#184, #285).
- Add new options, "html" (-!") and "html=###", to display the HTML help
  documentation in the default browser.
- Add tags "*INDENT-OFF*" and "*INDENT_ON*" to disable formatting of
  source code blocks (#2, #47, #55, #78, #110, #176).
- Add tag *NOPAD* to disable selected formatting on a single line.
- Add '__attribute__ ((visibility ("default")))' to Linux exported functions.
- Remove option "style=ansi" and make it depreciated (#146).
- Remove fix for broken 'case' statements from release 2.02.1, Nov 21, 2011.
- Improve Korean translation (#256).
- Change shared libraries to include the version number as part of the
  file name (#264)
- Change "help" display to stdout to allow piping and redirection (#63).
- Change "version" display to stdout.
- Change headers to include foreach, forever, Q_FOREACH, and Q_FOREVER
  (#98, #154).
- Change compiler definition ASTYLE_NO_VCX (no Visual Studio exports) to
  ASTYLE_NO_EXPORTS.
- Change shared library error handler argument from "char*" to "const char*".
- Fix not recognizing noexcept, interrupt, and autoreleasepool as
  pre-command headers (#225, #259).
- Fix formatting of C++11 uniform initializer brackets (#253, #257,
  #260, #284).
- Fix to not automatically space pad C++11 uniform initializer
  brackets (#275).
- Fix formatting of enums with leading commas (#159, #179, #270).
- Fix formatting of logical && operator in class initializers (#290).
- Fix flagging a 'const' variable as a 'const' method (#275).
- Fix piping and redirection adding an extra character to the output
  (#245, #252, #305).
- Fix "indent-modifiers" to attach class access modifiers to Horstmann
  style brackets.
- Fix ASFormatter to correctly recognize the end of a C++ raw string
  literal (#261).
- Fix to recognize C++11 "enum class" as an enum (#303).
- Fix indent of C++11 "noexecpt" statements within a class (#260, #304).
- Fix not resetting templateDepth when a template was not found (#295).
- Fix formatting of multiplication in a block paren (#144).
- Fix whitespace padding when formatting an rvalue references (#297).
- Fix to recognize an rvalue reference without a name (#265).
- Fix to not identify an operator overload method as a calculation (#296).
- Fix concatenating multiplication with a pointer dereference (#291).
- Fix recognition of a pointer dereference following a question mark (#213).
- Fix extra space after a trailing reference type (#300).
- Fix _asm blocks not being identified as a block opener and the
  variable not cleared on exit (#163).
- Fix indentation of line comments before a "class" opening bracket.
- Fix indentation of line comments before a "namespace" opening bracket.
- Fix isBracketType() method to correctly process a NULL_TYPE.
- Fix unpad-paren to recognize additional variables (#43, #132, #143).
- Fix indentation of C# "let" statements.
- Fix a few omissions with "fill-empty-lines".
- Fix file read to read 64K blocks of data.
- Refactor to un-obfuscate (clarify) the code, and improve design and
  decomposition::
    - Extract class Utf8_16 from ASConsole.
    - Replace Linux dependency on iconv with a Utf8_16 class for ASLibrary.
    - Move global "using" statements to the astyle namespace in astyle.h
      and ASLocalizer.h.
    - Move shared library declarations from astyle.h to astyle_main.h.
    - Move indentable macros from ASEnhancer to ASResource and create
      static pairs.
    - Simplify ASBeautifier procedure to identify the colon (:) type.
    - Major refactoring in ASBeautifier to create separate variables for
      an enum, a class statement and a class initializer.
    - This was needed to fix the processing of C++11 uniform
      initializers in a class initializer.
    - Minor changes to ASFormatter and ASBeautifier based on results of
      the Clang analyzer.
    - Change several methods in astyle_main to "const".


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/astyle/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/astyle/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/astyle/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/astyle/patches/patch-src_astyle__main.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/astyle/Makefile
diff -u pkgsrc/devel/astyle/Makefile:1.17 pkgsrc/devel/astyle/Makefile:1.18
--- pkgsrc/devel/astyle/Makefile:1.17   Fri Mar 13 17:08:14 2015
+++ pkgsrc/devel/astyle/Makefile        Mon Jul 11 18:26:52 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2015/03/13 17:08:14 tnn Exp $
+# $NetBSD: Makefile,v 1.18 2016/07/11 18:26:52 schmonz Exp $
 
-DISTNAME=      astyle_2.04_linux
+DISTNAME=      astyle_2.05.1_linux
 PKGNAME=       ${DISTNAME:S/_linux//:S/_/-/}
 CATEGORIES=    textproc devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=astyle/}

Index: pkgsrc/devel/astyle/PLIST
diff -u pkgsrc/devel/astyle/PLIST:1.3 pkgsrc/devel/astyle/PLIST:1.4
--- pkgsrc/devel/astyle/PLIST:1.3       Wed Aug 13 20:56:25 2014
+++ pkgsrc/devel/astyle/PLIST   Mon Jul 11 18:26:52 2016
@@ -1,13 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2014/08/13 20:56:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/07/11 18:26:52 schmonz Exp $
 bin/astyle
 share/doc/html/astyle/astyle.html
-share/doc/html/astyle/index.html
 share/doc/html/astyle/install.html
 share/doc/html/astyle/license.html
-share/doc/html/astyle/links.html
 share/doc/html/astyle/news.html
 share/doc/html/astyle/notes.html
-share/doc/html/astyle/scripts.html
 share/doc/html/astyle/styles.css
-share/doc/html/astyle/subversion.html
-share/doc/html/astyle/vsinstall.html

Index: pkgsrc/devel/astyle/distinfo
diff -u pkgsrc/devel/astyle/distinfo:1.14 pkgsrc/devel/astyle/distinfo:1.15
--- pkgsrc/devel/astyle/distinfo:1.14   Tue Nov  3 03:27:14 2015
+++ pkgsrc/devel/astyle/distinfo        Mon Jul 11 18:26:52 2016
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.14 2015/11/03 03:27:14 agc Exp $
+$NetBSD: distinfo,v 1.15 2016/07/11 18:26:52 schmonz Exp $
 
-SHA1 (astyle_2.04_linux.tar.gz) = 8d7701afa3ecb7fb24d3647d8b278dcf17f3ae3e
-RMD160 (astyle_2.04_linux.tar.gz) = 94d237759e5d2e4d45db5614ee091996f1a995f2
-SHA512 (astyle_2.04_linux.tar.gz) = bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd
-Size (astyle_2.04_linux.tar.gz) = 156974 bytes
-SHA1 (patch-src_astyle__main.cpp) = be94921cda22bd0c2037625e0b127b93bbd8a598
+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



Home | Main Index | Thread Index | Old Index