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

13 months agobump version to 20240511.01 20240511.01
Steve Hancock [Mon, 13 May 2024 23:12:55 +0000 (16:12 -0700)]
bump version to 20240511.01

13 months agoadd scope-limiting parens to regex to fix git #142
Steve Hancock [Mon, 13 May 2024 22:37:14 +0000 (15:37 -0700)]
add scope-limiting parens to regex to fix git #142

13 months agoneed IO::File for older versions of perl
Steve Hancock [Mon, 13 May 2024 22:35:14 +0000 (15:35 -0700)]
need IO::File for older versions of perl

13 months agolet -dma check self calls from anon. subs
Steve Hancock [Mon, 13 May 2024 22:07:34 +0000 (15:07 -0700)]
let -dma check self calls from anon. subs

13 months agoshorten long lines as suggested in git #141
Steve Hancock [Mon, 13 May 2024 22:06:20 +0000 (15:06 -0700)]
shorten long lines as suggested in git #141

13 months agochange name $item to $self for consistency
Steve Hancock [Mon, 13 May 2024 22:05:13 +0000 (15:05 -0700)]
change name $item to $self for consistency

13 months agoupdate to VERSION 20240511 20240511
Steve Hancock [Thu, 9 May 2024 23:44:18 +0000 (16:44 -0700)]
update to VERSION 20240511

13 months agofix b1469
Steve Hancock [Thu, 9 May 2024 14:08:26 +0000 (07:08 -0700)]
fix b1469

13 months agotrack blessed objects for -dma option
Steve Hancock [Thu, 9 May 2024 13:59:11 +0000 (06:59 -0700)]
track blessed objects for -dma option

13 months agominor code cleanups and update docs
Steve Hancock [Thu, 2 May 2024 23:41:34 +0000 (16:41 -0700)]
minor code cleanups and update docs

13 months agoadd test case
Steve Hancock [Thu, 2 May 2024 00:50:41 +0000 (17:50 -0700)]
add test case

13 months agofix spelling
Steve Hancock [Wed, 1 May 2024 22:30:34 +0000 (15:30 -0700)]
fix spelling

13 months agocatch ambiguous entries commands which exit early (c333)
Steve Hancock [Wed, 1 May 2024 16:32:16 +0000 (09:32 -0700)]
catch ambiguous entries commands which exit early (c333)

13 months agoremove unused code; update comments
Steve Hancock [Wed, 1 May 2024 03:26:44 +0000 (20:26 -0700)]
remove unused code; update comments

13 months agoremove unused code, update comments
Steve Hancock [Tue, 30 Apr 2024 14:47:17 +0000 (07:47 -0700)]
remove unused code, update comments

13 months agoupdate comments
Steve Hancock [Tue, 30 Apr 2024 03:20:47 +0000 (20:20 -0700)]
update comments

13 months agofix prototype underscore treatment
Steve Hancock [Tue, 30 Apr 2024 02:27:55 +0000 (19:27 -0700)]
fix prototype underscore treatment

13 months agofix -dma issue with prototypes
Steve Hancock [Mon, 29 Apr 2024 22:00:56 +0000 (15:00 -0700)]
fix -dma issue with prototypes

13 months agominor optimization
Steve Hancock [Mon, 29 Apr 2024 04:14:29 +0000 (21:14 -0700)]
minor optimization

13 months agofix arg count issue when pop is used instead of shift
Steve Hancock [Sat, 27 Apr 2024 00:45:33 +0000 (17:45 -0700)]
fix arg count issue when pop is used instead of shift

13 months agoadd --warn-mismatched-arg-overcount-cutoff=n
Steve Hancock [Sat, 27 Apr 2024 00:31:31 +0000 (17:31 -0700)]
add --warn-mismatched-arg-overcount-cutoff=n

13 months agofix hash key typo
Steve Hancock [Fri, 26 Apr 2024 23:08:07 +0000 (16:08 -0700)]
fix hash key typo

13 months agoclean up -wma documentation
Steve Hancock [Fri, 26 Apr 2024 05:12:32 +0000 (22:12 -0700)]
clean up -wma documentation

13 months agoexit immediately if --profile=file cannot be opened
Steve Hancock [Thu, 25 Apr 2024 23:24:38 +0000 (16:24 -0700)]
exit immediately if --profile=file cannot be opened

13 months agoimprove -dma for prototypes overridden with &fn()
Steve Hancock [Thu, 25 Apr 2024 22:36:25 +0000 (15:36 -0700)]
improve -dma for prototypes overridden with &fn()

13 months agofix c362, distinguish between prototype and signature
Steve Hancock [Thu, 25 Apr 2024 04:18:58 +0000 (21:18 -0700)]
fix c362, distinguish between prototype and signature

13 months agonearing final -dma coding
Steve Hancock [Thu, 25 Apr 2024 03:44:24 +0000 (20:44 -0700)]
nearing final -dma coding

