]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
16 months agoupdate comments on unused variables
Steve Hancock [Sat, 10 Feb 2024 15:00:09 +0000 (07:00 -0800)]
update comments on unused variables

add emphasis that not all unused variables are 'bad', as asserted by some

16 months agoinsure that spacing follows rules when adding ',' and '->'
Steve Hancock [Sat, 10 Feb 2024 14:14:49 +0000 (06:14 -0800)]
insure that spacing follows rules when adding ',' and '->'

This will avoid requiring an extra iteration in most cases

16 months agoindicate location of error parsing -ias=s with underline
Steve Hancock [Fri, 9 Feb 2024 14:56:59 +0000 (06:56 -0800)]
indicate location of error parsing -ias=s with underline

16 months agobump to v20240202.01 20240202.01
Steve Hancock [Fri, 9 Feb 2024 01:58:26 +0000 (17:58 -0800)]
bump to v20240202.01

16 months agofix spacing when deleting arrows
Steve Hancock [Fri, 9 Feb 2024 01:35:11 +0000 (17:35 -0800)]
fix spacing when deleting arrows

16 months agoadd test cases
Steve Hancock [Fri, 9 Feb 2024 01:06:13 +0000 (17:06 -0800)]
add test cases

16 months agoadd comment
Steve Hancock [Fri, 9 Feb 2024 01:05:55 +0000 (17:05 -0800)]
add comment

16 months agoimprove wording
Steve Hancock [Fri, 9 Feb 2024 01:05:25 +0000 (17:05 -0800)]
improve wording

16 months agouse numerical sort
Steve Hancock [Fri, 9 Feb 2024 00:20:36 +0000 (16:20 -0800)]
use numerical sort

This should be a numerical sort, although it will not normally matter.

16 months agoadd interbracket arrow control options
Steve Hancock [Thu, 8 Feb 2024 16:22:28 +0000 (08:22 -0800)]
add interbracket arrow control options

16 months agoimprove error message for missing brace
Steve Hancock [Sun, 4 Feb 2024 23:14:49 +0000 (15:14 -0800)]
improve error message for missing brace

16 months agoupdate -vsn logic for for single number columns
Steve Hancock [Sun, 4 Feb 2024 22:30:39 +0000 (14:30 -0800)]
update -vsn logic for for single number columns

16 months agooptimization - eliminate sub store_block_type
Steve Hancock [Fri, 2 Feb 2024 18:21:41 +0000 (10:21 -0800)]
optimization - eliminate sub store_block_type

16 months agoremove obsolete bug warnings
Steve Hancock [Fri, 2 Feb 2024 18:19:51 +0000 (10:19 -0800)]
remove obsolete bug warnings

As far as I know these issues have been fixed

16 months agofix spelling
Steve Hancock [Fri, 2 Feb 2024 01:19:35 +0000 (17:19 -0800)]
fix spelling

16 months agominor optimization
Steve Hancock [Fri, 2 Feb 2024 01:14:19 +0000 (17:14 -0800)]
minor optimization

16 months agoswitch web address from rt to github
Steve Hancock [Fri, 2 Feb 2024 01:13:01 +0000 (17:13 -0800)]
switch web address from rt to github

16 months agooptimization - eliminate unused array
Steve Hancock [Thu, 1 Feb 2024 23:51:34 +0000 (15:51 -0800)]
optimization - eliminate unused array

16 months agooptimization to avoid regex
Steve Hancock [Thu, 1 Feb 2024 23:51:13 +0000 (15:51 -0800)]
optimization to avoid regex

16 months agoupdate to v20240202 20240202
Steve Hancock [Wed, 31 Jan 2024 16:49:18 +0000 (08:49 -0800)]
update to v20240202

16 months agoupdate comments, remove some line-ending spaces
Steve Hancock [Tue, 30 Jan 2024 15:08:03 +0000 (07:08 -0800)]
update comments, remove some line-ending spaces

16 months agoactivate format skipping to tokenizer
Steve Hancock [Sun, 28 Jan 2024 14:19:07 +0000 (06:19 -0800)]
activate format skipping to tokenizer

this will improve diagnostics in case of a brace error

16 months agounify code skipping and format skipping logic in tokenizer
Steve Hancock [Sun, 28 Jan 2024 02:03:40 +0000 (18:03 -0800)]
unify code skipping and format skipping logic in tokenizer

