]>
git.donarmstrong.com Git - perltidy.git/log
Steve Hancock [Sun, 7 Jan 2024 00:39:49 +0000 (16:39 -0800)]
simplification and optimization of a main loop
this eliminates some needless data shuffling in a critical loop
Steve Hancock [Sun, 7 Jan 2024 00:15:40 +0000 (16:15 -0800)]
added a .perltidyrc file
Steve Hancock [Sat, 6 Jan 2024 16:24:17 +0000 (08:24 -0800)]
change -wvt=string to require space- or comma-separated vars
This will allow future option names which are more than 1 letter
Non-spaces (bundled) still work but produce a warning
Steve Hancock [Sat, 6 Jan 2024 01:14:17 +0000 (17:14 -0800)]
update tutorial
Steve Hancock [Fri, 5 Jan 2024 16:55:50 +0000 (08:55 -0800)]
The -DEBUG option no longer also writes a .LOG file
This was almost never needed and left a lot of files to clean up.
Steve Hancock [Fri, 5 Jan 2024 04:44:16 +0000 (20:44 -0800)]
optimizations
Steve Hancock [Thu, 4 Jan 2024 23:22:49 +0000 (15:22 -0800)]
update list of switches which may be negated
Steve Hancock [Thu, 4 Jan 2024 23:20:21 +0000 (15:20 -0800)]
improve structure of manual
Too many commands were lumped into "Other Controls"
Steve Hancock [Thu, 4 Jan 2024 14:49:58 +0000 (06:49 -0800)]
fix typo
Steve Hancock [Thu, 4 Jan 2024 14:49:19 +0000 (06:49 -0800)]
remove unused vars located with -duv
Steve Hancock [Thu, 4 Jan 2024 14:32:40 +0000 (06:32 -0800)]
avoid reused name
Steve Hancock [Thu, 4 Jan 2024 02:24:56 +0000 (18:24 -0800)]
add 2 missing elses using -ame
Steve Hancock [Thu, 4 Jan 2024 02:21:26 +0000 (18:21 -0800)]
write initializer for -wvt; remove unused vars found with -duv
Steve Hancock [Thu, 4 Jan 2024 02:20:55 +0000 (18:20 -0800)]
remove some unused vars located with -duv
Steve Hancock [Wed, 3 Jan 2024 16:29:36 +0000 (08:29 -0800)]
add example to docs
Steve Hancock [Wed, 3 Jan 2024 16:03:20 +0000 (08:03 -0800)]
minor optimization of sub undo_ci
Steve Hancock [Wed, 3 Jan 2024 02:50:29 +0000 (18:50 -0800)]
fix numerous issues in examples found with -duv
Steve Hancock [Tue, 2 Jan 2024 22:46:23 +0000 (14:46 -0800)]
skip certain operations during iterations
Steve Hancock [Tue, 2 Jan 2024 15:41:31 +0000 (07:41 -0800)]
simplify Die and Warn calls
Steve Hancock [Tue, 2 Jan 2024 15:39:19 +0000 (07:39 -0800)]
improve error checking
Steve Hancock [Tue, 2 Jan 2024 15:38:57 +0000 (07:38 -0800)]
fix typos, simplify wording
Steve Hancock [Tue, 2 Jan 2024 01:49:49 +0000 (17:49 -0800)]
bump version to
20230912 .11
Steve Hancock [Tue, 2 Jan 2024 01:43:13 +0000 (17:43 -0800)]
fix issue where -nwcp without -wcp was not working
Steve Hancock [Tue, 2 Jan 2024 00:37:09 +0000 (16:37 -0800)]
bump version to
20230912 .10
Steve Hancock [Mon, 1 Jan 2024 22:58:24 +0000 (14:58 -0800)]
split -wcp=s into -wcp=s and -nwcp=s to simplify use
Steve Hancock [Mon, 1 Jan 2024 21:21:29 +0000 (13:21 -0800)]
warn about v-string and x-operator hash keys
Steve Hancock [Mon, 1 Jan 2024 15:40:48 +0000 (07:40 -0800)]
consolidate duplicated hashes
Steve Hancock [Sun, 31 Dec 2023 23:46:15 +0000 (15:46 -0800)]
add --dump-mixed-call-parens (-dmcp); bump version
Steve Hancock [Sun, 31 Dec 2023 00:03:23 +0000 (16:03 -0800)]
bump version to
20230912 .08
Steve Hancock [Sat, 30 Dec 2023 22:12:30 +0000 (14:12 -0800)]
add option --want-call-parens=s, see git #128
Steve Hancock [Sat, 30 Dec 2023 03:17:43 +0000 (19:17 -0800)]
fix c316: remove sub do_QUOTED_BAREWORD
Steve Hancock [Sun, 24 Dec 2023 20:16:28 +0000 (12:16 -0800)]
minor code cleanups
reduce nesting depth, and convert all remaining @{word} to @word
Steve Hancock [Sat, 23 Dec 2023 16:14:37 +0000 (08:14 -0800)]
update -duv to work better with v5.36 experimental for_list
Steve Hancock [Wed, 20 Dec 2023 23:56:43 +0000 (15:56 -0800)]
update links, add section on vertical alignment
Steve Hancock [Wed, 20 Dec 2023 15:56:08 +0000 (07:56 -0800)]
be sure Klast is undef if Kfirst is undef
not a bug, but could be confusing when code is updated
Steve Hancock [Wed, 20 Dec 2023 15:55:40 +0000 (07:55 -0800)]
add section on list formatting
Steve Hancock [Tue, 19 Dec 2023 15:58:12 +0000 (07:58 -0800)]
update docs
Steve Hancock [Mon, 18 Dec 2023 23:13:12 +0000 (15:13 -0800)]
update comments
Steve Hancock [Mon, 18 Dec 2023 16:11:14 +0000 (08:11 -0800)]
optimize -wvt
Run time is significantly reduced by skipping needless counting
Total run time with -wvt=1 now increases by <<1% vs without -wvt
Steve Hancock [Mon, 18 Dec 2023 00:58:36 +0000 (16:58 -0800)]
improve code for finding unused vars in if-chains with -duv
Steve Hancock [Sat, 16 Dec 2023 15:10:56 +0000 (07:10 -0800)]
add check for missing string parameter, c312
Steve Hancock [Thu, 14 Dec 2023 18:37:43 +0000 (10:37 -0800)]
Steve Hancock [Thu, 14 Dec 2023 16:05:40 +0000 (08:05 -0800)]
improve scan for unused vars
Steve Hancock [Wed, 13 Dec 2023 16:34:17 +0000 (08:34 -0800)]
change dv to duv, wv to wvt=s
The old names were a little confusing because they were very similar but
one took an arg and the other did not.
dump-variables -> dump-unusual-variables (dv->duv)
warn-variables=s -> warn-variable-types (wv->wvt)
Steve Hancock [Tue, 12 Dec 2023 16:20:06 +0000 (08:20 -0800)]
fix minor issues found with -wv
Steve Hancock [Tue, 12 Dec 2023 00:58:56 +0000 (16:58 -0800)]
fix some minor issues found with -dv
Steve Hancock [Mon, 11 Dec 2023 15:57:09 +0000 (07:57 -0800)]
update examples
Steve Hancock [Mon, 11 Dec 2023 15:37:48 +0000 (07:37 -0800)]
exclude all dump- parameters from random testing
Steve Hancock [Mon, 11 Dec 2023 01:34:00 +0000 (17:34 -0800)]
eliminate all issues identified with -wv
Steve Hancock [Mon, 11 Dec 2023 01:33:51 +0000 (17:33 -0800)]
update docs
Steve Hancock [Sat, 9 Dec 2023 16:33:04 +0000 (08:33 -0800)]
sort package error messages by line number
Steve Hancock [Sat, 9 Dec 2023 16:32:49 +0000 (08:32 -0800)]
update docs
Steve Hancock [Sat, 9 Dec 2023 15:33:53 +0000 (07:33 -0800)]
bump version to .06
Steve Hancock [Sat, 9 Dec 2023 00:56:03 +0000 (16:56 -0800)]
update docs
Steve Hancock [Sat, 9 Dec 2023 00:26:27 +0000 (16:26 -0800)]
add docs for -dv and -wv
Steve Hancock [Sat, 9 Dec 2023 00:24:52 +0000 (16:24 -0800)]
minor changes to -dv and -wv options
Steve Hancock [Thu, 7 Dec 2023 01:11:33 +0000 (17:11 -0800)]
near final coding of --warn-variables and --dump-variables
these work but still need documentation
Steve Hancock [Wed, 6 Dec 2023 02:53:07 +0000 (18:53 -0800)]
cleanup -wvu code
Steve Hancock [Tue, 5 Dec 2023 03:56:25 +0000 (19:56 -0800)]
add -wvuxl
Steve Hancock [Tue, 5 Dec 2023 00:13:59 +0000 (16:13 -0800)]
clean up -wvu coding
Steve Hancock [Mon, 4 Dec 2023 05:20:25 +0000 (21:20 -0800)]
update -wvu option
Steve Hancock [Sat, 2 Dec 2023 03:44:56 +0000 (19:44 -0800)]
add -wvu
Steve Hancock [Sat, 2 Dec 2023 02:23:19 +0000 (18:23 -0800)]
fix search for git home
Steve Hancock [Mon, 27 Nov 2023 16:15:50 +0000 (08:15 -0800)]
add comment
Steve Hancock [Sun, 26 Nov 2023 15:40:17 +0000 (07:40 -0800)]
remove unused call args
Steve Hancock [Sat, 25 Nov 2023 15:18:24 +0000 (07:18 -0800)]
add utility blinkers.pl
Steve Hancock [Sat, 25 Nov 2023 15:17:38 +0000 (07:17 -0800)]
remove unused code
Steve Hancock [Sat, 25 Nov 2023 14:18:08 +0000 (06:18 -0800)]
fix b1463
Steve Hancock [Sat, 25 Nov 2023 14:17:13 +0000 (06:17 -0800)]
do not use --show-options in random testing
Steve Hancock [Thu, 23 Nov 2023 14:57:02 +0000 (06:57 -0800)]
add note to docs about word-wrapping comments (see git#127)
Steve Hancock [Tue, 21 Nov 2023 15:18:45 +0000 (07:18 -0800)]
fix b1462
Steve Hancock [Mon, 20 Nov 2023 15:42:50 +0000 (07:42 -0800)]
simplify logfile switches
Steve Hancock [Fri, 17 Nov 2023 00:42:13 +0000 (16:42 -0800)]
add internal error checks
Steve Hancock [Thu, 16 Nov 2023 15:46:52 +0000 (07:46 -0800)]
do not include -cti (an alias) among random parameters in testing
Steve Hancock [Thu, 16 Nov 2023 15:46:28 +0000 (07:46 -0800)]
update comments
Steve Hancock [Sun, 12 Nov 2023 16:09:02 +0000 (08:09 -0800)]
remove unused code; fix some comments
Steve Hancock [Fri, 10 Nov 2023 16:47:01 +0000 (08:47 -0800)]
re-order some if tests for improved efficiency
this simple change in order saves 0.25% run time
Steve Hancock [Fri, 10 Nov 2023 03:24:05 +0000 (19:24 -0800)]
simplify coding for 'this_batch'
Steve Hancock [Wed, 8 Nov 2023 19:09:07 +0000 (11:09 -0800)]
revise sub set_vertical_tightness_flags
Steve Hancock [Tue, 7 Nov 2023 13:47:03 +0000 (05:47 -0800)]
skip needless flush calls
Steve Hancock [Mon, 6 Nov 2023 15:43:20 +0000 (07:43 -0800)]
simplify several split calls
Steve Hancock [Sun, 5 Nov 2023 23:31:29 +0000 (15:31 -0800)]
bump version to .05
Steve Hancock [Sun, 5 Nov 2023 23:31:06 +0000 (15:31 -0800)]
fix split
Steve Hancock [Sun, 5 Nov 2023 22:29:51 +0000 (14:29 -0800)]
fix issue c302
Steve Hancock [Sun, 5 Nov 2023 02:13:14 +0000 (19:13 -0700)]
add integer option range checks before processing
Previously, integer ranges were checked and fixed after processing started.
Steve Hancock [Thu, 2 Nov 2023 01:56:14 +0000 (18:56 -0700)]
check for negative -i and -ci
Steve Hancock [Tue, 31 Oct 2023 17:35:36 +0000 (10:35 -0700)]
more efficient data structures for token tree navigation, part 2
Steve Hancock [Mon, 30 Oct 2023 13:27:29 +0000 (06:27 -0700)]
more efficient data structures for token tree navigation, part 1
This eliminates a lot of double indexing
Steve Hancock [Sun, 29 Oct 2023 01:22:53 +0000 (18:22 -0700)]
check size of files arriving from stdin
Steve Hancock [Fri, 27 Oct 2023 17:18:31 +0000 (10:18 -0700)]
use more efficient tokenizer checks for special cases
Steve Hancock [Fri, 27 Oct 2023 17:18:10 +0000 (10:18 -0700)]
use more efficient check for negative levels
Steve Hancock [Fri, 27 Oct 2023 17:17:41 +0000 (10:17 -0700)]
check for negative --starting-indentation-level
Steve Hancock [Thu, 26 Oct 2023 16:12:48 +0000 (09:12 -0700)]
improve guessing rule for division vs pattern (c243)
perl counts a newline as a space when guessing
Steve Hancock [Thu, 26 Oct 2023 14:42:50 +0000 (07:42 -0700)]
add internal tokenizer consistency check
Steve Hancock [Wed, 25 Oct 2023 14:51:01 +0000 (07:51 -0700)]
optimization
Steve Hancock [Wed, 25 Oct 2023 14:45:13 +0000 (07:45 -0700)]
update max_arguments
Steve Hancock [Wed, 25 Oct 2023 14:44:56 +0000 (07:44 -0700)]
reformat some long arg lists
Steve Hancock [Tue, 24 Oct 2023 19:22:48 +0000 (12:22 -0700)]
reformat some long arg lists
Steve Hancock [Tue, 24 Oct 2023 15:04:44 +0000 (08:04 -0700)]
rewrite several arg lists as hashes for clarity
Steve Hancock [Mon, 23 Oct 2023 14:55:54 +0000 (07:55 -0700)]
check for and warn on non-ascii characters in perltidy modules
These are undesirable. For example, even 1 non-ascii char forces a very slow
check for utf-8 every time perltidy reformats itself, which is often.