| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fights with string eval in Perl 5.10.x)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
G'day Dave,
Dave Mitchell wrote:
> Okay I think you've convinced me. So basically you'll release a 2.06 which
> is 2.05 + bug documentation; 2.06 goes in 5.10.1; then the bug fix goes in
> 2.07?
Patch attached, including documentation fixes, and TODO tests.
I did slip a small code change in, which fixes a regression that was
introduced (but not spotted) around autodie 1.997ish. Many thanks to rafl
and particularly to Vincent for their help in debugging and documenting.
All the best,
Paul
- --
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia | Fax: +61 3 9354 2681
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
iD8DBQFKUgdnx5N6j7FHnlURAhcbAJ4zQ5WujSXK5uNpEfdOp0RMi8FxVQCghU02
Z3ZBYlXddRMOmm9SVC7UPTE=
=qf29
-----END PGP SIGNATURE-----
>From 689bc09292ba5173542d208dca85b6f514c91aba Mon Sep 17 00:00:00 2001
From: Paul Fenwick <pjf@perltraining.com.au>
Date: Tue, 7 Jul 2009 00:11:42 +1000
Subject: [PATCH] Merge autodie 2.06 with core.
NOTE: This commit is different from that on the CPAN by three lines
of POD. A documented bug was fixed, but documentation about this bug
was accidentally not removed from the CPAN release.
Significant changes in this release are:
* BUG: Explicitly documented that autodie does NOT play
nicely with string evals, especially under Perl 5.10.x.
Please avoid using string evals while autodie is in scope.
* TEST: Check for autodie leaking out of scope in the
presence of string evals. (string-eval-leak.t)
Thanks to Florian Ragwitz and Vincent Pit for identifying
this.
* BUGFIX: autodie once again correctly works when used
inside a string eval. (This was accidently broken
somewhere around 1.997-1.998).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2.05 Sat Jul 4 16:33:01 AUSEST 2009
* BUGFIX: format_default() in autodie::exception no longer
returns a string with file and line attached. This would
cause the file and line information to appear twice when
format handlers would choose to fall back to the defaults.
The file and line information is now always added by
stringify(). (RT #47520, thanks to Michael Schwern)
* BUGFIX: Exceptions thrown by 2-argument open() are more likely
to specify the mode as 'for reading' when no explicit
mode was given. (RT #47520, thanks to Michael Schwern)
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
G'day p5p,
Sorry about the slew of autodie patches. This is hopefully the last one
you'll see for a while, and merely fixes some nits in the test suite.
Generated against the latest blead, but there's a chance some of these
changes may already be applied. Apologies for any inconvenience caused.
All the best,
Paul
--
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia | Fax: +61 3 9354 2681
From 2ac05f822da3f96c6453dd32570bc76e4a8e1489 Mon Sep 17 00:00:00 2001
From: Paul Fenwick <pjf@perltraining.com.au>
Date: Thu, 2 Jul 2009 23:46:53 +1000
Subject: [PATCH] Upgrade autodie to 2.04
* TEST: Removed spurious warning about insufficient credit.
* TEST: hints.t produces less debugging output when testing
the Perl core. (Thanks to Jerry D. Hedden)
* TEST: hints.t no longer spuriously fails when checking
the return values from File::Copy under Windows before
Perl 5.10.1. (Thanks to Curtis Jewell)
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
G'day Everyone,
Attached is a patch that brings blead up to autodie 2.03. The failing tests
are fixed, and a number of nits have been picked. Full changes below, as
well as in the commit message.
Cheerio,
Paul
Revision history for autodie
* TEST: Removed spurious warning about insufficient credit.
2.03 Wed Jul 1 15:39:16 AUSEST 2009
* BUGFIX: Stopped blog_hints.t from booching under Perl
5.8.x. because parent.pm is not installed.
2.02 Wed Jul 1 15:06:21 AUSEST 2009
* FEATURE: autodie::exception now supports ->context() to
discover the context of the failing subroutine, and
->return() to get a list of what it returned.
* BUGFIX: ->function from autodie::exception now returns
the original name of the dying sub, rather than its imported
name. For example, 'File::Copy::copy' rather than 'main::copy'.
Core functions continue to always return 'CORE::whatever'.
* TEST: blog_hints.t tests new hinting features against
examples in my blog at http://pjf.id.au/blog/
2.01 Wed Jul 1 01:31:24 AUSEST 2009
* DOCUMENTATION: General copyediting and tidy-up
(Thanks to Toby Corkindale)
* BUGFIX: Warnings are no longer emitted when undefined values
are compared by hinting routines.
* BUGFIX: Hints for File::Copy now operate correctly under
Perl 5.10.1.
* BUGFIX: Inheritance is now considered sufficient to declare
allegiance to the hints provider role under Perl 5.8.x.
(Thanks to Glenn Fowler)
* TEST: hints.t no longer throws failures under Perl 5.10.1.
* TEST: pod-coverage.t (author test) no longer fails if
Sub::Identify is not installed.
(Thanks to Jonathan Yu. RT #47437)
--
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia | Fax: +61 3 9354 2681
From 715681c17c0f3f9f7a09971007c4c4de0d122c60 Mon Sep 17 00:00:00 2001
From: Paul Fenwick <pjf@perltraining.com.au>
Date: Wed, 1 Jul 2009 23:30:58 +1000
Subject: [PATCH] Merge autodie 2.03 into core.
Revision history for autodie
* TEST: Removed spurious warning about insufficient credit.
2.03 Wed Jul 1 15:39:16 AUSEST 2009
* BUGFIX: Stopped blog_hints.t from booching under Perl
5.8.x. because parent.pm is not installed.
2.02 Wed Jul 1 15:06:21 AUSEST 2009
* FEATURE: autodie::exception now supports ->context() to
discover the context of the failing subroutine, and
->return() to get a list of what it returned.
* BUGFIX: ->function from autodie::exception now returns
the original name of the dying sub, rather than its imported
name. For example, 'File::Copy::copy' rather than 'main::copy'.
Core functions continue to always return 'CORE::whatever'.
* TEST: blog_hints.t tests new hinting features against
examples in my blog at http://pjf.id.au/blog/
2.01 Wed Jul 1 01:31:24 AUSEST 2009
* DOCUMENTATION: General copyediting and tidy-up
(Thanks to Toby Corkindale)
* BUGFIX: Warnings are no longer emitted when undefined values
are compared by hinting routines.
* BUGFIX: Hints for File::Copy now operate correctly under
Perl 5.10.1.
* BUGFIX: Inheritance is now considered sufficient to declare
allegiance to the hints provider role under Perl 5.8.x.
(Thanks to Glenn Fowler)
* TEST: hints.t no longer throws failures under Perl 5.10.1.
* TEST: pod-coverage.t (author test) no longer fails if
Sub::Identify is not installed.
(Thanks to Jonathan Yu. RT #47437)
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
G'day Dave / p5p,
Attached is a patch that brings blead up to autodie 2.0, providing the new
hinting interface, and matching what's out there on the CPAN.
Cheerio,
Paul
--
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia | Fax: +61 3 9354 2681
From 41441253d22a31e4942ae0949102fada56b15343 Mon Sep 17 00:00:00 2001
From: Paul Fenwick <pjf@perltraining.com.au>
Date: Mon, 29 Jun 2009 12:08:21 +1000
Subject: [PATCH] Merge autodie 2.00 into CORE.
2.00 Mon Jun 29 01:24:49 AUSEST 2009
* FEATURE: autodie can now accept hints regarding how
user and module subroutines should be handled. See
autodie::hints for more information.
* INTERFACE: The calls to the internal subroutines
one_invocation() and write_invocation() have changed.
An additional argument (the user subroutine reference) is
passed as the second-last argument. This may break code
that previously tried to call these subroutines directly.
* BUGFIX: Calls to subroutines to File::Copy should now
correctly throw exceptions when called in a list context.
* BUGFIX: An internal error where autodie could potentially
fail to correctly report a dying function's name has been
fixed.
* BUGFIX: autodie will no longer clobber package scalars when
a format has the same name as an autodying function.
(Thanks to Ben Morrow)
* INTERFACE: The internal interfaces for fill_protos(),
one_invocation(), write_invocation() are now once again
backward compatible with legacy versions of Fatal. It is
still strongly recommended these interfaces are NOT called
directly. The _make_fatal() subroutine is not backwards
compatible.
* TEST: Added internal-backcompat.t to test backwards
compatibility of internal interfaces.
* DOCUMENTATION: Expanded documentation regarding how
autodie changes calls to system(), and how this must be
explicitly enabled.
* BUGFIX: A situation where certain compile-time diagnostics
and errors from autodie would not be displayed has been
fixed.
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
|
| |
|
|
|
|
|
|
| |
From: Paul Fenwick <pjf@perltraining.com.au>
Date: Sat, 03 Jan 2009 11:32:59 +1100
Message-ID: <495EB23B.6080504@perltraining.com.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
G'day p5p,
Since we've moved over to git, attached is a git-friendly patch of autodie
1.997 against the current blead. It's no different to the older 1.997
patch[1], but contains all the meta-info that git likes to have so that you
can use 'git am' to apply the changes.
All the very best,
Paul
[1] Okay, there's one or two non-significant whitespace changes.
--
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia | Fax: +61 3 9354 2681
>From b0dc5ff6b006a9df2a67b886e5e0d0d168c1245e Mon Sep 17 00:00:00 2001
From: Paul Fenwick <pjf@perltraining.com.au>
Date: Sun, 21 Dec 2008 00:17:28 +1100
Subject: [PATCH] Autodie 1.997
|
|
|
|
|
|
|
| |
Message-ID: <49601.89.247.126.95.1204280971.squirrel@mail.rezic.de>
plus version bump
p4raw-id: //depot/perl@33399
|
|
|
|
|
|
| |
Message-ID: <87slc37y99.fsf@k75.linux.bogus>
Date: Sun, 18 Mar 2007 09:26:58 +0100
p4raw-id: //depot/perl@30614
|
|
|
|
|
|
|
| |
Message-Id: <200612101938.kBAJcI9D008026@all-night-tool.mit.edu>
Allow to make fatal built-ins in CORE::GLOBAL
p4raw-id: //depot/perl@29507
|
|
|
| |
p4raw-id: //depot/perl@28040
|
|
|
| |
p4raw-id: //depot/perl@21213
|
|
|
| |
p4raw-id: //depot/perl@21056
|
|
|
|
|
| |
Message-Id: <20010921123440.A148500@linguist.thayer.dartmouth.edu>
p4raw-id: //depot/perl@12113
|
|
|
| |
p4raw-id: //depot/perl@12049
|
|
|
| |
p4raw-id: //depot/perl@12041
|
|
|
|
|
| |
Simon Cozens <simon@othersideofthe.earth.li>)
p4raw-id: //depot/perl@5600
|
|
|
| |
p4raw-id: //depot/perl@5594
|
|
|
| |
p4raw-id: //depot/perl@4954
|
|
|
| |
p4raw-id: //depot/perl@4860
|
|
|
| |
p4raw-id: //depot/perl@2978
|
|
p4raw-id: //depot/perl@482
|