]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
4 years agomodify rule for outdenting non-container closing qw delimiters
Steve Hancock [Thu, 24 Dec 2020 18:06:31 +0000 (10:06 -0800)]
modify rule for outdenting non-container closing qw delimiters

4 years agorewrote and simplified sub two_line_pad
Steve Hancock [Thu, 24 Dec 2020 14:41:47 +0000 (06:41 -0800)]
rewrote and simplified sub two_line_pad

4 years agoremoved unused test coding
Steve Hancock [Wed, 23 Dec 2020 23:00:23 +0000 (15:00 -0800)]
removed unused test coding

4 years agoupdated to an improved list marking method
Steve Hancock [Wed, 23 Dec 2020 22:36:45 +0000 (14:36 -0800)]
updated to an improved list marking method

4 years agoadded code to transition to new method for marking lists
Steve Hancock [Tue, 22 Dec 2020 14:25:10 +0000 (06:25 -0800)]
added code to transition to new method for marking lists

4 years agofix minor problem with counting phantom semicolons
Steve Hancock [Mon, 21 Dec 2020 01:13:31 +0000 (17:13 -0800)]
fix minor problem with counting phantom semicolons

4 years agoadd code for testing list marking methods; no functional change
Steve Hancock [Sun, 20 Dec 2020 14:48:04 +0000 (06:48 -0800)]
add code for testing list marking methods; no functional change

4 years agoimprove formatting of closing qw quotes with -gnu style
Steve Hancock [Sat, 19 Dec 2020 15:36:26 +0000 (07:36 -0800)]
improve formatting of closing qw quotes with -gnu style

4 years agoadded sub is_list_by_K)
Steve Hancock [Sat, 19 Dec 2020 00:11:03 +0000 (16:11 -0800)]
added sub is_list_by_K)

4 years agofix issue git #51, qw delimiters not following -cti flags
Steve Hancock [Fri, 18 Dec 2020 15:03:42 +0000 (07:03 -0800)]
fix issue git #51, qw delimiters not following -cti flags

4 years agoupdate sub match_line_pairs to check global level
Steve Hancock [Fri, 18 Dec 2020 00:14:03 +0000 (16:14 -0800)]
update sub match_line_pairs to check global level

4 years agorewrote sub is_list() to allow future generalization
Steve Hancock [Fri, 18 Dec 2020 00:12:25 +0000 (16:12 -0800)]
rewrote sub is_list() to allow future generalization

4 years agorewrote sub check_match and sub match_line_pair
Steve Hancock [Wed, 16 Dec 2020 19:13:41 +0000 (11:13 -0800)]
rewrote sub check_match and sub match_line_pair

4 years agoImproved some alignments by avoiding a tree pruning step
Steve Hancock [Mon, 14 Dec 2020 23:52:33 +0000 (15:52 -0800)]
Improved some alignments by avoiding a tree pruning step

4 years agofixed fairly rare lack of vertical alignment
Steve Hancock [Mon, 14 Dec 2020 01:33:25 +0000 (17:33 -0800)]
fixed fairly rare lack of vertical alignment

4 years agoupdate comments
Steve Hancock [Sat, 12 Dec 2020 21:22:08 +0000 (13:22 -0800)]
update comments

4 years agoupdate docs
Steve Hancock [Sat, 12 Dec 2020 15:18:17 +0000 (07:18 -0800)]
update docs

4 years agodo not align equals across change in continuation indentation
Steve Hancock [Sat, 12 Dec 2020 15:08:50 +0000 (07:08 -0800)]
do not align equals across change in continuation indentation

4 years agoimprove alignment for 2 lines when line length limit is exceeded
Steve Hancock [Fri, 11 Dec 2020 16:04:32 +0000 (08:04 -0800)]
improve alignment for 2 lines when line length limit is exceeded

