]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
5 years agofixed glitch processing multiple input values of -blil
Steve Hancock [Thu, 23 Apr 2020 01:02:50 +0000 (18:02 -0700)]
fixed glitch processing multiple input values of -blil

5 years agofix glitch with changing -sak
Steve Hancock [Thu, 23 Apr 2020 00:01:31 +0000 (17:01 -0700)]
fix glitch with changing -sak

5 years agoupdate comments
Steve Hancock [Wed, 22 Apr 2020 02:16:01 +0000 (19:16 -0700)]
update comments

5 years agoadded numerous tests to improve coverage
Steve Hancock [Wed, 22 Apr 2020 02:13:19 +0000 (19:13 -0700)]
added numerous tests to improve coverage

5 years agocleaned up coding of sub print_line_of_tokens
Steve Hancock [Tue, 21 Apr 2020 04:10:18 +0000 (21:10 -0700)]
cleaned up coding of sub print_line_of_tokens

5 years agoremoved some unused coding
Steve Hancock [Mon, 20 Apr 2020 02:33:45 +0000 (19:33 -0700)]
removed some unused coding

5 years agoadded tests for parameters -dbc -dp -dsc and -nibc
Steve Hancock [Sun, 19 Apr 2020 23:50:43 +0000 (16:50 -0700)]
added tests for parameters -dbc -dp -dsc and -nibc

5 years agoadded tests for parameters -fpsc -iscl -msc -mbl
Steve Hancock [Sun, 19 Apr 2020 14:23:07 +0000 (07:23 -0700)]
added tests for parameters -fpsc -iscl -msc -mbl

5 years agoconvert subs _step_A and _step_B to use named call args
Steve Hancock [Sun, 19 Apr 2020 13:31:29 +0000 (06:31 -0700)]
convert subs _step_A and _step_B to use named call args

5 years agominor reorganization of length calc
Steve Hancock [Fri, 17 Apr 2020 14:16:05 +0000 (07:16 -0700)]
minor reorganization of length calc

5 years agoupdate docs for --use-unicode-gcstring
Steve Hancock [Thu, 16 Apr 2020 17:57:44 +0000 (10:57 -0700)]
update docs for --use-unicode-gcstring

5 years agoupdate test cases for recent changes
Steve Hancock [Thu, 16 Apr 2020 17:57:05 +0000 (10:57 -0700)]
update test cases for recent changes

5 years agomodified VerticalAligner.pm to use string lengths passed from Formatter.pm
Steve Hancock [Thu, 16 Apr 2020 17:54:51 +0000 (10:54 -0700)]
modified VerticalAligner.pm to use string lengths passed from Formatter.pm

5 years agoupdate Formatter.pm to use Unicode::GCString for character widths
Steve Hancock [Thu, 16 Apr 2020 15:00:43 +0000 (08:00 -0700)]
update Formatter.pm to use Unicode::GCString for character widths

5 years agoadd variable 'rfield_length'
Steve Hancock [Thu, 16 Apr 2020 14:59:43 +0000 (07:59 -0700)]
add variable 'rfield_length'

5 years agoadd --use-unicode-gcstring
Steve Hancock [Thu, 16 Apr 2020 14:58:37 +0000 (07:58 -0700)]
add --use-unicode-gcstring

5 years agoadded var _TOKEN_LENGTH_ and consolidated length coding in Formatter.pm
Steve Hancock [Sun, 12 Apr 2020 01:07:30 +0000 (18:07 -0700)]
added var _TOKEN_LENGTH_ and consolidated length coding in Formatter.pm

5 years agorewrote 'sub tight_paren_follows' with simplified rules
Steve Hancock [Thu, 9 Apr 2020 21:21:14 +0000 (14:21 -0700)]
rewrote 'sub tight_paren_follows' with simplified rules

5 years agoadjust a -wn rule; this eliminates the last known blinker
Steve Hancock [Wed, 8 Apr 2020 00:58:04 +0000 (17:58 -0700)]
adjust a -wn rule; this eliminates the last known blinker

