]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
4 years agoadded revised test for RT #133161, check for pod2html
Steve Hancock [Mon, 24 Aug 2020 13:58:01 +0000 (06:58 -0700)]
added revised test for RT #133161, check for pod2html

4 years agoremoved test of pod2html; headers vary with system
Steve Hancock [Sun, 23 Aug 2020 22:53:12 +0000 (15:53 -0700)]
removed test of pod2html; headers vary with system

4 years agounlink tmpfile when done
Steve Hancock [Sun, 23 Aug 2020 22:35:33 +0000 (15:35 -0700)]
unlink tmpfile when done

4 years agoAdd test for RT #133166, RT #133171, git #35; encoded -st output
Steve Hancock [Sun, 23 Aug 2020 22:33:58 +0000 (15:33 -0700)]
Add test for RT #133166, RT #133171, git #35; encoded -st output

4 years agoadd test case for RT #133161, pod2html test
Steve Hancock [Sun, 23 Aug 2020 14:38:41 +0000 (07:38 -0700)]
add test case for RT #133161, pod2html test

4 years agochanges preparing for next release, v20200822 20200822
Steve Hancock [Sat, 22 Aug 2020 13:15:50 +0000 (06:15 -0700)]
changes preparing for next release, v20200822

4 years agofix RT #133166, encoding not set for -st
Steve Hancock [Sat, 15 Aug 2020 13:49:55 +0000 (06:49 -0700)]
fix RT #133166, encoding not set for -st

4 years agofix RT #133166, encoding not set for -st
Steve Hancock [Sat, 15 Aug 2020 13:48:16 +0000 (06:48 -0700)]
fix RT #133166, encoding not set for -st

4 years agoimproved fix for RT #133161, -html not working on pod
Steve Hancock [Sat, 15 Aug 2020 02:28:17 +0000 (19:28 -0700)]
improved fix for RT #133161, -html not working on pod

4 years agofix for RT #133161, perltidy -html not working on pod
Steve Hancock [Sat, 15 Aug 2020 01:14:38 +0000 (18:14 -0700)]
fix for RT #133161, perltidy -html not working on pod

4 years agoreorganized global vars; moved diagnostics_object into $self
Steve Hancock [Thu, 13 Aug 2020 14:14:32 +0000 (07:14 -0700)]
reorganized global vars; moved diagnostics_object into $self

4 years agominor coding cleanup
Steve Hancock [Thu, 13 Aug 2020 14:14:09 +0000 (07:14 -0700)]
minor coding cleanup

4 years agomoved three scan_list arrays into a closure
Steve Hancock [Wed, 12 Aug 2020 14:24:27 +0000 (07:24 -0700)]
moved three scan_list arrays into a closure

4 years agomoved several global vars into $self
Steve Hancock [Wed, 12 Aug 2020 13:24:41 +0000 (06:24 -0700)]
moved several global vars into $self

4 years agoeliminated several global variables
Steve Hancock [Tue, 11 Aug 2020 17:28:13 +0000 (10:28 -0700)]
eliminated several global variables

4 years agomoved global 'peak_batch_size' to a closure; reformatted
Steve Hancock [Sun, 9 Aug 2020 14:44:20 +0000 (07:44 -0700)]
moved global 'peak_batch_size' to a closure; reformatted

4 years agofixed error message (mentioned obsolete parameter)
Steve Hancock [Sun, 9 Aug 2020 13:40:11 +0000 (06:40 -0700)]
fixed error message (mentioned obsolete parameter)

4 years agofix rt #133130, undefined $SUB_PATTERN if -cscl=sub
Steve Hancock [Sat, 8 Aug 2020 03:44:50 +0000 (20:44 -0700)]
fix rt #133130, undefined $SUB_PATTERN if -cscl=sub

4 years agosimplified sub 'check_match'
Steve Hancock [Thu, 6 Aug 2020 23:39:53 +0000 (16:39 -0700)]
simplified sub 'check_match'

4 years agorename some internal subs; remove old debug flags
Steve Hancock [Thu, 6 Aug 2020 21:48:03 +0000 (14:48 -0700)]
rename some internal subs; remove old debug flags

