]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
4 years agoMerge pull request #44 from gluesys/master
shancock9 [Thu, 29 Oct 2020 13:05:27 +0000 (06:05 -0700)]
Merge pull request #44 from gluesys/master

fix exit status for assert-tidy/untidy options

4 years agofix exit status for assert-tidy/untidy options
Ji-Hyeon Gim [Thu, 29 Oct 2020 04:56:08 +0000 (13:56 +0900)]
fix exit status for assert-tidy/untidy options

Signed-off-by: Ji-Hyeon Gim <potatogim@potatogim.net>
4 years agorewrite scanning of :prototype
Steve Hancock [Thu, 29 Oct 2020 00:59:14 +0000 (17:59 -0700)]
rewrite scanning of :prototype

4 years agosimplified logic in sub 'do_scan_sub'
Steve Hancock [Wed, 28 Oct 2020 14:05:16 +0000 (07:05 -0700)]
simplified logic in sub 'do_scan_sub'

4 years agofixed problem parsing extruded signature
Steve Hancock [Tue, 27 Oct 2020 23:29:30 +0000 (16:29 -0700)]
fixed problem parsing extruded signature

4 years agoupdate documentation for making snippets files
Steve Hancock [Tue, 27 Oct 2020 14:56:02 +0000 (07:56 -0700)]
update documentation for making snippets files

4 years agoremoved unnecessary if test
Steve Hancock [Tue, 27 Oct 2020 13:34:09 +0000 (06:34 -0700)]
removed unnecessary if test

4 years agofixed ref to undef var; avoid needless initialization; reformat
Steve Hancock [Tue, 27 Oct 2020 13:21:56 +0000 (06:21 -0700)]
fixed ref to undef var; avoid needless initialization; reformat

4 years agofixed several instances of incorrect array indexing
Steve Hancock [Tue, 27 Oct 2020 01:25:07 +0000 (18:25 -0700)]
fixed several instances of incorrect array indexing

4 years agoadd test cases to check recent updates
Steve Hancock [Mon, 26 Oct 2020 23:21:43 +0000 (16:21 -0700)]
add test cases to check recent updates

4 years agoprevent breaking package names with trailing dashes
Steve Hancock [Mon, 26 Oct 2020 15:41:37 +0000 (08:41 -0700)]
prevent breaking package names with trailing dashes

4 years agofixed typo in error message
Steve Hancock [Mon, 26 Oct 2020 13:53:55 +0000 (06:53 -0700)]
fixed typo in error message

4 years agoprevent syntax error by breaking dashed barewords
Steve Hancock [Mon, 26 Oct 2020 13:51:53 +0000 (06:51 -0700)]
prevent syntax error by breaking dashed barewords

4 years agoavoid formatting files with more types of severe errors
Steve Hancock [Sun, 25 Oct 2020 15:12:13 +0000 (08:12 -0700)]
avoid formatting files with more types of severe errors

4 years agorewrite and simplify sub operator_expected
Steve Hancock [Sat, 24 Oct 2020 22:37:54 +0000 (15:37 -0700)]
rewrite and simplify sub operator_expected

4 years agoupdate docs
Steve Hancock [Thu, 22 Oct 2020 00:29:45 +0000 (17:29 -0700)]
update docs

4 years agospeedup sub operator_expected about 40% with hash lookup
Steve Hancock [Thu, 22 Oct 2020 00:06:37 +0000 (17:06 -0700)]
speedup sub operator_expected about 40% with hash lookup

4 years agoeliminate unnecessary eval; update AUTOLOAD
Steve Hancock [Thu, 22 Oct 2020 00:05:59 +0000 (17:05 -0700)]
eliminate unnecessary eval; update AUTOLOAD

4 years agoremoved unused var
Steve Hancock [Wed, 21 Oct 2020 01:51:05 +0000 (18:51 -0700)]
removed unused var

