]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
4 years agofixed several fringe parsing bugs found in testing
Steve Hancock [Fri, 11 Sep 2020 13:23:33 +0000 (06:23 -0700)]
fixed several fringe parsing bugs found in testing

4 years agoFixed problem identifying pod in __DATA__ and __END__ sections
Steve Hancock [Thu, 10 Sep 2020 23:32:34 +0000 (16:32 -0700)]
Fixed problem identifying pod in __DATA__ and __END__ sections

4 years agofixed very rare fault found with automated testing
Steve Hancock [Thu, 10 Sep 2020 22:29:23 +0000 (15:29 -0700)]
fixed very rare fault found with automated testing

4 years agosimplified internal debug flags
Steve Hancock [Thu, 10 Sep 2020 02:20:16 +0000 (19:20 -0700)]
simplified internal debug flags

4 years agoconverted several package vars to lexical vars
Steve Hancock [Thu, 10 Sep 2020 02:19:26 +0000 (19:19 -0700)]
converted several package vars to lexical vars

4 years agoupdate skip list
Steve Hancock [Thu, 10 Sep 2020 02:18:59 +0000 (19:18 -0700)]
update skip list

4 years agochange package variables to lexical variables in Formatter.pm
Steve Hancock [Wed, 9 Sep 2020 15:01:13 +0000 (08:01 -0700)]
change package variables to lexical variables in Formatter.pm

4 years ago-nib side comments get 1 space and do not align or form hanging side comments
Steve Hancock [Wed, 9 Sep 2020 02:47:34 +0000 (19:47 -0700)]
-nib side comments get 1 space and do not align or form hanging side comments

4 years agofixed typo in variable name
Steve Hancock [Wed, 9 Sep 2020 00:57:56 +0000 (17:57 -0700)]
fixed typo in variable name

4 years agoremoved debug statement accidentally left in code
Steve Hancock [Wed, 9 Sep 2020 00:54:04 +0000 (17:54 -0700)]
removed debug statement accidentally left in code

4 years agoconvert array to hash to avoid trouble with neg levels in bad files
Steve Hancock [Wed, 9 Sep 2020 00:50:58 +0000 (17:50 -0700)]
convert array to hash to avoid trouble with neg levels in bad files

4 years agoadjustment to prevent some long blocks from exceeding allowed length
Steve Hancock [Wed, 9 Sep 2020 00:37:04 +0000 (17:37 -0700)]
adjustment to prevent some long blocks from exceeding allowed length

4 years agofixed rare problem with stored index values for -lp option
Steve Hancock [Tue, 8 Sep 2020 22:08:02 +0000 (15:08 -0700)]
fixed rare problem with stored index values for -lp option

4 years agofix problem parsing sub prototypes
Steve Hancock [Tue, 8 Sep 2020 21:04:45 +0000 (14:04 -0700)]
fix problem parsing sub prototypes

4 years agofix undefined variable
Steve Hancock [Tue, 8 Sep 2020 18:36:33 +0000 (11:36 -0700)]
fix undefined variable

4 years agodo not allow -wc and -lp together, can cause bugs
Steve Hancock [Tue, 8 Sep 2020 18:21:42 +0000 (11:21 -0700)]
do not allow -wc and -lp together, can cause bugs

4 years agosimplify AUTOLOAD as much as possible
Steve Hancock [Tue, 8 Sep 2020 17:40:11 +0000 (10:40 -0700)]
simplify AUTOLOAD as much as possible

4 years agoremove confusing warning message
Steve Hancock [Tue, 8 Sep 2020 17:30:14 +0000 (10:30 -0700)]
remove confusing warning message

4 years agoimproved treatment of long lines with here targets
Steve Hancock [Tue, 8 Sep 2020 15:20:55 +0000 (08:20 -0700)]
improved treatment of long lines with here targets

4 years agoadded test for long line with here target
Steve Hancock [Tue, 8 Sep 2020 02:57:29 +0000 (19:57 -0700)]
added test for long line with here target

4 years agofixed bug where long line with here target got broken
Steve Hancock [Tue, 8 Sep 2020 02:56:53 +0000 (19:56 -0700)]
fixed bug where long line with here target got broken

4 years agoupdate skip list
Steve Hancock [Tue, 8 Sep 2020 01:59:06 +0000 (18:59 -0700)]
update skip list

4 years agoadd warning about inappropriate -x flag
Steve Hancock [Tue, 8 Sep 2020 01:58:34 +0000 (18:58 -0700)]
add warning about inappropriate -x flag

4 years agofix problem of undefined values involving j_terminal_match
Steve Hancock [Tue, 8 Sep 2020 00:51:18 +0000 (17:51 -0700)]
fix problem of undefined values involving j_terminal_match