5 years agocomplete coding for -bos option
Steve Hancock [Tue, 7 Apr 2020 14:39:07 +0000 (07:39 -0700)]
complete coding for -bos option

5 years agoadded some debug code
Steve Hancock [Tue, 7 Apr 2020 02:07:52 +0000 (19:07 -0700)]
added some debug code

5 years agofixed rare problem of some blinkers with -pbp
Steve Hancock [Tue, 7 Apr 2020 02:06:59 +0000 (19:06 -0700)]
fixed rare problem of some blinkers with -pbp

5 years agoadjust -wn rules to avoid blinkers
Steve Hancock [Sun, 5 Apr 2020 16:17:38 +0000 (09:17 -0700)]
adjust -wn rules to avoid blinkers

5 years agofixed problem with reporting convergence on first step
Steve Hancock [Sat, 4 Apr 2020 00:38:10 +0000 (17:38 -0700)]
fixed problem with reporting convergence on first step

5 years agoadd encoding guess log message
Steve Hancock [Fri, 3 Apr 2020 15:38:07 +0000 (08:38 -0700)]
add encoding guess log message

5 years agofixed undefined var
Steve Hancock [Fri, 3 Apr 2020 14:10:20 +0000 (07:10 -0700)]
fixed undefined var

5 years agoremove unused variable
Steve Hancock [Thu, 2 Apr 2020 17:09:02 +0000 (10:09 -0700)]
remove unused variable

5 years agofix test wn7 for rule adjustment
Steve Hancock [Thu, 2 Apr 2020 14:36:16 +0000 (07:36 -0700)]
fix test wn7 for rule adjustment

5 years agoremoved unused routines
Steve Hancock [Thu, 2 Apr 2020 03:16:40 +0000 (20:16 -0700)]
removed unused routines

5 years agoadjusted -wn rules
Steve Hancock [Thu, 2 Apr 2020 03:13:30 +0000 (20:13 -0700)]
adjusted -wn rules

5 years agoadd option --break-at-old-semicolon-breakpoints; also some cleanups
Steve Hancock [Thu, 2 Apr 2020 00:14:01 +0000 (17:14 -0700)]
add option --break-at-old-semicolon-breakpoints; also some cleanups

5 years agoreplace sub 'weld_signature_parens' with 'tight_paren_follows'
Steve Hancock [Mon, 30 Mar 2020 15:35:17 +0000 (08:35 -0700)]
replace sub 'weld_signature_parens' with 'tight_paren_follows'

5 years agoimprove -wn rules slightly (split rule 2 into 2a and 2b)
Steve Hancock [Sat, 28 Mar 2020 17:29:38 +0000 (10:29 -0700)]
improve -wn rules slightly (split rule 2 into 2a and 2b)

5 years agominor cleanups
Steve Hancock [Tue, 24 Mar 2020 20:09:57 +0000 (13:09 -0700)]
minor cleanups

5 years agoreduced number of global vars of type $rOpts_xxx
Steve Hancock [Tue, 24 Mar 2020 18:04:32 +0000 (11:04 -0700)]
reduced number of global vars of type $rOpts_xxx

5 years agoeliminate global vars %is_digraph and %is_trigraph
Steve Hancock [Tue, 24 Mar 2020 14:48:53 +0000 (07:48 -0700)]
eliminate global vars %is_digraph and %is_trigraph

5 years agoimprove efficiency of sub is_essential_whitespace()
Steve Hancock [Tue, 24 Mar 2020 13:38:39 +0000 (06:38 -0700)]
improve efficiency of sub is_essential_whitespace()

5 years agoconvert set_comma_breakpoints_do() to use named call
Steve Hancock [Tue, 24 Mar 2020 13:00:13 +0000 (06:00 -0700)]
convert set_comma_breakpoints_do() to use named call

5 years agoconvert do_scan_sub() to named call
Steve Hancock [Tue, 24 Mar 2020 12:57:12 +0000 (05:57 -0700)]
convert do_scan_sub() to named call

