Subject: CVS commit: pkgsrc/devel/p5-Perl-Tidy
From: Wen Heping
Date: 2017-12-30 13:47:21
Message id: 20171230124721.3BBE1FB40@cvs.NetBSD.org

Log Message:
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.

Files:
RevisionActionfile
1.33modifypkgsrc/devel/p5-Perl-Tidy/Makefile
1.18modifypkgsrc/devel/p5-Perl-Tidy/distinfo