]> git.donarmstrong.com Git - perltidy.git/commitdiff
bump version to 20221112.02 20221112.02
authorSteve Hancock <perltidy@users.sourceforge.net>
Wed, 21 Dec 2022 15:09:30 +0000 (07:09 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Wed, 21 Dec 2022 15:09:30 +0000 (07:09 -0800)
21 files changed:
CHANGES.md
bin/perltidy
lib/Perl/Tidy.pm
lib/Perl/Tidy.pod
lib/Perl/Tidy/Debugger.pm
lib/Perl/Tidy/DevNull.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/LineBuffer.pm
lib/Perl/Tidy/LineSink.pm
lib/Perl/Tidy/LineSource.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 2bfc7bc1326b36e7690a42672abbcd7733e3901e..9bcdf999a5cb6a5bbaddad6e2fe517a5e221743a 100644 (file)
@@ -1,6 +1,31 @@
 # Perltidy Change Log
 
-## 2022 11 12.01
+## 2022 11 12.02
+
+    - Added option -bfvt=n, or --brace-follower-vertical-tightness=n,
+      for part of issue git #110.  For n=2, this option looks for lines
+      which would otherwise be, by default,
+
+      }
+        or ..
+
+      and joins them into a single line
+
+      } or ..
+
+      where the or can be one of a number of logical operators or if unless.
+      The default is not to do this and can be indicated with n=1.
+
+    - Added option -cpb, or --cuddled-paren-brace, for issue git #110.
+      This option  This will cause perltidy to join two lines which
+      otherwise would be, by default,
+
+        )
+      {
+
+      into a single line
+
+      ) {
 
     - Added option -dbs, or --dump-block-summary, to dump summary
       information about code blocks in a file to standard output. The
index c9ae0f2b7d6c65af5f3b4eeccfe78331022cb8dd..b87df94dacca95de900fd84db5d83769908d9943 100755 (executable)
@@ -5485,7 +5485,7 @@ The perltidy binary uses the Perl::Tidy module and is installed when that module
 
 =head1 VERSION
 
-This man page documents perltidy version 20221112.01
+This man page documents perltidy version 20221112.02
 
 =head1 BUG REPORTS
 
index e509c8a463925f20c26fa0cd2efaa82d588264aa..c66da71dcf661e27567e64437ede3b30b038f2ae 100644 (file)
@@ -113,7 +113,7 @@ BEGIN {
     # then the Release version must be bumped, and it is probably past time for
     # a release anyway.
 
-    $VERSION = '20221112.01';
+    $VERSION = '20221112.02';
 }
 
 sub DESTROY {
index 338ebed5eb4081d491d9134e9a170947d14c207b..42c2bdd37473ecddb4567b254854b8058b1264a5 100644 (file)
@@ -475,7 +475,7 @@ The module 'Perl::Tidy' comes with a binary 'perltidy' which is installed when t
 
 =head1 VERSION
 
-This man page documents Perl::Tidy version 20221112.01
+This man page documents Perl::Tidy version 20221112.02
 
 =head1 LICENSE
 
index ca2cde94a94a3ae66d8bc3d8d79175ee5e814872..18baa5f57fbb2fbe493c6d340630eee5c7c9d967 100644 (file)
@@ -8,7 +8,7 @@ package Perl::Tidy::Debugger;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 use constant EMPTY_STRING => q{};
 use constant SPACE        => q{ };
index 0c73f7a488addc9b7bac9c1ba9398e8e8e1a6439..f96682a13164b9c7cf0e1e8dbb4d9a94c89e7443 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::DevNull;
 use strict;
 use warnings;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 sub new   { my $self = shift; return bless {}, $self }
 sub print { return }
 sub close { return }
index 0d19e9b8b1044c6ac113ee3555b50125bded6de5..9f10583dcafd43fa534a451f722d0fb765ee2c7a 100644 (file)
@@ -21,7 +21,7 @@ package Perl::Tidy::Diagnostics;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 use constant EMPTY_STRING => q{};
 
index b5ffe822c54e2886fc1bdc142ab7d4fcab2448af..52258feb0e804404d434c1bc7622cedfbc5374b8 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::FileWriter;
 use strict;
 use warnings;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 use constant DEVEL_MODE   => 0;
 use constant EMPTY_STRING => q{};
index b9954bf3ce4d58314dc95d2d3c5a5a394f2de33f..5b1c25b45a815b074f4a6617f223e61cfe61d22e 100644 (file)
@@ -53,7 +53,7 @@ use constant SPACE        => q{ };
 use Carp;
 use English    qw( -no_match_vars );
 use List::Util qw( min max );          # min, max are in Perl 5.8
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 # The Tokenizer will be loaded with the Formatter
 ##use Perl::Tidy::Tokenizer;    # for is_keyword()
index 4d3c0418ee39c856a3433afe216cc85fb15775cd..41f2911af783e3a80722be81df449539ee4507e0 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::HtmlWriter;
 use strict;
 use warnings;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 use English qw( -no_match_vars );
 use File::Basename;
index 2162d90b1526c82119f1b98c216388562c75b03e..84cd6e0caddac383ff05b6db9debbdb4725137e9 100644 (file)
@@ -10,7 +10,7 @@ package Perl::Tidy::IOScalar;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 use constant EMPTY_STRING => q{};
 
index 16bded981287d74b57f43cc5018bef207b773aa2..d0309d69b024432df777c9f52e20c7184efc55fd 100644 (file)
@@ -14,7 +14,7 @@ package Perl::Tidy::IOScalarArray;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 sub AUTOLOAD {
 
index 4b8b9851a9836bcb22836f168bca10be9002e24b..80a46b12cd896c39bd63c7f2a53277c49b7e7b07 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::IndentationItem;
 use strict;
 use warnings;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 BEGIN {
 
index a379578ac220a503891b01192dd6f9803a56f794..757361da56669e33684bec5d0518c0ac02d397cd 100644 (file)
@@ -12,7 +12,7 @@
 package Perl::Tidy::LineBuffer;
 use strict;
 use warnings;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 sub AUTOLOAD {
 
index a7fd0018acb1a48a0caa658f11c6a4fe57a20ac6..70f38d3a9d7926bbd3be7532f95e014539fce699 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::LineSink;
 use strict;
 use warnings;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 sub AUTOLOAD {
 
index d5f4b3a8d6f466647295b304f3d08b78b0cc5792..6fdccd7809e27334985b30fea3f488737a81865c 100644 (file)
@@ -9,7 +9,7 @@ package Perl::Tidy::LineSource;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 use constant DEVEL_MODE => 0;
 
index 2186818ccbfecd11f525d1303c77340c473224cd..194869352788c391d2c41fde149485684bd60f86 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::Logger;
 use strict;
 use warnings;
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 use English qw( -no_match_vars );
 
 use constant DEVEL_MODE   => 0;
index 9e88c5c5de11dadcfb677108f27e04dc2d806a01..4146e934dbc4b14a42fe1eec5ae5919350e0bfcf 100644 (file)
@@ -23,7 +23,7 @@ use strict;
 use warnings;
 use English qw( -no_match_vars );
 
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 use Perl::Tidy::LineBuffer;
 use Carp;
index d1395bd556f41d1372b9c3378f8789c36f497b28..8a59edcbc611f92c73767334b8bb38b893ec69b8 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 use Carp;
 use English qw( -no_match_vars );
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 use Perl::Tidy::VerticalAligner::Alignment;
 use Perl::Tidy::VerticalAligner::Line;
 
index 3f6cd8a75a4477d13851956d11e3f8022a96d908..972d3b42c185cddeb54802d48c6be25ce70b84f4 100644 (file)
@@ -10,7 +10,7 @@ use warnings;
 
 { #<<< A non-indenting brace
 
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 sub new {
     my ( $class, $rarg ) = @_;
index 838050067fd89c7987b25b8b8495966a4b2d5592..cdba8716713fbd3aa568d7d5ce2981e02611de05 100644 (file)
@@ -10,7 +10,7 @@ package Perl::Tidy::VerticalAligner::Line;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20221112.01';
+our $VERSION = '20221112.02';
 
 sub AUTOLOAD {