Move autodie from lib to ext
Vincent Pit [Mon, 7 Sep 2009 18:09:44 +0000 (20:09 +0200)]
68 files changed:
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/autodie/lib/Fatal.pm [moved from lib/Fatal.pm with 100% similarity, mode: 0755]
ext/autodie/lib/autodie.pm [moved from lib/autodie.pm with 100% similarity]
ext/autodie/lib/autodie/exception.pm [moved from lib/autodie/exception.pm with 100% similarity]
ext/autodie/lib/autodie/exception/system.pm [moved from lib/autodie/exception/system.pm with 100% similarity]
ext/autodie/lib/autodie/hints.pm [moved from lib/autodie/hints.pm with 100% similarity]
ext/autodie/t/00-load.t [moved from lib/autodie/t/00-load.t with 100% similarity]
ext/autodie/t/Fatal.t [moved from lib/autodie/t/Fatal.t with 100% similarity]
ext/autodie/t/autodie.t [moved from lib/autodie/t/autodie.t with 100% similarity]
ext/autodie/t/autodie_test_module.pm [moved from lib/autodie/t/autodie_test_module.pm with 100% similarity]
ext/autodie/t/backcompat.t [moved from lib/autodie/t/backcompat.t with 100% similarity]
ext/autodie/t/basic_exceptions.t [moved from lib/autodie/t/basic_exceptions.t with 100% similarity]
ext/autodie/t/binmode.t [moved from lib/autodie/t/binmode.t with 100% similarity]
ext/autodie/t/blog_hints.t [moved from lib/autodie/t/blog_hints.t with 100% similarity]
ext/autodie/t/caller.t [moved from lib/autodie/t/caller.t with 100% similarity]
ext/autodie/t/context.t [moved from lib/autodie/t/context.t with 100% similarity]
ext/autodie/t/context_lexical.t [moved from lib/autodie/t/context_lexical.t with 100% similarity]
ext/autodie/t/crickey.t [moved from lib/autodie/t/crickey.t with 100% similarity]
ext/autodie/t/dbmopen.t [moved from lib/autodie/t/dbmopen.t with 100% similarity]
ext/autodie/t/exception_class.t [moved from lib/autodie/t/exception_class.t with 100% similarity]
ext/autodie/t/exceptions.t [moved from lib/autodie/t/exceptions.t with 100% similarity]
ext/autodie/t/exec.t [moved from lib/autodie/t/exec.t with 100% similarity]
ext/autodie/t/filehandles.t [moved from lib/autodie/t/filehandles.t with 100% similarity]
ext/autodie/t/fileno.t [moved from lib/autodie/t/fileno.t with 100% similarity]
ext/autodie/t/flock.t [moved from lib/autodie/t/flock.t with 100% similarity]
ext/autodie/t/format-clobber.t [moved from lib/autodie/t/format-clobber.t with 100% similarity]
ext/autodie/t/hints.t [moved from lib/autodie/t/hints.t with 100% similarity]
ext/autodie/t/hints_insist.t [moved from lib/autodie/t/hints_insist.t with 100% similarity]
ext/autodie/t/hints_pod_examples.t [moved from lib/autodie/t/hints_pod_examples.t with 100% similarity]
ext/autodie/t/hints_provider_does.t [moved from lib/autodie/t/hints_provider_does.t with 100% similarity]
ext/autodie/t/hints_provider_easy_does_it.t [moved from lib/autodie/t/hints_provider_easy_does_it.t with 100% similarity]
ext/autodie/t/hints_provider_isa.t [moved from lib/autodie/t/hints_provider_isa.t with 100% similarity]
ext/autodie/t/internal-backcompat.t [moved from lib/autodie/t/internal-backcompat.t with 100% similarity]
ext/autodie/t/internal.t [moved from lib/autodie/t/internal.t with 100% similarity]
ext/autodie/t/lethal.t [moved from lib/autodie/t/lethal.t with 100% similarity]
ext/autodie/t/lib/Caller_helper.pm [moved from lib/autodie/t/lib/Caller_helper.pm with 100% similarity]
ext/autodie/t/lib/Hints_pod_examples.pm [moved from lib/autodie/t/lib/Hints_pod_examples.pm with 100% similarity]
ext/autodie/t/lib/Hints_provider_does.pm [moved from lib/autodie/t/lib/Hints_provider_does.pm with 100% similarity]
ext/autodie/t/lib/Hints_provider_easy_does_it.pm [moved from lib/autodie/t/lib/Hints_provider_easy_does_it.pm with 100% similarity]
ext/autodie/t/lib/Hints_provider_isa.pm [moved from lib/autodie/t/lib/Hints_provider_isa.pm with 100% similarity]
ext/autodie/t/lib/Hints_test.pm [moved from lib/autodie/t/lib/Hints_test.pm with 100% similarity]
ext/autodie/t/lib/OtherTypes.pm [moved from lib/autodie/t/lib/OtherTypes.pm with 100% similarity]
ext/autodie/t/lib/Some/Module.pm [moved from lib/autodie/t/lib/Some/Module.pm with 100% similarity]
ext/autodie/t/lib/autodie/test/au.pm [moved from lib/autodie/t/lib/autodie/test/au.pm with 100% similarity]
ext/autodie/t/lib/autodie/test/au/exception.pm [moved from lib/autodie/t/lib/autodie/test/au/exception.pm with 100% similarity]
ext/autodie/t/lib/autodie/test/badname.pm [moved from lib/autodie/t/lib/autodie/test/badname.pm with 100% similarity]
ext/autodie/t/lib/autodie/test/missing.pm [moved from lib/autodie/t/lib/autodie/test/missing.pm with 100% similarity]
ext/autodie/t/lib/lethal.pm [moved from lib/autodie/t/lib/lethal.pm with 100% similarity]
ext/autodie/t/lib/my/autodie.pm [moved from lib/autodie/t/lib/my/autodie.pm with 100% similarity]
ext/autodie/t/lib/pujHa/ghach.pm [moved from lib/autodie/t/lib/pujHa/ghach.pm with 100% similarity]
ext/autodie/t/lib/pujHa/ghach/Dotlh.pm [moved from lib/autodie/t/lib/pujHa/ghach/Dotlh.pm with 100% similarity]
ext/autodie/t/mkdir.t [moved from lib/autodie/t/mkdir.t with 100% similarity]
ext/autodie/t/open.t [moved from lib/autodie/t/open.t with 100% similarity]
ext/autodie/t/recv.t [moved from lib/autodie/t/recv.t with 100% similarity]
ext/autodie/t/repeat.t [moved from lib/autodie/t/repeat.t with 100% similarity]
ext/autodie/t/scope_leak.t [moved from lib/autodie/t/scope_leak.t with 100% similarity]
ext/autodie/t/string-eval-basic.t [moved from lib/autodie/t/string-eval-basic.t with 100% similarity]
ext/autodie/t/string-eval-leak.t [moved from lib/autodie/t/string-eval-leak.t with 100% similarity]
ext/autodie/t/sysopen.t [moved from lib/autodie/t/sysopen.t with 100% similarity]
ext/autodie/t/truncate.t [moved from lib/autodie/t/truncate.t with 100% similarity]
ext/autodie/t/unlink.t [moved from lib/autodie/t/unlink.t with 100% similarity]
ext/autodie/t/user-context.t [moved from lib/autodie/t/user-context.t with 100% similarity]
ext/autodie/t/usersub.t [moved from lib/autodie/t/usersub.t with 100% similarity]
ext/autodie/t/version.t [moved from lib/autodie/t/version.t with 100% similarity]
ext/autodie/t/version_tag.t [moved from lib/autodie/t/version_tag.t with 100% similarity]
lib/.gitignore

