]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
10 months agofix -asbl default
Steve Hancock [Sun, 11 Aug 2024 01:11:21 +0000 (18:11 -0700)]
fix -asbl default

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

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

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

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

10 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

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

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

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

10 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

10 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

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

10 months agoremove unused --experimental option
Steve Hancock [Sun, 4 Aug 2024 22:37:51 +0000 (15:37 -0700)]
remove unused --experimental option

10 months agoupdate docs for --timeout-in-seconds
Steve Hancock [Sun, 4 Aug 2024 20:02:47 +0000 (13:02 -0700)]
update docs for --timeout-in-seconds

10 months agoadd --timeout-in-seconds=n, -to=n, default n=10 seconds
Steve Hancock [Sun, 4 Aug 2024 14:12:25 +0000 (07:12 -0700)]
add --timeout-in-seconds=n, -to=n, default n=10 seconds

10 months agoadd warning for unused constants
Steve Hancock [Sun, 4 Aug 2024 04:20:53 +0000 (21:20 -0700)]
add warning for unused constants

10 months agofix issue c382 20240511.08
Steve Hancock [Thu, 1 Aug 2024 14:18:26 +0000 (07:18 -0700)]
fix issue c382

'sort mycmp @array' triggered an incorrect warning if mycmp had prototype ()

10 months agobump to version 20240511.08
Steve Hancock [Thu, 1 Aug 2024 00:59:32 +0000 (17:59 -0700)]
bump to version 20240511.08

10 months agoadjust strength of ^^
Steve Hancock [Wed, 31 Jul 2024 15:24:09 +0000 (08:24 -0700)]
adjust strength of ^^

10 months agoupdate docs
Steve Hancock [Wed, 31 Jul 2024 14:50:26 +0000 (07:50 -0700)]
update docs

10 months agoset line break strength for ^^
Steve Hancock [Wed, 31 Jul 2024 14:29:45 +0000 (07:29 -0700)]
set line break strength for ^^

10 months agofix spelling
Steve Hancock [Wed, 31 Jul 2024 14:29:03 +0000 (07:29 -0700)]
fix spelling

10 months agoimprove warning messages
Steve Hancock [Wed, 31 Jul 2024 03:17:32 +0000 (20:17 -0700)]
improve warning messages

10 months agoadded missing issue types y and s to -dmr
Steve Hancock [Tue, 30 Jul 2024 21:34:21 +0000 (14:34 -0700)]
added missing issue types y and s to -dmr

10 months agoupdate docs regarding git #156
Steve Hancock [Tue, 30 Jul 2024 01:35:29 +0000 (18:35 -0700)]
update docs regarding git #156

10 months agoadd --closing-side-comment-exclusion-list
Steve Hancock [Mon, 29 Jul 2024 21:16:13 +0000 (14:16 -0700)]
add --closing-side-comment-exclusion-list

10 months agoadd closing side comments for anonymous subs
Steve Hancock [Sat, 27 Jul 2024 23:13:28 +0000 (16:13 -0700)]
add closing side comments for anonymous subs

10 months agoenable -csc for asubs, c380
Steve Hancock [Sat, 27 Jul 2024 23:03:37 +0000 (16:03 -0700)]
enable -csc for asubs, c380

10 months agorevise -duv coding for signature in signature
Steve Hancock [Sat, 27 Jul 2024 03:58:49 +0000 (20:58 -0700)]
revise -duv coding for signature in signature

10 months agobump to version 20240511.07 20240511.07
Steve Hancock [Thu, 25 Jul 2024 16:25:51 +0000 (09:25 -0700)]
bump to version 20240511.07

10 months agocheck sub signatures in --dump-unusual-variables, see git #158
Steve Hancock [Thu, 25 Jul 2024 14:47:46 +0000 (07:47 -0700)]
check sub signatures in --dump-unusual-variables, see git #158

10 months agodelay -atc and -dtc 1 iteration if -conv, see git #156
Steve Hancock [Wed, 24 Jul 2024 21:50:05 +0000 (14:50 -0700)]
delay -atc and -dtc 1 iteration if -conv, see git #156

