perltidy.git
7 weeks agoupdate version for next cpan release 20250105
Steve Hancock [Thu, 2 Jan 2025 19:30:34 +0000 (11:30 -0800)]
update version for next cpan release

7 weeks agoimprove indentation guess for file of only comments
Steve Hancock [Wed, 1 Jan 2025 16:40:20 +0000 (08:40 -0800)]
improve indentation guess for file of only comments

7 weeks agoimprove display of any MANIFEST changes
Steve Hancock [Wed, 1 Jan 2025 16:39:31 +0000 (08:39 -0800)]
improve display of any MANIFEST changes

7 weeks agoallow display of more diffs in sub compare_string_buffers
Steve Hancock [Wed, 1 Jan 2025 16:37:29 +0000 (08:37 -0800)]
allow display of more diffs in sub compare_string_buffers

7 weeks agoadd man page checks
Steve Hancock [Tue, 31 Dec 2024 21:15:49 +0000 (13:15 -0800)]
add man page checks

7 weeks agocleanup; send error output to stderr, not files
Steve Hancock [Tue, 31 Dec 2024 00:40:45 +0000 (16:40 -0800)]
cleanup; send error output to stderr, not files

7 weeks agoreformat, update copyright when date changes
Steve Hancock [Tue, 31 Dec 2024 00:39:59 +0000 (16:39 -0800)]
reformat, update copyright when date changes

7 weeks agoadd comment
Steve Hancock [Mon, 30 Dec 2024 18:18:00 +0000 (10:18 -0800)]
add comment

7 weeks agobump version to 20240903.09 20240903.09
Steve Hancock [Mon, 30 Dec 2024 10:34:47 +0000 (02:34 -0800)]
bump version to 20240903.09

7 weeks agoadd -duk docs
Steve Hancock [Sun, 29 Dec 2024 16:15:26 +0000 (08:15 -0800)]
add -duk docs

8 weeks ago-duk updates
Steve Hancock [Sun, 29 Dec 2024 00:09:31 +0000 (16:09 -0800)]
-duk updates

8 weeks agoadd missing use File::Temp
Steve Hancock [Sat, 28 Dec 2024 04:54:01 +0000 (20:54 -0800)]
add missing use File::Temp

8 weeks agoimprovements for -duk
Steve Hancock [Thu, 26 Dec 2024 02:14:02 +0000 (18:14 -0800)]
improvements for -duk

8 weeks ago-duk recognizes some known hash keys
Steve Hancock [Wed, 25 Dec 2024 15:58:00 +0000 (07:58 -0800)]
-duk recognizes some known hash keys

8 weeks agofix some -duk issues
Steve Hancock [Tue, 24 Dec 2024 23:23:16 +0000 (15:23 -0800)]
fix some -duk issues

8 weeks agoactivate --dump-unique-keys
Steve Hancock [Tue, 24 Dec 2024 17:13:16 +0000 (09:13 -0800)]
activate --dump-unique-keys

2 months agoadd preliminary code for --dump-unique-hash-key
Steve Hancock [Tue, 24 Dec 2024 02:00:34 +0000 (18:00 -0800)]
add preliminary code for --dump-unique-hash-key

2 months agoadd alternate fix for b1502
Steve Hancock [Mon, 23 Dec 2024 23:42:24 +0000 (15:42 -0800)]
add alternate fix for b1502

2 months agoupdate docs
Steve Hancock [Mon, 23 Dec 2024 23:42:12 +0000 (15:42 -0800)]
update docs

2 months agofix b1502
Steve Hancock [Sun, 22 Dec 2024 23:40:59 +0000 (15:40 -0800)]
fix b1502

2 months agoreformat
Steve Hancock [Sun, 22 Dec 2024 23:32:36 +0000 (15:32 -0800)]
reformat

2 months agoreformat
Steve Hancock [Sun, 22 Dec 2024 14:29:27 +0000 (06:29 -0800)]
reformat

2 months agoupdate docs
Steve Hancock [Wed, 18 Dec 2024 04:29:18 +0000 (20:29 -0800)]
update docs

2 months agofix rare indentation issue, c435
Steve Hancock [Mon, 16 Dec 2024 22:58:56 +0000 (14:58 -0800)]
fix rare indentation issue, c435

2 months agoupdate -bom example in docs
Steve Hancock [Mon, 16 Dec 2024 16:45:05 +0000 (08:45 -0800)]
update -bom example in docs