5 years agoconvert IndentationItem::new to named call
Steve Hancock [Tue, 24 Mar 2020 12:53:40 +0000 (05:53 -0700)]
convert IndentationItem::new to named call

5 years agoupdate CHANGES to note change in default encoding
Steve Hancock [Mon, 23 Mar 2020 22:33:36 +0000 (15:33 -0700)]
update CHANGES to note change in default encoding

5 years agocleaned up backup-in-place coding to use streamhandle
Steve Hancock [Sun, 22 Mar 2020 23:42:54 +0000 (16:42 -0700)]
cleaned up backup-in-place coding to use streamhandle

5 years agodefault encoding reset to be 'guess'
Steve Hancock [Sun, 22 Mar 2020 21:35:29 +0000 (14:35 -0700)]
default encoding reset to be 'guess'

5 years agorewrote Debugger module to output utf8 when input is utf8
Steve Hancock [Sun, 22 Mar 2020 20:56:19 +0000 (13:56 -0700)]
rewrote Debugger module to output utf8 when input is utf8

5 years agofix a few additional [_A-Za-z] matches
Steve Hancock [Sun, 22 Mar 2020 18:12:57 +0000 (11:12 -0700)]
fix a few additional [_A-Za-z] matches

5 years agorewrote sub is_essential_whitespace to use \w instead of [_A-Za-z]
Steve Hancock [Sun, 22 Mar 2020 18:04:25 +0000 (11:04 -0700)]
rewrote sub is_essential_whitespace to use \w instead of [_A-Za-z]

5 years agofix sub scan_identifier_do to use \w instead of [_A-Za-z]
Steve Hancock [Sun, 22 Mar 2020 14:43:13 +0000 (07:43 -0700)]
fix sub scan_identifier_do to use \w instead of [_A-Za-z]

5 years agoremove BOM if any
Steve Hancock [Sun, 22 Mar 2020 01:55:20 +0000 (18:55 -0700)]
remove BOM if any

5 years agoadded test case for RPerl
Steve Hancock [Sat, 21 Mar 2020 23:18:40 +0000 (16:18 -0700)]
added test case for RPerl

5 years agoconsolidate coding involving utf8::is_utf8
Steve Hancock [Sat, 21 Mar 2020 14:18:59 +0000 (07:18 -0700)]
consolidate coding involving utf8::is_utf8

5 years agocheck utf8::is_utf8 in case guess is used
Steve Hancock [Sat, 21 Mar 2020 03:08:08 +0000 (20:08 -0700)]
check utf8::is_utf8 in case guess is used

5 years agoadded check for strings already encoded utf8
Steve Hancock [Sat, 21 Mar 2020 02:46:26 +0000 (19:46 -0700)]
added check for strings already encoded utf8

5 years agoadded option --character-encoding=guess
Steve Hancock [Sat, 21 Mar 2020 02:28:54 +0000 (19:28 -0700)]
added option --character-encoding=guess

5 years agofix git#22, keep sub signature on a single line
Steve Hancock [Wed, 18 Mar 2020 14:10:52 +0000 (07:10 -0700)]
fix git#22, keep sub signature on a single line

5 years agofixed RT #132059, -dac was causing an error exit
Steve Hancock [Thu, 5 Mar 2020 15:10:10 +0000 (07:10 -0800)]
fixed RT #132059, -dac was causing an error exit

5 years agoFixed RT#132059, -dac was not working and caused an error exit
Steve Hancock [Thu, 5 Mar 2020 15:07:38 +0000 (07:07 -0800)]
Fixed RT#132059, -dac was not working and caused an error exit

5 years agoFix RT#132059, -dac was not working
Steve Hancock [Thu, 5 Mar 2020 15:05:46 +0000 (07:05 -0800)]
Fix RT#132059, -dac was not working

5 years agoMerge pull request #20 from scop/pre-commit-hook
shancock9 [Wed, 19 Feb 2020 14:00:11 +0000 (06:00 -0800)]
Merge pull request #20 from scop/pre-commit-hook

