2013-06-10 10:35:31 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Jun 9 14:59:59 UTC 2013 - coolo@suse.com
|
|
|
|
|
|
|
|
- updated to 20121207
|
|
|
|
- The flag -cab=n or --comma-arrow-breakpoints=n has been generalized
|
|
|
|
to give better control over breaking open short containers. The
|
|
|
|
possible values are now:
|
|
|
|
|
|
|
|
n=0 break at all commas after =>
|
|
|
|
n=1 stable: break at all commas after => if container is open,
|
|
|
|
EXCEPT FOR one-line containers
|
|
|
|
n=2 break at all commas after =>, BUT try to form the maximum
|
|
|
|
maximum one-line container lengths
|
|
|
|
n=3 do not treat commas after => specially at all
|
|
|
|
n=4 break everything: like n=0 but also break a short container with
|
|
|
|
a => not followed by a comma
|
|
|
|
n=5 stable: like n=1 but ALSO break at open one-line containers (default)
|
|
|
|
|
|
|
|
New values n=4 and n=5 have been added to allow short blocks to be
|
|
|
|
broken open. The new default is n=5, stable. It should more closely
|
|
|
|
follow the breaks in the input file, and previously formatted code
|
|
|
|
should remain unchanged. If this causes problems use -cab=1 to recover
|
|
|
|
the former behavior. Thanks to Tony Maszeroski for the suggestion.
|
|
|
|
|
|
|
|
To illustrate the need for the new options, if perltidy is given
|
|
|
|
the following code, then the old default (-cab=1) was to close up
|
|
|
|
the 'index' container even if it was open in the source. The new
|
|
|
|
default (-cab=5) will keep it open if it was open in the source.
|
|
|
|
|
|
|
|
our $fancypkg = {
|
|
|
|
'ALL' => {
|
|
|
|
'index' => {
|
|
|
|
'key' => 'value',
|
|
|
|
},
|
|
|
|
'alpine' => {
|
|
|
|
'one' => '+',
|
|
|
|
'two' => '+',
|
|
|
|
'three' => '+',
|
|
|
|
},
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
- New debug flag --memoize (-mem). This version contains a
|
|
|
|
patch supplied by Jonathan Swartz which can significantly speed up
|
|
|
|
repeated calls to Perl::Tidy::perltidy in a single process by caching
|
|
|
|
the result of parsing the formatting parameters. A factor of up to 10
|
|
|
|
speedup was achieved for masontidy (https://metacpan.org/module/masontidy).
|
|
|
|
The memoization patch is on by default but can be deactivated for
|
|
|
|
testing with -nmem (or --no-memoize).
|
|
|
|
|
2011-12-19 10:52:53 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Dec 19 10:50:16 UTC 2011 - coolo@suse.de
|
|
|
|
|
|
|
|
- update to 20101217
|
|
|
|
- added new flag -it=n or --iterations=n
|
|
|
|
- A configuration file pathname begins with three dots, e.g.
|
|
|
|
".../.perltidyrc", indicates that the file should be searched for starting
|
|
|
|
in the current directory and working upwards.
|
|
|
|
- Added flag --notidy which disables all formatting and causes the input to be
|
|
|
|
copied unchanged.
|
|
|
|
- Added prefilters and postfilters in the call to the Tidy.pm module.
|
|
|
|
- The starting indentation level of sections of code entabbed with -et=n
|
|
|
|
is correctly guessed if it was also produced with the same -et=n flag. This
|
|
|
|
keeps the indentation stable on repeated formatting passes within an editor.
|
|
|
|
Thanks to Sam Kington and Glenn.
|
|
|
|
- Functions with prototype '&' had a space between the function and opening peren.
|
|
|
|
- Patch to never put spaces around a bare word in braces beginning with ^
|
|
|
|
|
2010-12-01 13:52:42 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Dec 1 13:34:30 UTC 2010 - coolo@novell.com
|
|
|
|
|
|
|
|
- switch to perl_requires macro
|
|
|
|
|
2010-10-13 23:13:00 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Oct 13 23:11:58 UTC 2010 - chris@computersalat.de
|
|
|
|
|
|
|
|
- noarch pkg
|
|
|
|
- recreated by cpanspec 1.78
|
|
|
|
|
2010-04-29 14:44:44 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jan 20 16:54:54 UTC 2010 - lars@linux-schulserver.de
|
|
|
|
|
|
|
|
- specfile cleanup
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jan 14 00:00:00 CET 2010 - cwh@suse.de
|
|
|
|
|
|
|
|
- initial version
|
|
|
|
|
|
|
|
|