13 months agofix b1468
Steve Hancock [Sun, 21 Apr 2024 22:11:48 +0000 (15:11 -0700)]
fix b1468

13 months agorevise -wmat input
Steve Hancock [Sun, 21 Apr 2024 21:32:27 +0000 (14:32 -0700)]
revise -wmat input

13 months agoupdate -dma
Steve Hancock [Fri, 19 Apr 2024 03:19:10 +0000 (20:19 -0700)]
update -dma

13 months agobump version to 20240202.07 20240202.07
Steve Hancock [Thu, 18 Apr 2024 16:54:19 +0000 (09:54 -0700)]
bump version to 20240202.07

13 months agoadd patch to fix -xlp issue in git #138
Steve Hancock [Thu, 18 Apr 2024 16:45:12 +0000 (09:45 -0700)]
add patch to fix -xlp issue in git #138

13 months agobump to version 20240202.06 20240202.06
Steve Hancock [Wed, 17 Apr 2024 00:06:22 +0000 (17:06 -0700)]
bump to version 20240202.06

13 months agoadd --minimize-continuation-indentation (-mci); see git #137
Steve Hancock [Tue, 16 Apr 2024 19:12:54 +0000 (12:12 -0700)]
add --minimize-continuation-indentation (-mci); see git #137

14 months agobump version to 20240202.05 20240202.05
Steve Hancock [Sat, 13 Apr 2024 14:31:29 +0000 (07:31 -0700)]
bump version to 20240202.05

14 months agoscan ahead for @_ to minimize false -wma warnings
Steve Hancock [Fri, 12 Apr 2024 03:49:14 +0000 (20:49 -0700)]
scan ahead for @_ to minimize false -wma warnings

14 months agoupdate docs
Steve Hancock [Fri, 12 Apr 2024 02:55:07 +0000 (19:55 -0700)]
update docs

