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:   sno
Date:           Thu Sep 13 16:03:16 UTC 2012

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

Log Message:
Updating package for Perl5 code beautifier Perl::Tidy in devel/p5-Perl-Tidy
from 20120701 to 20120714.

Upstream changes:
  2012 07 14
     - Added flag -iscl (--ignore-side-comment-lengths) which causes perltidy
       to ignore the length of side comments when setting line breaks,
       RT #71848.  The default is to include the length of side comments when
       breaking lines to stay within the length prescribed by the -l=n
       maximum line length parameter.  For example,

         Default behavior on a single line with long side comment:
            $vmsfile =~ s/;[\d\-]*$//
              ;    # Clip off version number; we can use a newer version as well

         perltidy -iscl leaves the line intact:

            $vmsfile =~ s/;[\d\-]*$//; # Clip off version number; we can use a 
newer version as well

     - Fixed RT #78182, side effects with STDERR.  Error handling has been
       revised and the documentation has been updated.  STDERR can now be
       redirected to a string reference, and perltidy now returns an
       error flag instead of calling die when input errors are detected.
       If the error flag is set then no tidied output was produced.
       See man Perl::Tidy for an example.

     - Fixed RT #78156, erroneous warning message for package VERSION syntax.

     - Added abbreviations -conv (--converge) to simplify iteration control.
       -conv is equivalent to -it=4 and will insure that the tidied code is
       converged to its final state with the minimum number of iterations.

     - Minor formatting modifications have been made to insure convergence.

     - Simplified and hopefully improved the method for guessing the starting
       indentation level of entabbed code.  Added flag -dt=n 
(--default_tabsize=n)
       which might be helpful if the guessing method does not work well for
       some editors.

     - Added support for stacked labels, upper case X/B in hex and binary, and
       CORE:: namespace.

     - Eliminated warning messages for using keyword names as constants.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/p5-Perl-Tidy/Makefile
cvs rdiff -u -r1.9 -r1.10 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.




Home | Main Index | Thread Index | Old Index