]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
4 years agofixed call to undefined sub warning
Steve Hancock [Wed, 2 Sep 2020 22:59:27 +0000 (15:59 -0700)]
fixed call to undefined sub warning

4 years agochanged new -nib feature to be on by default
Steve Hancock [Wed, 2 Sep 2020 18:08:37 +0000 (11:08 -0700)]
changed new -nib feature to be on by default

4 years agoclarify format-skipping behavior
Steve Hancock [Wed, 2 Sep 2020 15:30:57 +0000 (08:30 -0700)]
clarify format-skipping behavior

4 years agomodify -nib to be exact match, not just leading match
Steve Hancock [Wed, 2 Sep 2020 15:10:39 +0000 (08:10 -0700)]
modify -nib to be exact match, not just leading match

4 years agominor code cleanups
Steve Hancock [Wed, 2 Sep 2020 01:41:46 +0000 (18:41 -0700)]
minor code cleanups

4 years agoconvert $self from hash ref to array ref
Steve Hancock [Wed, 2 Sep 2020 01:41:20 +0000 (18:41 -0700)]
convert $self from hash ref to array ref

4 years agoconvert self from hash ref to array ref
Steve Hancock [Tue, 1 Sep 2020 22:45:53 +0000 (15:45 -0700)]
convert self from hash ref to array ref

4 years agoadded missing initializations
Steve Hancock [Tue, 1 Sep 2020 13:57:45 +0000 (06:57 -0700)]
added missing initializations

4 years agominor cleanups for -nib option
Steve Hancock [Tue, 1 Sep 2020 13:57:09 +0000 (06:57 -0700)]
minor cleanups for -nib option

4 years agoconverted self from hash ref to array ref
Steve Hancock [Tue, 1 Sep 2020 13:52:56 +0000 (06:52 -0700)]
converted self from hash ref to array ref

4 years agoadded option --non-indenting-braces
Steve Hancock [Tue, 1 Sep 2020 00:52:45 +0000 (17:52 -0700)]
added option --non-indenting-braces

4 years agomove logger vars to a closure
Steve Hancock [Mon, 31 Aug 2020 13:31:23 +0000 (06:31 -0700)]
move logger vars to a closure

4 years agoadded $self to calls where needed for future updates
Steve Hancock [Sun, 30 Aug 2020 15:11:18 +0000 (08:11 -0700)]
added $self to calls where needed for future updates

4 years agomoved forced_breakpoint vars to a closure
Steve Hancock [Sun, 30 Aug 2020 02:55:43 +0000 (19:55 -0700)]
moved forced_breakpoint vars to a closure

4 years agomoved %postponed_breakpoint into a closure
Steve Hancock [Sat, 29 Aug 2020 14:51:15 +0000 (07:51 -0700)]
moved %postponed_breakpoint into a closure

4 years agomoved global weld hashes into $self
Steve Hancock [Fri, 28 Aug 2020 23:27:49 +0000 (16:27 -0700)]
moved global weld hashes into $self

4 years agomoved -lp format global vars into a closure
Steve Hancock [Fri, 28 Aug 2020 17:04:22 +0000 (10:04 -0700)]
moved -lp format global vars into a closure

4 years agoupdate comments
Steve Hancock [Thu, 27 Aug 2020 21:53:28 +0000 (14:53 -0700)]
update comments

4 years agomoved csc global vars into a closure
Steve Hancock [Thu, 27 Aug 2020 15:27:01 +0000 (08:27 -0700)]
moved csc global vars into a closure

4 years agofix comment error
Steve Hancock [Thu, 27 Aug 2020 01:38:21 +0000 (18:38 -0700)]
fix comment error

4 years agoreset side comment location at a new level 0 opening block
Steve Hancock [Tue, 25 Aug 2020 19:46:13 +0000 (12:46 -0700)]
reset side comment location at a new level 0 opening block

4 years agostandardized comments for closures
Steve Hancock [Tue, 25 Aug 2020 18:59:58 +0000 (11:59 -0700)]
standardized comments for closures

4 years agotest restoring unlink of tmp file in test-eol.t
Steve Hancock [Tue, 25 Aug 2020 00:04:56 +0000 (17:04 -0700)]
test restoring unlink of tmp file in test-eol.t

4 years agoremove test-pod2html.t, trouble w/appveyor test; file unlinking problem?
Steve Hancock [Mon, 24 Aug 2020 15:16:36 +0000 (08:16 -0700)]
remove test-pod2html.t, trouble w/appveyor test; file unlinking problem?

4 years agomodify test-pod2html for appveyor; do not die on warning (err=2)
Steve Hancock [Mon, 24 Aug 2020 14:30:57 +0000 (07:30 -0700)]
modify test-pod2html for appveyor; do not die on warning (err=2)

4 years agodo not ulink tmpfile - appveyor does not allow
Steve Hancock [Mon, 24 Aug 2020 14:30:17 +0000 (07:30 -0700)]
do not ulink tmpfile - appveyor does not allow

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