]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
4 years agoImprove treatment of -vmll with -wn
Steve Hancock [Thu, 8 Apr 2021 22:44:33 +0000 (15:44 -0700)]
Improve treatment of -vmll with -wn

4 years agoMerge weld rule 6 into rule 3
Steve Hancock [Thu, 8 Apr 2021 15:58:16 +0000 (08:58 -0700)]
Merge weld rule 6 into rule 3

4 years agoMoved logic of previous update to the FileWriter module
Steve Hancock [Wed, 7 Apr 2021 01:28:30 +0000 (18:28 -0700)]
Moved logic of previous update to the FileWriter module

4 years agoFix problem with excess blank line generation with -blao
Steve Hancock [Tue, 6 Apr 2021 21:38:58 +0000 (14:38 -0700)]
Fix problem with excess blank line generation with -blao

4 years agoModify a condition for applying -bbx=2
Steve Hancock [Mon, 5 Apr 2021 20:56:02 +0000 (13:56 -0700)]
Modify a condition for applying -bbx=2

4 years agoImprove previous patch of -wn tolerance
Steve Hancock [Mon, 5 Apr 2021 14:36:52 +0000 (07:36 -0700)]
Improve previous patch of -wn tolerance

4 years agoFix rare convergence problem with -wn
Steve Hancock [Sat, 3 Apr 2021 14:38:02 +0000 (07:38 -0700)]
Fix rare convergence problem with -wn

4 years agoadd --oneliner example to man page for git #58
Steve Hancock [Sat, 3 Apr 2021 01:53:21 +0000 (18:53 -0700)]
add --oneliner example to man page for git #58

4 years agoAvoid conflict of -bli and -xci
Steve Hancock [Fri, 2 Apr 2021 14:34:35 +0000 (07:34 -0700)]
Avoid conflict of -bli and -xci

4 years agoupdate to v20210402 20210402
Steve Hancock [Thu, 1 Apr 2021 01:41:59 +0000 (18:41 -0700)]
update to v20210402

4 years agoAvoid conflict of -bbp=2 and -xci
Steve Hancock [Wed, 31 Mar 2021 00:47:51 +0000 (17:47 -0700)]
Avoid conflict of -bbp=2 and -xci

4 years agoFix rule for welding with barewords
Steve Hancock [Tue, 30 Mar 2021 02:19:16 +0000 (19:19 -0700)]
Fix rule for welding with barewords

4 years agoimprove error message about operator in indirect object location
Steve Hancock [Tue, 30 Mar 2021 00:58:48 +0000 (17:58 -0700)]
improve error message about operator in indirect object location

4 years agofilter out nuisance lines from testing output
Steve Hancock [Tue, 30 Mar 2021 00:55:09 +0000 (17:55 -0700)]
filter out nuisance lines from testing output

4 years agoFix conflict between -wba='||' and -opr
Steve Hancock [Tue, 30 Mar 2021 00:18:50 +0000 (17:18 -0700)]
Fix conflict between -wba='||' and -opr

4 years agoFollow user requests better to break before operators
Steve Hancock [Mon, 29 Mar 2021 02:16:51 +0000 (19:16 -0700)]
Follow user requests better to break before operators

4 years agolist depth requirement for -bbx=3 changed back previous version
Steve Hancock [Sun, 28 Mar 2021 14:36:42 +0000 (07:36 -0700)]
list depth requirement for -bbx=3 changed back previous version

4 years agoFix problems with combinations of -iob -lp
Steve Hancock [Sat, 27 Mar 2021 23:37:34 +0000 (16:37 -0700)]
Fix problems with combinations of -iob -lp

4 years agoremove -lfp shortcut pending further testing
Steve Hancock [Fri, 26 Mar 2021 14:35:43 +0000 (07:35 -0700)]
remove -lfp shortcut pending further testing

4 years agoAdd flags -lpxl=s and simplified form -lfp, requested in git #56
Steve Hancock [Thu, 25 Mar 2021 15:13:22 +0000 (08:13 -0700)]
Add flags -lpxl=s and simplified form -lfp, requested in git #56

4 years agoFix error message for multiple conflicting specifications in -wnxl
Steve Hancock [Mon, 22 Mar 2021 01:49:55 +0000 (18:49 -0700)]
Fix error message for multiple conflicting specifications in -wnxl