4 years agoupdate comments
Steve Hancock [Thu, 6 Aug 2020 15:06:40 +0000 (08:06 -0700)]
update comments

4 years agoreplace pattern match in fix_terminal_ternary with call to decode
Steve Hancock [Thu, 6 Aug 2020 14:46:58 +0000 (07:46 -0700)]
replace pattern match in fix_terminal_ternary with call to decode

4 years agoreplace pattern match in sub decide_if_list with call to decode
Steve Hancock [Thu, 6 Aug 2020 14:27:40 +0000 (07:27 -0700)]
replace pattern match in sub decide_if_list with call to decode

4 years agoupdate comments
Steve Hancock [Thu, 6 Aug 2020 13:33:38 +0000 (06:33 -0700)]
update comments

4 years agoremoved unused var 'valign_batch_count'
Steve Hancock [Thu, 6 Aug 2020 13:33:03 +0000 (06:33 -0700)]
removed unused var 'valign_batch_count'

4 years agoconvert $self from hash ref to array ref
Steve Hancock [Thu, 6 Aug 2020 03:52:44 +0000 (20:52 -0700)]
convert $self from hash ref to array ref

4 years agorename sub initialize to be sub new
Steve Hancock [Wed, 5 Aug 2020 20:38:26 +0000 (13:38 -0700)]
rename sub initialize to be sub new

4 years agosimplified sub flush
Steve Hancock [Wed, 5 Aug 2020 14:37:45 +0000 (07:37 -0700)]
simplified sub flush

4 years agoadd missing return statements noted by PerlCritic
Steve Hancock [Wed, 5 Aug 2020 13:04:22 +0000 (06:04 -0700)]
add missing return statements noted by PerlCritic

4 years agomoved some cache variables into a closure
Steve Hancock [Tue, 4 Aug 2020 23:33:00 +0000 (16:33 -0700)]
moved some cache variables into a closure

4 years agoconvert $self from hash ref to array ref
Steve Hancock [Tue, 4 Aug 2020 20:17:21 +0000 (13:17 -0700)]
convert $self from hash ref to array ref

4 years agoswitched to object calls to VerticalAligner subs
Steve Hancock [Sat, 1 Aug 2020 03:17:52 +0000 (20:17 -0700)]
switched to object calls to VerticalAligner subs

4 years agoremoved unused sub
Steve Hancock [Fri, 31 Jul 2020 14:21:21 +0000 (07:21 -0700)]
removed unused sub

4 years agoharden 'delete_selected_tokens'; enclose 'adjust_side_comments'
Steve Hancock [Fri, 31 Jul 2020 14:18:04 +0000 (07:18 -0700)]
harden 'delete_selected_tokens'; enclose 'adjust_side_comments'

4 years agoadded link to docs at metacpan.org
Steve Hancock [Thu, 30 Jul 2020 14:47:01 +0000 (07:47 -0700)]
added link to docs at metacpan.org

4 years agoupdate docs
Steve Hancock [Thu, 30 Jul 2020 14:03:07 +0000 (07:03 -0700)]
update docs

4 years agofix for git #33, space after '->'
Steve Hancock [Thu, 30 Jul 2020 14:01:37 +0000 (07:01 -0700)]
fix for git #33, space after '->'

4 years agoupdate documentation
Steve Hancock [Thu, 30 Jul 2020 13:11:06 +0000 (06:11 -0700)]
update documentation

4 years agominor alignment improvements and some code cleanup
Steve Hancock [Wed, 29 Jul 2020 14:23:00 +0000 (07:23 -0700)]
minor alignment improvements and some code cleanup

4 years agoimproved spacing rule for horizontal sweep
Steve Hancock [Tue, 28 Jul 2020 13:07:00 +0000 (06:07 -0700)]
improved spacing rule for horizontal sweep

4 years agoimproved fat-comma alignment in some rare cases
Steve Hancock [Sun, 26 Jul 2020 23:18:21 +0000 (16:18 -0700)]
improved fat-comma alignment in some rare cases