4 years agounroll loop to speedup sub K_previous_nonblank
Steve Hancock [Wed, 21 Oct 2020 01:06:07 +0000 (18:06 -0700)]
unroll loop to speedup sub K_previous_nonblank

4 years agosignificant speedup of sub undo_ci on very long lists
Steve Hancock [Wed, 21 Oct 2020 01:00:35 +0000 (18:00 -0700)]
significant speedup of sub undo_ci on very long lists

4 years agoadded speedup filter; made sub scan_list 25% faster
Steve Hancock [Wed, 21 Oct 2020 00:34:32 +0000 (17:34 -0700)]
added speedup filter; made sub scan_list 25% faster

4 years agoupdated sub AUTOLOAD
Steve Hancock [Tue, 20 Oct 2020 23:37:14 +0000 (16:37 -0700)]
updated sub AUTOLOAD

4 years agomodify filter rule to keep space between ? and #
Steve Hancock [Tue, 20 Oct 2020 16:20:55 +0000 (09:20 -0700)]
modify filter rule to keep space between ? and #

4 years agoimproved filters for sub is_essential_whitespace
Steve Hancock [Tue, 20 Oct 2020 15:24:36 +0000 (08:24 -0700)]
improved filters for sub is_essential_whitespace

4 years agoadd test case for parsing signatures
Steve Hancock [Tue, 20 Oct 2020 15:23:44 +0000 (08:23 -0700)]
add test case for parsing signatures

4 years agoavoid unnecessary calls to sub 'is_essential_whitespace'
Steve Hancock [Tue, 20 Oct 2020 00:48:40 +0000 (17:48 -0700)]
avoid unnecessary calls to sub 'is_essential_whitespace'

4 years agoupdate bug list
Steve Hancock [Tue, 20 Oct 2020 00:48:13 +0000 (17:48 -0700)]
update bug list

4 years agoadded option -mfs=n, --maximum-file-size-mb=n
Steve Hancock [Mon, 19 Oct 2020 15:20:13 +0000 (08:20 -0700)]
added option -mfs=n, --maximum-file-size-mb=n

4 years agominor speedup by switching from regex to hash
Steve Hancock [Mon, 19 Oct 2020 15:19:55 +0000 (08:19 -0700)]
minor speedup by switching from regex to hash

4 years agoupdate comment
Steve Hancock [Mon, 19 Oct 2020 15:19:24 +0000 (08:19 -0700)]
update comment

4 years agofixed problem parsing multi-line signature
Steve Hancock [Mon, 19 Oct 2020 13:16:11 +0000 (06:16 -0700)]
fixed problem parsing multi-line signature

4 years agoadd 'state' as keyword
Steve Hancock [Mon, 19 Oct 2020 01:38:07 +0000 (18:38 -0700)]
add 'state' as keyword

4 years agoonly call sub pad_array_to_go if required
Steve Hancock [Mon, 19 Oct 2020 01:37:26 +0000 (18:37 -0700)]
only call sub pad_array_to_go if required

4 years agochange method for parsing sub signatures
Steve Hancock [Sun, 18 Oct 2020 23:59:49 +0000 (16:59 -0700)]
change method for parsing sub signatures

4 years agoformat all signatures separately from prototypes
Steve Hancock [Sun, 18 Oct 2020 15:33:54 +0000 (08:33 -0700)]
format all signatures separately from prototypes

4 years agominor code cleanups in set_bond_strengths
Steve Hancock [Sun, 18 Oct 2020 14:32:07 +0000 (07:32 -0700)]
minor code cleanups in set_bond_strengths

4 years agoremove 'map' from sub 'copy_token_as_type' for efficiency
Steve Hancock [Sun, 18 Oct 2020 13:03:40 +0000 (06:03 -0700)]
remove 'map' from sub 'copy_token_as_type' for efficiency

4 years agounroll loop in sub K_next_nonblank to improve efficiency
Steve Hancock [Sun, 18 Oct 2020 01:41:02 +0000 (18:41 -0700)]
unroll loop in sub K_next_nonblank to improve efficiency

