Skip to content

Commit

Permalink
Update to 20230701
Browse files Browse the repository at this point in the history
Upstream changes:
## 2023 07 01

    - Issue git #121. Added parameters -xbt, or --extended-block-tightness,
      and -xbtl=s, or --extended-block-tightness-list=s, to allow
      certain small code blocks to have internal spacing controlled by
      -bbt=n rather than -bt=n. The man pages have details.

    - Issue git #118. A warning will be issued if a duplicate format-skipping
      starting marker is seen within a format-skipping section. The same
      applies to duplicate code-skipping starting markers within code-skipping
      sections.

    - Issue git #116. A new flag --valign-if-unless, -viu, was added to
      allow postfix 'unless' terms to align with postfix 'if' terms.  The
      default remains not to do this.

    - Fixed git #115. In the two most recent CPAN releases, when the
      Perl::Tidy module was called with the source pointing to a file,
      but no destination specified, the output went to the standard
      output instead of to a file with extension ``.tdy``, as it should
      have.  This has been fixed.

    - Fixed git #110, add missing documentation for new options
      -cpb and -bfvt=n. These work in version 20230309 but the pod
      documentation was missing and has been added.

    - Fixed an undefined reference message when running with
      --dump-block-summary on a file without any subs or other
      selected block types.

    - Add parameter -ipc, or --ignore-perlcritic-comments.  Perltidy, by
      default, will look for side comments beginning with ``## no critic`` and
      ignore their lengths when making line break decisions, even if the user
      has not set ``-iscl``.  The reason is that an unwanted line break can
      make these special comments ineffective in controlling ``perlcritic``.
      The parameter -ipc can be set if, for some reason, this is not wanted.

    - Some minor issues with continuation indentation have been fixed.
      Most scripts will remain unchanged.  The main change is that block
      comments which occur just before a closing brace, bracket or paren
      now have an indentation which is independent of the existance of
      an optional comma or semicolon.  Previously, adding or deleting
      an optional trailing comma could cause their indentation to jump.
      Also, indentation of comments within ternary statements has been
      improved. For additonal details see:

      https://github.com/perltidy/perltidy/blob/master/docs/ci_update.md

    - This version was stress-tested for many cpu hours with random
      input parameters. No failures to converge, internal fault checks,
      undefined variable references or other irregularities were seen.

    - This version runs several percent faster than the previous release
      on large files.
  • Loading branch information
wen committed Aug 3, 2023
1 parent 41acd30 commit cd97d39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions devel/p5-Perl-Tidy/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.51 2023/07/06 09:39:52 wiz Exp $
# $NetBSD: Makefile,v 1.52 2023/08/03 07:13:23 wen Exp $

DISTNAME= Perl-Tidy-20230309
DISTNAME= Perl-Tidy-20230701
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}

Expand Down
8 changes: 4 additions & 4 deletions devel/p5-Perl-Tidy/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.32 2023/04/29 22:55:13 wen Exp $
$NetBSD: distinfo,v 1.33 2023/08/03 07:13:23 wen Exp $

BLAKE2s (Perl-Tidy-20230309.tar.gz) = a242f3459142ee00a14337f381b6032d4afd8f0a3401f806a3cd3c72d232b68f
SHA512 (Perl-Tidy-20230309.tar.gz) = 5b29b10fe758a59e13126b4b050c2f82c82e925cc99f832c47ba6393014d42b10d963630aa98e590dda5cccfaca4810c8244cbb48ddde975a30781061414b034
Size (Perl-Tidy-20230309.tar.gz) = 960052 bytes
BLAKE2s (Perl-Tidy-20230701.tar.gz) = 5dbffe2fb3736e1fb815d6e1591f39ca1ac0d2f330370495c4e9c62cdb2c19b4
SHA512 (Perl-Tidy-20230701.tar.gz) = 29f8607d366644f9d08311f8bc508426a63e6fe8062d5ddbeb9f4ceb53b38a68f46b3f39c58ab0998ea3ce13998be430a7ef57130e0e3964798db9af07cf4a4c
Size (Perl-Tidy-20230701.tar.gz) = 982458 bytes

0 comments on commit cd97d39

Please sign in to comment.