2 months agoupdate docs
Steve Hancock [Mon, 16 Dec 2024 00:49:04 +0000 (16:49 -0800)]
update docs

2 months agominor optimization
Steve Hancock [Fri, 13 Dec 2024 19:43:55 +0000 (11:43 -0800)]
minor optimization

2 months agosimplify new code
Steve Hancock [Fri, 13 Dec 2024 02:19:21 +0000 (18:19 -0800)]
simplify new code

2 months agobump version to 20240903.08 20240903.08
Steve Hancock [Wed, 11 Dec 2024 16:53:11 +0000 (08:53 -0800)]
bump version to 20240903.08

2 months agoimprove breaks at long method call chains, see git #171
Steve Hancock [Wed, 11 Dec 2024 16:03:03 +0000 (08:03 -0800)]
improve breaks at long method call chains, see git #171

2 months agoadd some blank lines
Steve Hancock [Sun, 8 Dec 2024 16:46:56 +0000 (08:46 -0800)]
add some blank lines

2 months agoadd check for non-ascii characters
Steve Hancock [Sun, 8 Dec 2024 15:30:19 +0000 (07:30 -0800)]
add check for non-ascii characters

2 months agoshorten long =item
Steve Hancock [Sun, 8 Dec 2024 15:29:50 +0000 (07:29 -0800)]
shorten long =item

2 months agoupdate docs
Steve Hancock [Sat, 7 Dec 2024 23:48:17 +0000 (15:48 -0800)]
update docs

2 months agoutility to check for minor problems with text
Steve Hancock [Sat, 7 Dec 2024 23:44:21 +0000 (15:44 -0800)]
utility to check for minor problems with text

2 months agodetab
Steve Hancock [Sat, 7 Dec 2024 23:43:55 +0000 (15:43 -0800)]
detab

2 months agoadd util to check line length
Steve Hancock [Sat, 7 Dec 2024 17:44:46 +0000 (09:44 -0800)]
add util to check line length

2 months agoreduced length of all fixed-length lines to <80
Steve Hancock [Sat, 7 Dec 2024 17:43:40 +0000 (09:43 -0800)]
reduced length of all fixed-length lines to <80

2 months agofix some markup tags
Steve Hancock [Sat, 7 Dec 2024 14:29:23 +0000 (06:29 -0800)]
fix some markup tags

2 months agoupdate docs for -bom modification
Steve Hancock [Sat, 7 Dec 2024 00:34:05 +0000 (16:34 -0800)]
update docs for -bom modification

2 months agofix -bom to filter non-method calls; c426
Steve Hancock [Sat, 7 Dec 2024 00:09:47 +0000 (16:09 -0800)]
fix -bom to filter non-method calls; c426

2 months agoupdate test case
Steve Hancock [Fri, 6 Dec 2024 17:37:22 +0000 (09:37 -0800)]
update test case

2 months agofix text
Steve Hancock [Fri, 6 Dec 2024 17:37:08 +0000 (09:37 -0800)]
fix text

2 months agocleanup old code
Steve Hancock [Fri, 6 Dec 2024 14:30:36 +0000 (06:30 -0800)]
cleanup old code

2 months agoadd note for git #174
Steve Hancock [Fri, 6 Dec 2024 14:30:10 +0000 (06:30 -0800)]
add note for git #174

2 months agoupdates for git #174
Steve Hancock [Thu, 5 Dec 2024 16:29:53 +0000 (08:29 -0800)]
updates for git #174

2 months agoadd -mutt documentation
Steve Hancock [Wed, 4 Dec 2024 15:15:52 +0000 (07:15 -0800)]
add -mutt documentation

2 months agoupdate -mutt test
Steve Hancock [Wed, 4 Dec 2024 04:31:07 +0000 (20:31 -0800)]
update -mutt test

2 months agodocument -mutt
Steve Hancock [Wed, 4 Dec 2024 00:32:16 +0000 (16:32 -0800)]
document -mutt

2 months agobump version to 20240903.07 20240903.07
Steve Hancock [Sun, 1 Dec 2024 21:22:10 +0000 (13:22 -0800)]
bump version to 20240903.07

2 months agoadd --indent-leading-semicolon, -ils; see git #171
Steve Hancock [Sun, 1 Dec 2024 17:34:55 +0000 (09:34 -0800)]
add --indent-leading-semicolon, -ils; see git #171

2 months agoadd option --multiple-token-tightness, -mutt
Steve Hancock [Thu, 28 Nov 2024 01:43:43 +0000 (17:43 -0800)]
add option --multiple-token-tightness, -mutt