4 years agoupdate test cases for $# parsing fix
Steve Hancock [Sun, 18 Oct 2020 01:16:16 +0000 (18:16 -0700)]
update test cases for $# parsing fix

4 years agofixed parsing error with spaces in $#
Steve Hancock [Sun, 18 Oct 2020 01:09:04 +0000 (18:09 -0700)]
fixed parsing error with spaces in $#

4 years agobuild turns off any DEBUG flags on VERSION update
Steve Hancock [Sat, 17 Oct 2020 23:04:43 +0000 (16:04 -0700)]
build turns off any DEBUG flags on VERSION update

4 years agomodify rule for welding subs within subs
Steve Hancock [Sat, 17 Oct 2020 20:36:59 +0000 (13:36 -0700)]
modify rule for welding subs within subs

4 years agofix missing line break for hash of subs with signatures
Steve Hancock [Sat, 17 Oct 2020 15:11:03 +0000 (08:11 -0700)]
fix missing line break for hash of subs with signatures

4 years agofixed problem parsing multi-line signatures with comments
Steve Hancock [Sat, 17 Oct 2020 14:04:32 +0000 (07:04 -0700)]
fixed problem parsing multi-line signatures with comments

4 years agoupdated rule for welding nested anonymous subs
Steve Hancock [Sat, 17 Oct 2020 14:03:34 +0000 (07:03 -0700)]
updated rule for welding nested anonymous subs

4 years agoupdate AUTOLOAD + minor speedup
Steve Hancock [Sat, 17 Oct 2020 13:54:29 +0000 (06:54 -0700)]
update AUTOLOAD + minor speedup

4 years agorewrite sub scan_identifier for improved efficiency
Steve Hancock [Fri, 16 Oct 2020 01:11:07 +0000 (18:11 -0700)]
rewrite sub scan_identifier for improved efficiency

4 years agoupdate AUTOLOAD to show package and version
Steve Hancock [Thu, 15 Oct 2020 14:35:35 +0000 (07:35 -0700)]
update AUTOLOAD to show package and version

4 years agoa VERSION update turns off any DEVEL_MODE flags
Steve Hancock [Thu, 15 Oct 2020 13:40:19 +0000 (06:40 -0700)]
a VERSION update turns off any DEVEL_MODE flags

4 years agomoved maximum_level calculation; improved AUTOLOAD
Steve Hancock [Thu, 15 Oct 2020 13:01:52 +0000 (06:01 -0700)]
moved maximum_level calculation; improved AUTOLOAD

4 years agorewrote logic to guess if divide or pattern
Steve Hancock [Thu, 15 Oct 2020 03:01:27 +0000 (20:01 -0700)]
rewrote logic to guess if divide or pattern

4 years agoconvert some 'warning's to 'Fault', add comments
Steve Hancock [Wed, 14 Oct 2020 14:02:11 +0000 (07:02 -0700)]
convert some 'warning's to 'Fault', add comments

4 years agoupdate comments for calls to Fault
Steve Hancock [Wed, 14 Oct 2020 01:12:33 +0000 (18:12 -0700)]
update comments for calls to Fault

4 years agoremoved unnecessary subs
Steve Hancock [Tue, 13 Oct 2020 23:51:46 +0000 (16:51 -0700)]
removed unnecessary subs

4 years agospeedup by not writing logfile which will not be saved
Steve Hancock [Tue, 13 Oct 2020 22:16:49 +0000 (15:16 -0700)]
speedup by not writing logfile which will not be saved

4 years agoupdate comments; better var name
Steve Hancock [Tue, 13 Oct 2020 14:15:44 +0000 (07:15 -0700)]
update comments; better var name

4 years agoremoved unused code
Steve Hancock [Tue, 13 Oct 2020 13:42:39 +0000 (06:42 -0700)]
removed unused code