4 years agoimprove vertical alignment for some marginal cases
Steve Hancock [Thu, 10 Dec 2020 15:35:35 +0000 (07:35 -0800)]
improve vertical alignment for some marginal cases

4 years agoadjust vertical alignment rules when lines end in '=>'
Steve Hancock [Wed, 9 Dec 2020 14:12:04 +0000 (06:12 -0800)]
adjust vertical alignment rules when lines end in '=>'

4 years agoadded a uniq filter to avoid processing a file more than once
Steve Hancock [Wed, 9 Dec 2020 13:56:58 +0000 (05:56 -0800)]
added a uniq filter to avoid processing a file more than once

4 years agofix git #49, -se breaks warning exit status behavior
Steve Hancock [Tue, 8 Dec 2020 15:04:59 +0000 (07:04 -0800)]
fix git #49, -se breaks warning exit status behavior

4 years agoMerge branch 'master' of git+ssh://github.com/perltidy/perltidy
Steve Hancock [Mon, 7 Dec 2020 13:52:57 +0000 (05:52 -0800)]
Merge branch 'master' of git+ssh://github.com/perltidy/perltidy

4 years agoMerge pull request #48 from gluesys/master
shancock9 [Mon, 7 Dec 2020 13:52:28 +0000 (05:52 -0800)]
Merge pull request #48 from gluesys/master

add help message for -wnxl option

4 years agoadd help message for -wnxl option
Ji-Hyeon Gim [Mon, 7 Dec 2020 09:51:03 +0000 (18:51 +0900)]
add help message for -wnxl option

Signed-off-by: Ji-Hyeon Gim <potatogim@gluesys.com>
4 years agoadd test for git #47 issue
Steve Hancock [Mon, 7 Dec 2020 00:58:39 +0000 (16:58 -0800)]
add test for git #47 issue

4 years agoImprove vertical alignment of '{' in sweep operation
Steve Hancock [Mon, 7 Dec 2020 00:41:33 +0000 (16:41 -0800)]
Improve vertical alignment of '{' in sweep operation

4 years agoupdate version to 20201207 20201207
Steve Hancock [Sun, 6 Dec 2020 19:26:52 +0000 (11:26 -0800)]
update version to 20201207

4 years agoadd code for future improvement of vertical alignment
Steve Hancock [Sun, 6 Dec 2020 16:15:59 +0000 (08:15 -0800)]
add code for future improvement of vertical alignment

4 years agofix issue git #47, incorrect welding of anonymous subs
Steve Hancock [Sun, 6 Dec 2020 16:07:15 +0000 (08:07 -0800)]
fix issue git #47, incorrect welding of anonymous subs

4 years agoupdate VERSION to 20201202 20201202
Steve Hancock [Wed, 2 Dec 2020 18:00:33 +0000 (10:00 -0800)]
update VERSION to 20201202

4 years agorewrote sub get_CODE_type
Steve Hancock [Sun, 29 Nov 2020 17:16:23 +0000 (09:16 -0800)]
rewrote sub get_CODE_type

4 years agouse length() function directly unless data is encoded, for efficiency
Steve Hancock [Sat, 28 Nov 2020 20:48:29 +0000 (12:48 -0800)]
use length() function directly unless data is encoded, for efficiency

4 years agominimize calls to K_next_nonblank for efficiency
Steve Hancock [Sat, 28 Nov 2020 20:02:19 +0000 (12:02 -0800)]
minimize calls to K_next_nonblank for efficiency

4 years agoeliminate needless call to sub K_end_Q
Steve Hancock [Sat, 28 Nov 2020 16:13:49 +0000 (08:13 -0800)]
eliminate needless call to sub K_end_Q

4 years agoremove unwanted spaces in a package declaration
Steve Hancock [Sat, 28 Nov 2020 14:21:25 +0000 (06:21 -0800)]
remove unwanted spaces in a package declaration

4 years agominor optimizations
Steve Hancock [Sat, 28 Nov 2020 14:07:27 +0000 (06:07 -0800)]
minor optimizations