4 years agoFix issue git #57, Warn_count was not initialized
Steve Hancock [Sat, 20 Mar 2021 13:58:58 +0000 (06:58 -0700)]
Fix issue git #57, Warn_count was not initialized

4 years agoFix rare problem with combination -lp -wn -naws
Steve Hancock [Fri, 19 Mar 2021 00:59:14 +0000 (17:59 -0700)]
Fix rare problem with combination -lp -wn -naws

4 years agoFix definition of list within list for -bbx flag
Steve Hancock [Wed, 17 Mar 2021 16:39:29 +0000 (09:39 -0700)]
Fix definition of list within list for -bbx flag

4 years agoFix problem with -xci and long tokens
Steve Hancock [Tue, 16 Mar 2021 22:00:18 +0000 (15:00 -0700)]
Fix problem with -xci and long tokens

4 years agoFix error in parsing use statement curly brace
Steve Hancock [Tue, 16 Mar 2021 15:07:13 +0000 (08:07 -0700)]
Fix error in parsing use statement curly brace

4 years agoFix problems with combinations of -iob -lp -wn -dws -naws
Steve Hancock [Sat, 13 Mar 2021 23:35:18 +0000 (15:35 -0800)]
Fix problems with combinations of -iob -lp -wn -dws -naws

4 years agoSimplify sub weld_nested_containers
Steve Hancock [Thu, 11 Mar 2021 04:05:51 +0000 (20:05 -0800)]
Simplify sub weld_nested_containers

4 years agoAdjust line length tolerance for welding
Steve Hancock [Sun, 7 Mar 2021 15:55:54 +0000 (07:55 -0800)]
Adjust line length tolerance for welding

4 years agoFix problem with -vtc=n and outdented long lines
Steve Hancock [Sun, 7 Mar 2021 15:46:51 +0000 (07:46 -0800)]
Fix problem with -vtc=n and outdented long lines

4 years agoFix problem with combination -lp and -wbb='='
Steve Hancock [Sun, 7 Mar 2021 13:49:10 +0000 (05:49 -0800)]
Fix problem with combination -lp and -wbb='='

4 years agoFix edge formatting cases with parameter -bbx=2
Steve Hancock [Sat, 6 Mar 2021 15:09:34 +0000 (07:09 -0800)]
Fix edge formatting cases with parameter -bbx=2

4 years agoadded flag -fpva, --function-paren-vertical-alignment; see git #53
Steve Hancock [Sat, 6 Mar 2021 02:25:54 +0000 (18:25 -0800)]
added flag -fpva, --function-paren-vertical-alignment; see git #53

4 years agoFix for issue git #53, do not align spaced function parens
Steve Hancock [Fri, 5 Mar 2021 16:39:58 +0000 (08:39 -0800)]
Fix for issue git #53, do not align spaced function parens

4 years agoFix issue git #54 involving -bbp=n -bbpi=n -lp
Steve Hancock [Fri, 5 Mar 2021 02:43:01 +0000 (18:43 -0800)]
Fix issue git #54 involving -bbp=n -bbpi=n -lp

4 years agofix some edge cases involving the -wn flag
Steve Hancock [Wed, 3 Mar 2021 15:13:06 +0000 (07:13 -0800)]
fix some edge cases involving the -wn flag

4 years agoUpdate tokenizer recognition of indirect object
Steve Hancock [Mon, 1 Mar 2021 15:32:52 +0000 (07:32 -0800)]
Update tokenizer recognition of indirect object

4 years agoDo not start a batch with a blank token
Steve Hancock [Sun, 28 Feb 2021 14:41:16 +0000 (06:41 -0800)]
Do not start a batch with a blank token

4 years agoupdate testing tools
Steve Hancock [Sat, 27 Feb 2021 13:59:55 +0000 (05:59 -0800)]
update testing tools

4 years agoAvoid double spaces in -csc text output
Steve Hancock [Sat, 27 Feb 2021 13:58:11 +0000 (05:58 -0800)]
Avoid double spaces in -csc text output

4 years agoRemove control of debug flag -fll
Steve Hancock [Sat, 27 Feb 2021 13:25:30 +0000 (05:25 -0800)]
Remove control of debug flag -fll