14 months agoadd fast scan for $_[ for improved -wma efficiency
Steve Hancock [Wed, 10 Apr 2024 14:00:02 +0000 (07:00 -0700)]
add fast scan for $_[ for improved -wma efficiency

14 months agoswitch from -dmat=s to -dma
Steve Hancock [Tue, 9 Apr 2024 14:16:05 +0000 (07:16 -0700)]
switch from -dmat=s to -dma

14 months agocall dump_block_summary after respace_tokens
Steve Hancock [Tue, 9 Apr 2024 14:09:19 +0000 (07:09 -0700)]
call dump_block_summary after respace_tokens

sub respace tokens makes some essential data structures needed
for future updates to dump_block_summary.

14 months agoadd note about -sal=method as an alternative
Steve Hancock [Tue, 9 Apr 2024 13:49:03 +0000 (06:49 -0700)]
add note about -sal=method as an alternative

14 months agoswitch control -wmat=s to -wma for simplicity
Steve Hancock [Tue, 9 Apr 2024 01:16:44 +0000 (18:16 -0700)]
switch control -wmat=s to -wma for simplicity

14 months agofix arg count for signatures with optional args in -dbs output
Steve Hancock [Mon, 8 Apr 2024 23:13:26 +0000 (16:13 -0700)]
fix arg count for signatures with optional args in -dbs output

14 months agofix comment
Steve Hancock [Mon, 8 Apr 2024 23:08:46 +0000 (16:08 -0700)]
fix comment

14 months agoremove unused code found with -duv
Steve Hancock [Sun, 7 Apr 2024 23:27:22 +0000 (16:27 -0700)]
remove unused code found with -duv

14 months agoadd missing call parameter found with -dma
Steve Hancock [Sun, 7 Apr 2024 23:18:21 +0000 (16:18 -0700)]
add missing call parameter found with -dma

14 months agoremove hardwired arg count checks; -wmat automates this
Steve Hancock [Sun, 7 Apr 2024 13:51:26 +0000 (06:51 -0700)]
remove hardwired arg count checks; -wmat automates this

14 months agofix test range for change in parameter name
Steve Hancock [Sun, 7 Apr 2024 04:39:20 +0000 (21:39 -0700)]
fix test range for change in parameter name

14 months agoeliminate last uses of each builtin
Steve Hancock [Sun, 7 Apr 2024 04:38:44 +0000 (21:38 -0700)]
eliminate last uses of each builtin

14 months agoeliminate unused variables
Steve Hancock [Sun, 7 Apr 2024 03:49:24 +0000 (20:49 -0700)]
eliminate unused variables

14 months agoupdate docs & comments
Steve Hancock [Sun, 7 Apr 2024 02:07:49 +0000 (19:07 -0700)]
update docs & comments

14 months agobump version to 20240202.04 20240202.04
Steve Hancock [Fri, 5 Apr 2024 00:05:25 +0000 (17:05 -0700)]
bump version to 20240202.04

14 months agoupdate docs, change name -wmacc to -wmauc
Steve Hancock [Thu, 4 Apr 2024 23:47:13 +0000 (16:47 -0700)]
update docs, change name -wmacc to -wmauc

14 months agoincorporate prototype info in -wmat decisions
Steve Hancock [Thu, 4 Apr 2024 22:42:29 +0000 (15:42 -0700)]
incorporate prototype info in -wmat decisions

14 months agoimprove and simplify sub count_sub_args for -dma
Steve Hancock [Thu, 4 Apr 2024 01:17:57 +0000 (18:17 -0700)]
improve and simplify sub count_sub_args for -dma

14 months agofix sort of line numbers for error output
Steve Hancock [Thu, 4 Apr 2024 01:09:04 +0000 (18:09 -0700)]
fix sort of line numbers for error output

14 months agoimprove arg count for -wmat
Steve Hancock [Wed, 3 Apr 2024 01:40:22 +0000 (18:40 -0700)]
improve arg count for -wmat

14 months agoadd warning for combination -wmat and -io
Steve Hancock [Tue, 2 Apr 2024 17:47:55 +0000 (10:47 -0700)]
add warning for combination -wmat and -io

14 months agoignore my subs for -dma -wmat
Steve Hancock [Mon, 1 Apr 2024 00:23:18 +0000 (17:23 -0700)]
ignore my subs for -dma -wmat

14 months agosimplify wording for -wmacc=n
Steve Hancock [Mon, 1 Apr 2024 00:22:42 +0000 (17:22 -0700)]
simplify wording for -wmacc=n

14 months agoextend coding and docs for -dma and -wmat
Steve Hancock [Sun, 31 Mar 2024 18:00:54 +0000 (11:00 -0700)]
extend coding and docs for -dma and -wmat

14 months agoinitial coding for --warn-mismatched-call-types
Steve Hancock [Sat, 30 Mar 2024 02:13:38 +0000 (19:13 -0700)]
initial coding for --warn-mismatched-call-types

14 months agofix some c353 edge cases
Steve Hancock [Thu, 28 Mar 2024 20:22:43 +0000 (13:22 -0700)]
fix some c353 edge cases

14 months agofix issue c353
Steve Hancock [Wed, 27 Mar 2024 00:13:36 +0000 (17:13 -0700)]
fix issue c353

14 months agobump version to 20240202.03 20240202.03
Steve Hancock [Mon, 25 Mar 2024 23:00:49 +0000 (16:00 -0700)]
bump version to 20240202.03

14 months agofix c352
Steve Hancock [Mon, 25 Mar 2024 22:17:51 +0000 (15:17 -0700)]
fix c352

14 months agoadd option --valign-wide-equals, -vme, see git #135
Steve Hancock [Mon, 25 Mar 2024 15:00:14 +0000 (08:00 -0700)]
add option --valign-wide-equals, -vme, see git #135

14 months agoremove unused line
Steve Hancock [Sun, 24 Mar 2024 01:35:08 +0000 (18:35 -0700)]
remove unused line

14 months ago--dump-block-summary sub arg count now includes any $self
Steve Hancock [Sat, 23 Mar 2024 19:54:37 +0000 (12:54 -0700)]
--dump-block-summary sub arg count now includes any $self

14 months agoOperator **= now has spaces on both sides by default (c349)
Steve Hancock [Sat, 23 Mar 2024 19:32:24 +0000 (12:32 -0700)]
Operator **= now has spaces on both sides by default (c349)

14 months agoadd missing $self to warnings
Steve Hancock [Sun, 17 Mar 2024 01:08:44 +0000 (18:08 -0700)]
add missing $self to warnings

These were found with a new option being developed. These errors
have never happened so the problem was not detected before.
Also checking to see if latest github error goes away.

14 months agoimprove formatting of git #134
Steve Hancock [Sat, 16 Mar 2024 18:53:58 +0000 (11:53 -0700)]
improve formatting of git #134

15 months agogeneralize code for finding self name for future development
Steve Hancock [Sun, 3 Mar 2024 17:35:05 +0000 (09:35 -0800)]
generalize code for finding self name for future development

15 months agoadd caller name to hash of sub calls
Steve Hancock [Sat, 2 Mar 2024 23:14:12 +0000 (15:14 -0800)]
add caller name to hash of sub calls

15 months agoadditional -wmac coding
Steve Hancock [Fri, 1 Mar 2024 15:06:23 +0000 (07:06 -0800)]
additional -wmac coding

15 months agofix b1467
Steve Hancock [Thu, 29 Feb 2024 20:27:17 +0000 (12:27 -0800)]
fix b1467

15 months agoadd framework for future --warn-mixed-call-args
Steve Hancock [Wed, 28 Feb 2024 15:03:07 +0000 (07:03 -0800)]
add framework for future --warn-mixed-call-args