X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=CHANGES;h=2182657737d36844b58649ad7195b646cc425833;hb=8aa69fbac36a21cad0a1c0d5b3452a546d427d7f;hp=b103a05e462103749847089008461ca135b249eb;hpb=7272c75ca797879bc1a6bb26ad0f82b89255104a;p=perltidy.git diff --git a/CHANGES b/CHANGES index b103a05..2182657 100644 --- a/CHANGES +++ b/CHANGES @@ -1,11 +1,65 @@ Perltidy Change Log + 2007 04 24 + -ole (--output-line-ending) and -ple (--preserve-line-endings) should + now work on all systems rather than just unix systems. Thanks to Dan + Tyrell. + + -Fixed problem of a warning issued for multiple subs for BEGIN subs + and other control subs. Thanks to Heiko Eissfeldt. + + -Fixed problem where no space was introduced between a keyword or + bareword and a colon, such as: + + ( ref($result) eq 'HASH' && !%$result ) ? undef: $result; + + Thanks to Niek. + + -Added a utility program 'break_long_quotes.pl' to the examples directory of + the distribution. It breaks long quoted strings into a chain of concatenated + sub strings no longer than a selected length. Suggested by Michael Renner as + a perltidy feature but was judged to be best done in a separate program. + + -Updated docs to remove extra < and >= from list of tokens + after which breaks are made by default. Thanks to Bob Kleemann. + + -Removed improper uses of $_ to avoid conflicts with external calls, giving + error message similar to: + Modification of a read-only value attempted at + /usr/share/perl5/Perl/Tidy.pm line 6907. + Thanks to Michael Renner. + + -Fixed problem when errorfile was not a plain filename or filehandle + in a call to Tidy.pm. The call + perltidy(source => \$input, destination => \$output, errorfile => \$err); + gave the following error message: + Not a GLOB reference at /usr/share/perl5/Perl/Tidy.pm line 3827. + Thanks to Michael Renner and Phillipe Bruhat. + + -Fixed problem where -sot would not stack an opening token followed by + a side comment. Thanks to Jens Schicke. + + -improved breakpoints in complex math and other long statements. Example: + OLD: + return + log($n) + 0.577215664901532 + ( 1 / ( 2 * $n ) ) - + ( 1 / ( 12 * ( $n**2 ) ) ) + ( 1 / ( 120 * ( $n**4 ) ) ); + NEW: + return + log($n) + 0.577215664901532 + + ( 1 / ( 2 * $n ) ) - + ( 1 / ( 12 * ( $n**2 ) ) ) + + ( 1 / ( 120 * ( $n**4 ) ) ); + + -more robust vertical alignment of complex terminal else blocks and ternary + statements. + 2006 07 19 -Eliminated bug where a here-doc invoked through an 'e' modifier on a pattern replacement text was not recognized. The tokenizer now recursively scans replacement text (but does not reformat it). - -Improved vertical alignment of terminal else blocks and ternary statements. - Thanks to Chris for the suggestion. + -improved vertical alignment of terminal else blocks and ternary statements. + thanks to chris for the suggestion. OLD: if ( IsBitmap() ) { return GetBitmap(); }