index 02d0efa..6efe80d 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -126,6 +126,70 @@ ext/Attribute-Handlers/t/linerep.t See if Attribute::Handlers works
 ext/Attribute-Handlers/t/multi.t       See if Attribute::Handlers works
 ext/attributes/attributes.pm           For "sub foo : attrlist"
 ext/attributes/attributes.xs           For "sub foo : attrlist"
+ext/autodie/lib/autodie/exception.pm           Exception class for autodie
+ext/autodie/lib/autodie/exception/system.pm    Exception class for autodying system()
+ext/autodie/lib/autodie/hints.pm       Hinting interface for autodie
+ext/autodie/lib/autodie.pm             Functions suceed or die with lexical scope
+ext/autodie/lib/Fatal.pm               Make errors in functions/builtins fatal
+ext/autodie/t/00-load.t                        autodie - basic load
+ext/autodie/t/autodie.t                        autodie - Basic functionality
+ext/autodie/t/autodie_test_module.pm   autodie - test helper
+ext/autodie/t/backcompat.t             autodie - More Fatal backcompat
+ext/autodie/t/basic_exceptions.t       autodie - Basic exception tests
+ext/autodie/t/binmode.t                        autodie - Binmode testing
+ext/autodie/t/blog_hints.t             autodie - Tests fro PJF's blog
+ext/autodie/t/caller.t                 autodie - Caller diagnostics
+ext/autodie/t/context_lexical.t                autodie - Context clobbering lexically
+ext/autodie/t/context.t                        autodie - Context clobbering tests
+ext/autodie/t/crickey.t                        autodie - Like an Australian
+ext/autodie/t/dbmopen.t                        autodie - dbm tests
+ext/autodie/t/exception_class.t                autodie - Exception class subclasses
+ext/autodie/t/exceptions.t             autodie - 5.10 exception tests.
+ext/autodie/t/exec.t                   autodie - exec tests.
+ext/autodie/t/Fatal.t                  autodie - Fatal backcompatibility
+ext/autodie/t/filehandles.t            autodie - filehandle tests
+ext/autodie/t/fileno.t                 autodie - fileno tests
+ext/autodie/t/flock.t                  autodie - File locking tests
+ext/autodie/t/format-clobber.t         autodie - Don't clobber scalars
+ext/autodie/t/hints_insist.t           autodie - Test hints insistance
+ext/autodie/t/hints_pod_examples.t     autodie - Test hints POD examples
+ext/autodie/t/hints_provider_does.t    autodie - Test hints/does roles
+ext/autodie/t/hints_provider_easy_does_it.t    autodie - Test easy hints/does
+ext/autodie/t/hints_provider_isa.t     autodie - Test hints/inheritance
+ext/autodie/t/hints.t                  autodie - Test hints interface
+ext/autodie/t/internal-backcompat.t    autodie - Back-compatibility tests
+ext/autodie/t/internal.t               autodie - internal interface tests
+ext/autodie/t/lethal.t                 autodie - lethal is the one true name
+ext/autodie/t/lib/autodie/test/au/exception.pm autodie - Australian helper
+ext/autodie/t/lib/autodie/test/au.pm           autodie - Austrlaian helper
+ext/autodie/t/lib/autodie/test/badname.pm      autodie - Bad exception class
+ext/autodie/t/lib/autodie/test/missing.pm      autodie - Missing exception class
+ext/autodie/t/lib/Caller_helper.pm             autodie - Caller helper
+ext/autodie/t/lib/Hints_pod_examples.pm                autodie - Hints/pod helper
+ext/autodie/t/lib/Hints_provider_does.pm       autodie - Hints/does helper
+ext/autodie/t/lib/Hints_provider_easy_does_it.pm       autodie - Hints/easy helper
+ext/autodie/t/lib/Hints_provider_isa.pm        autodie - Hints/inherit helper
+ext/autodie/t/lib/Hints_test.pm                autodie - Hints test helper
+ext/autodie/t/lib/lethal.pm            autodie - with a better name
+ext/autodie/t/lib/my/autodie.pm                autodie - blog_hints.t helper
+ext/autodie/t/lib/OtherTypes.pm                autodie - Format clobberer helper.
+ext/autodie/t/lib/pujHa/ghach/Dotlh.pm autodie - With Klingon honour
+ext/autodie/t/lib/pujHa/ghach.pm       autodie - Like a Klingon
+ext/autodie/t/lib/Some/Module.pm       autodie - blog_hints.t helper
+ext/autodie/t/mkdir.t                  autodie - filesystem tests
+ext/autodie/t/open.t                   autodie - Testing open
+ext/autodie/t/recv.t                   autodie - send/recv tests
+ext/autodie/t/repeat.t                 autodie - repeat autodie leak tests
+ext/autodie/t/scope_leak.t             autodie - file scope leak tests
+ext/autodie/t/string-eval-basic.t      autodie - Basic string eval test
+ext/autodie/t/string-eval-leak.t       autodie - String eval leak test
+ext/autodie/t/sysopen.t                        autodie - sysopen tests
+ext/autodie/t/truncate.t               autodie - File truncation tests
+ext/autodie/t/unlink.t                 autodie - Unlink system tests.
+ext/autodie/t/user-context.t           autodie - Context changes for usersubs
+ext/autodie/t/usersub.t                        autodie - user subroutine tests
+ext/autodie/t/version.t                        autodie - versioning tests
+ext/autodie/t/version_tag.t
 ext/autouse/lib/autouse.pm     Load and call a function only when it's used
 ext/autouse/t/autouse.t                See if autouse works
 ext/base/Changes               base.pm changelog
