]> git.donarmstrong.com Git - perltidy.git/log
perltidy.git
5 years agoprepare for release of VERSION 20200110
Steve Hancock [Tue, 7 Jan 2020 16:38:35 +0000 (08:38 -0800)]
prepare for release of VERSION 20200110

5 years agoadded flag -olbn to control breaking nested one-line blocks
Steve Hancock [Tue, 7 Jan 2020 01:15:16 +0000 (17:15 -0800)]
added flag -olbn to control breaking nested one-line blocks

5 years agominor coding optimization
Steve Hancock [Mon, 6 Jan 2020 14:46:22 +0000 (06:46 -0800)]
minor coding optimization

5 years agoupdated error stop criterion for iterations
Steve Hancock [Mon, 6 Jan 2020 14:44:39 +0000 (06:44 -0800)]
updated error stop criterion for iterations

5 years agoadded sub mate_index_to_go; part of ongoing conversion
Steve Hancock [Thu, 2 Jan 2020 17:49:50 +0000 (09:49 -0800)]
added sub mate_index_to_go; part of ongoing conversion

5 years agorewrote 'send_lines_to_vertical_aligner'; no globals
Steve Hancock [Wed, 1 Jan 2020 18:53:46 +0000 (10:53 -0800)]
rewrote 'send_lines_to_vertical_aligner'; no globals

5 years agofixed rt#131288
Steve Hancock [Mon, 30 Dec 2019 00:02:14 +0000 (16:02 -0800)]
fixed rt#131288

5 years agofix benign error (csc goes out on last line only)
Steve Hancock [Sun, 29 Dec 2019 15:24:55 +0000 (07:24 -0800)]
fix benign error (csc goes out on last line only)

5 years agoFixed undef in error message parsing 'sub () name'
Steve Hancock [Sun, 29 Dec 2019 15:23:19 +0000 (07:23 -0800)]
Fixed undef in error message parsing 'sub () name'

5 years agosome coding cleanups
Steve Hancock [Sat, 28 Dec 2019 17:07:51 +0000 (09:07 -0800)]
some coding cleanups

5 years agoeliminated global array @matching_token_to_go
Steve Hancock [Thu, 26 Dec 2019 18:31:18 +0000 (10:31 -0800)]
eliminated global array @matching_token_to_go

5 years agosome code cleanups to keep arrays consistent
Steve Hancock [Wed, 25 Dec 2019 16:17:40 +0000 (08:17 -0800)]
some code cleanups to keep arrays consistent

5 years agomoved some error-checking code to better location
Steve Hancock [Tue, 24 Dec 2019 15:18:53 +0000 (07:18 -0800)]
moved some error-checking code to better location

5 years agoSimplify coding of closing side comments
Steve Hancock [Sun, 22 Dec 2019 15:33:42 +0000 (07:33 -0800)]
Simplify coding of closing side comments

5 years agorewrote sub terminal_type_i() for efficiency
Steve Hancock [Fri, 20 Dec 2019 14:53:26 +0000 (06:53 -0800)]
rewrote sub terminal_type_i() for efficiency

5 years agoImproved semicolon deletion rules
Steve Hancock [Wed, 18 Dec 2019 15:37:59 +0000 (07:37 -0800)]
Improved semicolon deletion rules

5 years agoreworked coding which removes extra semicolons to use new data structures
Steve Hancock [Wed, 18 Dec 2019 00:37:13 +0000 (16:37 -0800)]
reworked coding which removes extra semicolons to use new data structures

5 years agoFixed very minor coding error
Steve Hancock [Tue, 17 Dec 2019 01:47:57 +0000 (17:47 -0800)]
Fixed very minor coding error

5 years agorewrote sub in_same_container() for efficiency
Steve Hancock [Mon, 16 Dec 2019 02:10:48 +0000 (18:10 -0800)]
rewrote sub in_same_container() for efficiency

5 years agobumped version to 20191203.01
Steve Hancock [Sat, 14 Dec 2019 15:00:30 +0000 (07:00 -0800)]
bumped version to 20191203.01

5 years agoset version to 20191203 20191203
Steve Hancock [Mon, 2 Dec 2019 18:14:32 +0000 (10:14 -0800)]
set version to 20191203