4 years agocode cleanups
Steve Hancock [Mon, 12 Oct 2020 23:51:02 +0000 (16:51 -0700)]
code cleanups

4 years agofix -bos to work with semicolons after braces
Steve Hancock [Mon, 12 Oct 2020 14:55:05 +0000 (07:55 -0700)]
fix -bos to work with semicolons after braces

4 years agokeep break after 'use overload' statement
Steve Hancock [Mon, 12 Oct 2020 14:08:28 +0000 (07:08 -0700)]
keep break after 'use overload' statement

4 years agoupdate docs
Steve Hancock [Mon, 12 Oct 2020 14:07:35 +0000 (07:07 -0700)]
update docs

4 years agobump version to .02 20201001.02
Steve Hancock [Mon, 12 Oct 2020 00:17:15 +0000 (17:17 -0700)]
bump version to .02

4 years agofix several -xci issues
Steve Hancock [Sun, 11 Oct 2020 15:27:05 +0000 (08:27 -0700)]
fix several -xci issues

4 years agostarting loops with new var _K_first_seq_item_ instead of 0
Steve Hancock [Sun, 11 Oct 2020 13:14:28 +0000 (06:14 -0700)]
starting loops with new var _K_first_seq_item_ instead of 0

4 years agominor efficiency improvements
Steve Hancock [Sun, 11 Oct 2020 13:14:08 +0000 (06:14 -0700)]
minor efficiency improvements

4 years agobump version number by .01 20201001.01
Steve Hancock [Fri, 9 Oct 2020 14:14:21 +0000 (07:14 -0700)]
bump version number by .01

4 years agoadded missing return statement
Steve Hancock [Fri, 9 Oct 2020 13:43:22 +0000 (06:43 -0700)]
added missing return statement

4 years agoremoved 'Subroutines::RequireArgUnpacking'
Steve Hancock [Fri, 9 Oct 2020 13:41:32 +0000 (06:41 -0700)]
removed 'Subroutines::RequireArgUnpacking'

4 years agoclarified -bol flag for git #42
Steve Hancock [Fri, 9 Oct 2020 13:31:54 +0000 (06:31 -0700)]
clarified -bol flag for git #42

4 years agoremoved some unused code
Steve Hancock [Fri, 9 Oct 2020 12:23:03 +0000 (05:23 -0700)]
removed some unused code

4 years agoadded test cases for -xci
Steve Hancock [Fri, 9 Oct 2020 04:14:43 +0000 (21:14 -0700)]
added test cases for -xci

4 years agoreplaced sub link_back with more efficient loop
Steve Hancock [Fri, 9 Oct 2020 02:18:39 +0000 (19:18 -0700)]
replaced sub link_back with more efficient loop

4 years agorewrote loop in sub resync_lines_and_tokens
Steve Hancock [Fri, 9 Oct 2020 01:17:38 +0000 (18:17 -0700)]
rewrote loop in sub resync_lines_and_tokens

4 years agomake do and sub blocks work better with -xci
Steve Hancock [Thu, 8 Oct 2020 19:22:03 +0000 (12:22 -0700)]
make do and sub blocks work better with -xci

4 years agofix -xci to work with -lp
Steve Hancock [Thu, 8 Oct 2020 18:40:06 +0000 (11:40 -0700)]
fix -xci to work with -lp

4 years agoadd flag -xci to help git #28
Steve Hancock [Thu, 8 Oct 2020 15:41:31 +0000 (08:41 -0700)]
add flag -xci to help git #28

4 years agoput limit of 100 on -sil and 1000 on max level
Steve Hancock [Wed, 7 Oct 2020 00:09:44 +0000 (17:09 -0700)]
put limit of 100 on -sil and 1000 on max level

4 years agoadd sub to return maximum indentation level
Steve Hancock [Wed, 7 Oct 2020 00:09:02 +0000 (17:09 -0700)]
add sub to return maximum indentation level