4 years agoactivated test for tokens out of order; remove check for code blank lines
Steve Hancock [Sat, 28 Nov 2020 01:02:35 +0000 (17:02 -0800)]
activated test for tokens out of order; remove check for code blank lines

4 years agoremove unused code
Steve Hancock [Fri, 27 Nov 2020 19:32:31 +0000 (11:32 -0800)]
remove unused code

4 years agoupdate testing utils to test with any version
Steve Hancock [Fri, 27 Nov 2020 19:32:03 +0000 (11:32 -0800)]
update testing utils to test with any version

4 years agoupdate docs
Steve Hancock [Fri, 27 Nov 2020 19:31:23 +0000 (11:31 -0800)]
update docs

4 years agoavoid conflict of -io and -csc
Steve Hancock [Fri, 27 Nov 2020 19:24:22 +0000 (11:24 -0800)]
avoid conflict of -io and -csc

4 years agomoved code for -tee-*, -dsc and CODE_type id forward
Steve Hancock [Thu, 26 Nov 2020 04:41:27 +0000 (20:41 -0800)]
moved code for -tee-*, -dsc and CODE_type id forward

4 years agominimize use of regexes for efficiency
Steve Hancock [Tue, 24 Nov 2020 16:57:00 +0000 (08:57 -0800)]
minimize use of regexes for efficiency

4 years agoguessed indentation for comments was not on .LOG file when -g flag set
Steve Hancock [Tue, 24 Nov 2020 16:16:42 +0000 (08:16 -0800)]
guessed indentation for comments was not on .LOG file when -g flag set

4 years agofixes suggested by perlcritic
Steve Hancock [Tue, 24 Nov 2020 00:15:51 +0000 (16:15 -0800)]
fixes suggested by perlcritic

4 years agoupdate docs
Steve Hancock [Tue, 24 Nov 2020 00:00:51 +0000 (16:00 -0800)]
update docs

4 years agofixed to stop after 1 iteration when using '-io -conv'
Steve Hancock [Mon, 23 Nov 2020 23:57:53 +0000 (15:57 -0800)]
fixed to stop after 1 iteration when using '-io -conv'

4 years agofix minor issue with space between a sign and number
Steve Hancock [Mon, 23 Nov 2020 23:39:44 +0000 (15:39 -0800)]
fix minor issue with space between a sign and number

4 years agoupdate docs
Steve Hancock [Mon, 23 Nov 2020 20:51:52 +0000 (12:51 -0800)]
update docs

4 years agospelling fix
Steve Hancock [Mon, 23 Nov 2020 20:38:13 +0000 (12:38 -0800)]
spelling fix

4 years agofix to prevent block comments from becoming hanging side comments
Steve Hancock [Mon, 23 Nov 2020 20:35:19 +0000 (12:35 -0800)]
fix to prevent block comments from becoming hanging side comments

4 years agoactivated new convergence test
Steve Hancock [Mon, 23 Nov 2020 17:53:30 +0000 (09:53 -0800)]
activated new convergence test

4 years agoimproved convergence check
Steve Hancock [Mon, 23 Nov 2020 15:50:51 +0000 (07:50 -0800)]
improved convergence check

4 years agoextend capability of the -wnxl flag
Steve Hancock [Sat, 21 Nov 2020 00:41:01 +0000 (16:41 -0800)]
extend capability of the -wnxl flag

4 years agoupdate docs
Steve Hancock [Fri, 20 Nov 2020 17:38:36 +0000 (09:38 -0800)]
update docs

4 years agoremoved duplicate variable definition
Steve Hancock [Thu, 19 Nov 2020 02:12:40 +0000 (18:12 -0800)]
removed duplicate variable definition

4 years agoremove unused subs, minor speedup
Steve Hancock [Thu, 19 Nov 2020 01:16:03 +0000 (17:16 -0800)]
remove unused subs, minor speedup

