Revisions of perl-Perl-Tidy
buildservice-autocommit
accepted
request 754060
from
Dirk Stoecker (dstoecker)
(revision 47)
baserev update by copy to link target
Dirk Stoecker (dstoecker)
accepted
request 753928
from
Tina Müller (tinita)
(revision 46)
- updated to 20191203 see /usr/share/doc/packages/perl-Perl-Tidy/CHANGES.md ## 2019 12 03 - Fixed issue RT#131115: -bli option not working correctly. Closing braces were not indented in some cases due to a glitch introduced in version 20181120. - Fixed issue RT#130394: Allow short nested blocks. Given the following $factorial = sub { reduce { $a * $b } 1 .. 11 }; Previous versions would always break the sub block because it contains another block (the reduce block). The fix keeps short one-line blocks such as this intact. - Implement issue RT#130640: Allow different subroutine keywords. Added a flag --sub-alias-list=s or -sal=s, where s is a string with one or more aliases for 'sub', separated by spaces or commas. For example, perltidy -sal='method fun' will cause the perltidy to treat the words 'method' and 'fun' to be treated the same as if they were 'sub'. - Added flag --space-prototype-paren=i, or -spp=i, to control spacing before the opening paren of a prototype, where i=0, 1, or 2: i=0 no space i=1 follow input [current and default] i=2 always space Previously, perltidy always followed the input. For example, given the following input sub usage(); The result will be: sub usage(); # i=0 [no space] sub usage(); # i=1 [default; follows input] sub usage (); # i=2 [space] - Fixed issue git#16, minor vertical alignment issue. - Fixed issue git#10, minor conflict of -wn and -ce - Improved some vertical alignments involving two lines.
buildservice-autocommit
accepted
request 731471
from
Tina Müller (tinita)
(revision 45)
baserev update by copy to link target
Tina Müller (tinita)
accepted
request 731272
from
Tina Müller (tinita)
(revision 44)
- updated to 20190915 see /usr/share/doc/packages/perl-Perl-Tidy/CHANGES.md ## 2019 09 15 - fixed issue RT#130344: false warning "operator in print statement" for "use lib". - fixed issue RT#130304: standard error output should include filename. When perltidy error messages are directed to the standard error output with -se or --standard-error-output, the message lines now have a prefix 'filename:' for clarification in case multiple files are processed, where 'filename' is the name of the input file. If input is from the standard input the displayed filename is '<stdin>', and if it is from a data structure then displayed filename is '<source_stream>'. - implement issue RT#130425: check mode. A new flag '--assert-tidy' will cause an error message if the output script is not identical to the input script. For completeness, the opposite flag '--assert-untidy' has also been added. The next item, RT#130297, insures that the script will exit with a non-zero exit flag if the assertion fails. - fixed issue RT#130297; the perltidy script now exits with a nonzero exit status if it wrote to the standard error output. Prevously only fatal run errors produced a non-zero exit flag. Now, even non-fatal messages requested with the -w flag will cause a non-zero exit flag. The exit flag now has these values: 0 = no errors 1 = perltidy could not run to completion due to errors 2 = perltidy ran to completion with error messages - added warning message for RT#130008, which warns of conflicting input parameters -iob and -bom or -boc. - fixed RT#129850; concerning a space between a closing block brace and opening bracket or brace, as occurs before the '[' in this line: my @addunix = map { File::Spec::Unix->catfile( @ROOT, @$_ ) } ['b']; Formerly, any space was removed. Now it is optional, and the output will follow the input. - fixed issue git#13, needless trailing whitespace in error message - fixed issue git#9: if the -ce (--cuddled-else) flag is used, do not try to form new one line blocks for a block type specified with -cbl, particularly map, sort, grep - iteration speedup for unchanged code. Previously, when iterations were requested, at least two formatting passes were made. Now just a single pass is made if the formatted code is identical to the input code. - some improved vertical alignments
buildservice-autocommit
accepted
request 706890
from
Lars Vogdt (lrupp)
(revision 43)
baserev update by copy to link target
Lars Vogdt (lrupp)
accepted
request 706767
from
Stephan Kulow (coolo)
(revision 42)
automatic update
buildservice-autocommit
accepted
request 655788
from
Dirk Stoecker (dstoecker)
(revision 41)
baserev update by copy to link target
Dirk Stoecker (dstoecker)
accepted
request 655781
from
Stephan Kulow (coolo)
(revision 40)
automatic update
buildservice-autocommit
accepted
request 579742
from
Stephan Kulow (coolo)
(revision 39)
baserev update by copy to link target
Stephan Kulow (coolo)
accepted
request 578601
from
Stephan Kulow (coolo)
(revision 38)
automatic update
buildservice-autocommit
accepted
request 577948
from
Stephan Kulow (coolo)
(revision 37)
baserev update by copy to link target
Stephan Kulow (coolo)
accepted
request 577944
from
Stephan Kulow (coolo)
(revision 36)
automatic update
buildservice-autocommit
accepted
request 568403
from
Dirk Stoecker (dstoecker)
(revision 35)
baserev update by copy to link target
Dirk Stoecker (dstoecker)
accepted
request 560953
from
Stephan Kulow (coolo)
(revision 34)
automatic update
buildservice-autocommit
accepted
request 557138
from
Stephan Kulow (coolo)
(revision 33)
baserev update by copy to link target
Stephan Kulow (coolo)
committed
(revision 32)
- updated to 20171214 see /usr/share/doc/packages/perl-Perl-Tidy/CHANGES 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.
buildservice-autocommit
accepted
request 498319
from
Stephan Kulow (coolo)
(revision 31)
baserev update by copy to link target
Stephan Kulow (coolo)
accepted
request 498254
from
Stephan Kulow (coolo)
(revision 30)
automatic update
buildservice-autocommit
accepted
request 368868
from
Stephan Kulow (coolo)
(revision 29)
baserev update by copy to link target
Stephan Kulow (coolo)
accepted
request 368316
from
Stephan Kulow (coolo)
(revision 28)
automatic update
Displaying revisions 41 - 60 of 87