Add pre-commit hook config

5 years agoAdd pre-commit hook config
Ville Skyttä [Wed, 19 Feb 2020 05:41:27 +0000 (07:41 +0200)]
Add pre-commit hook config

5 years agoTesting binmode always on
Steve Hancock [Wed, 22 Jan 2020 16:19:38 +0000 (08:19 -0800)]
Testing binmode always on

5 years agoencode error output in utf8 when -utf8 flag is set
Steve Hancock [Mon, 20 Jan 2020 16:20:13 +0000 (08:20 -0800)]
encode error output in utf8 when -utf8 flag is set

5 years agopatched problem parsing here target in quote in pattern replacement string
Steve Hancock [Sun, 19 Jan 2020 15:31:17 +0000 (07:31 -0800)]
patched problem parsing here target in quote in pattern replacement string

5 years agonote fix for git#19
Steve Hancock [Thu, 16 Jan 2020 23:48:02 +0000 (15:48 -0800)]
note fix for git#19

5 years agoadjusted xor line break for git#19
Steve Hancock [Thu, 16 Jan 2020 23:27:02 +0000 (15:27 -0800)]
adjusted xor line break for git#19

5 years agoadded support for hex floating point
Steve Hancock [Thu, 16 Jan 2020 17:13:20 +0000 (09:13 -0800)]
added support for hex floating point

5 years agoallow package names ending in ::
Steve Hancock [Wed, 15 Jan 2020 02:56:10 +0000 (18:56 -0800)]
allow package names ending in ::

5 years agoImproved error check for internal hash-bang
Steve Hancock [Wed, 15 Jan 2020 00:57:54 +0000 (16:57 -0800)]
Improved error check for internal hash-bang

5 years agobump version to 20100110.01
Steve Hancock [Wed, 15 Jan 2020 00:43:26 +0000 (16:43 -0800)]
bump version to 20100110.01

5 years agoimproved parsing involving unknown sub prototypes
Steve Hancock [Tue, 14 Jan 2020 18:23:59 +0000 (10:23 -0800)]
improved parsing involving unknown sub prototypes

5 years agomodified error message
Steve Hancock [Tue, 14 Jan 2020 16:41:14 +0000 (08:41 -0800)]
modified error message

5 years agoadded warning for issue git18
Steve Hancock [Tue, 14 Jan 2020 15:45:39 +0000 (07:45 -0800)]
added warning for issue git18

5 years agominor doc cleanups for release of VERSION 20200110 20200110
Steve Hancock [Thu, 9 Jan 2020 15:23:41 +0000 (07:23 -0800)]
minor doc cleanups for release of VERSION 20200110

5 years agoprepare for release of VERSION 20200110
Steve Hancock [Tue, 7 Jan 2020 16:38:35 +0000 (08:38 -0800)]
prepare for release of VERSION 20200110

5 years agoadded flag -olbn to control breaking nested one-line blocks
Steve Hancock [Tue, 7 Jan 2020 01:15:16 +0000 (17:15 -0800)]
added flag -olbn to control breaking nested one-line blocks

5 years agominor coding optimization
Steve Hancock [Mon, 6 Jan 2020 14:46:22 +0000 (06:46 -0800)]
minor coding optimization

5 years agoupdated error stop criterion for iterations
Steve Hancock [Mon, 6 Jan 2020 14:44:39 +0000 (06:44 -0800)]
updated error stop criterion for iterations

5 years agoadded sub mate_index_to_go; part of ongoing conversion
Steve Hancock [Thu, 2 Jan 2020 17:49:50 +0000 (09:49 -0800)]
added sub mate_index_to_go; part of ongoing conversion

5 years agorewrote 'send_lines_to_vertical_aligner'; no globals
Steve Hancock [Wed, 1 Jan 2020 18:53:46 +0000 (10:53 -0800)]
rewrote 'send_lines_to_vertical_aligner'; no globals

5 years agofixed rt#131288
Steve Hancock [Mon, 30 Dec 2019 00:02:14 +0000 (16:02 -0800)]
fixed rt#131288

