Hello community,
here is the log from the commit of package perl-MIME-EncWords for
openSUSE:Factory checked in at 2011-11-21 12:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MIME-EncWords (Old)
and /work/SRC/openSUSE:Factory/.perl-MIME-EncWords.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MIME-EncWords", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MIME-EncWords/perl-MIME-EncWords.changes
2011-09-23 12:37:58.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-MIME-EncWords.new/perl-MIME-EncWords.changes
2011-11-21 12:43:15.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Nov 19 16:13:57 UTC 2011 - [email protected]
+
+- update to 1.012.4
+ * Chg: encode_mimewords(): 'B' was advantageous over 'Q' by 4/3 byte
+ on average...
+ * Updated address of FSF.
+
+-------------------------------------------------------------------
Old:
----
MIME-EncWords-1.012.3.tar.gz
New:
----
MIME-EncWords-1.012.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MIME-EncWords.spec ++++++
--- /var/tmp/diff_new_pack.d5SuWr/_old 2011-11-21 12:43:17.000000000 +0100
+++ /var/tmp/diff_new_pack.d5SuWr/_new 2011-11-21 12:43:17.000000000 +0100
@@ -18,15 +18,14 @@
Name: perl-MIME-EncWords
-Version: 1.012.3
+Version: 1.012.4
Release: 1
License: GPL+ or Artistic
%define cpan_name MIME-EncWords
Summary: deal with RFC 2047 encoded words (improved)
Url: http://search.cpan.org/dist/MIME-EncWords/
Group: Development/Libraries/Perl
-#Source:
http://www.cpan.org/authors/id/N/NE/NEZUMI/MIME-EncWords-%{version}.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
+Source:
http://www.cpan.org/authors/id/N/NE/NEZUMI/MIME-EncWords-%{version}.tar.gz
BuildRequires: perl(MIME::Charset) >= 1.008.2
BuildRequires: perl
BuildRequires: perl-macros
++++++ MIME-EncWords-1.012.3.tar.gz -> MIME-EncWords-1.012.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-EncWords-1.012.3/Changes
new/MIME-EncWords-1.012.4/Changes
--- old/MIME-EncWords-1.012.3/Changes 2011-06-04 07:32:43.000000000 +0200
+++ new/MIME-EncWords-1.012.4/Changes 2011-10-26 08:17:02.000000000 +0200
@@ -1,4 +1,11 @@
-2011-06-XX Hatuka*nezumi - IKEDA Soji <[email protected]>
+2011-10-26 Hatuka*nezumi - IKEDA Soji <[email protected]>
+
+ * Release 1.012.4.
+ * Chg: encode_mimewords(): 'B' was advantageous over 'Q' by 4/3 byte
+ on average...
+ * Updated address of FSF.
+
+2011-06-05 Hatuka*nezumi - IKEDA Soji <[email protected]>
* Release 1.012.3.
* Fix: encode_mimewords(): inproper handling of Encoding => 'S'.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-EncWords-1.012.3/GPL
new/MIME-EncWords-1.012.4/GPL
--- old/MIME-EncWords-1.012.3/GPL 2011-06-04 07:32:43.000000000 +0200
+++ new/MIME-EncWords-1.012.4/GPL 2011-10-26 08:17:02.000000000 +0200
@@ -1,12 +1,12 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -15,7 +15,7 @@
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
+the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@
The precise terms and conditions for copying, distribution and
modification follow.
-
- GNU GENERAL PUBLIC LICENSE
+
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -110,7 +110,7 @@
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
-
+
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
-
+
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
-
+
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -255,7 +255,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,10 +277,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
+ END OF TERMS AND CONDITIONS
- How to Apply These Terms to Your New Programs
+ How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -292,7 +291,7 @@
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
- Copyright (C) 19yy <name of author>
+ Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -304,17 +303,16 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
- Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
@@ -337,5 +335,5 @@
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
+library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-EncWords-1.012.3/META.yml
new/MIME-EncWords-1.012.4/META.yml
--- old/MIME-EncWords-1.012.3/META.yml 2011-06-04 07:32:43.000000000 +0200
+++ new/MIME-EncWords-1.012.4/META.yml 2011-10-26 08:17:02.000000000 +0200
@@ -1,7 +1,7 @@
--- #YAML:1.0
name: MIME-EncWords
abstract: deal with RFC 2047 encoded words (improved)
-version: 1.012.3
+version: 1.012.4
author:
- Hatuka*nezumi - IKEDA Soji <[email protected]>
license: perl
@@ -16,7 +16,7 @@
provides:
MIME::EncWords:
file: lib/MIME/EncWords.pm
- version: 1.012.3
+ version: 1.012.4
Encode::MIME::EncWords:
file: lib/Encode/MIME/EncWords.pm
version: 0.03
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MIME-EncWords-1.012.3/lib/Encode/MIME/EncWords/JA_JP.pod
new/MIME-EncWords-1.012.4/lib/Encode/MIME/EncWords/JA_JP.pod
--- old/MIME-EncWords-1.012.3/lib/Encode/MIME/EncWords/JA_JP.pod
2011-06-04 07:32:43.000000000 +0200
+++ new/MIME-EncWords-1.012.4/lib/Encode/MIME/EncWords/JA_JP.pod
2011-10-26 08:17:02.000000000 +0200
@@ -18,7 +18,7 @@
$header = encode('MIME-EncWords', $utf8);
# ほかのキャラクタセットでヘッダエンコードする。
- Encode::MIME::EncWords->config(Charset => 'TIS620');
+ Encode::MIME::EncWords->config(Charset => 'GB2312');
$header = encode('MIME-EncWords', $utf8);
=head1 ABSTRACT
@@ -132,7 +132,7 @@
C<$VERSION> 変数を参照してほしい。
-B<これは実験的なリリースである。仕様は近い将来、変わるかもしれない。>
+B<これは実験的なリリースである>。仕様は近い将来、変わるかもしれない。
このパッケージの開発版が次の場所にある。
L<http://hatuka.nezumi.nu/repos/MIME-EncWords/>。
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-EncWords-1.012.3/lib/Encode/MIME/EncWords.pm
new/MIME-EncWords-1.012.4/lib/Encode/MIME/EncWords.pm
--- old/MIME-EncWords-1.012.3/lib/Encode/MIME/EncWords.pm 2011-06-04
07:32:43.000000000 +0200
+++ new/MIME-EncWords-1.012.4/lib/Encode/MIME/EncWords.pm 2011-10-26
08:17:02.000000000 +0200
@@ -53,7 +53,7 @@
my %opts = map { ($_ => ($obj->{$_} || $Config->{$_})) }
qw(Detect7bit Mapping);
$chk = 0 if ref $chk; # coderef not supported.
- my $repl = (! ref $chk and $chk & 4) ? ($chk & ~4 | 1) : $chk;
+ my $repl = ($chk & 4) ? ($chk & ~4 | 1) : $chk;
local $@;
my $skip = 0; # for RETURN_ON_ERR
@@ -221,7 +221,7 @@
$header = encode('MIME-EncWords', $utf8);
# encode header with another charset:
- Encode::MIME::EncWords->config(Charset => 'TIS620');
+ Encode::MIME::EncWords->config(Charset => 'GB2312');
$header = encode('MIME-EncWords', $utf8);
=head1 ABSTRACT
@@ -330,8 +330,8 @@
Consult C<$VERSION> variable.
-B<This is experimental release.
-Features might be changed in the near future.>
+B<This is experimental release>.
+Features might be changed in the near future.
Development versions of this package may be found at
L<http://hatuka.nezumi.nu/repos/MIME-EncWords/>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-EncWords-1.012.3/lib/MIME/EncWords.pm
new/MIME-EncWords-1.012.4/lib/MIME/EncWords.pm
--- old/MIME-EncWords-1.012.3/lib/MIME/EncWords.pm 2011-06-04
07:32:43.000000000 +0200
+++ new/MIME-EncWords-1.012.4/lib/MIME/EncWords.pm 2011-10-26
08:17:02.000000000 +0200
@@ -130,7 +130,7 @@
#------------------------------
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = '1.012.3';
+$VERSION = '1.012.4';
### Public Configuration Attributes
$Config = {
@@ -873,14 +873,14 @@
} elsif ($Params{Encoding} eq 'A' and ! $b and $q) {
$enc = 'Q';
# Otherwise, assuming 'Q', when characters to be encoded are more than
- # 6th of total, 'B' will win.
+ # 6th of total (plus a little fraction), 'B' will win.
# Note: This might give 'Q' so great advantage...
} else {
my @no_enc = grep { ! $_->[1] } @triplets;
my $total = length join('', map { $_->[0] } (@no_enc, @s_enc));
my $q = scalar(() = join('', map { $_->[0] } @s_enc) =~
m{[^- !*+/0-9A-Za-z]}g);
- if ($total < $q * 6) {
+ if ($total + 8 < $q * 6) {
$enc = 'B';
} else {
$enc = 'Q';
@@ -1070,7 +1070,7 @@
# Seek maximal division point.
my ($shorter, $longer) = (0, length($ustr));
while ($shorter < $longer) {
- my $cur = int(($shorter + $longer + 1) / 2);
+ my $cur = ($shorter + $longer + 1) >> 1;
my $enc = substr($ustr, 0, $cur);
if (MIME::Charset::USE_ENCODE ne '') {
$enc = $charset->undecode($enc);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-EncWords-1.012.3/testin/encode-utf-8.txt
new/MIME-EncWords-1.012.4/testin/encode-utf-8.txt
--- old/MIME-EncWords-1.012.3/testin/encode-utf-8.txt 2011-06-04
07:32:43.000000000 +0200
+++ new/MIME-EncWords-1.012.4/testin/encode-utf-8.txt 2011-10-26
08:17:02.000000000 +0200
@@ -8,21 +8,21 @@
CMFWYP VBGKQJ XZ.
GOOD
-("\xc3\x81rv\xc3\xadzt\xc5\xb1r\xc5\x91
t\xc3\xbck\xc3\xb6rf\xc3\xbar\xc3\xb3g\xc3\xa9p---lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod!", Charset=>'utf-8')
+("\xc3\x81rv\xc3\xadzt\xc5\xb1r\xc5\x91
t\xc3\xbck\xc3\xb6rf\xc3\xbar\xc3\xb3g\xc3\xa9p---lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do!", Charset=>'utf-8')
=?UTF-8?B?w4FydsOtenTFsXLFkSB0w7xrw7ZyZsO6csOzZ8OpcC0tLWxvcmVt?= ipsum dolor
- sit amet, consectetur adipisicing elit, sed do eiusmod!
+ sit amet, consectetur adipisicing elit, sed do!
GOOD
-("\xc3\x81rv\xc3\xadzt\xc5\xb1r\xc5\x91
t\xc3\xbck\xc3\xb6rf\xc3\xbar\xc3\xb3g\xc3\xa9p---lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod!!", Charset=>'utf-8')
+("\xc3\x81rv\xc3\xadzt\xc5\xb1r\xc5\x91
t\xc3\xbck\xc3\xb6rf\xc3\xbar\xc3\xb3g\xc3\xa9p---lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do!!", Charset=>'utf-8')
=?UTF-8?Q?=C3=81rv=C3=ADzt=C5=B1r=C5=91_t=C3=BCk=C3=B6rf=C3=BAr=C3=B3g?=
=?UTF-8?Q?=C3=A9p---lorem?= ipsum dolor sit amet, consectetur adipisicing
- elit, sed do eiusmod!!
+ elit, sed do!!
GOOD
-([["\xc3\x81rv\xc3\xadzt\xc5\xb1r\xc5\x91",'utf-8'], ["
t\xc3\xbck\xc3\xb6rf\xc3\xbar\xc3\xb3g\xc3\xa9p",'utf-8'], ['---lorem ipsum
dolor sit amet, consectetur adipisicing elit, sed do eiusmod!!']])
+([["\xc3\x81rv\xc3\xadzt\xc5\xb1r\xc5\x91",'utf-8'], ["
t\xc3\xbck\xc3\xb6rf\xc3\xbar\xc3\xb3g\xc3\xa9p",'utf-8'], ['---lorem ipsum
dolor sit amet, consectetur adipisicing elit, sed do!!']])
=?UTF-8?Q?=C3=81rv=C3=ADzt=C5=B1r=C5=91_t=C3=BCk=C3=B6rf=C3=BAr=C3=B3g?=
=?UTF-8?Q?=C3=A9p---lorem?= ipsum dolor sit amet, consectetur adipisicing
- elit, sed do eiusmod!!
+ elit, sed do!!
GOOD
([["\xc3\x81rv\xc3\xadzt\xc5\xb1r\xc5\x91",'utf-8'],
["t\xc3\xbck\xc3\xb6rf\xc3\xbar\xc3\xb3g\xc3\xa9p",'utf-8'], ['---lorem ipsum
dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt
ut labore et dolore'], ["\xa1\xc4", 'euc-jp']])
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]