4 years agoswitched self from hash ref to array ref; improved efficiency
Steve Hancock [Wed, 7 Oct 2020 00:08:29 +0000 (17:08 -0700)]
switched self from hash ref to array ref; improved efficiency

4 years agoswitched self from hash ref to array ref
Steve Hancock [Wed, 7 Oct 2020 00:07:40 +0000 (17:07 -0700)]
switched self from hash ref to array ref

4 years agofixed undefined value in recent coding
Steve Hancock [Tue, 6 Oct 2020 14:31:09 +0000 (07:31 -0700)]
fixed undefined value in recent coding

4 years agoupdate log for git #41 fix
Steve Hancock [Tue, 6 Oct 2020 13:07:18 +0000 (06:07 -0700)]
update log for git #41 fix

4 years agosome code cleanups
Steve Hancock [Tue, 6 Oct 2020 13:06:55 +0000 (06:06 -0700)]
some code cleanups

4 years agoimproved efficiency of some routines in FileWriter.pm
Steve Hancock [Tue, 6 Oct 2020 13:05:50 +0000 (06:05 -0700)]
improved efficiency of some routines in FileWriter.pm

4 years agoimproved efficiency of coding of IndentationItem.pm
Steve Hancock [Tue, 6 Oct 2020 13:04:18 +0000 (06:04 -0700)]
improved efficiency of coding of IndentationItem.pm

4 years agoMerge pull request #41 from perlpunk/fix-doc-typo
shancock9 [Tue, 6 Oct 2020 12:48:25 +0000 (05:48 -0700)]
Merge pull request #41 from perlpunk/fix-doc-typo

Fix typo in -fse documentation

4 years agoFix typo in -fse documentation
Tina Müller [Tue, 6 Oct 2020 10:30:27 +0000 (12:30 +0200)]
Fix typo in -fse documentation

4 years agorewrote sub excess_line_length and total_line_length
Steve Hancock [Mon, 5 Oct 2020 15:52:33 +0000 (08:52 -0700)]
rewrote sub excess_line_length and total_line_length

4 years agorewrote sub find_nested_pairs
Steve Hancock [Mon, 5 Oct 2020 12:25:55 +0000 (05:25 -0700)]
rewrote sub find_nested_pairs

4 years agofixed undefined var introduced in recent update
Steve Hancock [Sun, 4 Oct 2020 00:44:30 +0000 (17:44 -0700)]
fixed undefined var introduced in recent update

4 years agoreplaced sub maximum_line_length with table lookup
Steve Hancock [Sun, 4 Oct 2020 00:21:47 +0000 (17:21 -0700)]
replaced sub maximum_line_length with table lookup

4 years agofix AUTOLOAD handling of any DESTROY call
Steve Hancock [Sat, 3 Oct 2020 23:05:41 +0000 (16:05 -0700)]
fix AUTOLOAD handling of any DESTROY call

4 years agofixed DESTROY
Steve Hancock [Fri, 2 Oct 2020 23:13:51 +0000 (16:13 -0700)]
fixed DESTROY

4 years agorewrote Alignment.pm for improved efficiency
Steve Hancock [Fri, 2 Oct 2020 22:45:39 +0000 (15:45 -0700)]
rewrote Alignment.pm for improved efficiency

4 years agoupdate comments
Steve Hancock [Fri, 2 Oct 2020 22:44:02 +0000 (15:44 -0700)]
update comments

4 years agoupdate docs
Steve Hancock [Fri, 2 Oct 2020 22:43:20 +0000 (15:43 -0700)]
update docs

4 years agocode cleanups
Steve Hancock [Fri, 2 Oct 2020 17:46:48 +0000 (10:46 -0700)]
code cleanups

4 years agoupdate test cases for braces
Steve Hancock [Fri, 2 Oct 2020 13:49:59 +0000 (06:49 -0700)]
update test cases for braces

4 years agoupdate logs
Steve Hancock [Fri, 2 Oct 2020 13:47:55 +0000 (06:47 -0700)]
update logs