diff options
author | wen <wen@pkgsrc.org> | 2017-12-30 12:47:21 +0000 |
---|---|---|
committer | wen <wen@pkgsrc.org> | 2017-12-30 12:47:21 +0000 |
commit | 0f856c135fb341e26d2b16570149e5ed18ab9ead (patch) | |
tree | 919dfa429a3596df48d6d6bc9bb8d0640b73996a /devel | |
parent | 2ebace260e1263272283f09eecc0075a3a1d8526 (diff) | |
download | pkgsrc-0f856c135fb341e26d2b16570149e5ed18ab9ead.tar.gz |
Update to 20171214
Upstream changes:
Perltidy Change Log
2017 12 14
- RT #123749, partial fix. "Continuation indentation" is removed from lines
with leading closing parens which are part of a call chain.
For example, the call to pack() is is now outdented to the starting
indentation in the following experession:
# OLD
$mw->Button(
-text => "New Document",
-command => \&new_document
)->pack(
-side => 'bottom',
-anchor => 'e'
);
# NEW
$mw->Button(
-text => "New Document",
-command => \&new_document
)->pack(
-side => 'bottom',
-anchor => 'e'
);
This modification improves readability of complex expressions, especially
when the user uses the same value for continuation indentation (-ci=n) and
normal indentation (-i=n). Perltidy was already programmed to
do this but a minor bug was preventing it.
- RT #123774, added flag to control space between a backslash and a single or
double quote, requested by Robert Rothenberg. The issue is that lines like
$str1=\"string1";
$str2=\'string2';
confuse syntax highlighters unless a space is left between the backslash and
the quote.
The new flag to control this is -sbq=n (--space-backslash-quote=n),
where n=0 means no space, n=1 means follow existing code, n=2 means always
space. The default is n=1, meaning that a space will be retained if there
is one in the source code.
- Fixed RT #123492, support added for indented here doc operator <<~ added
in v5.26. Thanks to Chris Weyl for the report.
- Fixed docs; --closing-side-comment-list-string should have been just
--closing-side-comment-list. Thanks to F.Li.
- Added patch RT #122030] Perl::Tidy sometimes does not call binmode.
Thanks to Irilis Aelae.
- Fixed RT #121959, PERLTIDY doesn't honor the 'three dot' notation for
locating a config file using environment variables. Thanks to John
Wittkowski.
- Minor improvements to formatting, in which some additional vertical
aligmnemt is done. Thanks to Keith Neargarder.
- RT #119588. Vertical alignment is no longer done for // operator.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Perl-Tidy/Makefile | 4 | ||||
-rw-r--r-- | devel/p5-Perl-Tidy/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/p5-Perl-Tidy/Makefile b/devel/p5-Perl-Tidy/Makefile index f4d1a7f4bdb..959abea095f 100644 --- a/devel/p5-Perl-Tidy/Makefile +++ b/devel/p5-Perl-Tidy/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.32 2017/09/17 12:52:57 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2017/12/30 12:47:21 wen Exp $ # -DISTNAME= Perl-Tidy-20170521 +DISTNAME= Perl-Tidy-20171214 PKGNAME= p5-${DISTNAME} CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/} diff --git a/devel/p5-Perl-Tidy/distinfo b/devel/p5-Perl-Tidy/distinfo index 42d871c126d..5ebc5ae9156 100644 --- a/devel/p5-Perl-Tidy/distinfo +++ b/devel/p5-Perl-Tidy/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.17 2017/09/17 12:52:57 wiz Exp $ +$NetBSD: distinfo,v 1.18 2017/12/30 12:47:21 wen Exp $ -SHA1 (Perl-Tidy-20170521.tar.gz) = 4a564dd7505f10afcc211427b4bfe1889551f25d -RMD160 (Perl-Tidy-20170521.tar.gz) = 1ce13d8684812bc2ef305ff2f089a8ab3ea5fd9e -SHA512 (Perl-Tidy-20170521.tar.gz) = 5382162346e2eb1276d4790ed03208e52bfb82ecc2bc63facd5dd81e247872ff209a5aba7718997d426bd1aad5a3fc7434117b60f53dc2eaf9993df6ed9cb1e8 -Size (Perl-Tidy-20170521.tar.gz) = 432394 bytes +SHA1 (Perl-Tidy-20171214.tar.gz) = b0ad80e96b859000c02116229813892834eb9335 +RMD160 (Perl-Tidy-20171214.tar.gz) = b8acd4342f16d2c3f0682c5ff65a19f3c01f39c7 +SHA512 (Perl-Tidy-20171214.tar.gz) = bc561146f184dd0023de44741cafdcf6882ef553ed2e0c0ec8cd9a234f45b76638b4dc7edde0abfc36e4cc1f84ef908c35dc63f776de65e2abd938d35563cc65 +Size (Perl-Tidy-20171214.tar.gz) = 435256 bytes |