10 months ago-wmr no return issue 'x' is now 'x' (array) and 'y' (scalar)
Steve Hancock [Wed, 24 Jul 2024 00:45:34 +0000 (17:45 -0700)]
-wmr no return issue 'x' is now 'x' (array) and 'y' (scalar)

This allows turning off scalar checks for no returns, which are
very common in older code.

10 months agoadd support for new ^^ logical xor, see git #154
Steve Hancock [Tue, 23 Jul 2024 14:02:10 +0000 (07:02 -0700)]
add support for new ^^ logical xor, see git #154

10 months agoadd 'state' to keyword list for -sak, see git #157
Steve Hancock [Tue, 23 Jul 2024 04:04:47 +0000 (21:04 -0700)]
add 'state' to keyword list for -sak, see git #157

10 months agoadd -wmr checks for calls requesting scalars
Steve Hancock [Tue, 23 Jul 2024 01:40:52 +0000 (18:40 -0700)]
add -wmr checks for calls requesting scalars

10 months agosimplify -wmr logic
Steve Hancock [Mon, 22 Jul 2024 12:59:25 +0000 (05:59 -0700)]
simplify -wmr logic

11 months agobump version to 20240511.06 20240511.06
Steve Hancock [Mon, 15 Jul 2024 21:20:46 +0000 (14:20 -0700)]
bump version to 20240511.06

11 months agofix test file names
Steve Hancock [Mon, 15 Jul 2024 20:05:31 +0000 (13:05 -0700)]
fix test file names

11 months agoupdate docs for -altc -dltc (formerly -atlc -dtlc)
Steve Hancock [Mon, 15 Jul 2024 17:20:44 +0000 (10:20 -0700)]
update docs for -altc -dltc (formerly -atlc -dtlc)

11 months agoadd -dtlc -atlc
Steve Hancock [Sun, 14 Jul 2024 23:35:07 +0000 (16:35 -0700)]
add -dtlc -atlc

11 months agoadd perlbrew notes
Steve Hancock [Sun, 14 Jul 2024 20:38:59 +0000 (13:38 -0700)]
add perlbrew notes

11 months agoadd note on line length tolerances, see git #153
Steve Hancock [Sun, 14 Jul 2024 20:38:25 +0000 (13:38 -0700)]
add note on line length tolerances, see git #153

11 months agofix some minor -wmr issues
Steve Hancock [Fri, 12 Jul 2024 23:09:11 +0000 (16:09 -0700)]
fix some minor -wmr issues

11 months agoupdate docs
Steve Hancock [Thu, 11 Jul 2024 00:17:46 +0000 (17:17 -0700)]
update docs

11 months agoexpand some abbreviations in docs, git #144 suggestion
Steve Hancock [Wed, 10 Jul 2024 22:48:48 +0000 (15:48 -0700)]
expand some abbreviations in docs, git #144 suggestion

11 months agoadd web sites, git #149 suggestion
Steve Hancock [Wed, 10 Jul 2024 22:47:39 +0000 (15:47 -0700)]
add web sites, git #149 suggestion

11 months agominor code cleanup
Steve Hancock [Wed, 10 Jul 2024 02:13:04 +0000 (19:13 -0700)]
minor code cleanup

11 months agoconsolidate duplicate error output code
Steve Hancock [Tue, 9 Jul 2024 14:30:29 +0000 (07:30 -0700)]
consolidate duplicate error output code

11 months agoadd --warn-mismatched-returns
Steve Hancock [Tue, 9 Jul 2024 14:19:56 +0000 (07:19 -0700)]
add --warn-mismatched-returns

11 months agobump to v20240511.05 20240511.05
Steve Hancock [Mon, 8 Jul 2024 22:40:07 +0000 (15:40 -0700)]
bump to v20240511.05

11 months agofix typos
Steve Hancock [Mon, 8 Jul 2024 22:10:22 +0000 (15:10 -0700)]
fix typos

11 months agofix issue found by applying -dmr to perltidy
Steve Hancock [Mon, 8 Jul 2024 22:06:20 +0000 (15:06 -0700)]
fix issue found by applying -dmr to perltidy

11 months agoconsolidate duplicate code
Steve Hancock [Mon, 8 Jul 2024 21:57:16 +0000 (14:57 -0700)]
consolidate duplicate code

