]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
3 years agofix issue b1301
Steve Hancock [Mon, 3 Jan 2022 13:34:33 +0000 (05:34 -0800)]
fix issue b1301

3 years agoupdate code for -bopl
Steve Hancock [Mon, 3 Jan 2022 03:52:52 +0000 (19:52 -0800)]
update code for -bopl

3 years agoremove unused code, update docs
Steve Hancock [Sun, 2 Jan 2022 17:31:07 +0000 (09:31 -0800)]
remove unused code, update docs

3 years agoadd test cases for -vxl
Steve Hancock [Sun, 2 Jan 2022 02:31:09 +0000 (18:31 -0800)]
add test cases for -vxl

3 years agofix some edge cases for -vxl
Steve Hancock [Sun, 2 Jan 2022 02:30:42 +0000 (18:30 -0800)]
fix some edge cases for -vxl

3 years agoadd parameters -vxl=s and -vil=s
Steve Hancock [Fri, 31 Dec 2021 15:46:29 +0000 (07:46 -0800)]
add parameters -vxl=s and -vil=s

3 years agouse alternate fix for issue b1299
Steve Hancock [Wed, 29 Dec 2021 17:47:57 +0000 (09:47 -0800)]
use alternate fix for issue b1299

3 years agopreliminary coding for --open-paren-list-types=s
Steve Hancock [Wed, 29 Dec 2021 16:29:16 +0000 (08:29 -0800)]
preliminary coding for --open-paren-list-types=s

3 years agoadd several convergence tests
Steve Hancock [Wed, 29 Dec 2021 15:07:00 +0000 (07:07 -0800)]
add several convergence tests

3 years agoavoid break between bareword and paren, issue b1299
Steve Hancock [Wed, 29 Dec 2021 14:05:36 +0000 (06:05 -0800)]
avoid break between bareword and paren, issue b1299

3 years agoconvergence test cases for interrupted lists
Steve Hancock [Tue, 28 Dec 2021 01:21:55 +0000 (17:21 -0800)]
convergence test cases for interrupted lists

3 years agoupdate sub collapsed_lengths for interrupted lists
Steve Hancock [Tue, 28 Dec 2021 01:21:01 +0000 (17:21 -0800)]
update sub collapsed_lengths for interrupted lists

3 years agorewrote sub collapsed_lengths, same functionality
Steve Hancock [Sat, 25 Dec 2021 19:19:33 +0000 (11:19 -0800)]
rewrote sub collapsed_lengths, same functionality

3 years agopartial fix for c119, commas after list operator
Steve Hancock [Fri, 24 Dec 2021 16:35:11 +0000 (08:35 -0800)]
partial fix for c119, commas after list operator

3 years agobump version to 20211029.04 20211029.04
Steve Hancock [Wed, 22 Dec 2021 23:50:02 +0000 (15:50 -0800)]
bump version to 20211029.04

3 years agoadded several -gal defaults and -gaxl=s
Steve Hancock [Wed, 22 Dec 2021 23:38:41 +0000 (15:38 -0800)]
added several -gal defaults and -gaxl=s

3 years agoinitial implementation of -gal=s, issue git #77
Steve Hancock [Tue, 21 Dec 2021 13:42:39 +0000 (05:42 -0800)]
initial implementation of -gal=s, issue git #77

3 years agofix tokenization issue b1280
Steve Hancock [Fri, 17 Dec 2021 13:55:49 +0000 (05:55 -0800)]
fix tokenization issue b1280

3 years agoenable -iscl with -xlp
Steve Hancock [Fri, 17 Dec 2021 01:25:47 +0000 (17:25 -0800)]
enable -iscl with -xlp

3 years agoadd MIN_BLOCK_LEN to avoid scrunching code with -xlp
Steve Hancock [Thu, 16 Dec 2021 16:41:23 +0000 (08:41 -0800)]
add MIN_BLOCK_LEN to avoid scrunching code with -xlp

3 years agorewrote sub correct_lp_indentation
Steve Hancock [Wed, 15 Dec 2021 00:03:16 +0000 (16:03 -0800)]
rewrote sub correct_lp_indentation