4 years agoRestrict previous update to just -vmll
Steve Hancock [Fri, 26 Feb 2021 17:31:48 +0000 (09:31 -0800)]
Restrict previous update to just -vmll

4 years agoAdd a gap calculation in line length tests with -vmll
Steve Hancock [Fri, 26 Feb 2021 16:04:25 +0000 (08:04 -0800)]
Add a gap calculation in line length tests with -vmll

4 years agoUpdate rule for spacing paren after constant function
Steve Hancock [Fri, 26 Feb 2021 15:57:00 +0000 (07:57 -0800)]
Update rule for spacing paren after constant function

4 years agoImprove line length test for the -vtc=2 option
Steve Hancock [Fri, 26 Feb 2021 14:52:10 +0000 (06:52 -0800)]
Improve line length test for the -vtc=2 option

4 years agoImprove one-line block length tests
Steve Hancock [Thu, 25 Feb 2021 14:22:26 +0000 (06:22 -0800)]
Improve one-line block length tests

4 years agoAdd tolerance to one-line block length tests
Steve Hancock [Sun, 21 Feb 2021 15:54:23 +0000 (07:54 -0800)]
Add tolerance to one-line block length tests

4 years agoRestrict -bom at cuddled method calls
Steve Hancock [Sun, 21 Feb 2021 13:58:05 +0000 (05:58 -0800)]
Restrict -bom at cuddled method calls

4 years agoAdd rule to avoid conflict between -wn and -bom
Steve Hancock [Sat, 20 Feb 2021 14:51:05 +0000 (06:51 -0800)]
Add rule to avoid conflict between -wn and -bom

4 years agoLimit the value of -ci=n to that of -i=n when -xci is set
Steve Hancock [Sat, 20 Feb 2021 12:46:45 +0000 (04:46 -0800)]
Limit the value of -ci=n to that of -i=n when -xci is set

4 years agoModify length tolerance for welding to qw lists
Steve Hancock [Fri, 19 Feb 2021 19:03:40 +0000 (11:03 -0800)]
Modify length tolerance for welding to qw lists

4 years agoModify space rule between binary plus or minus and a bareword
Steve Hancock [Thu, 18 Feb 2021 16:27:37 +0000 (08:27 -0800)]
Modify space rule between binary plus or minus and a bareword

4 years agoDo not apply -xci if it causes maximum line length to be exceeded
Steve Hancock [Wed, 17 Feb 2021 15:35:35 +0000 (07:35 -0800)]
Do not apply -xci if it causes maximum line length to be exceeded

4 years agoDo not weld to a hash brace
Steve Hancock [Tue, 16 Feb 2021 16:07:54 +0000 (08:07 -0800)]
Do not weld to a hash brace

4 years agoAvoid line breaks after token type 'G'
Steve Hancock [Tue, 16 Feb 2021 02:24:12 +0000 (18:24 -0800)]
Avoid line breaks after token type 'G'

4 years agoRestrict breaking at old uncontained commas
Steve Hancock [Mon, 15 Feb 2021 21:27:17 +0000 (13:27 -0800)]
Restrict breaking at old uncontained commas

4 years agoModify line length test for the -vtc=2 option
Steve Hancock [Mon, 15 Feb 2021 04:59:43 +0000 (20:59 -0800)]
Modify line length test for the -vtc=2 option

4 years agoUse increased line length tolerance if -ci exceeds -i
Steve Hancock [Sun, 14 Feb 2021 13:43:41 +0000 (05:43 -0800)]
Use increased line length tolerance if -ci exceeds -i

4 years agoKeep space between binary plus or minus and barewords
Steve Hancock [Sat, 13 Feb 2021 18:54:33 +0000 (10:54 -0800)]
Keep space between binary plus or minus and barewords

4 years agoAdd line length test for the -vtc=2 option
Steve Hancock [Sat, 13 Feb 2021 14:38:40 +0000 (06:38 -0800)]
Add line length test for the -vtc=2 option

4 years agoDefine left side bond strengths for unary plus and minus
Steve Hancock [Fri, 12 Feb 2021 15:56:01 +0000 (07:56 -0800)]
Define left side bond strengths for unary plus and minus