4 years agospeedup sub decode_alignment; fix rare issue with terminal else statements
Steve Hancock [Sun, 26 Jul 2020 14:57:36 +0000 (07:57 -0700)]
speedup sub decode_alignment; fix rare issue with terminal else statements

4 years agocomment out versions before 5.14; some kind of config problem at AppVeyor
Steve Hancock [Sat, 25 Jul 2020 17:47:34 +0000 (10:47 -0700)]
comment out versions before 5.14; some kind of config problem at AppVeyor

4 years agoimproved sub sweep_left_to_right
Steve Hancock [Sat, 25 Jul 2020 17:19:42 +0000 (10:19 -0700)]
improved sub sweep_left_to_right

4 years agocommented out testing Perl_VERSION: "5.12"; some kind of config problem
Steve Hancock [Sat, 25 Jul 2020 12:57:30 +0000 (05:57 -0700)]
commented out testing Perl_VERSION: "5.12"; some kind of config problem

4 years agoremoved unused variables
Steve Hancock [Sat, 25 Jul 2020 12:52:54 +0000 (05:52 -0700)]
removed unused variables

4 years agofixed some minor side comment alignment issues
Steve Hancock [Sat, 25 Jul 2020 12:52:16 +0000 (05:52 -0700)]
fixed some minor side comment alignment issues

4 years agocode cleanups; fixed some side-comment issues
Steve Hancock [Fri, 24 Jul 2020 01:44:00 +0000 (18:44 -0700)]
code cleanups; fixed some side-comment issues

4 years agoadd tail-wag-dog rule to vertical alignment
Steve Hancock [Sun, 19 Jul 2020 00:00:35 +0000 (17:00 -0700)]
add tail-wag-dog rule to vertical alignment

4 years agorewrote VerticalAligner module; bumped version to .02 20200619.02
Steve Hancock [Thu, 16 Jul 2020 01:29:36 +0000 (18:29 -0700)]
rewrote VerticalAligner module; bumped version to .02

4 years agoreorganized some subs for future development
Steve Hancock [Fri, 3 Jul 2020 01:25:10 +0000 (18:25 -0700)]
reorganized some subs for future development

4 years agofixed comment typo
Steve Hancock [Thu, 2 Jul 2020 02:31:38 +0000 (19:31 -0700)]
fixed comment typo

4 years agominor vertical alignment improvement + test case
Steve Hancock [Thu, 2 Jul 2020 02:28:23 +0000 (19:28 -0700)]
minor vertical alignment improvement + test case

4 years agominor fix - include hanging side comments in alignment tree construction
Steve Hancock [Wed, 1 Jul 2020 12:35:14 +0000 (05:35 -0700)]
minor fix - include hanging side comments in alignment tree construction

4 years agominor fix for '!' in alignments
Steve Hancock [Tue, 30 Jun 2020 20:35:05 +0000 (13:35 -0700)]
minor fix for '!' in alignments

4 years agoadded <=> as alignment token
Steve Hancock [Tue, 30 Jun 2020 19:12:38 +0000 (12:12 -0700)]
added <=> as alignment token

4 years agoimproved vertical alignment and added new test cases
Steve Hancock [Tue, 30 Jun 2020 15:15:06 +0000 (08:15 -0700)]
improved vertical alignment and added new test cases

4 years agofixed error in debug routine
Steve Hancock [Tue, 30 Jun 2020 01:25:05 +0000 (18:25 -0700)]
fixed error in debug routine

4 years agoadded test case prune.in for sub prune_alignment_tree
Steve Hancock [Mon, 29 Jun 2020 15:11:24 +0000 (08:11 -0700)]
added test case prune.in for sub prune_alignment_tree

4 years agoremoved unused routine
Steve Hancock [Sun, 28 Jun 2020 03:01:46 +0000 (20:01 -0700)]
removed unused routine

4 years agoadd sub 'prune_alignment_tree' for some improved vertical alignments
Steve Hancock [Sat, 27 Jun 2020 14:34:31 +0000 (07:34 -0700)]
add sub 'prune_alignment_tree' for some improved vertical alignments

