2.3.2 2011-08-15
----------------
A bug fix release.
Improvements
------------
[ui][console] Added some newlines to improve readability.
Fixes
-----
[ui][console] Worked --verbose again.
Re-supported Ruby 1.8.6. [Reported by James Mead]
Thanks
------
James Mead
=== 2.1.0 / 2011-08-15
* 2 minor enhancements:
* Added new accessor canonicalize_conditions to toggle conditional canonicalization (on by default). (confused)
* Awesome cleanup: Replaced call to append_block by block_append. (Confusion)
* 2 bug fixes:
* Fixed handling last line of =begin/=end. (raybaxter)
* Fixed source line numbers after heredocs. (jbarreneche)
=== 3.0.6 / 2011-08-16
* 5 minor enhancements:
* Added ParseTreeTestCase#add_19tests
* Added a bunch of FAILING 1.9 tests stolen from presidentbeef's repo! yay!
* Added add_19tests and add_18tests to segregate version specific parsing.
* Moved pt_testcase.rb to sexp_processor
* Segregated a bunch of 1.8 specific tests using add_18tests.
=== 2.12.0 / 2011-08-15
* 2 minor enhancements:
* Forcibly copy file specified in --main to index.html. (ewong)
* need_tar now defaults to false.
* 4 bug fixes:
* Don't attempt to require RSpec 1 in an RSpec 2 environment. (monde)
* Fixed test/packaging issue when wrapping hoespec in namespace. (damphyr)
* Fixed tests for jruby. (sferik)
* Hoe.load_plugins removes bad entries so plugin? returns false for unloaded
plugins.
version: 0.48
date: Mon 21 Feb 2011
Version 0.48 released to CPAN. (No changes from 0.47_02.)
---
version: 0.47_02
date: Tues 1 Feb 2011
Version 0.47_02 released to CPAN.
Makefile.PL - Change the Test::Warn dependency from 0.22 to 0.21 and
specify it in top-level Makefile.PL instead of in C/Makefile.PL.
---
version: 0.47_01
date: Sun 30 January 2011
Version 0.47_01 released to CPAN.
Changes only to Inline::C test suite - see C/Changes.
---
version: 0.47
date: Fri 21 January 2011
Version 0.47 released to CPAN. No changes from 0.46_02
---
version: 0.46_02
date: Wed 29 December 2010
lib/Inline/MakeMaker.pm - apply patch from Raymond Mroz to accommodate the modern
h2xs directory structure. Bump Inline::MakeMaker version
to 0.45.
---
version: 0.46_01
date: Wed 31 March 2010 (and released to CPAN as 0.46_01)
Inline.pm - warn about untainting of Inline configuration info (where applicable)
- quieten non-numeric warnings in relation to devel releases
- quieten uninitialized warning regarding $ENV{WIN64} that can occur
in certain circumstances on MS Windows
Inline.pod - Documentation change relating to introduction of further _TESTING
capabilities in Inline::C
---
version: 0.46_01
date: Mon 8 March 2010
Inline.pm - add '_TESTING' config option
- hide the 'redefined' warning introduced by the fix to ticket 49669,
by placing the offending code in a 'no warnings "redefine";' block.
- bump require from 5.005 to 5.006
---
version: 0.46_01
date: Sun 14 feb 2010
Inline.pm - add archname and perlversion number to config filename.
C/C.pm - Second attempt at accommodating 'ccache cc' compiler (RT ticket 40140).
Thu Sep 23 09:52:13 2010 - 1.19
* Fix handling of 0 and '' key values (thanks to Fabrice Dulaunoy)
* Update docs to reflect behaviour: EscapeSequence=undef
doesn't work, you need to use the DisableEscapes Option
(thanks to Fischer Ronald)
* Bugfix: Improperly used preprocessor directive caused compilation failure
when using gcc 4.4.4 or newer.
Changes 1.9:
* Use of mmap
* Changes in compatibility mode
* Locking is disabled.
* Do not link pag to dir.
* gdbm_setopt
* The testgdbm program is installed
* A testsuite is provided.
* Improved documentation.
2.82 2011-06-26T05:12:04
- Moved the repository to
[GitHub](https://github.com/theory/svn-notify/). Yes, I'm aware of the
irony.
2.81 2011-02-19T03:09:43
- Removed deprecated use of `qw(...)` as parentheses.
- Fixed test failures due to a change in the opration of MIME-Q
encoding.
0.05 Sat Feb 19 03:51:57 CET 2011
[ENHANCEMENTS]
- Add support for Text-content-sha1 node property
- Don't create text or property blocks if they don't exist in
a dump. (Rocco Caputo)
- Add a digest() method to SVN::Dump::Text
(Inspired by a patch by Scott MacPhee, RT #56868)
- Add support for Text-content-sha1 / Text-copy-source-sha1
(RT #60207)
- New option check_digest that will, when reading a non-delta
dump, ensure that the content digest are valid
- Properly ignore blank lines between records (RT #25467, #28645)
2010 12 17
- added new flag -it=n or --iterations=n
This flag causes perltidy to do n complete iterations.
For most purposes the default of n=1 should be satisfactory. However n=2
can be useful when a major style change is being made, or when code is being
beautified on check-in to a source code control system. The run time will be
approximately proportional to n, and it should seldom be necessary to use a
value greater than n=2. Thanks to Jonathan Swartz
- 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. This makes it easier to have
multiple projects each with their own .perltidyrc in their root directories.
Thanks to Jonathan Swartz for this patch.
- Added flag --notidy which disables all formatting and causes the input to be
copied unchanged. This can be useful in conjunction with hierarchical
F<.perltidyrc> files to prevent unwanted tidying.
Thanks to Jonathan Swartz for this patch.
- Added prefilters and postfilters in the call to the Tidy.pm module.
Prefilters and postfilters. The prefilter is a code reference that
will be applied to the source before tidying, and the postfilter
is a code reference to the result before outputting.
Thanks to Jonathan Swartz for this patch. He writes:
This is useful for all manner of customizations. For example, I use
it to convert the 'method' keyword to 'sub' so that perltidy will work for
Method::Signature::Simple code:
Perl::Tidy::perltidy(
prefilter => sub { $_ = $_[0]; s/^method (.*)/sub $1 \#__METHOD/gm; return $_ },
postfilter => sub { $_ = $_[0]; s/^sub (.*?)\s* \#__METHOD/method $1/gm; return $_ }
);
- 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. This space now only occurs if the flag --space-function-paren (-sfp)
is set. Thanks to Zrajm Akfohg.
- Patch to never put spaces around a bare word in braces beginning with ^ as in:
my $before = ${^PREMATCH};
even if requested with the -bt=0 flag because any spaces cause a syntax error in perl.
Thanks to Fabrice Dulanoy.
1.28 Wed 2 Mar 2011
- The ->isa in the 5.10 operator and magic variable tests were
back the front, breaking both. Fixed (ADAMK)
- Magic variable rules now check using ->symbol method instead of
->content so that $+{foo} are correctly treated like %+ (ADAMK)
- Removed -w from tests to allow testing with Tainting on (ADAMK)
1.27 Sat 26 Feb 2011
- Updating to Module::Install::DSL 1.00
- Updating copyright year
- Fix detection of binary numbers (Alexandr Ciornii)
- Add check for variables added in 5.5 (Alexandr Ciornii)
- Correct detection of different cases of '...' (Alexandr Ciornii)
- Detection of bareword that ends with double colon (Alexandr Ciornii)
[1.116] Released on 2011-05-15
Policy Changes:
* BuiltInFunctions::ProhibitLvalueSubstr does not report violations
if the document contains an explicit 'use n.nnn;' where the
version is before 5.005. RT #59112
* Documentation::RequirePodSections no longer blows up on code
having POD but no =head1. This problem was introduced with RT
#59268. RT #67231
* RegularExpressions::ProhibitUnusedCapture should more reliably
find things like s/(a)/${1}2/. RT #67273.
* ValuesAndExpressions::ProhibitMagicNumbers and
Module::RequireVersionVar now treat versions passed as the second
argument of a 'package' statement the same as versions declared as
'our $VERSION ...'. RT #67159
* Variables::RequireLexicalLoopIterators does not report violations
if the document contains an explicit 'use n.nnn;' where the
version is before 5.004. RT #67760
[1.115] Released on 2011-03-31
Minor bits:
* Fatal error in RegularExpressions::ProhibitUnusedCapture here
document check. RT #67116.
* Internal POD error in Documentation::RequirePodLinksIncludeText. Patch
by Salvatore Bonaccorso. RT #67012
[1.114] Released on 2011-03-26
Policy Changes:
* Documentation::RequirePodLinksIncludeText now handles nested POD
formatting. RT #65569
* Clarified relation of severity numbers to names in Perl::Critic
POD. RT #66017
* Removed caveats from Variables::RequireLocalizedPunctuationVars,
no longer necessary with PPI 1.208. RT #65514
* Have InputOutput::RequireBriefOpen attempt to expand scope as
necessary to deal with the case where the open() and the
corresponding close() are not in the same scope. RT #64437
* RegularExpressions::ProhibitUnusedCapture now looks inside
double-quotish things. RT #38942.
* RegularExpressions::ProhibitUnusedCapture now takes logical
alternation into account, so that (e.g.)
if ( /(a)/ || /(b)/ ) {
say $1;
}
is not a violation. RT #38942.
* ValuesAndExpressions::ProhibitCommaSeparatedStatements now
recognizes 'return { foo => 1, bar => 2 }' as containing a hash
constructor, not a block. This was fixed by PPI 1.215. RT #61301.
* ValuesAndExpressions::ProhibitCommaSeparatedStatements now
recognizes 'bless { foo => 1, bar => 2 }' as containing a hash
constructor, not a block. This was fixed by PPI 1.215. RT #64132.
[1.113] Released on 2011-02-14
New Policies:
* InputOutput::RequireEncodingWithUTF8Layer recommends
':encoding(utf8)' over ':utf8' in open() and binmode(). It is severity 5
because of the bad things that can happen if invalid UTF8 gets loose in
your code.
* Modules::ProhibitConditionalUseStatements prohibits
'use module' inside a conditional, since the statement is executed
unconditionally at compile time. Thanks to Peter Guzis for submitting
the policy and tests in RT #59065.
Policy Changes:
* CodeLayout::RequireConsistentNewlines produces multiple undefined
value errors when a violation is found. RT #65663
* ControlStructures::ProhibitMutatingListFunctions allows s///r,
which was introduced in 5.13.2.
* ControlStructures::ProhibitPostfixControls now looks for "when". It is
treated in the same way as "if".
* Documentation::RequirePodSections now honors '## no critic'
annotation anywhere before the '__END__', '__DATA__', or first
'=head1', whichever comes first. The line number of the offending
'=head1 NAME' was added to the violation description. RT #59268.
* RegularExpressions::ProhibitUnusedCapture now takes account of the
use of $- and $+ (and their English equivalents under 'use
English') provided the subscripts are literal integers.
* RegularExpressions::ProhibitUnusedCapture now takes account of the
use of capture variables in the replacement portion of
s/.../.../e.
* Subroutines::ProhibitUnusedPrivateSubroutines now looks inside
regular expressions.
* ValuesAndExpressions::ProhibitMagicNumbers now supports Const::Fast.
* ValuesAndExpressions::ProhibitMagicNumbers now has a
constant_creator_subroutines parameter to allow the user to
configure the names of subroutines that create constants. RT #62562.
* ValuesAndExpressions::ProhibitMismatchedOperators didn't handle file
test operators properly. Patch by H.Merijn Brand. RT #58751
* Variables::ProhibitUnusedVariables now looks inside regular
expressions.
* ValuesAndExpressions::RequireInterpolationOfMetachars now detects
and complains about "\b" and "\l" as documented in perlop, and
"\1" through "\7", which are not documented there, but were found
in toke.c.
New Developer Features:
* uses_module(), namespaces(), and subdocuments_for_namespace() methods on
Perl::Critic::Document.
* Perl::Critic::Document->new() now accepts a -filename-override argument
for setting the filename when the source code comes from something
other than an actual file.
Other Changes:
* Test::Perl::Critic::Policy no longer exports by default.
* Build phase now requires Test::Deep.
* Added example using Try::Tiny to documentation of
ErrorHandling::RequireCheckingReturnValueOfEval. Suggested by Andy
Lester on the developers mailing list.
* In order to get more consistent behavior across all installations of
Perl::Critic, IPC::Open2 (which actually is part of core), PPIx::Regexp,
Perl::Tidy, Pod::Spell, and Text::ParseWords are no longer optional
prerequisites.
* Now depends upon PPIx::Utilities v1.1.0.
Bug Fixes:
* Build.PL/Makefile.PL didn't specify a minimum version of version.pm, but
TestingAndDebugging::RequireUseStrict did. RT #58952
* Perl::Critic::Annotation needs to look inside the __END__ statement to
find the true end of the document, otherwise POD policies may give false
positives. RT #59176
* BuiltinFunctions::ProhibitStringyEval no longer dies on eval
"#...". RT #60179
* RegularExpressions::ProhibitUnusedCapture now takes account of the
%LAST_PAREN_MATCH as well as %+ if English has been loaded. RT #60002
* Subroutines::ProhibitManyArgs now interprets prototype groups (e.g.
\[$@%]) as representing a single argument.
* Require Exporter version 5.63 (versus version 0) to get sane handling of
export tags. RT# 61071
* Prevent Subroutines::ProhibitUnusedPrivateSubroutines from failing
on &_subroutine(). RT #61311
* Subroutines::ProhibitAmpersandSigils now allows references of the
form \( &sub1, &sub2 ). RT #49609
[1.112_002] Released on 2011-02-09
[1.112_001] Released on 2010-12-14
Changes summarized into 1.113 above. For exact details, see Changes on
BackPAN.
[1.111] Released on 2010-12-14
Bug Fixes:
* TestingAndDebugging::ProhibitNoStrict and ProhibitNoWarnings no longer
rely on the behavior of all() when the list is empty due to change in
List::MoreUtils 0.28. RT #63816
[1.110_001] Released on 2010-11-30
Changes summarized into 1.113 above. For exact details, see Changes on
BackPAN. (Yes, all of this stuff was not in 1.111.)