]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
4 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

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

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

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

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

4 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 '\ )'

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

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

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

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

4 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

5 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

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

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

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

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

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

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

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

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

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

5 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

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

5 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

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

5 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

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

5 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

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

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

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

5 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

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

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

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

5 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

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

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

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

5 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

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

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

5 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

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

5 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

5 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

5 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

5 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].

5 months agoSpelling fixes
Ville Skyttä [Tue, 22 Oct 2024 21:03:21 +0000 (00:03 +0300)]
Spelling fixes

5 months agosimplify sub to weld qw quotes
Steve Hancock [Mon, 21 Oct 2024 14:21:32 +0000 (07:21 -0700)]
simplify sub to weld qw quotes

5 months agoadd safety checks for several while loops
Steve Hancock [Sun, 20 Oct 2024 14:41:40 +0000 (07:41 -0700)]
add safety checks for several while loops

5 months agoadd checks
Steve Hancock [Sat, 19 Oct 2024 03:38:09 +0000 (20:38 -0700)]
add checks

5 months agouse BACKSLASH constant
Steve Hancock [Sat, 19 Oct 2024 01:27:37 +0000 (18:27 -0700)]
use BACKSLASH constant

5 months agoadd some loop safety checks
Steve Hancock [Sat, 19 Oct 2024 00:13:16 +0000 (17:13 -0700)]
add some loop safety checks

5 months agosimplify
Steve Hancock [Sat, 19 Oct 2024 00:13:03 +0000 (17:13 -0700)]
simplify

6 months agoconsolidate some here-doc code
Steve Hancock [Fri, 18 Oct 2024 22:03:44 +0000 (15:03 -0700)]
consolidate some here-doc code

6 months agofix instability b1491
Steve Hancock [Wed, 16 Oct 2024 23:52:58 +0000 (16:52 -0700)]
fix instability b1491

6 months agofix -qwaf issue with backslash before closing paren, c414
Steve Hancock [Wed, 16 Oct 2024 00:21:15 +0000 (17:21 -0700)]
fix -qwaf issue with backslash before closing paren, c414

6 months agomove some subs to the utils section
Steve Hancock [Tue, 15 Oct 2024 23:55:29 +0000 (16:55 -0700)]
move some subs to the utils section

6 months agoconsolidate some common code
Steve Hancock [Tue, 15 Oct 2024 21:23:35 +0000 (14:23 -0700)]
consolidate some common code

6 months agosimplification
Steve Hancock [Mon, 14 Oct 2024 20:40:40 +0000 (13:40 -0700)]
simplification

6 months agofix some comments
Steve Hancock [Mon, 14 Oct 2024 20:40:29 +0000 (13:40 -0700)]
fix some comments

6 months agoconvert a while loop to for loop
Steve Hancock [Sun, 13 Oct 2024 21:15:15 +0000 (14:15 -0700)]
convert a while loop to for loop

6 months agofix two-line shear, issue c406
Steve Hancock [Fri, 11 Oct 2024 14:20:49 +0000 (07:20 -0700)]
fix two-line shear, issue c406

6 months agosimplify sub compare_string_buffers
Steve Hancock [Wed, 9 Oct 2024 15:30:57 +0000 (08:30 -0700)]
simplify sub compare_string_buffers

6 months agocode cleanup
Steve Hancock [Tue, 8 Oct 2024 22:13:17 +0000 (15:13 -0700)]
code cleanup

6 months agosome simplifications and minor optimization
Steve Hancock [Mon, 7 Oct 2024 19:44:49 +0000 (12:44 -0700)]
some simplifications and minor optimization

6 months agofix spelling
Steve Hancock [Mon, 7 Oct 2024 02:08:16 +0000 (19:08 -0700)]
fix spelling

6 months agomove search for files defined by a glob upstream
Steve Hancock [Sun, 6 Oct 2024 21:44:52 +0000 (14:44 -0700)]
move search for files defined by a glob upstream

Previously, files discovered with an input wildcard were not
sorted by size if requested. Also, this changed allows an
error message in the event that no matching files are found.

6 months agoadd closing side comments on while loops
Steve Hancock [Sun, 6 Oct 2024 14:36:45 +0000 (07:36 -0700)]
add closing side comments on while loops

6 months agobump version to 20240903.04 20240903.04
Steve Hancock [Sat, 5 Oct 2024 20:21:59 +0000 (13:21 -0700)]
bump version to 20240903.04

6 months agofix for git #165
Steve Hancock [Sat, 5 Oct 2024 20:07:30 +0000 (13:07 -0700)]
fix for git #165

6 months agosimplify several while loops
Steve Hancock [Sat, 5 Oct 2024 19:59:57 +0000 (12:59 -0700)]
simplify several while loops

6 months agoallow 0 as filename for script files or profiles
Steve Hancock [Fri, 4 Oct 2024 20:02:02 +0000 (13:02 -0700)]
allow 0 as filename for script files or profiles