4 years agoclean up debug flags
Steve Hancock [Thu, 19 Nov 2020 01:15:38 +0000 (17:15 -0800)]
clean up debug flags

4 years agoadd test case for if/elsif/else alignment
Steve Hancock [Wed, 18 Nov 2020 20:28:04 +0000 (12:28 -0800)]
add test case for if/elsif/else alignment

4 years agofix rare lack of vertical alignment of if/elsif/else
Steve Hancock [Wed, 18 Nov 2020 20:27:25 +0000 (12:27 -0800)]
fix rare lack of vertical alignment of if/elsif/else

4 years agofaster scanning of numbers and identifiers
Steve Hancock [Tue, 17 Nov 2020 21:00:49 +0000 (13:00 -0800)]
faster scanning of numbers and identifiers

4 years agominor speedups
Steve Hancock [Mon, 16 Nov 2020 15:58:47 +0000 (07:58 -0800)]
minor speedups

4 years agofixed some poor vertical alignment of ternary and if statements
Steve Hancock [Sun, 15 Nov 2020 21:51:57 +0000 (13:51 -0800)]
fixed some poor vertical alignment of ternary and if statements

4 years agoremove more regexes
Steve Hancock [Sat, 14 Nov 2020 05:03:44 +0000 (21:03 -0800)]
remove more regexes

4 years agoremove some unnecessary regexes
Steve Hancock [Fri, 13 Nov 2020 17:54:36 +0000 (09:54 -0800)]
remove some unnecessary regexes

4 years agomoved sub ones_count inline
Steve Hancock [Fri, 13 Nov 2020 16:55:05 +0000 (08:55 -0800)]
moved sub ones_count inline

4 years agoconvert regex to hash
Steve Hancock [Thu, 12 Nov 2020 16:04:18 +0000 (08:04 -0800)]
convert regex to hash

4 years agoupdate docs
Steve Hancock [Thu, 12 Nov 2020 15:51:57 +0000 (07:51 -0800)]
update docs

4 years agoadded -wnxl=s for control of -wn
Steve Hancock [Thu, 12 Nov 2020 03:04:10 +0000 (19:04 -0800)]
added -wnxl=s for control of -wn

4 years agoMerge pull request #46 from mienaikage/patch-1
shancock9 [Wed, 11 Nov 2020 16:36:54 +0000 (08:36 -0800)]
Merge pull request #46 from mienaikage/patch-1

Fix -fse default in docs

4 years agoFix -fse default in docs
Daniel Mita [Wed, 11 Nov 2020 16:05:46 +0000 (16:05 +0000)]
Fix -fse default in docs

4 years agoeliminate a regex for speedup
Steve Hancock [Wed, 11 Nov 2020 02:44:23 +0000 (18:44 -0800)]
eliminate a regex for speedup

4 years agoadded test cases to improve parameter coverage
Steve Hancock [Wed, 11 Nov 2020 01:03:42 +0000 (17:03 -0800)]
added test cases to improve parameter coverage

4 years agoadded -xci test case
Steve Hancock [Tue, 10 Nov 2020 23:54:43 +0000 (15:54 -0800)]
added -xci test case

4 years agoconvert regex to hash for small speedup
Steve Hancock [Tue, 10 Nov 2020 02:02:24 +0000 (18:02 -0800)]
convert regex to hash for small speedup

4 years agoupdate docs
Steve Hancock [Tue, 10 Nov 2020 02:01:14 +0000 (18:01 -0800)]
update docs

4 years agominor code cleanups
Steve Hancock [Mon, 9 Nov 2020 01:56:43 +0000 (17:56 -0800)]
minor code cleanups

4 years agoupdate docs
Steve Hancock [Sun, 8 Nov 2020 15:15:05 +0000 (07:15 -0800)]
update docs