4 years agoreorganize arrays for testing for depricated ?pattern?
Steve Hancock [Sat, 27 Jun 2020 14:33:21 +0000 (07:33 -0700)]
reorganize arrays for testing for depricated ?pattern?

4 years agoremoved file 'bbs.t' which should not have been in distribution
Steve Hancock [Fri, 26 Jun 2020 12:36:58 +0000 (05:36 -0700)]
removed file 'bbs.t' which should not have been in distribution

4 years agorefined lists of keywords which might not require an arg
Steve Hancock [Thu, 25 Jun 2020 01:27:51 +0000 (18:27 -0700)]
refined lists of keywords which might not require an arg

4 years agoadded keywords 'fc' and 'evalbytes'
Steve Hancock [Wed, 24 Jun 2020 23:51:42 +0000 (16:51 -0700)]
added keywords 'fc' and 'evalbytes'

4 years agoadd 'ref' to a hash to fix git #32, misparse of a ? as quote delimiter
Steve Hancock [Wed, 24 Jun 2020 13:17:19 +0000 (06:17 -0700)]
add 'ref' to a hash to fix git #32, misparse of a ? as quote delimiter

4 years agominor coding cleanup
Steve Hancock [Tue, 23 Jun 2020 00:41:11 +0000 (17:41 -0700)]
minor coding cleanup

4 years agoimproved error ouput for --assert-tidy
Steve Hancock [Tue, 23 Jun 2020 00:15:24 +0000 (17:15 -0700)]
improved error ouput for --assert-tidy

4 years agoremove binmode object call; not available in older perl versions
Steve Hancock [Mon, 22 Jun 2020 12:59:02 +0000 (05:59 -0700)]
remove binmode object call; not available in older perl versions

4 years agofixed an undefined variable in --assert-tidy warning message
Steve Hancock [Sun, 21 Jun 2020 14:25:20 +0000 (07:25 -0700)]
fixed an undefined variable in --assert-tidy warning message

4 years agofixed typos in text messages
Steve Hancock [Sun, 21 Jun 2020 01:14:26 +0000 (18:14 -0700)]
fixed typos in text messages

4 years agoshow first file difference when --assert-tidy causes an error 20200619.01
Steve Hancock [Sun, 21 Jun 2020 00:44:28 +0000 (17:44 -0700)]
show first file difference when --assert-tidy causes an error

4 years agobumped version to 20200619.01 for continued development
Steve Hancock [Sun, 21 Jun 2020 00:16:43 +0000 (17:16 -0700)]
bumped version to 20200619.01 for continued development

5 years agofixed MANIFEST and some formatting before release 20200619
Steve Hancock [Fri, 19 Jun 2020 03:05:10 +0000 (20:05 -0700)]
fixed MANIFEST and some formatting before release

5 years agoeliminate need for -xs flag for Switch::Plain
Steve Hancock [Fri, 19 Jun 2020 00:54:37 +0000 (17:54 -0700)]
eliminate need for -xs flag for Switch::Plain

5 years agoupdates for next release, v20200619
Steve Hancock [Thu, 18 Jun 2020 15:27:31 +0000 (08:27 -0700)]
updates for next release, v20200619

5 years agoconvert some eq tests to a hash
Steve Hancock [Thu, 18 Jun 2020 13:41:39 +0000 (06:41 -0700)]
convert some eq tests to a hash

5 years agocleanup string length calculations in vertical aligner
Steve Hancock [Sat, 13 Jun 2020 01:07:24 +0000 (18:07 -0700)]
cleanup string length calculations in vertical aligner

5 years agoadded tests for -sot -sct
Steve Hancock [Sat, 13 Jun 2020 00:49:18 +0000 (17:49 -0700)]
added tests for -sot -sct

5 years agoupdate docs
Steve Hancock [Thu, 11 Jun 2020 14:12:31 +0000 (07:12 -0700)]
update docs