5 years agotidied code
Steve Hancock [Sun, 1 Dec 2019 02:04:27 +0000 (18:04 -0800)]
tidied code

5 years agopreparing for release; set version to 20191207
Steve Hancock [Sun, 1 Dec 2019 01:59:20 +0000 (17:59 -0800)]
preparing for release; set version to 20191207

5 years agofixed RT#131115, problem with -bli
Steve Hancock [Sun, 1 Dec 2019 01:46:52 +0000 (17:46 -0800)]
fixed RT#131115, problem with -bli

5 years agofixed index error in new coding
Steve Hancock [Sat, 16 Nov 2019 15:29:05 +0000 (07:29 -0800)]
fixed index error in new coding

5 years agosome code simplification
Steve Hancock [Wed, 13 Nov 2019 15:08:01 +0000 (07:08 -0800)]
some code simplification

5 years agosome code clanups
Steve Hancock [Mon, 11 Nov 2019 15:54:29 +0000 (07:54 -0800)]
some code clanups

5 years agofixed RT130394, allow short nested blocks
Steve Hancock [Mon, 11 Nov 2019 06:00:46 +0000 (22:00 -0800)]
fixed RT130394, allow short nested blocks

5 years agofixed some strange alignments, added some tests
Steve Hancock [Mon, 4 Nov 2019 17:22:45 +0000 (09:22 -0800)]
fixed some strange alignments, added some tests

5 years agocode cleanups
Steve Hancock [Mon, 4 Nov 2019 00:34:06 +0000 (16:34 -0800)]
code cleanups

