From: Rafael Garcia-Suarez Date: Fri, 11 Sep 2009 09:28:52 +0000 (+0200) Subject: Move encoding::warnings to ext/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=673c5bc2bbe759dd457a583e51e39e2108e383e0;p=p5sagit%2Fp5-mst-13.2.git Move encoding::warnings to ext/ --- diff --git a/MANIFEST b/MANIFEST index b06e0d2..8e46db9 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1061,6 +1061,12 @@ ext/Encode/ucm/viscii.ucm Unicode Character Map ext/Encode/Unicode/Makefile.PL Encode extension ext/Encode/Unicode/Unicode.pm Encode extension ext/Encode/Unicode/Unicode.xs Encode extension +ext/encoding-warnings/Changes Changelog for encoding::warnings +ext/encoding-warnings/lib/encoding/warnings.pm warn on implicit encoding conversions +ext/encoding-warnings/t/1-warning.t tests for encoding::warnings +ext/encoding-warnings/t/2-fatal.t tests for encoding::warnings +ext/encoding-warnings/t/3-normal.t tests for encoding::warnings +ext/encoding-warnings/t/4-lexical.t tests for encoding::warnings EXTERN.h Included before foreign .h files ext/Errno/ChangeLog Errno changes ext/Errno/Errno_pm.PL Errno perl module create script @@ -2758,11 +2764,6 @@ lib/Dumpvalue.pm Screen dump of perl values lib/Dumpvalue.t See if Dumpvalue works lib/dumpvar.pl A variable dumper lib/dumpvar.t A variable dumper tester -lib/encoding/warnings.pm warn on implicit encoding conversions -lib/encoding/warnings/t/1-warning.t tests for encoding::warnings -lib/encoding/warnings/t/2-fatal.t tests for encoding::warnings -lib/encoding/warnings/t/3-normal.t tests for encoding::warnings -lib/encoding/warnings/t/4-lexical.t tests for encoding::warnings lib/English.pm Readable aliases for short variables lib/English.t See if English works lib/Env.pm Map environment into ordinary variables diff --git a/ext/.gitignore b/ext/.gitignore index ff936f8..042370f 100644 --- a/ext/.gitignore +++ b/ext/.gitignore @@ -28,6 +28,7 @@ ppport.h /Data-Dumper/Makefile.PL /Digest/Makefile.PL /Devel-SelfStubber/Makefile.PL +/encoding-warnings/Makefile.PL /ExtUtils-CBuilder/Makefile.PL /ExtUtils-Command/Makefile.PL /ExtUtils-Constant/Makefile.PL diff --git a/ext/encoding-warnings/Changes b/ext/encoding-warnings/Changes new file mode 100644 index 0000000..4ada1a7 --- /dev/null +++ b/ext/encoding-warnings/Changes @@ -0,0 +1,27 @@ +[Changes for 0.11 - 2007-06-05] + +* This module's effect is now lexical for Perl 5.9.5 and later. +* "no encoding::warnings" is made more inefficient by doing away + with an empty encoding handler. + Contributed by: Rafaël Garcia-Suarez + +[Changes for 0.04 - 2004-03-16] + +* This be 0.04, from the YAPC::Taipei::2004 release party. +* Various POD grammar updates. +* Mentions that we will be making encoding.pm to be lexical during 5.9. + +[Changes for 0.03 - 2004-03-15] + +* Fixes various typo and punctuations. +* Unified terminology to use "byte-string" and "unicode-string". + +[Changes for 0.02 - 2004-03-14] + +* Added lots of documentations, as well as explained the subtlety of + "use encoding" better. Prompted by Ton Hospel. +* Do not bother decoding a string twice if it is us-ascii. + +[Changes for 0.01 - 2004-03-14] + +* Initial release on CPAN. diff --git a/lib/encoding/warnings.pm b/ext/encoding-warnings/lib/encoding/warnings.pm similarity index 100% rename from lib/encoding/warnings.pm rename to ext/encoding-warnings/lib/encoding/warnings.pm diff --git a/lib/encoding/warnings/t/1-warning.t b/ext/encoding-warnings/t/1-warning.t similarity index 100% rename from lib/encoding/warnings/t/1-warning.t rename to ext/encoding-warnings/t/1-warning.t diff --git a/lib/encoding/warnings/t/2-fatal.t b/ext/encoding-warnings/t/2-fatal.t similarity index 100% rename from lib/encoding/warnings/t/2-fatal.t rename to ext/encoding-warnings/t/2-fatal.t diff --git a/lib/encoding/warnings/t/3-normal.t b/ext/encoding-warnings/t/3-normal.t similarity index 100% rename from lib/encoding/warnings/t/3-normal.t rename to ext/encoding-warnings/t/3-normal.t diff --git a/lib/encoding/warnings/t/4-lexical.t b/ext/encoding-warnings/t/4-lexical.t similarity index 100% rename from lib/encoding/warnings/t/4-lexical.t rename to ext/encoding-warnings/t/4-lexical.t diff --git a/lib/.gitignore b/lib/.gitignore index 4176521..b267abf 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -305,6 +305,7 @@ /auto /base.pm /constant.pm +/encoding /encoding.pm /fields.pm /lib.pm