]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
15 months agoimprove arg count for -wmat
Steve Hancock [Wed, 3 Apr 2024 01:40:22 +0000 (18:40 -0700)]
improve arg count for -wmat

15 months agoadd warning for combination -wmat and -io
Steve Hancock [Tue, 2 Apr 2024 17:47:55 +0000 (10:47 -0700)]
add warning for combination -wmat and -io

16 months agoignore my subs for -dma -wmat
Steve Hancock [Mon, 1 Apr 2024 00:23:18 +0000 (17:23 -0700)]
ignore my subs for -dma -wmat

16 months agosimplify wording for -wmacc=n
Steve Hancock [Mon, 1 Apr 2024 00:22:42 +0000 (17:22 -0700)]
simplify wording for -wmacc=n

16 months agoextend coding and docs for -dma and -wmat
Steve Hancock [Sun, 31 Mar 2024 18:00:54 +0000 (11:00 -0700)]
extend coding and docs for -dma and -wmat

16 months agoinitial coding for --warn-mismatched-call-types
Steve Hancock [Sat, 30 Mar 2024 02:13:38 +0000 (19:13 -0700)]
initial coding for --warn-mismatched-call-types

16 months agofix some c353 edge cases
Steve Hancock [Thu, 28 Mar 2024 20:22:43 +0000 (13:22 -0700)]
fix some c353 edge cases

16 months agofix issue c353
Steve Hancock [Wed, 27 Mar 2024 00:13:36 +0000 (17:13 -0700)]
fix issue c353

16 months agobump version to 20240202.03 20240202.03
Steve Hancock [Mon, 25 Mar 2024 23:00:49 +0000 (16:00 -0700)]
bump version to 20240202.03

16 months agofix c352
Steve Hancock [Mon, 25 Mar 2024 22:17:51 +0000 (15:17 -0700)]
fix c352

16 months agoadd option --valign-wide-equals, -vme, see git #135
Steve Hancock [Mon, 25 Mar 2024 15:00:14 +0000 (08:00 -0700)]
add option --valign-wide-equals, -vme, see git #135

16 months agoremove unused line
Steve Hancock [Sun, 24 Mar 2024 01:35:08 +0000 (18:35 -0700)]
remove unused line

16 months ago--dump-block-summary sub arg count now includes any $self
Steve Hancock [Sat, 23 Mar 2024 19:54:37 +0000 (12:54 -0700)]
--dump-block-summary sub arg count now includes any $self

16 months agoOperator **= now has spaces on both sides by default (c349)
Steve Hancock [Sat, 23 Mar 2024 19:32:24 +0000 (12:32 -0700)]
Operator **= now has spaces on both sides by default (c349)

16 months agoadd missing $self to warnings
Steve Hancock [Sun, 17 Mar 2024 01:08:44 +0000 (18:08 -0700)]
add missing $self to warnings

These were found with a new option being developed. These errors
have never happened so the problem was not detected before.
Also checking to see if latest github error goes away.

16 months agoimprove formatting of git #134
Steve Hancock [Sat, 16 Mar 2024 18:53:58 +0000 (11:53 -0700)]
improve formatting of git #134

16 months agogeneralize code for finding self name for future development
Steve Hancock [Sun, 3 Mar 2024 17:35:05 +0000 (09:35 -0800)]
generalize code for finding self name for future development

16 months agoadd caller name to hash of sub calls
Steve Hancock [Sat, 2 Mar 2024 23:14:12 +0000 (15:14 -0800)]
add caller name to hash of sub calls

17 months agoadditional -wmac coding
Steve Hancock [Fri, 1 Mar 2024 15:06:23 +0000 (07:06 -0800)]
additional -wmac coding

17 months agofix b1467
Steve Hancock [Thu, 29 Feb 2024 20:27:17 +0000 (12:27 -0800)]
fix b1467

17 months agoadd framework for future --warn-mixed-call-args
Steve Hancock [Wed, 28 Feb 2024 15:03:07 +0000 (07:03 -0800)]
add framework for future --warn-mixed-call-args

17 months agoadd flat package list
Steve Hancock [Sun, 25 Feb 2024 13:24:16 +0000 (05:24 -0800)]
add flat package list