16 months agoprepare tokenizer to add format-skipping check
Steve Hancock [Sun, 28 Jan 2024 00:02:46 +0000 (16:02 -0800)]
prepare tokenizer to add format-skipping check

16 months agoupdate closing brace indentation checks
Steve Hancock [Sat, 27 Jan 2024 00:04:56 +0000 (16:04 -0800)]
update closing brace indentation checks

16 months agofix unbraced file handle
Steve Hancock [Fri, 26 Jan 2024 15:39:15 +0000 (07:39 -0800)]
fix unbraced file handle

16 months agoadd hint in error output to help locate a missing brace
Steve Hancock [Fri, 26 Jan 2024 01:51:28 +0000 (17:51 -0800)]
add hint in error output to help locate a missing brace

16 months agovsn fix for single item in list
Steve Hancock [Wed, 24 Jan 2024 13:33:38 +0000 (05:33 -0800)]
vsn fix for single item in list

16 months agofix b1465 20230912.13
Steve Hancock [Mon, 22 Jan 2024 02:27:47 +0000 (18:27 -0800)]
fix b1465

16 months agoadditional internal checks added to -vsn
Steve Hancock [Mon, 22 Jan 2024 01:51:32 +0000 (17:51 -0800)]
additional internal checks added to -vsn

16 months agoupdate html
Steve Hancock [Sun, 21 Jan 2024 01:24:41 +0000 (17:24 -0800)]
update html

16 months agoadd internal checks for -vsn code and update tests
Steve Hancock [Sun, 21 Jan 2024 01:19:54 +0000 (17:19 -0800)]
add internal checks for -vsn code and update tests

16 months agobump version to 20230912.13
Steve Hancock [Sat, 20 Jan 2024 23:09:30 +0000 (15:09 -0800)]
bump version to 20230912.13

16 months agofix minor issue flagged by PC
Steve Hancock [Sat, 20 Jan 2024 00:42:28 +0000 (16:42 -0800)]
fix minor issue flagged by PC

16 months agofix: --warn-call-parens should be --want-call-parens, etc
Steve Hancock [Sat, 20 Jan 2024 00:40:41 +0000 (16:40 -0800)]
fix: --warn-call-parens should be --want-call-parens, etc

16 months agoupdate -vsn
Steve Hancock [Sat, 20 Jan 2024 00:23:27 +0000 (16:23 -0800)]
update -vsn

16 months agoMerge pull request #132 from Amorymeltzer/patch-1
Steve Hancock [Tue, 16 Jan 2024 14:34:25 +0000 (06:34 -0800)]
Merge pull request #132 from Amorymeltzer/patch-1

Minor typo fix

16 months agoMinor typo
Amory Meltzer [Tue, 16 Jan 2024 13:59:38 +0000 (08:59 -0500)]
Minor typo

17 months agoMerge pull request #131 from pjcj/spelling
Steve Hancock [Mon, 15 Jan 2024 19:06:36 +0000 (11:06 -0800)]
Merge pull request #131 from pjcj/spelling

Fix a few spelling and grammar mistakes

17 months agofix b1464
Steve Hancock [Mon, 15 Jan 2024 15:23:36 +0000 (07:23 -0800)]
fix b1464

17 months agoFix a few spelling and grammar mistakes
Paul Johnson [Mon, 15 Jan 2024 13:22:25 +0000 (14:22 +0100)]
Fix a few spelling and grammar mistakes

17 months agoadd -vsn
Steve Hancock [Mon, 15 Jan 2024 01:27:37 +0000 (17:27 -0800)]
add -vsn

17 months agoupdate docs
Steve Hancock [Sun, 14 Jan 2024 23:15:28 +0000 (15:15 -0800)]
update docs

17 months agoupdate stylekey.pod
Steve Hancock [Mon, 8 Jan 2024 16:29:26 +0000 (08:29 -0800)]
update stylekey.pod

update links, add info on -wn. Removed ref to tidyview because it
seems to be unmaintained and failing tests.

17 months agosmall optimization - avoid storing an undef
Steve Hancock [Mon, 8 Jan 2024 01:52:50 +0000 (17:52 -0800)]
small optimization - avoid storing an undef

17 months agoimprove input checking for -wvt=s
Steve Hancock [Sun, 7 Jan 2024 18:05:53 +0000 (10:05 -0800)]
improve input checking for -wvt=s

This stops on something like '*s', since a '*' does not make sense mixed with
other parameters.