4 years agofixed problem with breaking at a equals
Steve Hancock [Fri, 12 Feb 2021 15:21:34 +0000 (07:21 -0800)]
fixed problem with breaking at a equals

4 years agoFix conflict of -kbl=0 and essential space after =cut
Steve Hancock [Thu, 11 Feb 2021 23:42:20 +0000 (15:42 -0800)]
Fix conflict of -kbl=0 and essential space after =cut

4 years agoDo not break one-line block at here target
Steve Hancock [Thu, 11 Feb 2021 14:50:42 +0000 (06:50 -0800)]
Do not break one-line block at here target

4 years agoSkip processing -kgb* flags in lists or if -mbl=0
Steve Hancock [Wed, 10 Feb 2021 16:46:39 +0000 (08:46 -0800)]
Skip processing -kgb* flags in lists or if -mbl=0

4 years agoModify tolerance in testing for welds
Steve Hancock [Wed, 10 Feb 2021 02:03:17 +0000 (18:03 -0800)]
Modify tolerance in testing for welds

4 years agoModified a rule for breaking lines at old commas
Steve Hancock [Tue, 9 Feb 2021 14:53:58 +0000 (06:53 -0800)]
Modified a rule for breaking lines at old commas

4 years agoRestrict references to old line breaks
Steve Hancock [Mon, 8 Feb 2021 18:07:49 +0000 (10:07 -0800)]
Restrict references to old line breaks

4 years agoFix rare problem involving interaction of -olbn=n and -wn flags
Steve Hancock [Sun, 7 Feb 2021 01:57:49 +0000 (17:57 -0800)]
Fix rare problem involving interaction of -olbn=n and -wn flags

4 years agoadd rule to avoid welding at some barewords
Steve Hancock [Sat, 6 Feb 2021 16:32:02 +0000 (08:32 -0800)]
add rule to avoid welding at some barewords

4 years agofurther simplify -bbxi=n implementation
Steve Hancock [Fri, 5 Feb 2021 16:30:14 +0000 (08:30 -0800)]
further simplify -bbxi=n implementation

4 years agoreset -bbxi=2 to -bbxi=0 if -lp is set to avoid blinking states
Steve Hancock [Thu, 4 Feb 2021 14:22:32 +0000 (06:22 -0800)]
reset -bbxi=2 to -bbxi=0 if -lp is set to avoid blinking states

4 years agorewrite sub 'break_before_list_opening_containers'
Steve Hancock [Wed, 3 Feb 2021 15:22:22 +0000 (07:22 -0800)]
rewrite sub 'break_before_list_opening_containers'

4 years agoremove unused code; adjust definition of list
Steve Hancock [Mon, 1 Feb 2021 15:06:39 +0000 (07:06 -0800)]
remove unused code; adjust definition of list

4 years agorewrite and combine coding for -bbx=n and -bbxi=n
Steve Hancock [Sun, 31 Jan 2021 15:45:20 +0000 (07:45 -0800)]
rewrite and combine coding for -bbx=n and -bbxi=n

4 years agoadjust line length and token count tolerances for -wn stability
Steve Hancock [Sat, 30 Jan 2021 16:03:32 +0000 (08:03 -0800)]
adjust line length and token count tolerances for -wn stability

4 years agofix some edge cases involving the -wn parameter
Steve Hancock [Fri, 29 Jan 2021 15:58:30 +0000 (07:58 -0800)]
fix some edge cases involving the -wn parameter

4 years agofix some edge blinker cases involving -bbxi=n and -boc
Steve Hancock [Thu, 28 Jan 2021 23:02:59 +0000 (15:02 -0800)]
fix some edge blinker cases involving -bbxi=n and -boc

4 years agofix problem with combination -cab=2 and bbhbi=n, and with -fws
Steve Hancock [Thu, 28 Jan 2021 01:25:13 +0000 (17:25 -0800)]
fix problem with combination -cab=2 and bbhbi=n, and with -fws

4 years agoFixed problem where -bbpi could cause blinking states
Steve Hancock [Wed, 27 Jan 2021 15:27:33 +0000 (07:27 -0800)]
Fixed problem where -bbpi could cause blinking states

