]> git.donarmstrong.com Git - perltidy.git/commitdiff
bump VERSION to .03
authorSteve Hancock <perltidy@users.sourceforge.net>
Thu, 5 Nov 2020 15:30:46 +0000 (07:30 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Thu, 5 Nov 2020 15:30:46 +0000 (07:30 -0800)
25 files changed:
CHANGES.md
bin/perltidy
docs/BugLog.html
docs/ChangeLog.html
docs/Tidy.html
docs/perltidy.html
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 81de08fa95cfdf9615539b5acf67f0cdd889b816..29b54ab9ab958b721d6a27ef4f86335d6e717a2e 100644 (file)
@@ -1,6 +1,8 @@
 # Perltidy Change Log
 
-## 2020 10 01.02
+## 2020 10 01.03
+
+    - Fixed issue git #44, -vtc=n flag was ignored when -wn was set.
 
     - implement request RT #133649, delete-old-newlines selectively. Two parameters, 
 
index e8f304cbc21078a32ca95fccf228933b036405f7..3fc52778c9fccf85a7322e4797e9eaba3eae93ba 100755 (executable)
@@ -483,7 +483,7 @@ This flag causes each B<n> initial space characters to be replaced by
 one tab character.  
 
 The value of the integer B<n> can be any value but can be coordinated with the
-number of spaces used for intentation. For example, -et=4 -ci=4 -i=4 will
+number of spaces used for intentation. For example, B<-et=4 -ci=4 -i=4> will
 produce one tab for each indentation level and and one for each continuation
 indentation level.  You may want to coordinate the value of B<n> with what your
 display software assumes for the spacing of a tab. 
@@ -4445,7 +4445,7 @@ The perltidy binary uses the Perl::Tidy module and is installed when that module
 
 =head1 VERSION
 
-This man page documents perltidy version 20201001.02
+This man page documents perltidy version 20201001.03
 
 =head1 BUG REPORTS
 
index ef1599285937dde42fc6a3b3ed69498210f6c53d..f8a14958b9861f86212ff772a25712f62295d7fc 100644 (file)
 
 <dl>
 
+<dt id="fix-issue-git-45--wn-and--vtc-n-now-work-together"><b>fix issue git #45, -wn and -vtc=n now work together</b></dt>
+<dd>
+
+<p>When -wn was set, the -vtc=n flag was being ignored. This was a simple fix made 5 Nov 2020 in &#39;fix issue git #45, -wn and -vtc=n now work together&#39;, 1fbc381.</p>
+
+</dd>
 <dt id="implement-request-RT-133649-added-parameters--kbb-s-and--kba-s"><b>implement request RT #133649, added parameters -kbb=s and -kba=s</b></dt>
 <dd>
 
index a4c59b15d0e293e58124d301933cb2b91accd7dc..cea52efe45853cb6d0969edcf940a79d42de8f71 100644 (file)
@@ -1,8 +1,10 @@
 <h1>Perltidy Change Log</h1>
 
-<h2>2020 10 01.02</h2>
+<h2>2020 10 01.03</h2>
 
-<pre><code>- implement request RT #133649, delete-old-newlines selectively. Two parameters, 
+<pre><code>- Fixed issue git #44, -vtc=n flag was ignored when -wn was set.
+
+- implement request RT #133649, delete-old-newlines selectively. Two parameters, 
 
   -kbb=s or --keep-old-breakpoints-before=s, and
   -kba=s or --keep-old-breakpoints-after=s
index 7bc08fb79a19b660533eeac5676d67d0d59ee2d5..cce2bf0d93ff5854749984c72d722bf4fae3daba 100644 (file)
 
 <h1 id="VERSION">VERSION</h1>
 
-<p>This man page documents Perl::Tidy version 20201001.02</p>
+<p>This man page documents Perl::Tidy version 20201001.03</p>
 
 <h1 id="LICENSE">LICENSE</h1>
 
index fc9d6ddc5889523dbd13d5b150235861552fa9d2..99f67b688ee87f6063740499097d92cc23e6052e 100644 (file)
 <dt id="et-n---entab-leading-whitespace"><b>-et=n</b>, <b>--entab-leading-whitespace</b></dt>
 <dd>
 
-<p>This flag causes each <b>n</b> initial space characters to be replaced by one tab character. Note that the integer <b>n</b> is completely independent of the integer specified for indentation parameter, <b>-i=n</b>.</p>
+<p>This flag causes each <b>n</b> initial space characters to be replaced by one tab character.</p>
+
+<p>The value of the integer <b>n</b> can be any value but can be coordinated with the number of spaces used for intentation. For example, <b>-et=4 -ci=4 -i=4</b> will produce one tab for each indentation level and and one for each continuation indentation level. You may want to coordinate the value of <b>n</b> with what your display software assumes for the spacing of a tab.</p>
 
 </dd>
 <dt id="t---tabs"><b>-t</b>, <b>--tabs</b></dt>
 <dd>
 
-<p>This flag causes one leading tab character to be inserted for each level of indentation. Certain other features are incompatible with this option, and if these options are also given, then a warning message will be issued and this flag will be unset. One example is the <b>-lp</b> option.</p>
+<p>This flag causes one leading tab character to be inserted for each level of indentation. Certain other features are incompatible with this option, and if these options are also given, then a warning message will be issued and this flag will be unset. One example is the <b>-lp</b> option. This flag is retained for backwards compatability, but if you use tabs, the <b>-et=n</b> flag is recommended.</p>
 
 </dd>
 <dt id="dt-n---default-tabsize-n"><b>-dt=n</b>, <b>--default-tabsize=n</b></dt>
 
 <h1 id="VERSION">VERSION</h1>
 
-<p>This man page documents perltidy version 20201001.02</p>
+<p>This man page documents perltidy version 20201001.03</p>
 
 <h1 id="BUG-REPORTS">BUG REPORTS</h1>
 
index 2c891d4ca6a085522d8b6c1b44639aaea1093ff1..4bf538f0aceb409d4deab6e505dfd2a2d9e351df 100644 (file)
@@ -107,7 +107,7 @@ BEGIN {
     # Release version must be bumped, and it is probably past time for a
     # release anyway.
 
-    $VERSION = '20201001.02';
+    $VERSION = '20201001.03';
 }
 
 sub DESTROY {
index b4a2799865a4a2b87afc6b6c02c8f157b7526e29..dd87a9e1be70514f914d0dac438f24312e584d42 100644 (file)
@@ -432,7 +432,7 @@ The module 'Perl::Tidy' comes with a binary 'perltidy' which is installed when t
 
 =head1 VERSION
 
-This man page documents Perl::Tidy version 20201001.02
+This man page documents Perl::Tidy version 20201001.03
 
 =head1 LICENSE
 
index 007538f22175e6f7f835ac2dddd06c4beb451571..eb3ad933d33448b5e8887904a660870e526a3fa5 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::Debugger;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub new {
 
index c0bd13bf724a1a2337e6335d3ef7bb77c1351414..6a416c19a88cfe1638c35ac2c2bc45458a41d3e6 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::DevNull;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 sub new   { my $self = shift; return bless {}, $self }
 sub print { return }
 sub close { return }
index 7a39bcf83d9afdad80ff1d6b84acf0923620f499..57c1ceb7998f744857143270892689356f342858 100644 (file)
@@ -20,7 +20,7 @@
 package Perl::Tidy::Diagnostics;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index a56cb5a2a1a1f081dc6823189054e9f9eaacae62..616c883f35045c2aedd8ea78d9e2973a8e24d446 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::FileWriter;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index ff8a487b647f31732737959da6dc4b503ad36426..55718379943fbe11f4b4b0252626b975c0165a5c 100644 (file)
@@ -49,7 +49,7 @@ use constant DEVEL_MODE => 0;
 { #<<< A non-indenting brace to contain all lexical variables
 
 use Carp;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 # The Tokenizer will be loaded with the Formatter
 ##use Perl::Tidy::Tokenizer;    # for is_keyword()
@@ -8324,7 +8324,7 @@ EOM
         ( $K_first, $K_last ) = @{$rK_range};
 
         # remember original starting index in case it changes
-        my $K_first_true= $K_first;
+        my $K_first_true = $K_first;
 
         $rLL              = $self->[_rLL_];
         $radjusted_levels = $self->[_radjusted_levels_];
@@ -18984,9 +18984,9 @@ sub set_vertical_tightness_flags {
             my $cvt = $closing_vertical_tightness{$token_next};
             if (
 
-               # Never append a trailing line like   ')->pack(' because it
-               # will throw off later alignment.  So this line must start at a
-               # deeper level than the next line (fix1 for welding, git #45).
+                # Never append a trailing line like   ')->pack(' because it
+                # will throw off later alignment.  So this line must start at a
+                # deeper level than the next line (fix1 for welding, git #45).
                 (
                     $nesting_depth_to_go[$ibeg_next] >=
                     $nesting_depth_to_go[ $iend_next + 1 ] + 1
index d4471ca89556f2ce60a8f20e46410a7d70c9ecc1..da6fb0764394c8b705b096e325c790b7d2676db9 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::HtmlWriter;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 use File::Basename;
 
index 0da0c766e4f6a4702bd686a41ad724f5db14f1cd..3cb64295dcf8f069753d80c5370acf62d1b6978d 100644 (file)
@@ -10,7 +10,7 @@ package Perl::Tidy::IOScalar;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index d671b79468d38236a3417600fc7456ed81a2d7ff..d4cee2d57e0a2446844a0be1d5ee9e1971b9c56b 100644 (file)
@@ -14,7 +14,7 @@ package Perl::Tidy::IOScalarArray;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index b364e2439826968db2e65503368fd72c4c020fcd..674bc1626df89f31e2d2d5d19227e6f80dc72a1b 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::IndentationItem;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 BEGIN {
 
index 07d5d4778767cb545a9ea50963fa466b98c857f9..ac368115861528d2d43d370615ca826addc16922 100644 (file)
@@ -12,7 +12,7 @@
 package Perl::Tidy::LineBuffer;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index 81ea092a3f5b59d17ad7b33bccebefd9173632b7..bfec95b70050b3909a3b689cf9ccc4021de562ef 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::LineSink;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index 0886ee49a5dbfedc12482aec5e48caacaf9bd0e5..0ceb95b76669629ffca927f0b009799dc651fa78 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::LineSource;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index 7653b9e02ca0bf7288b5c951a3cec961e048048b..fa85c378a65dd8da0fedeee2637e67b9f26dfccc 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::Logger;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 sub AUTOLOAD {
 
index ab9803c502db9c113a1c2c38d835e8d8dba7ea2f..ef46d5d85d8c10a7e884892026155b2c628cba6c 100644 (file)
@@ -21,7 +21,7 @@
 package Perl::Tidy::Tokenizer;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 use Perl::Tidy::LineBuffer;
 use Carp;
@@ -2846,7 +2846,7 @@ sub prepare_for_a_new_file {
         # Set a flag to indicate if we might be at an __END__ or __DATA__ line
         # This will be used below to avoid quoting a bare word followed by
         # a fat comma.
-        my $is_END_or_DATA; 
+        my $is_END_or_DATA;
 
         # trim start of this line unless we are continuing a quoted line
         # do not trim end because we might end in a quote (test: deken4.pl)
@@ -2858,7 +2858,6 @@ sub prepare_for_a_new_file {
               && $input_line =~ /^\s*__(END|DATA)__\s*$/;
         }
 
-
         # update the copy of the line for use in error messages
         # This must be exactly what we give the pre_tokenizer
         $tokenizer_self->[_line_of_text_] = $input_line;
index 0e5da7ff30c85eb1cd80fbed4993a632f6bea677..1e7e8bf8fc9d40f8e3de905b9cbf83a1e6e352be 100644 (file)
@@ -1,7 +1,7 @@
 package Perl::Tidy::VerticalAligner;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 use Perl::Tidy::VerticalAligner::Alignment;
 use Perl::Tidy::VerticalAligner::Line;
index b11f226df619d26c1b566c7ef26aa711b23ffa5b..9ab45cf42993cb168646b8229baf371919d14a2b 100644 (file)
@@ -10,7 +10,7 @@ use warnings;
 
 { #<<< A non-indenting brace
 
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 #    _column_          # the current column number
 #    _saved_column_    # a place for temporary storage
index 2df910341a2dd213f024ac63432fc82586a02779..00242491447773698f9159c3dfe9bda97af66de1 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::VerticalAligner::Line;
 use strict;
 use warnings;
-our $VERSION = '20201001.02';
+our $VERSION = '20201001.03';
 
 BEGIN {
     my $i = 0;