17 months agoadd trailing commas to multiline hash lists
Steve Hancock [Sun, 7 Jan 2024 18:05:21 +0000 (10:05 -0800)]
add trailing commas to multiline hash lists

17 months agobump to version 20230912.12 20230912.12
Steve Hancock [Sun, 7 Jan 2024 01:53:34 +0000 (17:53 -0800)]
bump to version 20230912.12

This should be close to the next release to CPAN

17 months agoupdate some closing side comments to keep perlcritic happy
Steve Hancock [Sun, 7 Jan 2024 00:56:15 +0000 (16:56 -0800)]
update some closing side comments to keep perlcritic happy

17 months agoadd a perltidyrc file to automate some checks
Steve Hancock [Sun, 7 Jan 2024 00:55:45 +0000 (16:55 -0800)]
add a perltidyrc file to automate some checks

17 months agosimplification and optimization of a main loop
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

17 months agoadded a .perltidyrc file
Steve Hancock [Sun, 7 Jan 2024 00:15:40 +0000 (16:15 -0800)]
added a .perltidyrc file

17 months agochange -wvt=string to require space- or comma-separated vars
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

17 months agoupdate tutorial
Steve Hancock [Sat, 6 Jan 2024 01:14:17 +0000 (17:14 -0800)]
update tutorial

17 months agoThe -DEBUG option no longer also writes a .LOG file
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.

17 months agooptimizations
Steve Hancock [Fri, 5 Jan 2024 04:44:16 +0000 (20:44 -0800)]
optimizations

17 months agoupdate list of switches which may be negated
Steve Hancock [Thu, 4 Jan 2024 23:22:49 +0000 (15:22 -0800)]
update list of switches which may be negated

17 months agoimprove structure of manual
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"

17 months agofix typo
Steve Hancock [Thu, 4 Jan 2024 14:49:58 +0000 (06:49 -0800)]
fix typo

17 months agoremove unused vars located with -duv
Steve Hancock [Thu, 4 Jan 2024 14:49:19 +0000 (06:49 -0800)]
remove unused vars located with -duv

17 months agoavoid reused name
Steve Hancock [Thu, 4 Jan 2024 14:32:40 +0000 (06:32 -0800)]
avoid reused name

17 months agoadd 2 missing elses using -ame
Steve Hancock [Thu, 4 Jan 2024 02:24:56 +0000 (18:24 -0800)]
add 2 missing elses using -ame

17 months agowrite initializer for -wvt; remove unused vars found with -duv
Steve Hancock [Thu, 4 Jan 2024 02:21:26 +0000 (18:21 -0800)]
write initializer for -wvt; remove unused vars found with -duv

17 months agoremove some unused vars located with -duv
Steve Hancock [Thu, 4 Jan 2024 02:20:55 +0000 (18:20 -0800)]
remove some unused vars located with -duv

17 months agoadd example to docs
Steve Hancock [Wed, 3 Jan 2024 16:29:36 +0000 (08:29 -0800)]
add example to docs

17 months agominor optimization of sub undo_ci
Steve Hancock [Wed, 3 Jan 2024 16:03:20 +0000 (08:03 -0800)]
minor optimization of sub undo_ci

17 months agofix numerous issues in examples found with -duv
Steve Hancock [Wed, 3 Jan 2024 02:50:29 +0000 (18:50 -0800)]
fix numerous issues in examples found with -duv

17 months agoskip certain operations during iterations
Steve Hancock [Tue, 2 Jan 2024 22:46:23 +0000 (14:46 -0800)]
skip certain operations during iterations

17 months agosimplify Die and Warn calls
Steve Hancock [Tue, 2 Jan 2024 15:41:31 +0000 (07:41 -0800)]
simplify Die and Warn calls

17 months agoimprove error checking
Steve Hancock [Tue, 2 Jan 2024 15:39:19 +0000 (07:39 -0800)]
improve error checking

17 months agofix typos, simplify wording
Steve Hancock [Tue, 2 Jan 2024 15:38:57 +0000 (07:38 -0800)]
fix typos, simplify wording

17 months agobump version to 20230912.11 20230912.11
Steve Hancock [Tue, 2 Jan 2024 01:49:49 +0000 (17:49 -0800)]
bump version to 20230912.11

17 months agofix issue where -nwcp without -wcp was not working
Steve Hancock [Tue, 2 Jan 2024 01:43:13 +0000 (17:43 -0800)]
fix issue where -nwcp without -wcp was not working