3 years agoslightly revise -xlp closing token indentation rule
Steve Hancock [Mon, 13 Dec 2021 22:42:33 +0000 (14:42 -0800)]
slightly revise -xlp closing token indentation rule

3 years agocheck for long here-doc lines for -xlp
Steve Hancock [Mon, 13 Dec 2021 20:09:45 +0000 (12:09 -0800)]
check for long here-doc lines for -xlp

3 years agoconvert IndentationItem align_paren to align_seqno
Steve Hancock [Mon, 13 Dec 2021 19:58:49 +0000 (11:58 -0800)]
convert IndentationItem align_paren to align_seqno

3 years agoVerticalAligner removes recoverable spaces at flush
Steve Hancock [Mon, 13 Dec 2021 19:31:50 +0000 (11:31 -0800)]
VerticalAligner removes recoverable spaces at flush

3 years agotune up edge cases of -xlp
Steve Hancock [Thu, 9 Dec 2021 15:33:53 +0000 (07:33 -0800)]
tune up edge cases of -xlp

3 years agoadded sub collapsed_lengths
Steve Hancock [Tue, 7 Dec 2021 15:33:37 +0000 (07:33 -0800)]
added sub collapsed_lengths

3 years agorewrote sub recombine_breakpoints for efficiency, issue c118
Steve Hancock [Sat, 4 Dec 2021 21:35:24 +0000 (13:35 -0800)]
rewrote sub recombine_breakpoints for efficiency, issue c118

3 years agofix issue with -lp -vmll -ci<2 (b1267)
Steve Hancock [Fri, 3 Dec 2021 17:01:35 +0000 (09:01 -0800)]
fix issue with -lp -vmll -ci<2 (b1267)

3 years agofix instability with combo -lp -iob -vmll -bbx=2 (b1266)
Steve Hancock [Wed, 1 Dec 2021 02:22:18 +0000 (18:22 -0800)]
fix instability with combo -lp -iob -vmll -bbx=2 (b1266)

3 years agomake sub recombine_breakpoints efficient; fixes c018
Steve Hancock [Wed, 1 Dec 2021 00:44:35 +0000 (16:44 -0800)]
make sub recombine_breakpoints efficient; fixes c018

3 years agofix -lp problem with blank line after opening paren
Steve Hancock [Tue, 30 Nov 2021 15:08:17 +0000 (07:08 -0800)]
fix -lp problem with blank line after opening paren

3 years agobump to version 20211029.03 20211029.03
Steve Hancock [Mon, 29 Nov 2021 13:46:13 +0000 (05:46 -0800)]
bump to version 20211029.03

3 years agoprevent unwanted recombinations after =
Steve Hancock [Mon, 29 Nov 2021 13:37:06 +0000 (05:37 -0800)]
prevent unwanted recombinations after =

3 years agoconsolidate code for breaks at = before -xlp container
Steve Hancock [Sun, 28 Nov 2021 15:12:56 +0000 (07:12 -0800)]
consolidate code for breaks at = before -xlp container

3 years agoupdate test case, bump version to .02 20211029.02
Steve Hancock [Fri, 26 Nov 2021 14:55:36 +0000 (06:55 -0800)]
update test case, bump version to .02

3 years agofix problem with -bbp and -xlp
Steve Hancock [Fri, 26 Nov 2021 14:35:21 +0000 (06:35 -0800)]
fix problem with -bbp and -xlp

3 years agoactivate speedup if -lp is actually off
Steve Hancock [Thu, 25 Nov 2021 15:32:37 +0000 (07:32 -0800)]
activate speedup if -lp is actually off

3 years agorevised internal error checks
Steve Hancock [Wed, 24 Nov 2021 04:35:11 +0000 (20:35 -0800)]
revised internal error checks

3 years agoadded test for issue git #74
Steve Hancock [Wed, 24 Nov 2021 01:19:43 +0000 (17:19 -0800)]
added test for issue git #74

