r18900 - in /branches/upstream/libmime-encwords-perl/current: Changes EncWords.pm EncWords/Defaults.pm.sample MANIFEST META.yml Makefile.PL t/01decode.t

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Apr 20 13:45:06 UTC 2008


Author: gregoa
Date: Sun Apr 20 13:45:05 2008
New Revision: 18900

URL: http://svn.debian.org/wsvn/?sc=1&rev=18900
Log:
[svn-upgrade] Integrating new upstream version, libmime-encwords-perl (1.010.101)

Modified:
    branches/upstream/libmime-encwords-perl/current/Changes
    branches/upstream/libmime-encwords-perl/current/EncWords.pm
    branches/upstream/libmime-encwords-perl/current/EncWords/Defaults.pm.sample
    branches/upstream/libmime-encwords-perl/current/MANIFEST
    branches/upstream/libmime-encwords-perl/current/META.yml
    branches/upstream/libmime-encwords-perl/current/Makefile.PL
    branches/upstream/libmime-encwords-perl/current/t/01decode.t

Modified: branches/upstream/libmime-encwords-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libmime-encwords-perl/current/Changes?rev=18900&op=diff
==============================================================================
--- branches/upstream/libmime-encwords-perl/current/Changes (original)
+++ branches/upstream/libmime-encwords-perl/current/Changes Sun Apr 20 13:45:05 2008
@@ -1,10 +1,13 @@
-2008-XX-XX	Hatuka*nezumi - IKEDA Soji	<hatuka at nezumi.nu>
+2008-04-19	Hatuka*nezumi - IKEDA Soji	<hatuka at nezumi.nu>
 
-	* Release 1.0XX.
-	* Perl >= 5.8.1: Requires MIME::Charset 1.006.1.
-	* Perl >= 5.11.0: Suppress ``Use of uninitialized value
+	* Release 1.010.101 - tidinesses only; no new features.
+	* CPAN RT #34909, #35070 (depends on #35120):
+	  Perl >= 5.8.1 requires MIME::Charset >= 1.006.2.
+	* Perl 5.11.0: Suppress ``Use of uninitialized value
 	  within @_ in lc'' warnings.
-	* Improved ``ASCII transformation'' workaround (still buggy).
+	* Perl <= 5.6.2: Suppress ``Useless use of a constant in
+	  void context'' warnings.
+	* Correct META.yml & MANIFEST.
 
 2008-04-12	Hatuka*nezumi - IKEDA Soji	<hatuka at nezumi.nu>
 

Modified: branches/upstream/libmime-encwords-perl/current/EncWords.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmime-encwords-perl/current/EncWords.pm?rev=18900&op=diff
==============================================================================
--- branches/upstream/libmime-encwords-perl/current/EncWords.pm (original)
+++ branches/upstream/libmime-encwords-perl/current/EncWords.pm Sun Apr 20 13:45:05 2008
@@ -1,6 +1,7 @@
+#-*- perl -*-
 
 package MIME::EncWords;
-use 5.005;
+require 5.005;
 
 =head1 NAME
 
@@ -120,7 +121,7 @@
 #------------------------------
 
 ### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = '1.010.10';