11 months agoupdate docs for -wmr -dmr
Steve Hancock [Mon, 8 Jul 2024 15:49:37 +0000 (08:49 -0700)]
update docs for -wmr -dmr

11 months agoadd -wmrxl; consolidate initialization code
Steve Hancock [Sun, 7 Jul 2024 21:41:47 +0000 (14:41 -0700)]
add -wmrxl; consolidate initialization code

11 months agosome -wmr code cleanups
Steve Hancock [Fri, 5 Jul 2024 23:29:25 +0000 (16:29 -0700)]
some -wmr code cleanups

11 months agoadd -wmrt
Steve Hancock [Fri, 5 Jul 2024 19:32:09 +0000 (12:32 -0700)]
add -wmrt

11 months agofix some minor -wmr -dmr issues
Steve Hancock [Thu, 4 Jul 2024 23:28:57 +0000 (16:28 -0700)]
fix some minor -wmr -dmr issues

11 months agominor cleanups and fixes for -dmr and -wmr
Steve Hancock [Tue, 2 Jul 2024 16:13:07 +0000 (09:13 -0700)]
minor cleanups and fixes for -dmr and -wmr

11 months agoadd -dmr
Steve Hancock [Mon, 1 Jul 2024 02:23:47 +0000 (19:23 -0700)]
add -dmr

11 months agofix b1476
Steve Hancock [Thu, 27 Jun 2024 02:55:23 +0000 (19:55 -0700)]
fix b1476

11 months agomisc cleanups
Steve Hancock [Thu, 27 Jun 2024 01:14:00 +0000 (18:14 -0700)]
misc cleanups

11 months agobump version to 20240511.04 20240511.04
Steve Hancock [Tue, 25 Jun 2024 15:58:43 +0000 (08:58 -0700)]
bump version to 20240511.04

11 months agoupdates for git #151
Steve Hancock [Tue, 25 Jun 2024 15:10:10 +0000 (08:10 -0700)]
updates for git #151

11 months agoadd subs to count return args
Steve Hancock [Mon, 24 Jun 2024 13:08:33 +0000 (06:08 -0700)]
add subs to count return args

11 months agorewrite sub count_list_args to allow future updates
Steve Hancock [Wed, 19 Jun 2024 04:03:50 +0000 (21:03 -0700)]
rewrite sub count_list_args to allow future updates

12 months agoimprove sub name and update comments
Steve Hancock [Wed, 12 Jun 2024 23:02:41 +0000 (16:02 -0700)]
improve sub name and update comments

12 months agoimprove error message
Steve Hancock [Wed, 12 Jun 2024 14:37:40 +0000 (07:37 -0700)]
improve error message

12 months agoupdates for perlcritic
Steve Hancock [Wed, 12 Jun 2024 04:41:55 +0000 (21:41 -0700)]
updates for perlcritic

12 months agoloop optimizations
Steve Hancock [Wed, 12 Jun 2024 00:39:07 +0000 (17:39 -0700)]
loop optimizations

12 months agofix c375
Steve Hancock [Tue, 11 Jun 2024 20:07:06 +0000 (13:07 -0700)]
fix c375

12 months agoremove unused coding
Steve Hancock [Tue, 11 Jun 2024 04:40:58 +0000 (21:40 -0700)]
remove unused coding

12 months agooptimization for -vsn
Steve Hancock [Mon, 10 Jun 2024 04:52:02 +0000 (21:52 -0700)]
optimization for -vsn

12 months agoupdate docs
Steve Hancock [Sat, 8 Jun 2024 13:47:52 +0000 (06:47 -0700)]
update docs

12 months agoupdate docs
Steve Hancock [Sat, 8 Jun 2024 03:09:56 +0000 (20:09 -0700)]
update docs

12 months agoconvert an asub to a sub
Steve Hancock [Sat, 8 Jun 2024 00:33:08 +0000 (17:33 -0700)]
convert an asub to a sub

12 months agofix b1475
Steve Hancock [Thu, 6 Jun 2024 14:18:11 +0000 (07:18 -0700)]
fix b1475

12 months agoconvert an asub to sub to reduce complexity
Steve Hancock [Thu, 6 Jun 2024 13:29:53 +0000 (06:29 -0700)]
convert an asub to sub to reduce complexity

