Fri Mar 4 13:06:58 2016 UTC ()
Update to 20160302
Upstream changes:
2016 03 02
- RT #112534. Corrected a minor problem in which an unwanted newline
was placed before the closing brace of an anonymous sub with
a signature, if it was in a list. Thanks to Dmytro Zagashev.
- Corrected a minor problem in which occasional extra indentation was
given to the closing brace of an anonymous sub in a list when the -lp
parameter was set.
2016 03 01
- RT #104427. Added support for signatures.
- RT #111512. Changed global warning flag $^W = 1 to use warnings;
Thanks to Dmytro Zagashev.
- RT #110297, added support for new regexp modifier /n
Thanks to Dmytro Zagashev.
- RT #111519. The -io (--indent-only) and -dac (--delete-all-comments)
can now both be used in one pass. Thanks to Dmitry Veltishev.
- Patch to avoid error message with 'catch' used by TryCatch, as in
catch($err){
# do something
}
Thanks to Nick Tonkin.
- RT #32905, UTF-8 coding is now more robust. Thanks to qsimpleq
and Dmytro for patches.
- RT #106885. Added string bitwise operators ^. &. |. ~. ^.= &.= |.=
- Fixed RT #107832 and #106492, lack of vertical alignment of two lines
when -boc flag (break at old commas) is set. This bug was
inadvertantly introduced in previous bug fix RT #98902.
- Some common extensions to Perl syntax are handled better.
In particular, the following snippet is now foratted cleanly:
method deposit( Num $amount) {
$self->balance( $self->balance + $amount );
}
A new flag -xs (--extended-syntax) was added to enable this, and the default
is to use -xs.
In previous versions, and now only when -nxs is set, this snippet of code
generates the following error message:
"syntax error at ') {', didn't see one of: case elsif for foreach given if switch unless until when while"
(wen)
diff -r1.28 -r1.29 pkgsrc/devel/p5-Perl-Tidy/Makefile
diff -r1.15 -r1.16 pkgsrc/devel/p5-Perl-Tidy/distinfo
--- pkgsrc/devel/p5-Perl-Tidy/Makefile 2015/08/15 23:04:54 1.28
+++ pkgsrc/devel/p5-Perl-Tidy/Makefile 2016/03/04 13:06:58 1.29
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2015/08/15 23:04:54 mef Exp $
+# $NetBSD: Makefile,v 1.29 2016/03/04 13:06:58 wen Exp $
#
-DISTNAME= Perl-Tidy-20150815
+DISTNAME= Perl-Tidy-20160302
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}
--- pkgsrc/devel/p5-Perl-Tidy/distinfo 2015/11/03 03:28:40 1.15
+++ pkgsrc/devel/p5-Perl-Tidy/distinfo 2016/03/04 13:06:58 1.16
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2015/11/03 03:28:40 agc Exp $
+$NetBSD: distinfo,v 1.16 2016/03/04 13:06:58 wen Exp $
-SHA1 (Perl-Tidy-20150815.tar.gz) = ebb236e84b388a2e9dcca0463349d1c22cc93745
+SHA1 (Perl-Tidy-20160302.tar.gz) = ac4f757013cbac99f03691ed119ac4c712ce904f
-RMD160 (Perl-Tidy-20150815.tar.gz) = 931f98006e5cce0db893249eea35f00f68e83b04
+RMD160 (Perl-Tidy-20160302.tar.gz) = 59f0b1337a77090196f7d17f49032b44d803156d
-SHA512 (Perl-Tidy-20150815.tar.gz) = 49442291df1904dbe43afad1ff59e9ddbf3d2c1ee4656a34385f26d3bd00ba06725f1b06180454a7ea17315098ee450d05024edcc28e2c4fa69be34b97ed2e67
+SHA512 (Perl-Tidy-20160302.tar.gz) = 68c7cef5723df717b5b314bee2bd76f29f49194479da993764cd127ced750d5cd8193b0c6c71c19c627687385d20d3e51ea01fcd81ec69374c7edb253bcac4f1
-Size (Perl-Tidy-20150815.tar.gz) = 425224 bytes
+Size (Perl-Tidy-20160302.tar.gz) = 428484 bytes