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

7 months agoadd missing length() call
Steve Hancock [Thu, 12 Sep 2024 23:36:02 +0000 (16:36 -0700)]
add missing length() call

7 months agobump version to 20240903.01 20240903.01
Steve Hancock [Tue, 10 Sep 2024 14:08:37 +0000 (07:08 -0700)]
bump version to 20240903.01

7 months agoadd -qwaf option, see git #164
Steve Hancock [Mon, 9 Sep 2024 23:30:38 +0000 (16:30 -0700)]
add -qwaf option, see git #164

7 months agocase b1481
Steve Hancock [Fri, 6 Sep 2024 02:55:21 +0000 (19:55 -0700)]
case b1481

7 months agosimplify code for guessing slash type
Steve Hancock [Thu, 5 Sep 2024 21:29:53 +0000 (14:29 -0700)]
simplify code for guessing slash type

7 months agoremove unused code
Steve Hancock [Thu, 5 Sep 2024 21:29:15 +0000 (14:29 -0700)]
remove unused code

7 months agofix error in Perl::Tidy::Logger (see pr #163) 20240903
Steve Hancock [Mon, 2 Sep 2024 21:35:23 +0000 (14:35 -0700)]
fix error in Perl::Tidy::Logger (see pr #163)

7 months agoupdate to version 20240903
Steve Hancock [Mon, 2 Sep 2024 16:06:56 +0000 (09:06 -0700)]
update to version 20240903

7 months agoimprove some edge cases of parsing + - *
Steve Hancock [Sun, 1 Sep 2024 01:08:13 +0000 (18:08 -0700)]
improve some edge cases of parsing + - *

7 months agouse bareword info to improve guessing
Steve Hancock [Sat, 31 Aug 2024 03:12:39 +0000 (20:12 -0700)]
use bareword info to improve guessing

7 months agoimprove pattern vs division guess strategy
Steve Hancock [Fri, 30 Aug 2024 02:47:48 +0000 (19:47 -0700)]
improve pattern vs division guess strategy

7 months agoadd bareword info hash
Steve Hancock [Thu, 29 Aug 2024 22:28:12 +0000 (15:28 -0700)]
add bareword info hash

7 months agosimplify
Steve Hancock [Thu, 29 Aug 2024 13:45:02 +0000 (06:45 -0700)]
simplify

7 months agofix minor issue with -wma
Steve Hancock [Mon, 26 Aug 2024 23:34:57 +0000 (16:34 -0700)]
fix minor issue with -wma

7 months agofix minor issue with -wma
Steve Hancock [Mon, 26 Aug 2024 21:46:05 +0000 (14:46 -0700)]
fix minor issue with -wma

7 months agoadd missing call parens
Steve Hancock [Sun, 25 Aug 2024 15:26:12 +0000 (08:26 -0700)]
add missing call parens

7 months agominor adjustment in guess logic
Steve Hancock [Sat, 24 Aug 2024 23:18:30 +0000 (16:18 -0700)]
minor adjustment in guess logic

7 months agoupdate docs
Steve Hancock [Sat, 24 Aug 2024 01:26:23 +0000 (18:26 -0700)]
update docs

7 months agoimprove guess if running under editor
Steve Hancock [Thu, 22 Aug 2024 04:54:18 +0000 (21:54 -0700)]
improve guess if running under editor

7 months agomove several subs to the utilities area
Steve Hancock [Wed, 21 Aug 2024 13:16:43 +0000 (06:16 -0700)]
move several subs to the utilities area

7 months agoimprove guess if running under editor
Steve Hancock [Tue, 20 Aug 2024 18:21:29 +0000 (11:21 -0700)]
improve guess if running under editor

7 months agomark unused vars with _uu
Steve Hancock [Mon, 19 Aug 2024 20:30:58 +0000 (13:30 -0700)]
mark unused vars with _uu

This is short for _unused and helps keep line length down. This update
allows perltidy to check for unused variables whenever it is run.

8 months agobump version to 20240511.10 20240511.10
Steve Hancock [Sat, 17 Aug 2024 23:30:24 +0000 (16:30 -0700)]
bump version to 20240511.10

8 months agoadd patch for git #162
Steve Hancock [Sat, 17 Aug 2024 22:47:11 +0000 (15:47 -0700)]
add patch for git #162

8 months agoupdate docs
Steve Hancock [Sat, 17 Aug 2024 22:14:16 +0000 (15:14 -0700)]
update docs

8 months agoinclude 'use vars' in -wvt
Steve Hancock [Sat, 17 Aug 2024 18:05:17 +0000 (11:05 -0700)]
include 'use vars' in -wvt