Upgrade to Encode-2.29.
[p5sagit/p5-mst-13.2.git] / ext / Encode / Changes
index 1cffc39..69ffd5d 100644 (file)
@@ -1,9 +1,388 @@
 # Revision history for Perl extension Encode.
 #
-# $Id: Changes,v 2.5 2004/10/19 04:55:01 dankogai Exp dankogai $
+# $Id: Changes,v 2.29 2009/02/01 13:14:37 dankogai Exp $
 #
+$Revision: 2.29 $ $Date: 2009/02/01 13:14:37 $
+! Encode.pm
+  VERSION++ just to make PAUSE happy
+  Message-Id: <877i4anwwt.fsf@k75.linux.bogus>
+
+2.28 Date: 2009/02/01 12:30:18
+! Unicode/Unicode.xs
+  Latest refactoring broke the backward compatibility 
+  w/ Perl 5.8.6 and before now restored
+  Message-Id: <1233185156.DABa130.74940@basic2.hostingcompartido.com>
+  Message-Id: <693254b90902010027x277a5d0fm4f5700ba2f276239@mail.gmail.com>
+! lib/Encode/MIME/Header.pm
+  Addressed: Split header lines are joined incorrectly
+  http://rt.cpan.org/Ticket/Display.html?id=42902
+
+2.27 2009/01/21 22:55:07
+! lib/Encode/MIME/Header.pm t/mime-header.t
+  Addressed: Encode::MIME::Header MIME-Q encoding truncates 
+    trailing zeros in some circumstances
+  http://rt.cpan.org/Ticket/Display.html?id=42627
+! lib/Encode/Alias.pm
+  Added alias: unicode-1-1-utf-7
+  http://rt.cpan.org/Ticket/Display.html?id=38558  
+! Encode.pm
+  Documented: _utf8_on() does not work for tainted values
+  http://rt.cpan.org/Ticket/Display.html?id=41163
+! bin/enc2xs
+  s[oss.software.ibm.com/icu][www.icu-project.org]g
+  http://rt.cpan.org/Ticket/Display.html?id=40245
+! lib/Encode/Guess.pm t/guess.t
+  Addressed:Empty file should produce an error message
+  http://rt.cpan.org/Ticket/Display.html?id=38652
+! Unicode/Unicode.xs AUTHORS
+  Refactored by Alex Davies
+  http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-10/msg00745.html
+  Message-Id: <7637669B2E3D46B187591747DA27F4C8@Amelie>
+
+2.26 2008/07/01 20:56:17
+! Encode.pm
+  Absense of Encode::ConfigLocal no longer carps no matter what.
+  http://bugzilla.redhat.com/show_bug.cgi?id=435505#c2
+  http://rt.cpan.org/Ticket/Display.html?id=28638
+  http://rt.cpan.org/Ticket/Display.html?id=11511
+! lib/Encode/JIS7.pm
+  use encoding 'utf8' and 'iso-2022-jp' glitches on perl 5.10
+  Thanks, MIYAGAWA
+  Message-Id: <693254b90807011224h3ab50d76v50c6fea87baf223c@mail.gmail.com>
+! lib/Encode/Alias.pm t/Aliases.t
+  macintosh' not recognize as MacRoman
+  http://rt.cpan.org/Ticket/Display.html?id=36326
+! Makefile.PL
+  s{INC => "-I./Encode"}
+   {INC         => '-I' . File::Spec->catfile( '.', 'Encode' )}
+  To prevent some platforms from forgetting to include Encode/encode.h.  
+  http://rt.cpan.org/Ticket/Display.html?id=36348
+
+2.25 2008/05/07 20:56:05
+! Encode.pm
+  added ':default' to Exporter option.
+! lib/Encode/GSM0338.pm
+  GSM0338 now handles coderef in CHECK
+  http://rt.cpan.org/Ticket/Display.html?id=31335
+! Makefile.PL
+  Perl 5.10/Encode 2.24: Tiny typo in Encode's Makefile.PL arg processing
+  Message-Id: <961C2A4F-92B3-416D-A9F9-E7B0ADA9F134@fsck.com>
+! lib/Encode/Alias.pm
+  "This fix for Encode::Alias should make Solaris happy:"
+  Message-ID: <47D886D9.6060001@iki.fi>
+
+2.24 2008/03/12 09:51:11
+! lib/Encode/Config.pm
+  adds and  fixes also adds cp858 support.
+! Encode.pm encoding.pm lib/Encode/Alias.pm ucm/cp858.ucm
+  Merged perl@33486.
+  > Change 33486 by rgs@scipion on 2008/03/12 08:50:11
+    An unfortunate side-effect of Encode and Encode::Alias use'ing each
+    other, and Encode::Alias exporting functions into Encode for it to use
+    as methods, broke the loading of the find_alias() Encode method in some
+    cases since 5.10. Breaking the recursive inheritance fixes it.
+  Message-Id: <b77c1dce0803120151o4166c3a0gfcfd14681ab7e10d@mail.gmail.com>
+! Encode.pm
+  POD fix by tels
+  Message-Id: <200711281835.36125@bloodgate.com>
+! bin/ucmlint
+  Fix by MIYAGAWA via CodeRepos
+  http://coderepos.org/share/changeset/1791
+! encoding.pm t/mime_header_iso2022jp.t
+  ported back from Perl 5.10-RC1
+
+2.23 2007/05/29 18:15:32
+! Encode.xs
+  got rid of global fallback_cb; encode_method() now takes one more
+  argument which is a coderef to fallback.  This should make
+  encode_method() thread-safe.
+! Encode.pm
+  Added perluniintro, perlunifaq, and perlunitut to POD
+! Encode.xs
+  Plug a memory leak in Encode -- by rgs
+  Message-Id: <b77c1dce0705290858v2be239c3o2d726e3d59091493@mail.gmail.com>
+! Unicode/Unicode.pm
+  POD fixes on UTF-16LE
+  http://aspn.activestate.com/ASPN/Mail/Message/perl5-porters/3486118
+! Makefile.PL
+  man page generation is now conditional; yes by default but no if $PERL_CORE
+  Message-Id: <b77c1dce0705290237h5c4667cdlf79a48b839170add@mail.gmail.com>
+
+2.22 2007/05/29 07:35:27
+! Encode.pm
+  from_to() does not honor the check while decoding.  That's a feature.
+  To make sure it is a feature it is mentioned in the POD.
+  http://rt.cpan.org/NoAuth/Bug.html?id=27277
+! Makefile.pl
+  Encode used to suppress man page generation.  Now it does.
+  http://rt.cpan.org/NoAuth/Bug.html?id=27200
+! Encode.pm Encode.xs t/fallback.t
+  Addressed: (de|en)code("ascii", "\x{3000}", sub{ $_[0] }) segfaults
+  Reported by MIYAGAWA
+
+2.21 2007/05/12 06:42:19
++ lib/Encode/MIME/Name.pm t/mime-name.t
+! Encode.pm Encode.xs lib/Encode/Encoding.pm
+  new method: mime_name()
+  inspired by: MIYAGAWA
+! t/encoding.t
+  Subject: Re: Compress::Zlib, pack "C" and utf-8 [PATCH]
+  From: Marc Lehmann <schmorp@schmorp.de>
+  Date: Thu, 12 Apr 2007 08:41:53 +0200
+  Message-ID: <20070412064153.GA22475@schmorp.de>
+  http://public.activestate.com/cgi-bin/perlbrowse/p/31194
+! Unicode/Unicode.pm
+  POD fix.
+  Message-Id: <20070417220547.GA11999@zetta.zet>
+
+2.20  2007/04/22 14:56:12
+! Encode.pm
+  Pod fixes.  Now find_encoding() is explained more in details.
++ lib/Encode/GSM0338.pm
+- ucm/gsm0338.ucm 
+! lib/Encode/Supported.pod lib/Encode/Config.pm Bytes/Makefile.PL t/gsm0338.t
+  ESTI GSM 03.38 support is relocated from Encode::Byte to Encode::GSM0338.
+  This encoding is so kaputt it is unfit for Encode::XS!
+  Though it was okay for general cases and escape sequences,
+  '\0' => '@' IFF '\0\0' => '\0' had gliches.
+  So kaputt even t/gsm0338 wrongly interpreted that.
+  ref. http://www.csoft.co.uk/sms/character_sets/gsm.htm
+! encoding.pm t/Aliases.t
+  Imported from bleedperl #31015
+
+2.19 2007/04/06 12:53:41
+! lib/Encode/JP/JIS7.pm
++ t/jis7-fallback.t
+  encode('iso-2022-jp') fallback support added by MIYAGAWA++
+  decode()'s fallback remains unchanged (FB_PERLQQ) since UTF-8
+  contains all characters in iso-2022-jp so there's no need for fancy stuff.
+  Message-Id: <693254b90704060526s6d850320h71cdda50dfbf7eba@mail.gmail.com>
+! Encode.pm
+  #25216 ([PATCH] Encode.pm: postpone the load of Encode::Encoding)
+  http://rt.cpan.org/NoAuth/Bug.html?id=25216
+! lib/Encode/MIME/Header.pm t/mime-header.t
+  #24418 (Encode::MIME::Header: wrong encoding with latin1 characters)
+  http://rt.cpan.org/NoAuth/Bug.html?id=24418
+! Encode.pm
+  #23876 (Add documentation for LEAVE_SRC)
+  http://rt.cpan.org/NoAuth/Bug.html?id=23876
+! lib/Encode/Alias.pm t/Aliases.t
+  #20781: Thai encoding needs alias for tis-620
+  http://rt.cpan.org/NoAuth/Bug.html?id=20781
+! bin/piconv AUTHORS
+  #20344: piconv: wrong conversion of utf-16le encoded files (with PATCH)
+  http://rt.cpan.org/NoAuth/Bug.html?id=20344
+! Encode.pm Encode.xs bin/enc2xs encoding.pm t/Aliases.t t/utf8strict.t
+  Imported from bleedperl's 2.18_01
+
+2.18 2006/06/03 20:28:48
+! bin/enc2xs
+  overhauled the -C option
+  - added ascii-ctrl', 'null', 'utf-8-strict' to core
+  - auto-generated Encode::ConfigLocal no longer use v-string for version
+  - now searches modules via File::Find so Encode/JP/Mobile is happy
+! Byte/Byte.pm CN/CN.pm EBCDIC/EBCDIC.pm JP/JP.pm KR/KR.pm Symbol/Symbol.pm
+  use strict added; though all they do is load XS, it's
+  still better a practice
+! *.pm
+  use warnings added to all of them for better practices' sake.
+
+2.17 2006/05/09 17:10:09
+! encode.pm
+  'chin' =~ /^zh_CN|chin(?:a|ese)?$/i is true
+  but chin is not china or chinese.
+  http://d.hatena.ne.jp/jankogai/20060508/1147090316
+! Encode.xs
+  Integrated maintperl change (27824|27824) which I overlooked
+  -- sorry, Nicholas and Coverity Scan.
+  Message-Id: <200604152115.k3FLF1Ar014538@smtp3.ActiveState.com>
+  Message-Id: <200605091615.k49GF1gJ016777@smtp3.ActiveState.com>
+
+2.16 2006/05/03 18:24:10
+! bin/piconv
+  --xmlcref and --htmlcref added.
+! Encode.pm
+  Copyright Notice Added.
+  http://rt.cpan.org/NoAuth/Bug.html?id=19056  
+! *
+  Replaced remaining ^\t with q( ) x 4. -- Perl Best Practice pp. 20
+  And all .pm's are now perltidy-ed.
+
+2.15 2006/04/06 15:44:11
+! Unicode/Unicode.xs
+  Addressed: UTF-16, UTF-32, UCS, UTF-7 decoders mishandle illegal characters
+  http://rt.cpan.org/NoAuth/Bug.html?id=18556
+! Encode.pm
+  added str2bytes() as an alias to encode() and  bytes2str() as an alias 
+  to decode()
+  http://rt.cpan.org/NoAuth/Bug.html?id=17103
+! Encode.xs
+  Change 26922: Avoid warning with MS Visual C compiler.
+  Message-Id: <200601231245.k0NCj2dw009484@smtp3.ActiveState.com>
+! t/perlio.t
+  Change 26067: As using -C to turn on utf8 IO is equivalent to the open pragma
+  Message-Id: <200511092227.jA9MRcYD009025@smtp3.ActiveState.com>
+
+2.14 2006/01/15 15:43:36
+! Makefile.PL 
+  Change 26295: Don't build manpages for Encode and Unicode::Normalize
+  Message-Id: <200512071540.jB7Fe4Gt017960@smtp3.ActiveState.com>
+! Encode.pm
+  Change 26081: Pod nit in Encode.pm, found by Marc Lehmann in RT #36949. 
+  Message-Id: <200511110357.jAB3vZcP023647@smtp3.ActiveState.com>
+! Encode.xs Encode/encode.h bin/enc2xs encengine.c
+  Change 25821: Mark more static Encode data structures as const.
+  Change 25823: use more 'const' in the Encode data structures.
+  Message-Id: <200510221243.j9MChTSu027711@smtp3.ActiveState.com>
+  Message-Id: <200510221343.j9MDhTk9001245@smtp3.ActiveState.com>
+
+2.13 2006/01/15 15:06:36
+! AUTHORS
+  Miyagawa's mail address updated
+  Message-Id: <693254b90601150535o767e10bai4f4732c275b4ebe0@mail.gmail.com>
+! lib/Encode/MIME/Header.pm
+  #16413: Encode::MIME::Headers patch to solve what is probably someone else's bug
+  http://rt.cpan.org/NoAuth/Bug.html?id=16413
+! lib/Encode/MIME/Header.pm t/mime-header.t
+  Applied: RT #16258: Support for RFC 2184 language tag
+  http://rt.cpan.org/NoAuth/Bug.html?id=16258
+! Encode.pm
+  Fixed RT #14559: fix for #8872 introduces new "bug"
+  http://rt.cpan.org/NoAuth/Bug.html?id=14559  
+! Encode.pm
++ t/from_to.t
+  from_to() now makes use of $check more naturally.
+  Message-Id: <693254b90601150535o767e10bai4f4732c275b4ebe0@mail.gmail.com>
+  <B10B4DE2-9BAF-4344-B3BE-2119977D817A@dan.co.jp>
+
+2.12 2005/09/08 14:17:17
+! Encode.xs Encode.pm t/fallback.t
+  Now accepts coderef for CHECK!
+! ucm/8859-7.ucm
+  Updated to newer version at unicode.org
+  http://rt.cpan.org/NoAuth/Bug.html?id=14222
+! lib/Encode/Supported.pod
+  More POD typo fixed.
+  <42F5E243.80500@gmail.com>
+! encoding.pm
+  More POD typo leftover fixed.
+  Message-Id: <b77c1dce05080615487f95314@mail.gmail.com>
+
+2.11  2005/08/05 10:58:25
+! AUTHORS CHANGES
+  To reflect changes below
+! Encode.pm encoding.pm 
+  lib/Encode/Alias.pm lib/Encode/PerlIO.pod lib/Encode/Supported.pod
+  Typo fixed by Piotr Fusik in Change 25261 & 25266
+  Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec>
+! Encode.xs
+  Addresses "BUG REPORT: panic in Encode.xs".
+  Message-Id: <42EDDA97.2010608@hyper.to>
++ lib/Encode/MIME/Header/ISO_2022_JP.pm mime_header_iso2022jp.t
+! lib/Encode/MIME/Header.pm lib/Encode/Config.pm
+  Encoding 'MIME-Header-ISO_2022_JP' is introduced by Makamaka
+  Message-Id: <200507311557.j6VFvE2K034605@www231.sakura.ne.jp>
+! Encode/encode.h Encode.pm Encode.xs
+  PerlIO's "encoding(utf-8-strict)" got a problem w/ partial character.
+  Found and addressed by KONNO Hiroharu <hiroharu.konno@bowneglobal.co.jp>
+  See also ext/PerlIO/encoding/encoding.pm   
+  Message-Id: <E1DineE-00068X-TB@yok-gs-workman.asia.bgsinternal.com>
+
+2.10 2005/05/16 18:46:36
+! Encode.pm
+  fixed decode_utf8() accordingly to RT#8872
+  http://rt.cpan.org/NoAuth/Bug.html?id=8872
+! Encode.xs AUTHORS
+  s/SvIVX/SvIV_set/ by Steve Peters.
+  Message-Id: <2297.67.96.185.36.1114626315.squirrel@webmail3.pair.com>
+! AUTHORS
+  GAAS was missing!
+! Encode.pm
+  New Pod section: "UTF-8 vs utf8"; explains utf-8-strict
++ t/utf8strict.t
+  Tests utf-8-strict, accordingly to 
+  UTF-8 decoder capability and stress test" by Markus Kuhn
+  http://smontagu.damowmow.com/utf8test.html
+  Note that malformed and overlong sequences are not test here
+  because perl already does that for you, utf-8-strict or not.
+! Encode.pm Encode/encode.h t/fallback.t
+  Addressed "encode(..., Encode::LEAVE_SRC) does not work".
+  Now FB_(PERLQQ|HTMLCREF|XMLCREF) implies LEAVE_SRC so
+  you can (en|de)code constant strings with these fallbacks.
+  http://rt.cpan.org/NoAuth/Bug.html?id=8736  
+! Encode.pm Encode.xs lib/Encode/Alias.pm t/Aliases.t
+  Make Encode.pm support the real UTF-8, by GAAS
+  Message-Id: <lrfz2mcngd.fsf@caliper.activestate.com>
+  Message-Id: <lr4qizbvvm.fsf@caliper.activestate.com>
+! Encode.pm Encode.xs
+  post-2.09 comment patches from GAAS applied.
+  Message-Id: <lroehacz6q.fsf@caliper.activestate.com>
+  Message-Id: <lrk6rycymu.fsf@caliper.activestate.com>
+
+2.09 2004/12/03 19:16:53 
+! Encode.pm Encode.xs
+  Addressed " :encoding(utf8) broken in perl-5.8.6".
+  Message-Id: <lrllcfeank.fsf_-_@caliper.activestate.com>
+! Encode.pm
+  Addressed "(de|en)code($valid_encoding, undef) does not warn".
+  http://rt.cpan.org/NoAuth/Bug.html?id=8723
+! Encode.pm t/Encode.t
+  Addressed "Can't encode URI".  When a reference is fed to (en|de)code,
+  Encode now stringifies instead of returning undef.
+  http://rt.cpan.org/NoAuth/Bug.html?id=8725
+! Encode.xs t/fallback.t
+  Addressed "FB_HTMLCREF and FB_XMLCREF for the UTF-8 decoder".
+  http://rt.cpan.org/NoAuth/Bug.html?id=8694
+! Encode.pm
+  Addressed "s/digit/number/".
+  http://rt.cpan.org/NoAuth/Bug.html?id=8695
+! Encode.pm
+  Addressed "while (defined(read )) { ... } is an infinite loop".
+  http://rt.cpan.org/NoAuth/Bug.html?id=8696
+! Encode.pm
+  Addressed "What the heck is UCM?".
+  Document fixed so that it no longer contains "UCM-Based Encodings".
+  http://rt.cpan.org/NoAuth/Bug.html?id=8697
+
+2.08 2004/10/24 13:00:29
+! Encode.xs lib/Encode/Encoding.pm  Unicode/Unicode.{pm,xs}
+  Resolved the issue that was raised by 2.07 --  Encode::utf8 fallbacks
+  that was introduce messed up  PerlIO::encoding.
+  * To do so, ->renew() is renewed and ->renewed() was introduced to
+  tell whether the caller is PerlIO or not.
+  Message-Id: <94B2EB12-25B7-11D9-9E6A-000A95DBB50A@dan.co.jp>
+
+2.07 2004/10/22 19:35:52
+! lib/Encode/Encoding.pm
+  "Remove Carp from warnings.pm" that influences Encode, by Tels.
+  Message-Id: <200410161618.29779@bloodgate.com>
+! Encode.xs AUTHORS t/fallback.t
+  Now Encode::utf8's fallbacks are compliant to Encode standard.
+  Thank Bjoern Hoehrmann for persistently convincing me.
+  Message-Id: <41a61aea.638409494@smtp.bjoern.hoehrmann.de>
+! Encode.pm
+  POD further revised.
+
+2.06 2004/10/22 06:23:11
+! ucm/mac*
+  RT #8083 reports that MacThai mapping was obsolete
+  Updated all mac* encodings accordingly to the URI below.
+  One remaining mystery is that MacRomanian vs. MacRumanian.
+  MacRumanian is not found in unicode.org...
+  http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/
+! Encode.pm t/Encode.t
+  Fixed RT #8081: "decode(..., bless{},'x') segfault"
+  Two more tests added to test that.
+  http://rt.cpan.org/NoAuth/Bug.html?id=8081
+! Encode.pm
+  POD revised accordingly to RT #7966
+  http://rt.cpan.org/NoAuth/Bug.html?id=7966
+! Unicode/Unicode.pm
+  POD updated explaining why Encode::Unicode always croaks on error
+  rather than giving users choices.
+  http://rt.cpan.org/NoAuth/Bug.html?id=7892
 
-$Revision: 2.5 $ $Date: 2004/10/19 04:55:01 $
+2.05 2004/10/19 04:55:01
 ! encoding.pm
   "unnuke" jhi's patch in bleedperl, with minor correction by dankogai.
   Message-ID: <41210A84.6060506@iki.fi>