6 months agoallow quoted lists to span multiple lines in a perltidrc
Steve Hancock [Thu, 3 Oct 2024 19:05:15 +0000 (12:05 -0700)]
allow quoted lists to span multiple lines in a perltidrc

6 months agoreduce max known iterations to converge (b878)
Steve Hancock [Wed, 2 Oct 2024 14:03:46 +0000 (07:03 -0700)]
reduce max known iterations to converge (b878)

This involved the unusual combination of using -boc on a list with line breaks
both before and after commas. This was a simple fix. The max known number of
iterations to converge is now 3 instead of 5.

6 months agouse uniform paren style for several keywords
Steve Hancock [Tue, 1 Oct 2024 14:08:33 +0000 (07:08 -0700)]
use uniform paren style for several keywords

6 months agoupdate docs
Steve Hancock [Tue, 1 Oct 2024 14:08:15 +0000 (07:08 -0700)]
update docs

6 months agofix some minor phantom comma issues
Steve Hancock [Mon, 30 Sep 2024 04:04:37 +0000 (21:04 -0700)]
fix some minor phantom comma issues

6 months agofix c314, c400
Steve Hancock [Sun, 29 Sep 2024 22:35:43 +0000 (15:35 -0700)]
fix c314, c400

6 months agoupdate docs
Steve Hancock [Sun, 29 Sep 2024 15:42:05 +0000 (08:42 -0700)]
update docs

6 months agoadd error checks
Steve Hancock [Fri, 27 Sep 2024 14:15:10 +0000 (07:15 -0700)]
add error checks

6 months agoupdate docs
Steve Hancock [Fri, 27 Sep 2024 14:14:49 +0000 (07:14 -0700)]
update docs

6 months agorevise fix for b1455
Steve Hancock [Fri, 27 Sep 2024 13:30:19 +0000 (06:30 -0700)]
revise fix for b1455

6 months agodo not add a , after a =>
Steve Hancock [Fri, 27 Sep 2024 01:39:39 +0000 (18:39 -0700)]
do not add a , after a =>

6 months agobump version to 20240903.03 20240903.03
Steve Hancock [Thu, 26 Sep 2024 00:19:24 +0000 (17:19 -0700)]
bump version to 20240903.03

6 months agoupdate docs
Steve Hancock [Thu, 26 Sep 2024 00:08:32 +0000 (17:08 -0700)]
update docs

6 months agoadd + and - prefixes to -wtc controls
Steve Hancock [Wed, 25 Sep 2024 00:51:37 +0000 (17:51 -0700)]
add + and - prefixes to -wtc controls

6 months agorefine rules for checking stability of edge cases
Steve Hancock [Tue, 24 Sep 2024 00:08:12 +0000 (17:08 -0700)]
refine rules for checking stability of edge cases

6 months agofix spelling; fix saved iteration number
Steve Hancock [Tue, 24 Sep 2024 00:07:16 +0000 (17:07 -0700)]
fix spelling; fix saved iteration number

6 months agoupdate docs
Steve Hancock [Tue, 24 Sep 2024 00:06:34 +0000 (17:06 -0700)]
update docs

6 months agoadd cases b1489 b1490
Steve Hancock [Tue, 24 Sep 2024 00:06:09 +0000 (17:06 -0700)]
add cases b1489 b1490

6 months agomake -altc default
Steve Hancock [Fri, 20 Sep 2024 04:26:42 +0000 (21:26 -0700)]
make -altc default

7 months agoresolve -qwaf instability b1487
Steve Hancock [Mon, 16 Sep 2024 17:27:32 +0000 (10:27 -0700)]
resolve -qwaf instability b1487

7 months agofix b1487, b1488
Steve Hancock [Sun, 15 Sep 2024 13:32:18 +0000 (06:32 -0700)]
fix b1487, b1488

7 months agobump version to 20240903.02 20240903.02
Steve Hancock [Sat, 14 Sep 2024 16:39:25 +0000 (09:39 -0700)]
bump version to 20240903.02

7 months agofix -qwaf instabilities b1482 b1485
Steve Hancock [Sat, 14 Sep 2024 13:52:51 +0000 (06:52 -0700)]
fix -qwaf instabilities b1482 b1485

7 months agoextend -atc to handle more edge cases (git #143)
Steve Hancock [Sat, 14 Sep 2024 12:47:36 +0000 (05:47 -0700)]
extend -atc to handle more edge cases (git #143)

7 months agofix convergence issue for git #156
Steve Hancock [Fri, 13 Sep 2024 20:20:01 +0000 (13:20 -0700)]
fix convergence issue for git #156

7 months agosmall optimization
Steve Hancock [Fri, 13 Sep 2024 14:50:59 +0000 (07:50 -0700)]
small optimization