documentation and test cases are still needed

2 months agooptional sub args can be indicated with extra parens
Steve Hancock [Wed, 27 Nov 2024 01:12:42 +0000 (17:12 -0800)]
optional sub args can be indicated with extra parens

this allows more accurate checking for mismatched sub call args

2 months agoadd missing call arg
Steve Hancock [Tue, 26 Nov 2024 22:58:44 +0000 (14:58 -0800)]
add missing call arg

2 months agofix b1466
Steve Hancock [Tue, 26 Nov 2024 20:17:07 +0000 (12:17 -0800)]
fix b1466

2 months agofix b1501
Steve Hancock [Tue, 26 Nov 2024 17:51:51 +0000 (09:51 -0800)]
fix b1501

2 months agofix b1500
Steve Hancock [Sun, 24 Nov 2024 15:36:18 +0000 (07:36 -0800)]
fix b1500

3 months agofix c424, lost space with -qwaf -naws and '\ )'
Steve Hancock [Sat, 23 Nov 2024 15:31:32 +0000 (07:31 -0800)]
fix c424, lost space with -qwaf -naws and '\ )'

3 months agogeneralize coding for double diamond
Steve Hancock [Fri, 22 Nov 2024 19:16:33 +0000 (11:16 -0800)]
generalize coding for double diamond

3 months agoremove needless closure
Steve Hancock [Fri, 22 Nov 2024 00:09:57 +0000 (16:09 -0800)]
remove needless closure

3 months agoupdate some header comments
Steve Hancock [Thu, 21 Nov 2024 16:33:27 +0000 (08:33 -0800)]
update some header comments

3 months agoreformat some qw lists
Steve Hancock [Thu, 21 Nov 2024 14:37:09 +0000 (06:37 -0800)]
reformat some qw lists

3 months agoremove vars $ri_first, $ri_last from most sub calls
Steve Hancock [Wed, 20 Nov 2024 15:59:13 +0000 (07:59 -0800)]
remove vars $ri_first, $ri_last from most sub calls

3 months agomove var $this_batch into $self
Steve Hancock [Mon, 18 Nov 2024 04:31:36 +0000 (20:31 -0800)]
move var $this_batch into $self

3 months agoupdate comments
Steve Hancock [Sun, 17 Nov 2024 18:02:03 +0000 (10:02 -0800)]
update comments

3 months agoremove unused sub catfile
Steve Hancock [Sat, 16 Nov 2024 18:19:30 +0000 (10:19 -0800)]
remove unused sub catfile

3 months agoadd sub bad_pattern
Steve Hancock [Sat, 16 Nov 2024 18:18:44 +0000 (10:18 -0800)]
add sub bad_pattern

3 months agoupdate comments
Steve Hancock [Sat, 16 Nov 2024 18:18:00 +0000 (10:18 -0800)]
update comments

3 months agoupdate comments
Steve Hancock [Sat, 16 Nov 2024 17:13:20 +0000 (09:13 -0800)]
update comments

3 months agoadd calls to croak
Steve Hancock [Thu, 14 Nov 2024 23:49:10 +0000 (15:49 -0800)]
add calls to croak

3 months agoupdate comments
Steve Hancock [Thu, 14 Nov 2024 14:49:50 +0000 (06:49 -0800)]
update comments

3 months agoadd fault checks
Steve Hancock [Thu, 7 Nov 2024 00:14:35 +0000 (16:14 -0800)]
add fault checks

3 months agoreformat
Steve Hancock [Thu, 7 Nov 2024 00:09:40 +0000 (16:09 -0800)]
reformat

3 months agomake space controls work better around here targets
Steve Hancock [Wed, 6 Nov 2024 22:42:42 +0000 (14:42 -0800)]
make space controls work better around here targets

3 months agooptimization
Steve Hancock [Wed, 6 Nov 2024 01:41:21 +0000 (17:41 -0800)]
optimization

3 months agoMerge pull request #170 from yoshikazusawa/fix-documentation-errors 20240903.06
Steve Hancock [Mon, 4 Nov 2024 01:51:10 +0000 (17:51 -0800)]
Merge pull request #170 from yoshikazusawa/fix-documentation-errors

Fix minor documentation erros in bin/perltidy

3 months agobump version to 20240903.06
Steve Hancock [Mon, 4 Nov 2024 01:09:48 +0000 (17:09 -0800)]
bump version to 20240903.06

