Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
Upstream changes:
2.25 2014-04-03 09:43:15EST+1100 Australia/Melbourne
* DOCS: Spelling fixes in autodie::ScopeUtil
(Courtesy Salvatore Bonaccorso)
2.24 2014-03-30 19:30:10EST+1100 Australia/Melbourne
* FEATURE: Provide a stack backtrace when `Carp::Always` is enabled.
Note that sometimes this is not as pretty as it could
be, patches welcome.
(Thanks to Niels Thykier, GH #35)
* BUGFIX: Fix situations where `no autodie` doesn't respect lexical
scope. (Thanks to Niels Thykier, GH #41, RT #72053,
RT #86396)
* INTERNAL: Remove now unused variables in code (Niels Thykier).
* DOCS: Make it extra-clear autodie doesn't check `print`.
(Dave Rolsky, GH #39)
* TEST: Removed obsolete boilerplate.t
* TEST / INTERNAL: Enabled travis-ci for Perl 5.8
* TEST: Stopped some Pod::Coverage tests failing under Perl 5.8
* BUILD: Better support for building in a read-only directory
(courtesy Andrew Fresh, GH #46)
2.23 2014-01-27 13:50:55EST+1100 Australia/Melbourne
* TEST / BUGFIX: Improved testing support on Android
and Blackberry devices. (GH #44, thanks to
Hugmeir.)
* TEST / INTERNAL / TRAVIS: Various non-code
tweaks to make travis-ci more happy with testing
autodie.
* BUGFIX: autodie no longer weakens strict by allowing
undeclared variables with the same name as built-ins.
(RT #74246, thanks to Neils Thykier and Father
Chrysostomos.)
* BUGFIX: `use autodie qw( foo ! foo);` now correctly
insists that we have hints for foo. (Thanks Niels Thykier)
* INTERNAL: Improved benchmarking code, thanks to
Niels Thykier.
2.22 2013-09-21 11:37:14 Asia/Tokyo
* TEST / INTERNAL: Restore timestamps on touched testing
files to avoid git flagging files having changed in
git. (RT #88444, courtesy shay@cpan)
2.21 2013-09-12 13:17:23 Australia/Melbourne
Many more improvements from Niels Thykier, great hero of the
free people. Plus a compatibility patch from Zefram, keeper
of Carp.
* SPEED / INTERNAL : Through the magic of globally reuseable
core leak trampolines, autodie is even faster when used across
multiple pacakages.
* SPEED / INTERNAL : Caches used for keeping track of
fatalised subroutines are faster and leaner.
* SPEED / INTERNAL : Core subroutine wrappers are now lazily
compiled.
* SPEED / INTERNAL : Using autodie while autodie is already in
effect is now faster and more efficient.
* INTERNAL : $" and $! are no longer arbitrarily messed with
for no reason via autodie. (They're still messed with when
using Fatal.)
* SPEED / INTERNAL : The ':all' tag hierachy is expanded
immediately, in an efficient fashion.
* INTERNAL : Numerous minor clean-ups. Dead variables removed.
Typos fixed.
* SPEED / INTERNAL : import() and _make_fatal() cache more
aggressively, reducing CPU overhead.
* TEST: Compatibility with Carp 1.32 (thanks to Zefram).
RT #88076.
2.19nb1 to 2.20.
Upstream changes:
2.20 2013-06-23 16:08:41 PST8PDT
Many improvements from Niels Thykier, hero of the
free people. From GH #25:
* SPEED / INTERNAL: Less time is spent computing prototypes
* SPEED / INTERNAL: Leak guards are more efficient.
* SPEED : Expanding tags (eg: qw(:all)) is now faster.
This also improves the speed of checking autodying
code with Perl::Critic.
* INTERNAL: Expanding of tags is faster and preserves order.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Upstream changes:
2.19 2013-05-13 10:02:15 Australia/Melbourne
* BUGFIX: Loading a file that does not change packages while
autodie in effect no longer causes weird behaviour when
slurpy built-ins (like open() and unlink()) are called. GH #22
Thanks to Niels Thykier.
* TEST: Tests for leak guard failures for slurpy core functions.
2.18 2013-05-12 18:12:14 Australia/Melbourne
* TEST: More testing in scope_leak.t.
* TEST: More testing around packages in truncate.t.
* SPEED / INTERNAL: Significant improvements in load time,
especially when autodie is used across multiple files,
by caching reuseable subroutines and reducing calls to eval "".
Huge thanks to Niels Thykier, who is a hero of the
free people, and completely and utterly awesome.
(RT #46984)
* DOCUMENTATION: Spelling and correction fixes,
courtesy David Steinbrunner.
* DEVEL: Faster and more robust testing with travis-ci.
* DEVEL: Some simple benchmarks bundled in the benchmarks/ directory.
2.17 2013-04-29 01:03:50 Australia/Melbourne
* DOCS: Spelling fixes thanks to dsteinbrunner! (RT #84897)
* DOCS: Fixed github links to point to 'pjf' rather than
'pfenwick' (GH #18, thanks to Lx!)
* INTERNAL: Silence warnings about experimental smart-match on
5.17.11+ (via Brian Fraser and p5p)
* TEST / BUILD: Generate .travis.yml files for CI testing via
dzil.
2.16 2013-02-23 01:49:16 Australia/Melbourne
* BUGFIX: Fix breakages under 5.8.x related to the new
autodie::skip feature.
* BUILD / BUGFIX: Remove dependency on parent.pm.
2.15 2013-02-22 23:55:22 Australia/Melbourne
* BUILD / BUGFIX: Correct meta-info that wanted at least Perl
v5.8.40, rather than v5.8.4. Giant thanks to Paul Howarth
for spotting this!
2.14 2013-02-22 15:43:33 Australia/Melbourne
* FEATURE: Classes which claim they ->DOES('autodie::skip') are now
skipped when generating exceptions. This is mainly of use to
utility classes. See `perldoc autodie::skip` for more details.
(GH Issue #15)
* FEATURE / BUGFIX / INCOMPAT: 'chmod' is now in the ':filesys'
category (was in ':file').
* BUGFIX: Added support for 'chown' and 'utime', that was
previously overlooked. Mad props to RsrchBoy for spotting this.
These are all in the ':filesys' category.
(GH Pull #13)
* BUGFIX: Added support for 'kill'. This is part of the
':ipc' category.
* BUGFIX: Fixed bug whereby chmod, chown, kill, unlink and
utime would not throw an exception when they didn't
change all their files or signal all their processes.
* TEST: truncate.t is now skipped on systems that don't have a
working File::Temp.
* TEST: open.t has a few more tests for exotic modes.
* TEST: chown() tests are skipped on Win32, as chown on Windows
is a no-op. (Thanks to Mithaldu for spotting this!)
* TEST: Author tests now look for the AUTHOR_TESTING env
variable (for dzil compliance).
* TEST: Better testing for chown, chmod, and unlink.
* TEST: Better testing for utime.
* TEST: kwalitee.t is now only run when $ENV{RELEASE_TESTING} is set.
* BUGFIX: Removed executable bits from some bundled text files.
* BUILD: We now use dzil to manage autodie.
* BUILD: Only Perl 5.8.4 and above is supported by autodie.
Please upgrade your Perl distro if you're using 5.8.3 or
below.
2.13 Thu Nov 8 14:22:03 EST 2012
* TEST: Deterministic tests in hints_pod_examples.t .
(RT #80412, thanks to demerphq)
* INTERNAL: subroutine installs are now done in a
deterministic order. (RT #80414, thanks to demerphq)
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Upstream changes:
2.10 Sat Feb 27 14:01:18 AUSEST 2010
* BUGFIX: Fatal and autodie no longer leak Carp functions
into the caller's namespace. Thanks to Schwern.
* TEST: Multi-arg open tests are really really skipped
under Windows now.
* DOCUMENTATION: Many more people are properly attributed
in the 'AUTHORS' file.
Upstream changes:
2.09 Tue Feb 23 00:33:09 EST 2010
* DOCS: Fixed documentation typo. RT #48575
Thanks to David Taylor.
* TEST: Tests involved multi-arg open are skipped
on Windows (where multi-arg pipe is not implemented).
pkgsrc changes:
- Adjust module type for installation
- Adjust installed file permissions
Upstream changes:
2.08 Mon Feb 8 14:24:26 AUSEST 2010
* BUGFIX: Addeds support for chmod. Many thanks to
Jonathan Yu for reporting this (RT #50423).
* BUGFIX: Multi-arg open is now supported by open.
Many thanks to Nick Ncleaton for finding and fix this
bug. (RT #52427)
* BUILD: Updated to Module::Install 0.93
2.07 Fri Jul 31 16:35:40 BST 2009
* FEATURE: Added ->eval_error to autodie::exception, which
stores the contents of $@ at the time autodie throws its
own exception. This is useful when dealing with modules
such as Text::Balanced which set (but do not throw)
$@ on error.
* TEST: Checking for flock() support no longer causes
test failures on older VMS sysstems. (RT #47812)
Thanks to Craig A. Berry for supplying a patch.
* TEST: hints.t tests should no longer cause bogus
failures relating to File::Copy on VMS and Windows
systems prior to Perl 5.10.2.
PR pkg/41816.
The autodie pragma provides a convenient way to replace functions that normally
return false on failure with equivalents that throw an exception on failure.
The autodie pragma has lexical scope, meaning that functions and subroutines
altered with autodie will only change their behaviour until the end of the
enclosing block, file, or eval.
If system is specified as an argument to autodie, then it uses
IPC::System::Simple to do the heavy lifting. See the description of that
module for more information.