4 years agoadded sub set_j_terminal_match()
Steve Hancock [Tue, 8 Sep 2020 00:50:33 +0000 (17:50 -0700)]
added sub set_j_terminal_match()

4 years agoadded batch_count to simplify debugging
Steve Hancock [Tue, 8 Sep 2020 00:50:05 +0000 (17:50 -0700)]
added batch_count to simplify debugging

4 years agoimprove error summary
Steve Hancock [Mon, 7 Sep 2020 23:39:22 +0000 (16:39 -0700)]
improve error summary

4 years agopatched for undefined variable
Steve Hancock [Mon, 7 Sep 2020 23:36:43 +0000 (16:36 -0700)]
patched for undefined variable

4 years agoremove duplicate =>
Steve Hancock [Mon, 7 Sep 2020 22:49:06 +0000 (15:49 -0700)]
remove duplicate =>

4 years agoprotect against undefined object call
Steve Hancock [Mon, 7 Sep 2020 22:48:26 +0000 (15:48 -0700)]
protect against undefined object call

4 years agofix typo
Steve Hancock [Mon, 7 Sep 2020 03:08:39 +0000 (20:08 -0700)]
fix typo

4 years agoAdded DESTROY subs to avoid AUTOLOAD calls in some versions of perl
Steve Hancock [Mon, 7 Sep 2020 01:21:41 +0000 (18:21 -0700)]
Added DESTROY subs to avoid AUTOLOAD calls in some versions of perl

4 years agoadd AUTOLOAD subs to better catch programming errors
Steve Hancock [Mon, 7 Sep 2020 00:59:12 +0000 (17:59 -0700)]
add AUTOLOAD subs to better catch programming errors

4 years agoupdate docs to include ref to git issue #
Steve Hancock [Mon, 7 Sep 2020 00:58:33 +0000 (17:58 -0700)]
update docs to include ref to git issue #

4 years agoimproved error reporting; get parameters dynamically
Steve Hancock [Mon, 7 Sep 2020 00:57:44 +0000 (17:57 -0700)]
improved error reporting; get parameters dynamically

4 years agoupdates preparing for next release 20200907
Steve Hancock [Sun, 6 Sep 2020 19:43:34 +0000 (12:43 -0700)]
updates preparing for next release

4 years agoadded example script to repair -csc -scbb problems
Steve Hancock [Sat, 5 Sep 2020 23:28:50 +0000 (16:28 -0700)]
added example script to repair -csc -scbb problems

4 years agoadded random parameter test script
Steve Hancock [Sat, 5 Sep 2020 23:22:40 +0000 (16:22 -0700)]
added random parameter test script

4 years agochange to avoid perlcritic complaint
Steve Hancock [Sat, 5 Sep 2020 22:50:42 +0000 (15:50 -0700)]
change to avoid perlcritic complaint

4 years agofix problem causing unitialized values at VERSION stmt when -io used
Steve Hancock [Sat, 5 Sep 2020 22:18:19 +0000 (15:18 -0700)]
fix problem causing unitialized values at VERSION stmt when -io used

4 years agofix minor issue with uninitialized value
Steve Hancock [Sat, 5 Sep 2020 22:14:38 +0000 (15:14 -0700)]
fix minor issue with uninitialized value

4 years agoadd test case for -scbb -csc combination
Steve Hancock [Sat, 5 Sep 2020 04:00:34 +0000 (21:00 -0700)]
add test case for -scbb -csc combination

4 years agoadd extra safety check for the -scbb -csc problem
Steve Hancock [Sat, 5 Sep 2020 03:59:23 +0000 (20:59 -0700)]
add extra safety check for the -scbb -csc problem

4 years agofixed minor undefined variable problem
Steve Hancock [Sat, 5 Sep 2020 03:58:28 +0000 (20:58 -0700)]
fixed minor undefined variable problem

4 years agofix problem with combo -scbb and -csc; lost data
Steve Hancock [Fri, 4 Sep 2020 01:03:56 +0000 (18:03 -0700)]
fix problem with combo -scbb and -csc; lost data

4 years agofixed undefined variable for combination -csc and -naws
Steve Hancock [Fri, 4 Sep 2020 00:45:28 +0000 (17:45 -0700)]
fixed undefined variable for combination -csc and -naws

4 years agoavoid repeated error messages on bad -kgb input
Steve Hancock [Thu, 3 Sep 2020 01:20:46 +0000 (18:20 -0700)]
avoid repeated error messages on bad -kgb input

4 years agoupdate -nib docs
Steve Hancock [Thu, 3 Sep 2020 00:49:24 +0000 (17:49 -0700)]
update -nib docs

4 years agoturn off --asert-tidy and --assert-untidy if format not 'tidy'
Steve Hancock [Wed, 2 Sep 2020 23:26:30 +0000 (16:26 -0700)]
turn off --asert-tidy and --assert-untidy if format not 'tidy'

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'