12 months agosmall optimization by moving blank check to top of loop
Steve Hancock [Wed, 5 Jun 2024 23:44:43 +0000 (16:44 -0700)]
small optimization by moving blank check to top of loop

12 months agofix c372
Steve Hancock [Wed, 5 Jun 2024 16:14:04 +0000 (09:14 -0700)]
fix c372

12 months agooptimize setting whitespace flags
Steve Hancock [Wed, 5 Jun 2024 13:55:40 +0000 (06:55 -0700)]
optimize setting whitespace flags

12 months agoconvert anon sub try_3 to named sub to reduce complexity
Steve Hancock [Wed, 5 Jun 2024 01:58:43 +0000 (18:58 -0700)]
convert anon sub try_3 to named sub to reduce complexity

12 months agobump to version 20240511.03 20240511.03
Steve Hancock [Sun, 2 Jun 2024 14:40:23 +0000 (07:40 -0700)]
bump to version 20240511.03

12 months agofurther -wma improvements
Steve Hancock [Sun, 2 Jun 2024 14:24:55 +0000 (07:24 -0700)]
further -wma improvements

12 months agominor -wma improvements
Steve Hancock [Sat, 1 Jun 2024 01:14:21 +0000 (18:14 -0700)]
minor -wma improvements

12 months agoupdate debug code for -wma
Steve Hancock [Fri, 31 May 2024 02:44:08 +0000 (19:44 -0700)]
update debug code for -wma

12 months agoimprove -wma coverage
Steve Hancock [Thu, 30 May 2024 01:28:42 +0000 (18:28 -0700)]
improve -wma coverage

12 months agoextend -wma to handle $_[n] as args
Steve Hancock [Wed, 29 May 2024 01:01:18 +0000 (18:01 -0700)]
extend -wma to handle $_[n] as args

12 months agofix minor -dma issue
Steve Hancock [Tue, 28 May 2024 02:00:02 +0000 (19:00 -0700)]
fix minor -dma issue

12 months agosimplify coding
Steve Hancock [Tue, 28 May 2024 01:57:01 +0000 (18:57 -0700)]
simplify coding

12 months agoremove unknown config options with leading '---', see git #146
Steve Hancock [Sat, 25 May 2024 22:36:05 +0000 (15:36 -0700)]
remove unknown config options with leading '---', see git #146

12 months agoadd debug code
Steve Hancock [Wed, 22 May 2024 04:17:58 +0000 (21:17 -0700)]
add debug code

12 months agofix b1470, b1474
Steve Hancock [Sun, 19 May 2024 00:43:38 +0000 (17:43 -0700)]
fix b1470, b1474

12 months agoMerge pull request #145 from mardem1/fix_mswin32_eol
Steve Hancock [Sat, 18 May 2024 02:06:38 +0000 (19:06 -0700)]
Merge pull request #145 from mardem1/fix_mswin32_eol

Fix MSWin32 EOL translation without UTF-8 in backup-mode

12 months agoFix MSWin32 EOL translation without UTF-8 in backup-mode
Markus Demml [Fri, 17 May 2024 12:35:35 +0000 (14:35 +0200)]
Fix MSWin32 EOL translation without UTF-8 in backup-mode

On Windows machines, the CRLF translation layer was left in-place, when using
the backup (-b) without the utf8-ecoding (-enc=utf8) option, which causes
the output file to be converted to "DOS" CRLF line endings, even with
the -ole=unix setting enabled.

Added `binmode` call in `backup_method_move` and `backup_method_copy` to
disable the CRLF translation layer, in the case of none-encoded-data, as
it is already used in `PATH 3b: output to a named file`.

12 months agofix b1471
Steve Hancock [Thu, 16 May 2024 20:31:59 +0000 (13:31 -0700)]
fix b1471

13 months agobump to v20240511.02 20240511.02
Steve Hancock [Wed, 15 May 2024 23:31:06 +0000 (16:31 -0700)]
bump to v20240511.02

13 months agofix for git #143
Steve Hancock [Wed, 15 May 2024 23:12:36 +0000 (16:12 -0700)]
fix for git #143

13 months agoimprove -dma and -wma coverage
Steve Hancock [Wed, 15 May 2024 13:26:34 +0000 (06:26 -0700)]
improve -dma and -wma coverage