From 913c900e035725c72eb640fcc177b9e4db3ce5ff Mon Sep 17 00:00:00 2001 From: Paul Fenwick Date: Wed, 1 Jul 2009 23:34:21 +1000 Subject: autodie 2.03 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 | 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 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 (cherry picked from commit eb8d423fedc51cab74c8f3c999e4055d7b90f515) --- MANIFEST | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 91051593c3..c17383ebe9 100755 --- a/MANIFEST +++ b/MANIFEST @@ -1777,6 +1777,7 @@ lib/autodie/t/autodie_test_module.pm autodie - test helper lib/autodie/t/backcompat.t autodie - More Fatal backcompat lib/autodie/t/basic_exceptions.t autodie - Basic exception tests lib/autodie/t/binmode.t autodie - Binmode testing +lib/autodie/t/blog_hints.t autodie - Tests fro PJF's blog lib/autodie/t/caller.t autodie - Caller diagnostics lib/autodie/t/context_lexical.t autodie - Context clobbering lexically lib/autodie/t/context.t autodie - Context clobbering tests @@ -1810,9 +1811,11 @@ lib/autodie/t/lib/Hints_provider_easy_does_it.pm autodie - Hints/easy helper lib/autodie/t/lib/Hints_provider_isa.pm autodie - Hints/inherit helper lib/autodie/t/lib/Hints_test.pm autodie - Hints test helper lib/autodie/t/lib/lethal.pm autodie - with a better name +lib/autodie/t/lib/my/autodie.pm autodie - blog_hints.t helper lib/autodie/t/lib/OtherTypes.pm autodie - Format clobberer helper. lib/autodie/t/lib/pujHa/ghach/Dotlh.pm autodie - With Klingon honour lib/autodie/t/lib/pujHa/ghach.pm autodie - Like a Klingon +lib/autodie/t/lib/Some/Module.pm autodie - blog_hints.t helper lib/autodie/t/mkdir.t autodie - filesystem tests lib/autodie/t/open.t autodie - Testing open lib/autodie/t/recv.t autodie - send/recv tests -- cgit v1.2.1