17 months agoimprove code to lookup package info
Steve Hancock [Fri, 23 Feb 2024 18:50:29 +0000 (10:50 -0800)]
improve code to lookup package info

17 months agoadd devel mode arg count check on subs with >6 args
Steve Hancock [Wed, 21 Feb 2024 14:51:34 +0000 (06:51 -0800)]
add devel mode arg count check on subs with >6 args

17 months agotest to see if this works on older versions of perl
Steve Hancock [Tue, 20 Feb 2024 16:02:29 +0000 (08:02 -0800)]
test to see if this works on older versions of perl

This declares a 'my' var within if parens for convenience;

17 months agotokenizer optimization
Steve Hancock [Tue, 20 Feb 2024 15:28:45 +0000 (07:28 -0800)]
tokenizer optimization

saves about 0.25% run time by avoiding numerous calls

17 months agominor tokenizer optimization
Steve Hancock [Tue, 20 Feb 2024 01:25:21 +0000 (17:25 -0800)]
minor tokenizer optimization

17 months agob1466
Steve Hancock [Mon, 19 Feb 2024 18:08:57 +0000 (10:08 -0800)]
b1466

17 months ago-fso, --file-size-order, is now the default
Steve Hancock [Mon, 19 Feb 2024 02:50:23 +0000 (18:50 -0800)]
-fso, --file-size-order, is now the default

17 months ago-vsn is now default; bump version to .02 20240202.02
Steve Hancock [Sun, 18 Feb 2024 00:37:04 +0000 (16:37 -0800)]
-vsn is now default; bump version to .02

17 months agoimprove -vsn edge cases
Steve Hancock [Fri, 16 Feb 2024 17:35:18 +0000 (09:35 -0800)]
improve -vsn edge cases

17 months agominor -vsn improvements
Steve Hancock [Thu, 15 Feb 2024 02:57:41 +0000 (18:57 -0800)]
minor -vsn improvements

17 months agoadjust -drc for repeated commas across line breaks
Steve Hancock [Thu, 15 Feb 2024 00:57:09 +0000 (16:57 -0800)]
adjust -drc for repeated commas across line breaks

17 months agomake --delete-repeated-commas the default
Steve Hancock [Wed, 14 Feb 2024 15:53:17 +0000 (07:53 -0800)]
make --delete-repeated-commas the default

17 months agoadjust -vsn
Steve Hancock [Wed, 14 Feb 2024 15:52:55 +0000 (07:52 -0800)]
adjust -vsn

17 months agoadjust -vsn rules
Steve Hancock [Tue, 13 Feb 2024 16:01:57 +0000 (08:01 -0800)]
adjust -vsn rules

17 months agoelimininate wantarray
Steve Hancock [Mon, 12 Feb 2024 00:36:16 +0000 (16:36 -0800)]
elimininate wantarray

Now only the final debug return uses wantarray

17 months agostarting to convert perltidy to use interbracket arrorw
Steve Hancock [Sun, 11 Feb 2024 23:30:55 +0000 (15:30 -0800)]
starting to convert perltidy to use interbracket arrorw

Right now about 80% of the source uses arrows, so this will
produce a uniform style.

17 months agoupdate -drc to delete repeated fat commas
Steve Hancock [Sun, 11 Feb 2024 02:32:18 +0000 (18:32 -0800)]
update -drc to delete repeated fat commas

17 months ago-drc should only delete commas repeated on the same line
Steve Hancock [Sat, 10 Feb 2024 15:11:51 +0000 (07:11 -0800)]
-drc should only delete commas repeated on the same line

this avoids converting a side comment to a block comment

17 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

17 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

17 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

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

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

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

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

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

17 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.

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

17 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

17 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

17 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

17 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

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

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

17 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

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

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

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

18 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

18 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

18 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

18 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

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

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

18 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

18 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

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

18 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

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

18 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

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

18 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

18 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

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

18 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

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

18 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

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

18 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

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

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

18 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.

18 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

18 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.

18 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

18 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

18 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

18 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

18 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

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

18 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

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

18 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.

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

18 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

18 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"

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

18 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