3 years agoadd test for -xlp
Steve Hancock [Wed, 24 Nov 2021 01:10:01 +0000 (17:10 -0800)]
add test for -xlp

3 years agoimprove some variable names
Steve Hancock [Tue, 23 Nov 2021 23:07:15 +0000 (15:07 -0800)]
improve some variable names

3 years agofix b1264, -lp formatting under stress
Steve Hancock [Tue, 23 Nov 2021 19:26:35 +0000 (11:26 -0800)]
fix b1264, -lp formatting under stress

3 years agocode cleanups
Steve Hancock [Tue, 23 Nov 2021 14:25:22 +0000 (06:25 -0800)]
code cleanups

3 years agocode simplification
Steve Hancock [Mon, 22 Nov 2021 18:00:10 +0000 (10:00 -0800)]
code simplification

3 years agofix b1262, list formatting under stress
Steve Hancock [Mon, 22 Nov 2021 02:05:15 +0000 (18:05 -0800)]
fix b1262, list formatting under stress

3 years agofix b1259, b1260, instabilities with -bbxi=2 and very short lines
Steve Hancock [Sun, 21 Nov 2021 14:56:39 +0000 (06:56 -0800)]
fix b1259, b1260, instabilities with -bbxi=2 and very short lines

3 years agobump version to 20211029.01 20211029.01
Steve Hancock [Sat, 20 Nov 2021 15:43:20 +0000 (07:43 -0800)]
bump version to 20211029.01

3 years agoadded test case rt140025
Steve Hancock [Sat, 20 Nov 2021 02:06:18 +0000 (18:06 -0800)]
added test case rt140025

3 years agoadd -xlp flag
Steve Hancock [Sat, 20 Nov 2021 01:52:11 +0000 (17:52 -0800)]
add -xlp flag

3 years agoclean up revised -lp coding
Steve Hancock [Fri, 19 Nov 2021 16:00:44 +0000 (08:00 -0800)]
clean up revised -lp coding

3 years agomove storage of seqno for -lp containers to avoid gaps
Steve Hancock [Fri, 19 Nov 2021 02:21:43 +0000 (18:21 -0800)]
move storage of seqno for -lp containers to avoid gaps

3 years agofix b1257, rare instability in math formatting
Steve Hancock [Thu, 18 Nov 2021 19:04:55 +0000 (11:04 -0800)]
fix b1257, rare instability in math formatting

3 years agoissue c098, update sub break_lists for revised -lp
Steve Hancock [Thu, 18 Nov 2021 14:59:51 +0000 (06:59 -0800)]
issue c098, update sub break_lists for revised -lp

3 years agoissue c098, merging standard and -lp indentation
Steve Hancock [Thu, 18 Nov 2021 14:53:27 +0000 (06:53 -0800)]
issue c098, merging standard and -lp indentation

3 years agoupdate sub set_vertical_tightness_flags for new -lp model
Steve Hancock [Wed, 17 Nov 2021 13:39:30 +0000 (05:39 -0800)]
update sub set_vertical_tightness_flags for new -lp model

3 years agoupdate sub set_comma_breakpoints_do for new -lp
Steve Hancock [Tue, 16 Nov 2021 17:39:16 +0000 (09:39 -0800)]
update sub set_comma_breakpoints_do for new -lp

3 years agoremove old -lp coding: sub set_leading_whitespace
Steve Hancock [Tue, 16 Nov 2021 14:02:23 +0000 (06:02 -0800)]
remove old -lp coding: sub set_leading_whitespace

3 years agofix b1255 - improved cutoff limit for -lp formatting
Steve Hancock [Mon, 15 Nov 2021 01:10:27 +0000 (17:10 -0800)]
fix b1255 - improved cutoff limit for -lp formatting

3 years agofix b1251, avoid new welds of sheared parens
Steve Hancock [Mon, 15 Nov 2021 00:23:25 +0000 (16:23 -0800)]
fix b1251, avoid new welds of sheared parens