@@ -2153,69 +2217,6 @@ lib/abbrev.pl                    An abbreviation table builder
 lib/AnyDBM_File.pm             Perl module to emulate dbmopen
 lib/AnyDBM_File.t              See if AnyDBM_File works
 lib/assert.pl                  assertion and panic with stack trace
-lib/autodie/exception.pm       Exception class for autodie
-lib/autodie/exception/system.pm        Exception class for autodying system()
-lib/autodie/hints.pm           Hinting interface for autodie
-lib/autodie.pm                 Functions suceed or die with lexical scope
-lib/autodie/t/00-load.t                        autodie - basic load
-lib/autodie/t/autodie.t                        autodie - Basic functionality
-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
-lib/autodie/t/crickey.t                        autodie - Like an Australian
-lib/autodie/t/dbmopen.t                        autodie - dbm tests
-lib/autodie/t/exception_class.t                autodie - Exception class subclasses
-lib/autodie/t/exceptions.t             autodie - 5.10 exception tests.
-lib/autodie/t/exec.t                   autodie - exec tests.
-lib/autodie/t/Fatal.t                  autodie - Fatal backcompatibility
-lib/autodie/t/filehandles.t            autodie - filehandle tests
-lib/autodie/t/fileno.t                 autodie - fileno tests
-lib/autodie/t/flock.t                  autodie - File locking tests
-lib/autodie/t/format-clobber.t         autodie - Don't clobber scalars
-lib/autodie/t/hints_insist.t           autodie - Test hints insistance
-lib/autodie/t/hints_pod_examples.t     autodie - Test hints POD examples
-lib/autodie/t/hints_provider_does.t    autodie - Test hints/does roles
-lib/autodie/t/hints_provider_easy_does_it.t    autodie - Test easy hints/does
-lib/autodie/t/hints_provider_isa.t     autodie - Test hints/inheritance
-lib/autodie/t/hints.t                  autodie - Test hints interface
-lib/autodie/t/internal-backcompat.t    autodie - Back-compatibility tests
-lib/autodie/t/internal.t               autodie - internal interface tests
-lib/autodie/t/lethal.t                 autodie - lethal is the one true name
-lib/autodie/t/lib/autodie/test/au/exception.pm autodie - Australian helper
-lib/autodie/t/lib/autodie/test/au.pm           autodie - Austrlaian helper
-lib/autodie/t/lib/autodie/test/badname.pm      autodie - Bad exception class
-lib/autodie/t/lib/autodie/test/missing.pm      autodie - Missing exception class
-lib/autodie/t/lib/Caller_helper.pm     autodie - Caller helper
-lib/autodie/t/lib/Hints_pod_examples.pm        autodie - Hints/pod helper
-lib/autodie/t/lib/Hints_provider_does.pm       autodie - Hints/does helper
-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
-lib/autodie/t/repeat.t                 autodie - repeat autodie leak tests
-lib/autodie/t/scope_leak.t             autodie - file scope leak tests
-lib/autodie/t/string-eval-basic.t      autodie - Basic string eval test
-lib/autodie/t/string-eval-leak.t       autodie - String eval leak test
-lib/autodie/t/sysopen.t                        autodie - sysopen tests
-lib/autodie/t/truncate.t               autodie - File truncation tests
-lib/autodie/t/unlink.t                 autodie - Unlink system tests.
-lib/autodie/t/user-context.t           autodie - Context changes for usersubs
-lib/autodie/t/usersub.t                        autodie - user subroutine tests
-lib/autodie/t/version.t                        autodie - versioning tests
-lib/autodie/t/version_tag.t
 lib/AutoLoader.pm              Autoloader base class
 lib/AutoLoader/t/01AutoLoader.t        See if AutoLoader works
 lib/AutoLoader/t/02AutoSplit.t See if AutoSplit works