5 years agofix benign error (csc goes out on last line only)
Steve Hancock [Sun, 29 Dec 2019 15:24:55 +0000 (07:24 -0800)]
fix benign error (csc goes out on last line only)

5 years agoFixed undef in error message parsing 'sub () name'
Steve Hancock [Sun, 29 Dec 2019 15:23:19 +0000 (07:23 -0800)]
Fixed undef in error message parsing 'sub () name'

5 years agosome coding cleanups
Steve Hancock [Sat, 28 Dec 2019 17:07:51 +0000 (09:07 -0800)]
some coding cleanups

5 years agoeliminated global array @matching_token_to_go
Steve Hancock [Thu, 26 Dec 2019 18:31:18 +0000 (10:31 -0800)]
eliminated global array @matching_token_to_go

5 years agosome code cleanups to keep arrays consistent
Steve Hancock [Wed, 25 Dec 2019 16:17:40 +0000 (08:17 -0800)]
some code cleanups to keep arrays consistent

5 years agomoved some error-checking code to better location
Steve Hancock [Tue, 24 Dec 2019 15:18:53 +0000 (07:18 -0800)]
moved some error-checking code to better location

5 years agoSimplify coding of closing side comments
Steve Hancock [Sun, 22 Dec 2019 15:33:42 +0000 (07:33 -0800)]
Simplify coding of closing side comments

5 years agorewrote sub terminal_type_i() for efficiency
Steve Hancock [Fri, 20 Dec 2019 14:53:26 +0000 (06:53 -0800)]
rewrote sub terminal_type_i() for efficiency

5 years agoImproved semicolon deletion rules
Steve Hancock [Wed, 18 Dec 2019 15:37:59 +0000 (07:37 -0800)]
Improved semicolon deletion rules

5 years agoreworked coding which removes extra semicolons to use new data structures
Steve Hancock [Wed, 18 Dec 2019 00:37:13 +0000 (16:37 -0800)]
reworked coding which removes extra semicolons to use new data structures

5 years agoFixed very minor coding error
Steve Hancock [Tue, 17 Dec 2019 01:47:57 +0000 (17:47 -0800)]
Fixed very minor coding error

5 years agorewrote sub in_same_container() for efficiency
Steve Hancock [Mon, 16 Dec 2019 02:10:48 +0000 (18:10 -0800)]
rewrote sub in_same_container() for efficiency

5 years agobumped version to 20191203.01
Steve Hancock [Sat, 14 Dec 2019 15:00:30 +0000 (07:00 -0800)]
bumped version to 20191203.01

5 years agoset version to 20191203 20191203
Steve Hancock [Mon, 2 Dec 2019 18:14:32 +0000 (10:14 -0800)]
set version to 20191203

5 years agotidied code
Steve Hancock [Sun, 1 Dec 2019 02:04:27 +0000 (18:04 -0800)]
tidied code

5 years agopreparing for release; set version to 20191207
Steve Hancock [Sun, 1 Dec 2019 01:59:20 +0000 (17:59 -0800)]
preparing for release; set version to 20191207

5 years agofixed RT#131115, problem with -bli
Steve Hancock [Sun, 1 Dec 2019 01:46:52 +0000 (17:46 -0800)]
fixed RT#131115, problem with -bli

5 years agofixed index error in new coding
Steve Hancock [Sat, 16 Nov 2019 15:29:05 +0000 (07:29 -0800)]
fixed index error in new coding

5 years agosome code simplification
Steve Hancock [Wed, 13 Nov 2019 15:08:01 +0000 (07:08 -0800)]
some code simplification

5 years agosome code clanups
Steve Hancock [Mon, 11 Nov 2019 15:54:29 +0000 (07:54 -0800)]
some code clanups

5 years agofixed RT130394, allow short nested blocks
Steve Hancock [Mon, 11 Nov 2019 06:00:46 +0000 (22:00 -0800)]
fixed RT130394, allow short nested blocks