5 years agoallow Switch::Plain constructs within ternary stmts
Steve Hancock [Thu, 11 Jun 2020 13:44:45 +0000 (06:44 -0700)]
allow Switch::Plain constructs within ternary stmts

5 years agofixed garbled text
Steve Hancock [Thu, 11 Jun 2020 02:57:17 +0000 (19:57 -0700)]
fixed garbled text

5 years agoadded support of Switch::Plain
Steve Hancock [Thu, 11 Jun 2020 02:39:20 +0000 (19:39 -0700)]
added support of Switch::Plain

5 years agoadded xor to list of builtin -sak keywords, should have been
Steve Hancock [Tue, 9 Jun 2020 20:26:42 +0000 (13:26 -0700)]
added xor to list of builtin -sak keywords, should have been

5 years agoadded xor to builtin -sak keywords; should have been
Steve Hancock [Tue, 9 Jun 2020 20:25:20 +0000 (13:25 -0700)]
added xor to builtin -sak keywords; should have been

5 years agoupdated docs regarding list formatting
Steve Hancock [Tue, 9 Jun 2020 13:20:37 +0000 (06:20 -0700)]
updated docs regarding list formatting

5 years agoupdate docs concerning change to default --nouse-unicode-gcstring
Steve Hancock [Mon, 8 Jun 2020 14:06:15 +0000 (07:06 -0700)]
update docs concerning change to default --nouse-unicode-gcstring

5 years agomade --nouse-unicode-gcstring default to avoid confusion
Steve Hancock [Mon, 8 Jun 2020 13:34:57 +0000 (06:34 -0700)]
made --nouse-unicode-gcstring default to avoid confusion

5 years agoadded 'unless' to a hash to avoid unwanted valign rejections
Steve Hancock [Sun, 7 Jun 2020 13:38:02 +0000 (06:38 -0700)]
added 'unless' to a hash to avoid unwanted valign rejections

5 years agoadded option --logical-padding or -lop, see git#29
Steve Hancock [Fri, 5 Jun 2020 02:06:41 +0000 (19:06 -0700)]
added option --logical-padding or -lop, see git#29

5 years agoinclude 'for' with 'foreach' in special case for -kpit option
Steve Hancock [Tue, 2 Jun 2020 22:06:51 +0000 (15:06 -0700)]
include 'for' with 'foreach' in special case for -kpit option

5 years agofixed 2 issues with -kpit option (git #26)
Steve Hancock [Tue, 2 Jun 2020 00:04:56 +0000 (17:04 -0700)]
fixed 2 issues with -kpit option (git #26)

5 years agofixed potential index problem; added test case for hanging side comments
Steve Hancock [Tue, 26 May 2020 22:20:25 +0000 (15:20 -0700)]
fixed potential index problem; added test case for hanging side comments

5 years agominor optimization for -kpit
Steve Hancock [Mon, 25 May 2020 19:05:40 +0000 (12:05 -0700)]
minor optimization for -kpit

5 years agoadded parameter -kpit=n and kpitl=s, see git#26 discussion
Steve Hancock [Mon, 25 May 2020 00:59:08 +0000 (17:59 -0700)]
added parameter -kpit=n and kpitl=s, see git#26 discussion

5 years agoupdate docs regarding fix for git#25
Steve Hancock [Sun, 24 May 2020 21:07:47 +0000 (14:07 -0700)]
update docs regarding fix for git#25

5 years agominor restructuring for future development
Steve Hancock [Sun, 24 May 2020 21:04:18 +0000 (14:04 -0700)]
minor restructuring for future development

5 years agofixed bug with -okwl option and added test case
Steve Hancock [Sun, 24 May 2020 20:47:16 +0000 (13:47 -0700)]
fixed bug with -okwl option and added test case

5 years agoadded sub 'fix_ragged_matches' for better vertical alignment
Steve Hancock [Sun, 24 May 2020 01:41:26 +0000 (18:41 -0700)]
added sub 'fix_ragged_matches' for better vertical alignment

5 years agoremoved '{' as list alignment
Steve Hancock [Sat, 23 May 2020 18:07:00 +0000 (11:07 -0700)]
removed '{' as list alignment