@@ -2567,7 +2568,6 @@ lib/ExtUtils/typemap              Extension interface types
 lib/ExtUtils/XSSymSet.pm       on VMS, manage linker symbols when building extensions
 lib/ExtUtils/xsubpp            External subroutine preprocessor
 lib/fastcwd.pl                 a faster but more dangerous getcwd
-lib/Fatal.pm                   Make errors in functions/builtins fatal
 lib/feature.pm                 Pragma to enable new syntax
 lib/feature.t                  See if features work
 lib/File/Basename.pm           Emulate the basename program
index dec8634..7c68005 100755 (executable)
@@ -208,7 +208,7 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'pjf',
        'DISTRIBUTION'  => 'PJF/autodie-2.06_01.tar.gz',
-       'FILES'         => q[lib/Fatal.pm lib/autodie.pm lib/autodie],
+       'FILES'         => q[ext/autodie],
        'EXCLUDED'      => [ qr{^inc/Module/},
 
                              # All these tests depend upon external
index 3449461..c014f2f 100644 (file)
@@ -15,6 +15,7 @@ ppport.h
 /Archive-Extract/Makefile.PL
 /Attribute-Handlers/Makefile.PL
 /attributes/Makefile.PL
+/autodie/Makefile.PL
 /autouse/Makefile.PL
 /base/Makefile.PL
 /B-Debug/Makefile.PL
old mode 100644 (file)
new mode 100755 (executable)
similarity index 100%
rename from lib/Fatal.pm
rename to ext/autodie/lib/Fatal.pm
similarity index 100%
rename from lib/autodie.pm
rename to ext/autodie/lib/autodie.pm
similarity index 100%
rename from lib/autodie/t/Fatal.t
rename to ext/autodie/t/Fatal.t
similarity index 100%
rename from lib/autodie/t/exec.t
rename to ext/autodie/t/exec.t
similarity index 100%
rename from lib/autodie/t/flock.t
rename to ext/autodie/t/flock.t
similarity index 100%
rename from lib/autodie/t/hints.t
rename to ext/autodie/t/hints.t
similarity index 100%
rename from lib/autodie/t/mkdir.t
rename to ext/autodie/t/mkdir.t
similarity index 100%
rename from lib/autodie/t/open.t
rename to ext/autodie/t/open.t
similarity index 100%
rename from lib/autodie/t/recv.t
rename to ext/autodie/t/recv.t
index b284724..2a38a3e 100644 (file)
@@ -3,6 +3,8 @@
 /Archive/Tar/Constant.pm
 /Archive/Tar/File.pm
 /Attribute
+/autodie
+/autodie.pm
 /autouse.pm
 /B.pm
 /B
@@ -76,6 +78,7 @@
 /Encode
 /Errno.pm
 /ExtUtils/Miniperl.pm
+/Fatal.pm
 /Fcntl.pm
 /FileCache.pm
 /File/Fetch.pm