3 years agofix issue c109, 's s(..)(.)sss'
Steve Hancock [Sun, 14 Nov 2021 14:24:29 +0000 (06:24 -0800)]
fix issue c109, 's s(..)(.)sss'

3 years agoput a reasonable limit of 100 on weld cutoff level
Steve Hancock [Sat, 13 Nov 2021 00:24:32 +0000 (16:24 -0800)]
put a reasonable limit of 100 on weld cutoff level

3 years agomerge two weld cutoff limits, fixes b1252
Steve Hancock [Fri, 12 Nov 2021 23:34:27 +0000 (15:34 -0800)]
merge two weld cutoff limits, fixes b1252

3 years agofix b1244, do not start -lp under stress
Steve Hancock [Fri, 12 Nov 2021 01:42:00 +0000 (17:42 -0800)]
fix b1244, do not start -lp under stress

3 years agoadd ref check needed due to recent update for -lp
Steve Hancock [Fri, 12 Nov 2021 00:27:00 +0000 (16:27 -0800)]
add ref check needed due to recent update for -lp

3 years agofix b1243, welding under stress
Steve Hancock [Fri, 12 Nov 2021 00:20:06 +0000 (16:20 -0800)]
fix b1243, welding under stress

3 years agosimplify sub set_lp_indentation
Steve Hancock [Thu, 11 Nov 2021 23:28:56 +0000 (15:28 -0800)]
simplify sub set_lp_indentation

3 years agoupdate sub set_lp_indentation
Steve Hancock [Wed, 10 Nov 2021 16:31:37 +0000 (08:31 -0800)]
update sub set_lp_indentation

3 years agoFix tokenization of $$^, issue c106
Steve Hancock [Tue, 9 Nov 2021 01:18:38 +0000 (17:18 -0800)]
Fix tokenization of $$^, issue c106

3 years agofix c104, error reformatting '$ 0'
Steve Hancock [Mon, 8 Nov 2021 23:52:39 +0000 (15:52 -0800)]
fix c104, error reformatting '$ 0'

3 years agoadd tokenizer tests
Steve Hancock [Mon, 8 Nov 2021 23:52:03 +0000 (15:52 -0800)]
add tokenizer tests

3 years agofix c103, diamond operator after possible indirect object
Steve Hancock [Mon, 8 Nov 2021 23:50:17 +0000 (15:50 -0800)]
fix c103, diamond operator after possible indirect object

3 years agofix b1240, rare instability formatting under stress
Steve Hancock [Mon, 8 Nov 2021 14:19:29 +0000 (06:19 -0800)]
fix b1240, rare instability formatting under stress

3 years agofix instability issue b1241
Steve Hancock [Mon, 8 Nov 2021 01:09:05 +0000 (17:09 -0800)]
fix instability issue b1241

3 years agofix issue b1239, rare instability
Steve Hancock [Sun, 7 Nov 2021 23:21:30 +0000 (15:21 -0800)]
fix issue b1239, rare instability

3 years agoFix undefined variable reference, c102
Steve Hancock [Sat, 6 Nov 2021 12:25:37 +0000 (05:25 -0700)]
Fix undefined variable reference, c102

3 years agonew sub set_lp_indentation fixes b1235 b1237
Steve Hancock [Fri, 5 Nov 2021 14:12:52 +0000 (07:12 -0700)]
new sub set_lp_indentation fixes b1235 b1237

3 years agoadded new sub set_lp_indentation
Steve Hancock [Fri, 5 Nov 2021 14:10:25 +0000 (07:10 -0700)]
added new sub set_lp_indentation

3 years agoupdate comments
Steve Hancock [Fri, 5 Nov 2021 14:07:16 +0000 (07:07 -0700)]
update comments

3 years agoadd var _ri_starting_one_line_block_, add test c100
Steve Hancock [Thu, 4 Nov 2021 14:32:10 +0000 (07:32 -0700)]
add var _ri_starting_one_line_block_, add test c100

3 years agofix b1234.in, make token type after '->' consistent
Steve Hancock [Thu, 4 Nov 2021 00:31:06 +0000 (17:31 -0700)]
fix b1234.in, make token type after '->' consistent