4 years agoSimplified the definition of lists for formatting purposes
Steve Hancock [Wed, 27 Jan 2021 14:50:31 +0000 (06:50 -0800)]
Simplified the definition of lists for formatting purposes

4 years agoRevise coding for the --freeze-whitespace option
Steve Hancock [Mon, 25 Jan 2021 01:53:52 +0000 (17:53 -0800)]
Revise coding for the --freeze-whitespace option

4 years agoFix git #51, closing qw paren not outdented if -ndnl is set
Steve Hancock [Sun, 24 Jan 2021 18:56:41 +0000 (10:56 -0800)]
Fix git #51, closing qw paren not outdented if -ndnl is set

4 years agoFixed test case for -lp change
Steve Hancock [Sun, 24 Jan 2021 01:13:21 +0000 (17:13 -0800)]
Fixed test case for -lp change

4 years agofixed rare problem with when -lp parameter is set
Steve Hancock [Sun, 24 Jan 2021 01:01:05 +0000 (17:01 -0800)]
fixed rare problem with when -lp parameter is set

4 years agoadded rule for -wn flag: do not weld to a hash brace
Steve Hancock [Wed, 20 Jan 2021 15:12:33 +0000 (07:12 -0800)]
added rule for -wn flag: do not weld to a hash brace

4 years agoimprove builtin debugging info in sub set_continuation_breaks
Steve Hancock [Tue, 19 Jan 2021 15:42:11 +0000 (07:42 -0800)]
improve builtin debugging info in sub set_continuation_breaks

4 years agoconvert testing tool to dump to stdout
Steve Hancock [Tue, 19 Jan 2021 15:39:23 +0000 (07:39 -0800)]
convert testing tool to dump to stdout

4 years agoDo not let -kgb option delete essential blank after a pod =cut
Steve Hancock [Sun, 17 Jan 2021 15:16:20 +0000 (07:16 -0800)]
Do not let -kgb option delete essential blank after a pod =cut

4 years agoDo not allow space after token type Y (filehandle) to be removed
Steve Hancock [Sun, 17 Jan 2021 13:28:23 +0000 (05:28 -0800)]
Do not allow space after token type Y (filehandle) to be removed

4 years agoModified spacing rule for token type 'Y'
Steve Hancock [Sun, 17 Jan 2021 13:21:27 +0000 (05:21 -0800)]
Modified spacing rule for token type 'Y'

4 years agoupdated tokenizer to prevent a blinking state
Steve Hancock [Sat, 16 Jan 2021 17:59:27 +0000 (09:59 -0800)]
updated tokenizer to prevent a blinking state

4 years agoturn off -bli if -bar is set and issue warning
Steve Hancock [Sat, 16 Jan 2021 14:41:32 +0000 (06:41 -0800)]
turn off -bli if -bar is set and issue warning

4 years agoupdate random testing scripts; added perltidy_minimal_flags
Steve Hancock [Sat, 16 Jan 2021 14:41:02 +0000 (06:41 -0800)]
update random testing scripts; added perltidy_minimal_flags

4 years agoFixed blinker related to large -ci, short line length and -bbsbi=2 -bbsb=1
Steve Hancock [Fri, 15 Jan 2021 15:55:59 +0000 (07:55 -0800)]
Fixed blinker related to large -ci, short line length and -bbsbi=2 -bbsb=1

4 years agoFix error in guessing if divide or pattern
Steve Hancock [Thu, 14 Jan 2021 04:30:02 +0000 (20:30 -0800)]
Fix error in guessing if divide or pattern

4 years agoimprove diagnostics in random testing
Steve Hancock [Thu, 14 Jan 2021 04:29:35 +0000 (20:29 -0800)]
improve diagnostics in random testing

4 years agoFix bad guess of divide vs pattern
Steve Hancock [Wed, 13 Jan 2021 16:34:48 +0000 (08:34 -0800)]
Fix bad guess of divide vs pattern

4 years agoCorrect formula for estimating line length with -wn option
Steve Hancock [Wed, 13 Jan 2021 01:14:02 +0000 (17:14 -0800)]
Correct formula for estimating line length with -wn option

4 years agoimprove output of random testing program
Steve Hancock [Wed, 13 Jan 2021 01:12:34 +0000 (17:12 -0800)]
improve output of random testing program