]> git.donarmstrong.com Git - perltidy.git/commitdiff
bump to version 20240511.07 20240511.07
authorSteve Hancock <perltidy@users.sourceforge.net>
Thu, 25 Jul 2024 16:25:51 +0000 (09:25 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Thu, 25 Jul 2024 16:25:51 +0000 (09:25 -0700)
17 files changed:
CHANGES.md
bin/perltidy
lib/Perl/Tidy.pm
lib/Perl/Tidy.pod
lib/Perl/Tidy/Debugger.pm
lib/Perl/Tidy/Diagnostics.pm
lib/Perl/Tidy/FileWriter.pm
lib/Perl/Tidy/Formatter.pm
lib/Perl/Tidy/HtmlWriter.pm
lib/Perl/Tidy/IOScalar.pm
lib/Perl/Tidy/IOScalarArray.pm
lib/Perl/Tidy/IndentationItem.pm
lib/Perl/Tidy/Logger.pm
lib/Perl/Tidy/Tokenizer.pm
lib/Perl/Tidy/VerticalAligner.pm
lib/Perl/Tidy/VerticalAligner/Alignment.pm
lib/Perl/Tidy/VerticalAligner/Line.pm

index f95f9149cf50240119951784da6d5b7521a8aaf7..75ef969ca4da6933080fb499a75c6d36c71e3466 100644 (file)
@@ -1,6 +1,9 @@
 # Perltidy Change Log
 
-## 2024 05 11.06
+## 2024 05 11.07
+
+    - Include signature variables in --dump-unusual-variables and
+      --warn-variable-types; see git #158.
 
     - Add logical xor operator ^^ available in perl version 5.40, as
       noted in git #157.
index a55e8838e5128ccf062bd595468c71da3ea62a1c..8333df00f774a90cb20a912c42f258fd444f129b 100755 (executable)
@@ -6842,7 +6842,7 @@ The perltidy binary uses the Perl::Tidy module and is installed when that module
 
 =head1 VERSION
 
-This man page documents perltidy version 20240511.06
+This man page documents perltidy version 20240511.07
 
 =head1 BUG REPORTS
 
index 0d0dea1961c352d2f96add8395e80e1926e7744c..0dca348c1d1907bbbe383dd2346bb9a6daa9be86 100644 (file)
@@ -131,7 +131,7 @@ BEGIN {
     # then the Release version must be bumped, and it is probably past time for
     # a release anyway.
 
-    $VERSION = '20240511.06';
+    $VERSION = '20240511.07';
 } ## end BEGIN
 
 sub DESTROY {
@@ -3525,7 +3525,7 @@ sub generate_options {
     $add_option->( 'delete-weld-interfering-commas',            'dwic',  '!' );
     $add_option->( 'delete-semicolons',                         'dsm',   '!' );
     $add_option->( 'function-paren-vertical-alignment',         'fpva',  '!' );
-    $add_option->( 'iterate-trailing-commas',                   'itc',   '!' );
+    $add_option->( 'delay-trailing-comma-operations',           'dtco',  '!' );
     $add_option->( 'keyword-paren-inner-tightness',             'kpit',  '=i' );
     $add_option->( 'keyword-paren-inner-tightness-list',        'kpitl', '=s' );
     $add_option->( 'logical-padding',                           'lop',   '!' );
@@ -3870,7 +3870,7 @@ sub generate_options {
       indent-columns=4
       integer-range-check=2
       interbracket-arrow-complexity=1
-      iterate-trailing-commas
+      delay-trailing-comma-operations
       iterations=1
       keep-old-blank-lines=1
       keyword-paren-inner-tightness=1
index 23ab1ea0d2544e1ccd5501e765b7b49726719864..c37dceb55d7be712ed3d2deb84859c3cadc3737a 100644 (file)
@@ -469,7 +469,7 @@ The module 'Perl::Tidy' comes with a binary 'perltidy' which is installed when t
 
 =head1 VERSION
 
-This man page documents Perl::Tidy version 20240511.06
+This man page documents Perl::Tidy version 20240511.07
 
 =head1 LICENSE
 
index 4a2eafb72945f57d558a638b3a335751695c4167..7748a384bcfd750108b5006eb4df64046bd7f20f 100644 (file)
@@ -8,7 +8,7 @@ package Perl::Tidy::Debugger;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 use constant EMPTY_STRING => q{};
 use constant SPACE        => q{ };
index 9bae56a29616d3fb6673eec8ad7aac5e5604b8ef..7b17f409d4c9822f4fb13ffafb4fc49e2fa0a5e1 100644 (file)
@@ -18,7 +18,7 @@ package Perl::Tidy::Diagnostics;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 use constant EMPTY_STRING => q{};
 
index 33c34632137beb0bc8d780924898063eab577919..9f3524253336a7150894bd9b889015bc31f79a36 100644 (file)
@@ -16,7 +16,7 @@
 package Perl::Tidy::FileWriter;
 use strict;
 use warnings;
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 use constant DEVEL_MODE   => 0;
 use constant EMPTY_STRING => q{};
index 1cac85611d087cd9f435d3c11d8eff55861cf66a..6d51af7a2536ba2628978ec894d78ee22cb9c199 100644 (file)
@@ -76,7 +76,7 @@ use constant BACKSLASH    => q{\\};
 use Carp;
 use English    qw( -no_match_vars );
 use List::Util qw( min max first );    # min, max first are in Perl 5.8
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 # The Tokenizer will be loaded with the Formatter
 ##use Perl::Tidy::Tokenizer;    # for is_keyword()
@@ -8780,7 +8780,7 @@ sub scan_variable_usage {
     #   $package = what package was in effect when it was defined
     #   $KK = token index (for sorting)
 
-    # Variables for a batch of lexical varis being collected:
+    # Variables for a batch of lexical vars being collected:
     my $my_keyword;                 # 'state' or 'my' keyword for this set
     my $K_end_my           = -1;    # max token index of this set
     my $in_signature_seqno = 0;     # true while scanning a signature
@@ -12344,7 +12344,7 @@ sub delay_trailing_comma_op {
     # commas, but not both. See git #156
 
     # permission must be given
-    return if ( !$rOpts->{'iterate-trailing-commas'} );
+    return if ( !$rOpts->{'delay-trailing-comma-operations'} );
 
     # we must be at the first of multiple iterations
     my $it             = Perl::Tidy::get_iteration_count();
index f2378abadf6b72b090aaaac55f2f5f136318663a..cc3044e31878da8b404641691d06cab8b061e4ec 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::HtmlWriter;
 use strict;
 use warnings;
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 use Carp;
 use English qw( -no_match_vars );
index 1f4a1169a3c3f273c6f04d43a019fb4835afab00..28e6325d290871bd57dc55cda71c7369017d08e2 100644 (file)
@@ -10,7 +10,7 @@ package Perl::Tidy::IOScalar;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 use constant DEVEL_MODE   => 0;
 use constant EMPTY_STRING => q{};
index 95b50eece30059ea544bf397bdc913093d92fa78..eaea94bc16acf8eac0fa4cde287699f25a3faeed 100644 (file)
@@ -14,7 +14,7 @@ package Perl::Tidy::IOScalarArray;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 use constant DEVEL_MODE => 0;
 
index e331ee75407a7fbf09deedbbcce8596db4656ee5..4395d67c35a81a78150d9d9312bdc0b7ad7a02ef 100644 (file)
@@ -9,7 +9,7 @@ package Perl::Tidy::IndentationItem;
 use strict;
 use warnings;
 
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 BEGIN {
 
index 19dffb732522fc6e53bdd0d2b6ef3b543c8f6c2c..97d5db002b53afb31e19f5fa5fc411321ef1e0d9 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::Logger;
 use strict;
 use warnings;
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 use Carp;
 use English qw( -no_match_vars );
 
index bdacb4640e090a4cf19a8d25b446d9c672bd803a..53a1f21871d7e35f3705dbcd6cdce5d5b2ba1aa6 100644 (file)
@@ -33,7 +33,7 @@ use strict;
 use warnings;
 use English qw( -no_match_vars );
 
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 use Carp;
 
index 43d164b5145f20bd532d3facdcc834a82d477ded..17a265bdf8ec1536bf0451aa3058e72d5f557b34 100644 (file)
@@ -5,7 +5,7 @@ use Carp;
 
 { #<<< A non-indenting brace to contain all lexical variables
 
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 use English qw( -no_match_vars );
 use Scalar::Util 'refaddr';
 use Perl::Tidy::VerticalAligner::Alignment;
index 3455ba0d12656d19131295b3066244cb91aeb80e..e51da68729f26eb2ea2c5d86afbf95c9b2bff011 100644 (file)
@@ -9,7 +9,7 @@ package Perl::Tidy::VerticalAligner::Alignment;
 use strict;
 use warnings;
 
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 
 sub new {
     my ( $class, $rarg ) = @_;
index 29387835011c7c29873885612c18fa2ebe04b02a..8212e481337b828e9e57b8dfd17295dae4d3d777 100644 (file)
@@ -10,7 +10,7 @@ package Perl::Tidy::VerticalAligner::Line;
 use strict;
 use warnings;
 
-our $VERSION = '20240511.06';
+our $VERSION = '20240511.07';
 use English qw( -no_match_vars );
 
 sub AUTOLOAD {