17 months agobump version to 20230912.10 20230912.10
Steve Hancock [Tue, 2 Jan 2024 00:37:09 +0000 (16:37 -0800)]
bump version to 20230912.10

17 months agosplit -wcp=s into -wcp=s and -nwcp=s to simplify use
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

17 months agowarn about v-string and x-operator hash keys
Steve Hancock [Mon, 1 Jan 2024 21:21:29 +0000 (13:21 -0800)]
warn about v-string and x-operator hash keys

17 months agoconsolidate duplicated hashes
Steve Hancock [Mon, 1 Jan 2024 15:40:48 +0000 (07:40 -0800)]
consolidate duplicated hashes

17 months agoadd --dump-mixed-call-parens (-dmcp); bump version 20230912.09
Steve Hancock [Sun, 31 Dec 2023 23:46:15 +0000 (15:46 -0800)]
add --dump-mixed-call-parens (-dmcp); bump version

17 months agobump version to 20230912.08 20230912.08
Steve Hancock [Sun, 31 Dec 2023 00:03:23 +0000 (16:03 -0800)]
bump version to 20230912.08

17 months agoadd option --want-call-parens=s, see git #128
Steve Hancock [Sat, 30 Dec 2023 22:12:30 +0000 (14:12 -0800)]
add option --want-call-parens=s, see git #128

17 months agofix c316: remove sub do_QUOTED_BAREWORD
Steve Hancock [Sat, 30 Dec 2023 03:17:43 +0000 (19:17 -0800)]
fix c316: remove sub do_QUOTED_BAREWORD

17 months agominor code cleanups
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

17 months agoupdate -duv to work better with v5.36 experimental for_list
Steve Hancock [Sat, 23 Dec 2023 16:14:37 +0000 (08:14 -0800)]
update -duv to work better with v5.36 experimental for_list

17 months agoupdate links, add section on vertical alignment
Steve Hancock [Wed, 20 Dec 2023 23:56:43 +0000 (15:56 -0800)]
update links, add section on vertical alignment

17 months agobe sure Klast is undef if Kfirst is undef
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

17 months agoadd section on list formatting
Steve Hancock [Wed, 20 Dec 2023 15:55:40 +0000 (07:55 -0800)]
add section on list formatting

17 months agoupdate docs
Steve Hancock [Tue, 19 Dec 2023 15:58:12 +0000 (07:58 -0800)]
update docs

17 months agoupdate comments
Steve Hancock [Mon, 18 Dec 2023 23:13:12 +0000 (15:13 -0800)]
update comments

17 months agooptimize -wvt
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

17 months agoimprove code for finding unused vars in if-chains with -duv
Steve Hancock [Mon, 18 Dec 2023 00:58:36 +0000 (16:58 -0800)]
improve code for finding unused vars in if-chains with -duv

18 months agoadd check for missing string parameter, c312
Steve Hancock [Sat, 16 Dec 2023 15:10:56 +0000 (07:10 -0800)]
add check for missing string parameter, c312

18 months agobump to 20230912.07 20230912.07
Steve Hancock [Thu, 14 Dec 2023 18:37:43 +0000 (10:37 -0800)]
bump to 20230912.07

18 months agoimprove scan for unused vars
Steve Hancock [Thu, 14 Dec 2023 16:05:40 +0000 (08:05 -0800)]
improve scan for unused vars

18 months agochange dv to duv, wv to wvt=s
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)

18 months agofix minor issues found with -wv
Steve Hancock [Tue, 12 Dec 2023 16:20:06 +0000 (08:20 -0800)]
fix minor issues found with -wv

18 months agofix some minor issues found with -dv
Steve Hancock [Tue, 12 Dec 2023 00:58:56 +0000 (16:58 -0800)]
fix some minor issues found with -dv

18 months agoupdate examples
Steve Hancock [Mon, 11 Dec 2023 15:57:09 +0000 (07:57 -0800)]
update examples

18 months agoexclude all dump- parameters from random testing
Steve Hancock [Mon, 11 Dec 2023 15:37:48 +0000 (07:37 -0800)]
exclude all dump- parameters from random testing

18 months agoeliminate all issues identified with -wv
Steve Hancock [Mon, 11 Dec 2023 01:34:00 +0000 (17:34 -0800)]
eliminate all issues identified with -wv

18 months agoupdate docs
Steve Hancock [Mon, 11 Dec 2023 01:33:51 +0000 (17:33 -0800)]
update docs