pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Perl-Tidy



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Sep  7 09:50:47 UTC 2020

Modified Files:
        pkgsrc/devel/p5-Perl-Tidy: Makefile distinfo

Log Message:
p5-Perl-Tidy: update to 20200822.

## 2020 08 22

    - Fix RT #133166, encoding not set for -st.  Also reported as RT #133171
      and git #35.

      This is a significant bug in version 20200616 which can corrupt data if
      perltidy is run as a filter on encoded text.
**Please upgrade**

    - Fix issue RT #133161, perltidy -html was not working on pod

    - Fix issue git #33, allow control of space after '->'

    - Vertical alignment has been improved. Numerous minor issues have
      been fixed.

    - Formatting with the -lp option is improved.

    - Fixed issue git #32, misparse of bare 'ref' in ternary

    - When --assert-tidy is used and triggers an error, the first difference
      between input and output files is shown in the error output. This is
      a partial response to issue git #30.

## 2020 06 19

    - Added support for Switch::Plain syntax, issue git #31.

    - Fixed minor problem where trailing 'unless' clauses were not
      getting vertically aligned.

    - Added a parameter --logical-padding or -lop to allow logical padding
      to be turned off.  Requested by git #29. This flag is on by default.
      The man pages have examples.

    - Added a parameter -kpit=n to control spaces inside of parens following
      certain keywords, requested in git#26. This flag is off by default.

    - Added fix for git#25, improve vertical alignment for long lists with
      varying numbers of items per line.

    - calls to the module Perl::Tidy can now capture any output produced
      by a debug flag or one of the 'tee' flags through the new 'debugfile' and
      'teefile' call parameters.  These output streams are rarely used but
      they are now treated the same as any 'logfile' stream.

    - add option --break-at-old-semicolon-breakpoints', -bos, requested
      in RT#131644.  This flag will keep lines beginning with a semicolon.

    - Added --use-unicode-gcstring to control use of Unicode::GCString for
      evaluating character widths of encoded data.  The default is
      not to use this (--nouse-unicode-gcstring). If this flag is set,
      perltidy will look for Unicode::GCString and, if found, will use it
      to evaluate character display widths.  This can improve displayed
      vertical alignment for files with wide characters.  It is a nice
      feature but it is off by default to avoid conflicting formatting
      when there are multiple developers.  Perltidy installation does not
      require Unicode::GCString, so users wanting to use this feature need
      set this flag and also to install Unicode::GCString separately.

    - Added --character-encoding=guess or -guess to have perltidy guess
      if a file (or other input stream) is encoded as -utf8 or some
      other single-byte encoding. This is useful when processing a mixture
      of file types, such as utf8 and latin-1.

      Please Note: The default encoding has been set to be 'guess'
      instead of 'none'. This seems like the best default, since
      it allows perltidy work properly with both
      utf8 files and older latin-1 files.  The guess mode uses Encode::Guess,
      which is included in standard perl distributions, and only tries to
      guess if a file is utf8 or not, never any other encoding.  If the guess is
      utf8, and if the file successfully decodes as utf8, then it the encoding
      is assumed to be utf8.  Otherwise, no encoding is assumed.
      If you do not want to use this new default guess mode, or have a
      problem with it, you can set --character-encoding=none (the previous
      default) or --character-encoding=utf8 (if you deal with utf8 files).

    - Specific encodings of input files other than utf8 may now be given, for
      example --character-encoding=euc-jp.

    - Fix for git#22, Preserve function signature on a single line. An
      unwanted line break was being introduced when a closing signature paren
      followed a closing do brace.

    - Fix RT#132059, the -dac parameter was not working and caused an error exit

    - When -utf8 is used, any error output is encoded as utf8

    - Fix for git#19, adjust line break around an 'xor'

    - Fix for git#18, added warning for missing comma before unknown bare word.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/p5-Perl-Tidy/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/p5-Perl-Tidy/distinfo

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

Modified files:

Index: pkgsrc/devel/p5-Perl-Tidy/Makefile
diff -u pkgsrc/devel/p5-Perl-Tidy/Makefile:1.42 pkgsrc/devel/p5-Perl-Tidy/Makefile:1.43
--- pkgsrc/devel/p5-Perl-Tidy/Makefile:1.42     Mon Aug 31 18:08:42 2020
+++ pkgsrc/devel/p5-Perl-Tidy/Makefile  Mon Sep  7 09:50:47 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2020/08/31 18:08:42 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2020/09/07 09:50:47 wiz Exp $
 
-DISTNAME=      Perl-Tidy-20200110
+DISTNAME=      Perl-Tidy-20200822
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Perl/}
 

Index: pkgsrc/devel/p5-Perl-Tidy/distinfo
diff -u pkgsrc/devel/p5-Perl-Tidy/distinfo:1.24 pkgsrc/devel/p5-Perl-Tidy/distinfo:1.25
--- pkgsrc/devel/p5-Perl-Tidy/distinfo:1.24     Wed Mar 25 11:18:31 2020
+++ pkgsrc/devel/p5-Perl-Tidy/distinfo  Mon Sep  7 09:50:47 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2020/03/25 11:18:31 nia Exp $
+$NetBSD: distinfo,v 1.25 2020/09/07 09:50:47 wiz Exp $
 
-SHA1 (Perl-Tidy-20200110.tar.gz) = 8d5067fb03a4069f316500cd796770871afee24e
-RMD160 (Perl-Tidy-20200110.tar.gz) = 060fc9293c211136db96e2474b49146d65a7dd4d
-SHA512 (Perl-Tidy-20200110.tar.gz) = 6ff931bed73d5006752ac5c14e893700126a41657f4286b86a5b0adf3963d4fa77bb9dd007f10c096960bcb9fa92aa7e3666e52219fecbc2a0077054d0c5a171
-Size (Perl-Tidy-20200110.tar.gz) = 611243 bytes
+SHA1 (Perl-Tidy-20200822.tar.gz) = 37c48d7acfb36eab5fdc8f39a69cf74c734cb332
+RMD160 (Perl-Tidy-20200822.tar.gz) = 110900bc0797c34cf0982586f43f2e11e099f843
+SHA512 (Perl-Tidy-20200822.tar.gz) = 9fef4b27ea3077720a534eaccfb3895e75600d486822d390f213e4edc168293a657f11292836942e4dc522d1593b5199cd6a46bb6a8d870152cccf57964762ef
+Size (Perl-Tidy-20200822.tar.gz) = 657209 bytes



Home | Main Index | Thread Index | Old Index