+$VERSION = '1.010.101';
 
 ### Public Configuration Attributes
 $Config = {
@@ -986,7 +987,7 @@
     while ($shorter < $longer) {
 	my $cur = int(($shorter + $longer + 1) / 2);
 	my $enc = substr($ustr, 0, $cur);
-	if (MIME::Charset::USE_ENCODE) {
+	if (MIME::Charset::USE_ENCODE ne '') {
 	    $enc = $charset->undecode($enc);
 	}
 	my $elen = $charset->encoded_header_len($enc, $encoding);
@@ -1005,7 +1006,8 @@
 	eval {
 	    ($fenc, $renc) =
 		(substr($ustr, 0, $shorter), substr($ustr, $shorter));
-	    if (MIME::Charset::USE_ENCODE) {
+	    if (MIME::Charset::USE_ENCODE ne '') {
+		# FIXME: croak if $renc =~ /^\p{M}/
 		$fenc = $charset->undecode($fenc, FB_CROAK());
 		$renc = $charset->undecode($renc, FB_CROAK());
 	    }

Modified: branches/upstream/libmime-encwords-perl/current/EncWords/Defaults.pm.sample
URL: http://svn.debian.org/wsvn/branches/upstream/libmime-encwords-perl/current/EncWords/Defaults.pm.sample?rev=18900&op=diff
==============================================================================
--- branches/upstream/libmime-encwords-perl/current/EncWords/Defaults.pm.sample (original)
+++ branches/upstream/libmime-encwords-perl/current/EncWords/Defaults.pm.sample Sun Apr 20 13:45:05 2008
@@ -1,3 +1,5 @@
+#-*- perl -*-
+
 package MIME::EncWords;
 
 =head1 NAME

Modified: branches/upstream/libmime-encwords-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libmime-encwords-perl/current/MANIFEST?rev=18900&op=diff
==============================================================================
--- branches/upstream/libmime-encwords-perl/current/MANIFEST (original)
+++ branches/upstream/libmime-encwords-perl/current/MANIFEST Sun Apr 20 13:45:05 2008
@@ -4,13 +4,15 @@
 EncWords/Defaults.pm.sample
 EncWords/JA_JP.pod
 GPL
+MANIFEST			This list of files
+META.yml			Module meta-data (added by author)
 Makefile.PL
-MANIFEST			This list of files
-META.yml			Module meta-data (added by MakeMaker)
 README
 t/01decode.t
 t/02encode.t
+testin/decode-ascii.txt
+testin/decode-multibyte.txt
 testin/decode-singlebyte.txt
-testin/decode-multibyte.txt
+testin/encode-ascii.txt
+testin/encode-multibyte.txt
 testin/encode-singlebyte.txt
-testin/encode-multibyte.txt

Modified: branches/upstream/libmime-encwords-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libmime-encwords-perl/current/META.yml?rev=18900&op=diff
==============================================================================
--- branches/upstream/libmime-encwords-perl/current/META.yml (original)
+++ branches/upstream/libmime-encwords-perl/current/META.yml Sun Apr 20 13:45:05 2008
@@ -1,14 +1,30 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+--- #YAML:1.0
 name:         MIME-EncWords
-version:      1.010.10
-version_from: EncWords.pm
-installdirs:  site
+abstract:     deal with RFC 2047 encoded words (improved)
+version:      1.010.101
+author:
+  - Hatuka*nezumi - IKEDA Soji <hatuka at nezumi.nu>
+license:      perl
+distribution_type: module
 requires:
     Encode:                        1.98
     MIME::Base64:                  2.13
-    MIME::Charset:                 1.006.1
+    MIME::Charset:                 1.006.2
+    perl:                          5.005
+build_requires:
     Test:                          0
+provides:
+    MIME::EncWords:
+        file:                      EncWords.pm
+        version:                   1.010.101
+    MIME::EncWords::Defaults:
+        file:                      EncWords/Defaults.pm.sample
+    MIME::EncWords::JA_JP:
+        file:                      EncWords/JA_JP.pod
+resources:
+    repository: http://hatuka.nezumi.nu/repos/MIME-EncWords/
+meta-spec:
+   version: 1.3
+   url: http://module-build.sourceforge.net/META-spec-v1.3.html
+generated_by: author
 
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17

Modified: branches/upstream/libmime-encwords-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libmime-encwords-perl/current/Makefile.PL?rev=18900&op=diff
==============================================================================
--- branches/upstream/libmime-encwords-perl/current/Makefile.PL (original)
+++ branches/upstream/libmime-encwords-perl/current/Makefile.PL Sun Apr 20 13:45:05 2008
@@ -6,7 +6,7 @@
 	'VERSION_FROM'	=> 'EncWords.pm',
 	'PREREQ_PM'	=> ($] >= 5.008001)? {
 	    'Encode'		=> 1.98,
-	    'MIME::Charset'	=> '1.006.1',
+	    'MIME::Charset'	=> '1.006.2',
 	    'MIME::Base64'	=> 2.13,
 	    'Test'		=> 0,
 	}: {

Modified: branches/upstream/libmime-encwords-perl/current/t/01decode.t
URL: http://svn.debian.org/wsvn/branches/upstream/libmime-encwords-perl/current/t/01decode.t?rev=18900&op=diff
==============================================================================
--- branches/upstream/libmime-encwords-perl/current/t/01decode.t (original)
+++ branches/upstream/libmime-encwords-perl/current/t/01decode.t Sun Apr 20 13:45:05 2008
@@ -34,7 +34,7 @@
 	my $dec = decode_mimewords($enc);
 	ok((($isgood && !$@) or (!$isgood && $@)) and
            ($isgood ? ($dec eq $expect) : 1));
-	if (MIME::Charset::USE_ENCODE) {
+	if (MIME::Charset::USE_ENCODE ne '') {
 	    my $u;
 	    # Convert to other charset (or no conversion)...
 	    $u = $expect;




More information about the Pkg-perl-cvs-commits mailing list