]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
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

5 years agoremove vertical alignment anonymous sub braces; update test cases
Steve Hancock [Sat, 23 May 2020 13:48:14 +0000 (06:48 -0700)]
remove vertical alignment anonymous sub braces; update test cases

5 years agoadded values 'end_group' and 'is_forced_break' to Line.pm
Steve Hancock [Fri, 22 May 2020 13:57:59 +0000 (06:57 -0700)]
added values 'end_group' and 'is_forced_break' to Line.pm

5 years agoadded a missing flush check; needed for future coding
Steve Hancock [Thu, 21 May 2020 13:29:30 +0000 (06:29 -0700)]
added a missing flush check; needed for future coding

5 years agofixed minor problem with -gnu closing brace placement; added test
Steve Hancock [Thu, 14 May 2020 04:41:51 +0000 (21:41 -0700)]
fixed minor problem with -gnu closing brace placement; added test

5 years agofixed error handling for -ce, added test
Steve Hancock [Wed, 13 May 2020 14:53:21 +0000 (07:53 -0700)]
fixed error handling for -ce, added test

5 years agofix problem causing failure of test case sub3.def
Steve Hancock [Tue, 12 May 2020 14:14:16 +0000 (07:14 -0700)]
fix problem causing failure of test case sub3.def

5 years agofixed undefined variable problem
Steve Hancock [Tue, 12 May 2020 12:56:51 +0000 (05:56 -0700)]
fixed undefined variable problem

5 years agoremoved some unused variables
Steve Hancock [Tue, 12 May 2020 11:58:14 +0000 (04:58 -0700)]
removed some unused variables

5 years agoremoved unwanted (but harmless) call
Steve Hancock [Mon, 11 May 2020 23:37:51 +0000 (16:37 -0700)]
removed unwanted (but harmless) call

5 years agorestructuring to eliminate some global vars
Steve Hancock [Mon, 11 May 2020 14:31:23 +0000 (07:31 -0700)]
restructuring to eliminate some global vars

5 years agorewrote -bli option for efficiency
Steve Hancock [Sun, 10 May 2020 23:45:26 +0000 (16:45 -0700)]
rewrote -bli option for efficiency

5 years agoremove unused global var
Steve Hancock [Sun, 10 May 2020 17:23:28 +0000 (10:23 -0700)]
remove unused global var

5 years agosimplified coding of whitespace cycle option
Steve Hancock [Sun, 10 May 2020 14:36:06 +0000 (07:36 -0700)]
simplified coding of whitespace cycle option

5 years agoadded test for -wc
Steve Hancock [Sun, 10 May 2020 14:19:38 +0000 (07:19 -0700)]
added test for -wc

5 years agoadded test case
Steve Hancock [Sat, 9 May 2020 12:50:20 +0000 (05:50 -0700)]
added test case

5 years agominor code cleanups; eliminated some global variables
Steve Hancock [Fri, 8 May 2020 14:03:59 +0000 (07:03 -0700)]
minor code cleanups; eliminated some global variables

5 years agoactivated 'filter_example.t' (caused install problems at one time)
Steve Hancock [Wed, 6 May 2020 14:07:08 +0000 (07:07 -0700)]
activated 'filter_example.t' (caused install problems at one time)

5 years agominor code cleanups
Steve Hancock [Wed, 6 May 2020 03:57:20 +0000 (20:57 -0700)]
minor code cleanups

5 years agoimproved test case error messages
Steve Hancock [Wed, 6 May 2020 03:56:24 +0000 (20:56 -0700)]
improved test case error messages

5 years agoswitch to Test::More
Steve Hancock [Mon, 4 May 2020 14:46:19 +0000 (07:46 -0700)]
switch to Test::More

5 years agotee options now work correctly with -io and -it=n
Steve Hancock [Sat, 2 May 2020 23:36:56 +0000 (16:36 -0700)]
tee options now work correctly with -io and -it=n

5 years agoadd note on new module call parameters
Steve Hancock [Fri, 1 May 2020 14:52:56 +0000 (07:52 -0700)]
add note on new module call parameters

5 years agoallow a module call to capture any .DEBUG stream and .TEE stream
Steve Hancock [Fri, 1 May 2020 14:44:28 +0000 (07:44 -0700)]
allow a module call to capture any .DEBUG stream and .TEE stream

5 years agoconvert Tokenizer.pm to use object format print calls
Steve Hancock [Fri, 1 May 2020 13:48:29 +0000 (06:48 -0700)]
convert Tokenizer.pm to use object format print calls

5 years agoconvert to object format print calls
Steve Hancock [Fri, 1 May 2020 13:37:21 +0000 (06:37 -0700)]
convert to object format print calls

5 years agoconvert LineSink.pm to use object format print calls
Steve Hancock [Fri, 1 May 2020 13:28:02 +0000 (06:28 -0700)]
convert LineSink.pm to use object format print calls

5 years agoconvert print to use object call
Steve Hancock [Fri, 1 May 2020 13:22:31 +0000 (06:22 -0700)]
convert print to use object call

5 years agofix to allow both -dbc and -tbc in same run
Steve Hancock [Thu, 30 Apr 2020 23:44:03 +0000 (16:44 -0700)]
fix to allow both -dbc and -tbc in same run

5 years agoupdate docs
Steve Hancock [Wed, 29 Apr 2020 15:11:34 +0000 (08:11 -0700)]
update docs

5 years agoremoved a /o modifier (can lead to subtle bugs)
Steve Hancock [Wed, 29 Apr 2020 14:54:39 +0000 (07:54 -0700)]
removed a /o modifier (can lead to subtle bugs)

5 years agoadd tests
Steve Hancock [Wed, 29 Apr 2020 14:37:40 +0000 (07:37 -0700)]
add tests

5 years agoadded test cases regarding spaces between tokens
Steve Hancock [Wed, 29 Apr 2020 14:36:21 +0000 (07:36 -0700)]
added test cases regarding spaces between tokens

5 years agofix -spp to work with anonymous subs
Steve Hancock [Wed, 29 Apr 2020 14:34:40 +0000 (07:34 -0700)]
fix -spp to work with anonymous subs

5 years agominor fix to make -sub-alias-list work correctly
Steve Hancock [Tue, 28 Apr 2020 23:25:54 +0000 (16:25 -0700)]
minor fix to make -sub-alias-list work correctly

5 years agoadd note for git#24, note about adding spaces
Steve Hancock [Tue, 28 Apr 2020 02:47:30 +0000 (19:47 -0700)]
add note for git#24, note about adding spaces

5 years agoadd tests for -fs -fsb -fse -trp, update some docs
Steve Hancock [Sun, 26 Apr 2020 23:06:08 +0000 (16:06 -0700)]
add tests for -fs -fsb -fse -trp, update some docs

5 years agoremove unused code, update comments
Steve Hancock [Sun, 26 Apr 2020 15:18:58 +0000 (08:18 -0700)]
remove unused code, update comments

5 years agoremoved some unused subs
Steve Hancock [Sun, 26 Apr 2020 13:31:46 +0000 (06:31 -0700)]
removed some unused subs