4 years agominor speedups
Steve Hancock [Sun, 8 Nov 2020 15:14:08 +0000 (07:14 -0800)]
minor speedups

4 years agoadded test case for tabs within var names
Steve Hancock [Sun, 8 Nov 2020 15:04:58 +0000 (07:04 -0800)]
added test case for tabs within var names

4 years agoconvert octal data to decimal to avoid perlcritic complaint
Steve Hancock [Sun, 8 Nov 2020 00:29:34 +0000 (16:29 -0800)]
convert octal data to decimal to avoid perlcritic complaint

4 years agoupdate man page: list of switches and -wn -vtc=2 example
Steve Hancock [Sat, 7 Nov 2020 23:46:09 +0000 (15:46 -0800)]
update man page: list of switches and -wn -vtc=2 example

4 years agoremove duplicate flag -sobb, add missing flag -oll
Steve Hancock [Sat, 7 Nov 2020 23:34:52 +0000 (15:34 -0800)]
remove duplicate flag -sobb, add missing flag -oll

4 years agocleanup sub store_token_to_go
Steve Hancock [Sat, 7 Nov 2020 14:39:36 +0000 (06:39 -0800)]
cleanup sub store_token_to_go

4 years agominor speedup
Steve Hancock [Sat, 7 Nov 2020 00:09:23 +0000 (16:09 -0800)]
minor speedup

4 years agorecognize overloaded RPerl operators to avoid error messages
Steve Hancock [Fri, 6 Nov 2020 17:28:38 +0000 (09:28 -0800)]
recognize overloaded RPerl operators to avoid error messages

4 years agospeedup Tokenizer
Steve Hancock [Fri, 6 Nov 2020 04:11:37 +0000 (20:11 -0800)]
speedup Tokenizer

4 years agominor optimization 20201001.03
Steve Hancock [Thu, 5 Nov 2020 16:30:17 +0000 (08:30 -0800)]
minor optimization

4 years agobump VERSION to .03
Steve Hancock [Thu, 5 Nov 2020 15:30:46 +0000 (07:30 -0800)]
bump VERSION to .03

4 years agoadd test case for fix git #45
Steve Hancock [Thu, 5 Nov 2020 14:55:07 +0000 (06:55 -0800)]
add test case for fix git #45

4 years agofix issue git #45, -wn and -vtc=n now work together
Steve Hancock [Thu, 5 Nov 2020 14:43:49 +0000 (06:43 -0800)]
fix issue git #45, -wn and -vtc=n now work together

4 years agoclarified use of -et=n flag for issue RT #133648
Steve Hancock [Thu, 5 Nov 2020 14:42:24 +0000 (06:42 -0800)]
clarified use of -et=n flag for issue RT #133648

4 years agosub Fault now reports $VERSION
Steve Hancock [Thu, 5 Nov 2020 01:58:44 +0000 (17:58 -0800)]
sub Fault now reports $VERSION

4 years agominor speedup
Steve Hancock [Thu, 5 Nov 2020 00:07:39 +0000 (16:07 -0800)]
minor speedup

4 years agoadd parameters -kbb=s -kba=s for request RT #133649
Steve Hancock [Wed, 4 Nov 2020 14:06:40 +0000 (06:06 -0800)]
add parameters -kbb=s -kba=s for request RT #133649

4 years agoset -maxue default=off; interferes with extended syntaxes like RPerl
Steve Hancock [Wed, 4 Nov 2020 01:22:27 +0000 (17:22 -0800)]
set -maxue default=off; interferes with extended syntaxes like RPerl

4 years agoadded flags -maxle and -maxue
Steve Hancock [Tue, 3 Nov 2020 16:33:57 +0000 (08:33 -0800)]
added flags -maxle and -maxue

4 years agoadded some tokenizer speedups
Steve Hancock [Tue, 3 Nov 2020 15:19:13 +0000 (07:19 -0800)]
added some tokenizer speedups