5 years agoeliminated [ as an alignment token
Steve Hancock [Sun, 3 Nov 2019 04:53:49 +0000 (21:53 -0700)]
eliminated [ as an alignment token

5 years agofixed minor alignment problem involving mutiple fat commas
Steve Hancock [Sun, 3 Nov 2019 00:11:06 +0000 (17:11 -0700)]
fixed minor alignment problem involving mutiple fat commas

5 years agomostly code cleanups
Steve Hancock [Fri, 1 Nov 2019 01:23:59 +0000 (18:23 -0700)]
mostly code cleanups

5 years agocode cleanups
Steve Hancock [Tue, 29 Oct 2019 19:12:37 +0000 (12:12 -0700)]
code cleanups

5 years agoremoved a gap test for alignment
Steve Hancock [Tue, 29 Oct 2019 14:01:02 +0000 (07:01 -0700)]
removed a gap test for alignment

5 years agominor adjustments in sub decide_if_aligned_pair()
Steve Hancock [Tue, 29 Oct 2019 01:19:44 +0000 (18:19 -0700)]
minor adjustments in sub decide_if_aligned_pair()

5 years agorewrote sub decide_if_aligned()
Steve Hancock [Thu, 24 Oct 2019 14:29:57 +0000 (07:29 -0700)]
rewrote sub decide_if_aligned()

5 years agovertical alignment for 2 lines with trailing 'if', 'or'
Steve Hancock [Sat, 19 Oct 2019 22:49:33 +0000 (15:49 -0700)]
vertical alignment for 2 lines with trailing 'if', 'or'

5 years agoimproved multiple equals vertical alignment
Steve Hancock [Sat, 19 Oct 2019 13:13:02 +0000 (06:13 -0700)]
improved multiple equals vertical alignment

5 years agoimproved vertical alignment for multiple equals
Steve Hancock [Wed, 16 Oct 2019 13:53:17 +0000 (06:53 -0700)]
improved vertical alignment for multiple equals

5 years agofixed some two line alignments
Steve Hancock [Sun, 13 Oct 2019 13:48:46 +0000 (06:48 -0700)]
fixed some two line alignments

5 years agofixed git#10, minor -wn -ce conflict
Steve Hancock [Sat, 12 Oct 2019 22:51:50 +0000 (15:51 -0700)]
fixed git#10, minor -wn -ce conflict

5 years agofixed issue git#16
Steve Hancock [Sat, 12 Oct 2019 00:01:09 +0000 (17:01 -0700)]
fixed issue git#16

5 years agoadded -sub-alias-list and -space-prototype-paren
Steve Hancock [Fri, 11 Oct 2019 16:56:07 +0000 (09:56 -0700)]
added -sub-alias-list and -space-prototype-paren

5 years agobumped version to 20190915.01 20190915.01
Steve Hancock [Thu, 10 Oct 2019 22:41:24 +0000 (15:41 -0700)]
bumped version to 20190915.01

5 years agominor doc cleanups 20190915
Steve Hancock [Sat, 14 Sep 2019 23:02:33 +0000 (16:02 -0700)]
minor doc cleanups

5 years agoversion change to 20190915
Steve Hancock [Sat, 14 Sep 2019 04:13:09 +0000 (21:13 -0700)]
version change to 20190915

5 years agofixed assert-untidy
Steve Hancock [Thu, 5 Sep 2019 22:55:27 +0000 (15:55 -0700)]
fixed assert-untidy

5 years agoadded --assert-untidy
Steve Hancock [Thu, 5 Sep 2019 15:26:01 +0000 (08:26 -0700)]
added --assert-untidy

5 years agoadded rt#130425 feature, --assert-unchanged
Steve Hancock [Wed, 4 Sep 2019 22:58:39 +0000 (15:58 -0700)]
added rt#130425 feature, --assert-unchanged

5 years agofixed RT#130344, false "operator in print statement" warning
Steve Hancock [Thu, 22 Aug 2019 23:22:51 +0000 (16:22 -0700)]
fixed RT#130344, false "operator in print statement" warning

5 years agochanged file display name for <stdin> and <source_stream>
Steve Hancock [Sun, 18 Aug 2019 13:12:45 +0000 (06:12 -0700)]
changed file display name for <stdin> and <source_stream>

5 years agoremoved unused sub OLD_warning
Steve Hancock [Sat, 17 Aug 2019 14:41:56 +0000 (07:41 -0700)]
removed unused sub OLD_warning

5 years agofixed RT#130304, standard error output should include filename
Steve Hancock [Sat, 17 Aug 2019 14:37:58 +0000 (07:37 -0700)]
fixed RT#130304, standard error output should include filename

5 years agofixes for RT#130297: exit with nonzero exit status if any output to stderr
Steve Hancock [Thu, 15 Aug 2019 00:58:49 +0000 (17:58 -0700)]
fixes for RT#130297: exit with nonzero exit status if any output to stderr

5 years agoMerge branch 'master' of git+ssh://github.com/perltidy/perltidy
Steve Hancock [Wed, 14 Aug 2019 13:35:53 +0000 (06:35 -0700)]
Merge branch 'master' of git+ssh://github.com/perltidy/perltidy

5 years agoupdate change docs
Steve Hancock [Wed, 14 Aug 2019 13:35:26 +0000 (06:35 -0700)]
update change docs

5 years agoMerge pull request #15 from scop/spelling+grammar
shancock9 [Wed, 14 Aug 2019 13:32:49 +0000 (06:32 -0700)]
Merge pull request #15 from scop/spelling+grammar

Spelling and grammar fixes

5 years agoSpelling and grammar fixes
Ville Skyttä [Wed, 14 Aug 2019 08:36:16 +0000 (11:36 +0300)]
Spelling and grammar fixes

5 years agoadded warning about conflict of -iob and -boc for rt#130008
Steve Hancock [Tue, 9 Jul 2019 01:59:11 +0000 (18:59 -0700)]
added warning about conflict of -iob and -boc for rt#130008

5 years agofixed RT#129850
Steve Hancock [Sat, 22 Jun 2019 15:18:53 +0000 (08:18 -0700)]
fixed RT#129850

5 years agofixed RT#129850; change binary whitespace rule
Steve Hancock [Sat, 22 Jun 2019 15:16:50 +0000 (08:16 -0700)]
fixed RT#129850; change binary whitespace rule
 Please enter the commit message for your changes. Lines starting

5 years agofixed git#14, unwanted break at trailing 'or'
Steve Hancock [Wed, 19 Jun 2019 21:20:29 +0000 (14:20 -0700)]
fixed git#14, unwanted break at trailing 'or'

5 years agoimproved vertical alignment when just two lines
Steve Hancock [Tue, 18 Jun 2019 17:56:37 +0000 (10:56 -0700)]
improved vertical alignment when just two lines

6 years agosome vertical alignment improvements
Steve Hancock [Sun, 16 Jun 2019 14:34:47 +0000 (07:34 -0700)]
some vertical alignment improvements

6 years agofix for git#13, excess trailing whitespace in error msg
Steve Hancock [Mon, 10 Jun 2019 17:37:59 +0000 (10:37 -0700)]
fix for git#13, excess trailing whitespace in error msg

6 years agofix for git#13, trailing whitespace in error msg
Steve Hancock [Mon, 10 Jun 2019 17:35:48 +0000 (10:35 -0700)]
fix for git#13, trailing whitespace in error msg

6 years agocode cleanup and simplification
Steve Hancock [Tue, 4 Jun 2019 20:54:18 +0000 (13:54 -0700)]
code cleanup and simplification

6 years agofix cuddled else with sort,map,grep
Steve Hancock [Tue, 4 Jun 2019 00:48:25 +0000 (17:48 -0700)]
fix cuddled else with sort,map,grep

6 years agoadded test for -ce with -cbl=map,sort,grep
Steve Hancock [Tue, 4 Jun 2019 00:40:40 +0000 (17:40 -0700)]
added test for -ce with -cbl=map,sort,grep

6 years agoupdate for issue #9, cuddled map,sort,grep
Steve Hancock [Tue, 4 Jun 2019 00:35:33 +0000 (17:35 -0700)]
update for issue #9, cuddled map,sort,grep

6 years agoimproved vertical alignment of elsif statements
Steve Hancock [Mon, 3 Jun 2019 21:22:01 +0000 (14:22 -0700)]
improved vertical alignment of elsif statements

6 years agofixed glitch with comma alignment; added tests
Steve Hancock [Mon, 3 Jun 2019 03:10:20 +0000 (20:10 -0700)]
fixed glitch with comma alignment; added tests

6 years agoremoved restriction on '=~' as alignment token
Steve Hancock [Sun, 2 Jun 2019 20:38:51 +0000 (13:38 -0700)]
removed restriction on '=~' as alignment token

6 years agoadded tests for new sub 'remove_needless_parens'
Steve Hancock [Sun, 2 Jun 2019 19:31:37 +0000 (12:31 -0700)]
added tests for new sub 'remove_needless_parens'

6 years agobumped version; add delete_needless_paren()
Steve Hancock [Sun, 2 Jun 2019 19:11:07 +0000 (12:11 -0700)]
bumped version; add delete_needless_paren()

6 years agoupdate MANIFEST for distribution
Steve Hancock [Fri, 31 May 2019 14:05:59 +0000 (07:05 -0700)]
update MANIFEST for distribution

6 years agocleanups prior to release 20190601
Steve Hancock [Thu, 30 May 2019 23:08:24 +0000 (16:08 -0700)]
cleanups prior to release

6 years agocleanups before release
Steve Hancock [Thu, 30 May 2019 22:47:16 +0000 (15:47 -0700)]
cleanups before release

6 years agofix comment
Steve Hancock [Thu, 30 May 2019 14:47:20 +0000 (07:47 -0700)]
fix comment

6 years agoupdate version to 20190601
Steve Hancock [Thu, 30 May 2019 14:39:19 +0000 (07:39 -0700)]
update version to 20190601

6 years agocleaned up docs
Steve Hancock [Wed, 29 May 2019 02:56:42 +0000 (19:56 -0700)]
cleaned up docs

6 years agoran tidyall
Steve Hancock [Wed, 29 May 2019 00:33:36 +0000 (17:33 -0700)]
ran tidyall

6 years agoAdded returns for PerlCritic
Steve Hancock [Tue, 28 May 2019 14:50:02 +0000 (07:50 -0700)]
Added returns for PerlCritic

6 years agofix rt #128477: keep owner/group and setuid/setgid consistent
Steve Hancock [Tue, 28 May 2019 00:29:19 +0000 (17:29 -0700)]
fix rt #128477: keep owner/group and setuid/setgid consistent

6 years agoclean up comments
Steve Hancock [Sat, 25 May 2019 13:34:14 +0000 (06:34 -0700)]
clean up comments

6 years agoupdated -bom to handle cuddled style chain calls
Steve Hancock [Sat, 25 May 2019 13:30:48 +0000 (06:30 -0700)]
updated -bom to handle cuddled style chain calls

6 years agomerged -bom update
Steve Hancock [Sat, 9 Mar 2019 20:53:29 +0000 (12:53 -0800)]
merged -bom update

6 years agoMerge pull request #7 from merrilymeredith/preserve-method-chains
shancock9 [Sat, 9 Mar 2019 20:50:19 +0000 (12:50 -0800)]
Merge pull request #7 from merrilymeredith/preserve-method-chains

New option: -bom – Preserve method chain breakpoints

6 years agoMerge branch 'master' into preserve-method-chains
shancock9 [Sat, 9 Mar 2019 20:49:48 +0000 (12:49 -0800)]
Merge branch 'master' into preserve-method-chains

6 years agoMerge branch 'master' of git+ssh://github.com/perltidy/perltidy
Steve Hancock [Sat, 9 Mar 2019 20:10:15 +0000 (12:10 -0800)]
Merge branch 'master' of git+ssh://github.com/perltidy/perltidy
Merge pull request #8 from rivy/fix.appveyor+mswin32-eols

6 years agoMerge pull request #8 from rivy/fix.appveyor+mswin32-eols
shancock9 [Sat, 9 Mar 2019 20:09:25 +0000 (12:09 -0800)]
Merge pull request #8 from rivy/fix.appveyor+mswin32-eols

Fix MSWin32 EOL translation under UTF-8 (includes AppVeyor CI fix)

6 years agofix Windows EOL translation error with UTF-8
Roy Ivy III [Sat, 9 Mar 2019 05:31:26 +0000 (23:31 -0600)]
fix Windows EOL translation error with UTF-8

.# Discussion

When using `binmode ... ":encoding(UTF8)"`, the CRLF translation layer is left in-place.
As used prior to this commit, on Windows machines, this `binmode` setting causes
the output file to be converted to "DOS" CRLF line endings regardless of other settings.

`binmode ... ":raw:encoding(UTF8)"` will enable UTF-8 without the CRLF translation layer.

6 years agoadd EOL testing
Roy Ivy III [Sat, 9 Mar 2019 07:38:57 +0000 (01:38 -0600)]
add EOL testing

* fails (under Windows) for file output with UTF-8 encoding

6 years agofix AppVeyor CI configuration
Roy Ivy III [Sat, 9 Mar 2019 06:17:23 +0000 (00:17 -0600)]
fix AppVeyor CI configuration

* adds MSWin32 testing for perl v5.8.8.8+

* similar in spirit to @haarg's Travis CI helper scripts

* *robustly flexible*, working with make, build, and `prove` compatible distributions
* supports integration of both CodeCov and Coveralls coverage testing
* overcomes bugs in AppVeyor and perl tooling
* robust in cases of inaccessible Chocolatey or StrawberryPerl downloads

* ".appveyor.yml" can be a simple drop-in for most distributions

* see <https://github.com/rivy/CI.AppVeyor.helpers-perl> for more information

6 years agoAdd test of --break-on-old-method-breakpoints
Meredith Howard [Wed, 6 Mar 2019 01:45:04 +0000 (19:45 -0600)]
Add test of --break-on-old-method-breakpoints

6 years agoAdd break-at-old-method-breakpoints
Meredith Howard [Tue, 5 Mar 2019 06:50:18 +0000 (00:50 -0600)]
Add break-at-old-method-breakpoints

Create -bom option and docs

6 years agoMerge branch 'master' of git+ssh://github.com/perltidy/perltidy
Steve Hancock [Wed, 27 Feb 2019 14:44:33 +0000 (06:44 -0800)]
Merge branch 'master' of git+ssh://github.com/perltidy/perltidy
pulled debian doc change regarding redirection to stdout

6 years agoMerge pull request #6 from pevik/doc/standard-output
shancock9 [Wed, 27 Feb 2019 14:43:15 +0000 (06:43 -0800)]
Merge pull request #6 from pevik/doc/standard-output

doc: Mention proper way to redirect to stdout

6 years agodoc: Mention proper way to redirect to stdout
Don Armstrong [Tue, 26 Feb 2019 22:10:41 +0000 (23:10 +0100)]
doc: Mention proper way to redirect to stdout

Patch originated from Debian package

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>