3 years agoadd sub get_spaces_level_ci for future use
Steve Hancock [Thu, 4 Nov 2021 00:30:37 +0000 (17:30 -0700)]
add sub get_spaces_level_ci for future use

3 years agofix problem with some comments exceeding line length limit
Steve Hancock [Wed, 3 Nov 2021 23:47:51 +0000 (16:47 -0700)]
fix problem with some comments exceeding line length limit

3 years agoDo not break hash braces under stress (fixes b1238)
Steve Hancock [Wed, 3 Nov 2021 14:30:53 +0000 (07:30 -0700)]
Do not break hash braces under stress (fixes b1238)

3 years agofix b1236, incorrect -kpit function with parenless for
Steve Hancock [Wed, 3 Nov 2021 12:49:15 +0000 (05:49 -0700)]
fix b1236, incorrect -kpit function with parenless for

3 years agoupdate to version 20211029 20211029
Steve Hancock [Fri, 29 Oct 2021 12:58:25 +0000 (05:58 -0700)]
update to version 20211029

3 years agoadd example for -iob
Steve Hancock [Tue, 26 Oct 2021 13:49:22 +0000 (06:49 -0700)]
add example for -iob

3 years agofix b1232, rare formatting instability
Steve Hancock [Mon, 25 Oct 2021 22:49:20 +0000 (15:49 -0700)]
fix b1232, rare formatting instability

3 years agofix c093, a minor vertical alignment issue
Steve Hancock [Sun, 24 Oct 2021 18:14:51 +0000 (11:14 -0700)]
fix c093, a minor vertical alignment issue

3 years agofix b1231, rare instability involving -bbp=3 -bbpi=2 -iob -xci
Steve Hancock [Sun, 24 Oct 2021 01:03:52 +0000 (18:03 -0700)]
fix b1231, rare instability involving -bbp=3 -bbpi=2 -iob -xci

3 years agofix b1230, rare formatting instability
Steve Hancock [Fri, 22 Oct 2021 21:57:08 +0000 (14:57 -0700)]
fix b1230, rare formatting instability

3 years agoFix b1229, very rare instablity with -lp -bbao
Steve Hancock [Thu, 21 Oct 2021 21:34:48 +0000 (14:34 -0700)]
Fix b1229, very rare instablity with -lp -bbao

3 years agoFix c090, inconsistent warning messages for deprecated syntax
Steve Hancock [Thu, 21 Oct 2021 13:21:02 +0000 (06:21 -0700)]
Fix c090, inconsistent warning messages for deprecated syntax

3 years agoFix c091, incorrect closing side comment
Steve Hancock [Thu, 21 Oct 2021 00:07:36 +0000 (17:07 -0700)]
Fix c091, incorrect closing side comment

3 years agoimprove alignment for sub calls without parens, issue c089
Steve Hancock [Wed, 20 Oct 2021 15:12:17 +0000 (08:12 -0700)]
improve alignment for sub calls without parens, issue c089

3 years agofix issue c087, follow break after anonymous sub closing brace
Steve Hancock [Mon, 18 Oct 2021 00:18:17 +0000 (17:18 -0700)]
fix issue c087, follow break after anonymous sub closing brace

3 years agoupdate some fault checks
Steve Hancock [Sun, 17 Oct 2021 13:23:50 +0000 (06:23 -0700)]
update some fault checks

3 years agoadded flag -blixl
Steve Hancock [Sun, 17 Oct 2021 02:31:10 +0000 (19:31 -0700)]
added flag -blixl

3 years agoadd -bl control parameters -bll and -blxl, part 2
Steve Hancock [Sat, 16 Oct 2021 20:09:03 +0000 (13:09 -0700)]
add -bl control parameters -bll and -blxl, part 2

3 years agoconvert regex to hash for minor tokenizer speedup
Steve Hancock [Sat, 16 Oct 2021 14:37:39 +0000 (07:37 -0700)]
convert regex to hash for minor tokenizer speedup