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

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

10 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

10 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

10 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

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

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

10 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

10 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

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

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

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

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

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

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

11 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

11 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

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

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

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

11 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

11 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

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

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

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

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

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

11 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

11 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

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

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

11 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

11 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

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

11 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

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

11 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

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

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

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

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

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

11 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 =>

11 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

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

11 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

11 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

11 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

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

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

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

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

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

12 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

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

12 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)

12 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

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

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

12 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

12 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

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

12 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

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

12 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)

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

12 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 + - *

12 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

12 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

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

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

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

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

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

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

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

12 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

12 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

12 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

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

12 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

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

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

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

13 months agoupdate docs for 'our' variables in -wvt
Steve Hancock [Fri, 16 Aug 2024 14:07:36 +0000 (07:07 -0700)]
update docs for 'our' variables in -wvt

13 months agopreliminary update for including use vars in -wvt
Steve Hancock [Fri, 16 Aug 2024 14:06:42 +0000 (07:06 -0700)]
preliminary update for including use vars in -wvt

13 months agoinclude our vars in --warn-variable-types
Steve Hancock [Thu, 15 Aug 2024 18:17:53 +0000 (11:17 -0700)]
include our vars in --warn-variable-types

13 months agoimprove guess if running under editor
Steve Hancock [Sun, 11 Aug 2024 14:57:58 +0000 (07:57 -0700)]
improve guess if running under editor

13 months agofix -asbl default
Steve Hancock [Sun, 11 Aug 2024 01:11:21 +0000 (18:11 -0700)]
fix -asbl default

13 months agoupdate docs
Steve Hancock [Sat, 10 Aug 2024 22:47:09 +0000 (15:47 -0700)]
update docs

13 months agocode simplification
Steve Hancock [Sat, 10 Aug 2024 22:46:04 +0000 (15:46 -0700)]
code simplification

13 months agoupdates for git #159
Steve Hancock [Sat, 10 Aug 2024 16:01:13 +0000 (09:01 -0700)]
updates for git #159

13 months agoimproved coverage for -wvt=c
Steve Hancock [Sat, 10 Aug 2024 14:35:56 +0000 (07:35 -0700)]
improved coverage for -wvt=c

13 months agoupdate to allow -wvt=u and -wvt=c in a .perltidyrc file
Steve Hancock [Thu, 8 Aug 2024 00:29:12 +0000 (17:29 -0700)]
update to allow -wvt=u and -wvt=c in a .perltidyrc file

13 months agoremove -wvt=u
Steve Hancock [Thu, 8 Aug 2024 00:15:15 +0000 (17:15 -0700)]
remove -wvt=u

13 months agoremove unused constants
Steve Hancock [Thu, 8 Aug 2024 00:14:50 +0000 (17:14 -0700)]
remove unused constants

13 months agofix minor formatting issue, c385
Steve Hancock [Wed, 7 Aug 2024 23:53:57 +0000 (16:53 -0700)]
fix minor formatting issue, c385

13 months agobump to version 20240511.09 20240511.09
Steve Hancock [Mon, 5 Aug 2024 03:31:39 +0000 (20:31 -0700)]
bump to version 20240511.09

13 months agoallow -wvt=u and -wvt=c in .perltidyrc
Steve Hancock [Mon, 5 Aug 2024 03:21:44 +0000 (20:21 -0700)]
allow -wvt=u and -wvt=c in .perltidyrc

13 months agoupdate docs
Steve Hancock [Mon, 5 Aug 2024 00:16:19 +0000 (17:16 -0700)]
update docs