3 months agoFix minor documentation erros in bin/perltidy
yoshikazusawa [Mon, 4 Nov 2024 00:55:17 +0000 (09:55 +0900)]
Fix minor documentation erros in bin/perltidy

3 months agoadd missing call parameter
Steve Hancock [Mon, 4 Nov 2024 00:24:45 +0000 (16:24 -0800)]
add missing call parameter

3 months agobump to version 20240903.05 20240903.05
Steve Hancock [Sun, 3 Nov 2024 14:20:47 +0000 (06:20 -0800)]
bump to version 20240903.05

3 months agoeliminate some $_ usage
Steve Hancock [Sun, 3 Nov 2024 01:24:38 +0000 (18:24 -0700)]
eliminate some $_ usage

3 months agoadd -btct test cases
Steve Hancock [Sun, 3 Nov 2024 00:55:22 +0000 (17:55 -0700)]
add -btct test cases

3 months agodocument -btct
Steve Hancock [Sat, 2 Nov 2024 20:09:58 +0000 (13:09 -0700)]
document -btct

3 months agoupdate -btct to have more options
Steve Hancock [Sat, 2 Nov 2024 06:40:05 +0000 (23:40 -0700)]
update -btct to have more options

3 months agoadd case b1497
Steve Hancock [Fri, 1 Nov 2024 23:48:04 +0000 (16:48 -0700)]
add case b1497

3 months agofix b1499
Steve Hancock [Fri, 1 Nov 2024 23:39:45 +0000 (16:39 -0700)]
fix b1499

3 months agofix b1498
Steve Hancock [Thu, 31 Oct 2024 15:25:44 +0000 (08:25 -0700)]
fix b1498

3 months agocorrect documentation for --delete-old-whitespace
Steve Hancock [Thu, 31 Oct 2024 00:38:24 +0000 (17:38 -0700)]
correct documentation for --delete-old-whitespace

3 months agofix b1495
Steve Hancock [Wed, 30 Oct 2024 19:44:36 +0000 (12:44 -0700)]
fix b1495

3 months agofix b1496
Steve Hancock [Wed, 30 Oct 2024 00:07:14 +0000 (17:07 -0700)]
fix b1496

3 months agocode cleanups
Steve Hancock [Tue, 29 Oct 2024 23:58:45 +0000 (16:58 -0700)]
code cleanups

3 months agoadd --break-at-trailing-comma-types, -btct
Steve Hancock [Mon, 28 Oct 2024 23:07:32 +0000 (16:07 -0700)]
add --break-at-trailing-comma-types, -btct

4 months agocleanup logic
Steve Hancock [Thu, 24 Oct 2024 00:53:13 +0000 (17:53 -0700)]
cleanup logic

4 months agofix wording
Steve Hancock [Wed, 23 Oct 2024 22:11:32 +0000 (15:11 -0700)]
fix wording

4 months agomark containers with here-docs as broken
Steve Hancock [Wed, 23 Oct 2024 21:46:55 +0000 (14:46 -0700)]
mark containers with here-docs as broken

4 months agofix stability issue b1492
Steve Hancock [Wed, 23 Oct 2024 13:58:27 +0000 (06:58 -0700)]
fix stability issue b1492

4 months agoMerge branch 'master' of git+ssh://github.com/perltidy/perltidy
Steve Hancock [Tue, 22 Oct 2024 23:45:05 +0000 (16:45 -0700)]
Merge branch 'master' of git+ssh://github.com/perltidy/perltidy

4 months agoMerge pull request #168 from scop/pre-commit-stages
Steve Hancock [Tue, 22 Oct 2024 23:44:15 +0000 (16:44 -0700)]
Merge pull request #168 from scop/pre-commit-stages

Add default list of stages for pre-commit hook

4 months agoMerge pull request #167 from scop/spelling
Steve Hancock [Tue, 22 Oct 2024 23:42:06 +0000 (16:42 -0700)]
Merge pull request #167 from scop/spelling

Spelling fixes

4 months agoAdd default list of stages for pre-commit hook
Ville Skyttä [Tue, 22 Oct 2024 21:09:03 +0000 (00:09 +0300)]
Add default list of stages for pre-commit hook

The pre-commit default of running in all possible stages is not quite
optimal for perltidy. Follow upstream advice:

https://pre-commit.com/#confining-hooks-to-run-at-certain-stages

> If you are authoring a tool, it is usually a good idea to provide an
> appropriate stages property. For example a reasonable setting for a
> linter or code formatter would be stages:
> [pre-commit, pre-merge-commit, pre-push, manual].