Up to [NetBSD + pkgsrc-wip] / pkgsrc / textproc / p5-Encode
Request diff between arbitrary revisions - Display revisions graphically
Keyword substitution: kv
Default branch: MAIN
Updated p5-Encode to 2.44.
Changes from previous:
$Revision: 2.44 $ $Date: 2011/08/09 07:49:44 $
! Unicode/Unicode.xs
Addressed the following:
Date: Fri, 22 Jul 2011 13:58:43 +0200
From: Robert Zacek <zacek@avast.com>
To: perl5-security-report@perl.org
Subject: Unicode.xs!decode_xs n-byte heap-overflow
! Encode.pm encoding.pm
! lib/Encode/Alias.pm lib/Encode/Encoder.pm lib/Encode/Guess.pm
Applied: RT#69735: patch for use constant DEBUG =>
https://rt.cpan.org/Ticket/Update.html?id=69735
2.43 2011/05/21 23:14:43
! lib/Encode/Alias.pm
Addressed RT#68361: Encode::Bytes x-mac-... aliases missing
https://rt.cpan.org/Ticket/Display.html?id=68361
! Encode.pm
Applied the 0001-Fix-typo-in-pod.patch
https://rt.cpan.org/Ticket/Update.html?id=64381
Addressed RT#65796 Deep recursion error finding invalid charset
https://rt.cpan.org/Ticket/Update.html?id=65796
Applied a jumbo doc patch by Tom Christiansen
Message-Id: <14795.1304618434@chthon>
2.42 2010/12/31 22:48:48
! Encode.xs
! Unicode/Unicode.xs
Applied: RT#64371: Update for 5.14 API changes
http://rt.cpan.org/Ticket/Display.html?id=64371
2.41 2010/12/23 11:05:58
! lib/Encode/MIME/Header.pm
Applied: RT#63387 encode of MIME-Header inserts too much whitespace
http://rt.cpan.org/Ticket/Display.html?id=63387
! t/Aliases.t lib/Encode/Alias.pm
Applied: RT#63286: Various Encode::Alias improvements
http://rt.cpan.org/Ticket/Display.html?id=63286
Update to 2.40:
$Revision: 2.40 $ $Date: 2010/09/18 18:39:51 $
! Encode.pm Encode.xs
+ t/utf8ref.t
Addressed: RT#59981: find_encoding("UTF-8")->encode crashes
decode_utf8() is now a little faster, too.
http://rt.cpan.org/Ticket/Display.html?id=59981
http://rt.cpan.org/Ticket/Display.html?id=58541
! lib/Encode/Unicode/UTF7.pm
Addressed: RT#56443 utf-8 flag is not turned off after calling
Encode::encode('UTF-7', $string) to encode an ascii string
http://rt.cpan.org/Ticket/Display.html?id=56443
! t/utf8strict.t
Addressed: RT#57799
http://rt.cpan.org/Ticket/Display.html?id=57799
! lib/Encode/Guess.pm
Addressed: RT#46080: guess_encoding documentation
http://rt.cpan.org/Ticket/Display.html?id=46080
! ucm/nextstep.ucm
Addressed: RT#59668: nextstep encoding is broken - missing ASCII characters
http://rt.cpan.org/Ticket/Display.html?id=59668
! lib/Encode/MIME/Header.pm t/mime-header.t
Addressed: RT#52103: Encode::MIME::Header encoded words not separated by
white space
http://rt.cpan.org/Ticket/Display.html?id=52103
! t/guess.t lib/Encode/Guess.pm
Addressed: Encode: silenced a warning by from_to(..., 'Guess', ...)
http://coderepos.org/share/changeset/37731
Update to 2.39:
# $Id: Changes,v 2.39 2009/11/26 09:23:59 dankogai Exp dankogai $
! Encode.xs t/fallback.t
$utf8 = decode('utf8', $malformed, sub{ ... }) # now works!
http://rt.cpan.org/Ticket/Display.html?id=51204
! t/CJKT.t t/guess.t t/perlio.t
$ENV{'PERL_CORE'} tricks removed since they are no longer necessary.
Message-Id: <20091116161513.GA25556@bestpractical.com>
Updating textproc/p5-Encode from 2.37 to 2.38 Upstream changes: $Revision: 2.38 $ $Date: 2009/11/16 14:08:13 $ ! Encode.xs Addressed: Encode memory corruption [perl #70528] Message-Id: <alpine.LFD.2.00.0911152328070.9483@ein.m-l.org> ! t/Unicode.t Unicode/Unicode.xs Patched: #51263: set magic is not applied when modifying encode arguments http://rt.cpan.org/Ticket/Display.html?id=51263 ! Encode.xs Patched: #51204: Callback CHECK not supported for UTF-8 decoder/encoder http://rt.cpan.org/Ticket/Display.html?id=51204 ! Byte/Byte.pm CN/CN.pm Changes JP/JP.pm KR/KR.pm TW/TW.pm Unicode/Unicode.pm bin/enc2xs lib/Encode/Supported.pod Fix URLs http://rt.cpan.org/Ticket/Display.html?id=49776 ! t/CJKT.t t/guess.t t/perlio.t t/piconv.t $PERL_CORE trick is now off for perl 5.11 or better. Message-Id: <b77c1dce0909070245s59b294bq8a8a8166e7342793@mail.gmail.com> Message-Id: <E7FADA6C-D5A7-4ECA-BE4C-85911A97677E@dan.co.jp> Message-Id: <20090907154908.GS60303@plum.flirble.org> Message-Id: <20090907161509.GN8057@iabyn.com>
Updating textproc/p5-Encode from 2.35 to 2.37
Upstream changes:
! Encode.xs
fixed: compilation failure on compilers not supporting C99
http://rt.cpan.org/Ticket/Display.html?id=49466
2.37 2009/09/06 09:03:07
! Encode.xs
fixed: 'find_encoding("utf8")->decode(undef)' causes segmentation fault
http://rt.cpan.org/Ticket/Display.html?id=49462
pkgsrc changes: - Updating package for p5 module Encode from 2.33 to 2.35 - Adding perl license as license Upstream changes: $Revision: 2.35 $ $Date: 2009/07/13 02:06:30 $ ! lib/Encode/MIME/Header.pm Addressed RT #40027: decode of MIME-Header removes too much whitespace http://rt.cpan.org/Ticket/Display.html?id=40027 http://rt.cpan.org/Ticket/Display.html?id=42902 ! t/piconv.t Addressed by CSJEWELL: t/piconv.t loops infinitely on Win32 http://rt.cpan.org/Ticket/Display.html?id=47760 2.34 2009/07/08 13:34:15 ! bin/piconv duplicate-BOM problem now fixed. Message-Id: <10ECB9B7-006E-4570-9EB6-51C49F04ADCF@dan.co.jp> ! bin/piconv + t/piconv.t patches and tests by SREZIC Message-Id: <4A5366DA.8050801@iconmobile.com> ! Makefile.PL man* removed on behalf of blead Message-Id: <20090326135219.GU18164@plum.flirble.org>
PkgSrc changes: - Updating package to 2.33 Upstream changes: $Revision: 2.33 $ $Date: 2009/03/25 07:55:57 $ ! lib/Encode/MIME/Header.pm Decontaminated $& which sneaked in on 2.31. <67FC9F3A39C746DA95AAB6BB01539099@robmhp> <693254b90903242352x2dc26ba6p5e68deb871fa88ae@mail.gmail.com> http://coderepos.org/share/changeset/31542
- updated to 2.32 ChangeLog: ! lib/Encode/Alias.pm t/Alias.t Encode now resolves 'en_US.UTF-8' to utf-8-strict like 'ja_JP.euc' Those who set locale on their shells should be happier now. ! AUTHORS added tokuhirom ! Encode.pm "encode(undef, 'str') should die earlier" http://coderepos.org/share/changeset/30790
pkgsrc changes: - update module to 2.31 Upstream changes $Revision: 2.31 $ $Date: 2009/02/16 06:18:09 $ ! lib/Encode/MIME/Header.pm "Revert [29767] and [29771] since it breaks perl 5.8" by miyagawa http://coderepos.org/share/changeset/30111 2.30 2009/02/15 17:44:13 ! encoding.pm fixed regexes, et cetera. by drry http://coderepos.org/share/changeset/29767 ! lib/Encode/MIME/Header.pm Addressed: Encode::MIME::Header::decode should respect CHECK http://rt.cpan.org/Ticket/Display.html?id=43204 http://coderepos.org/share/changeset/29767
! 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>
updated to 2.26
took maintainership
ChangeLog:
# Revision history for Perl extension Encode.
#
# $Id: Changes,v 2.26 2008/07/01 20:56:17 dankogai Exp dankogai $
#
$Revision: 2.26 $ $Date: 2008/07/01 20:56:17 $
! Encode.pm
Absense of Encode::ConfigLocal no longer carps no matter what.
https://bugzilla.redhat.com/show_bug.cgi?id=435505#c2
https://rt.cpan.org/Ticket/Display.html?id=28638
https://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
Update p5-Encode to 2.18. Patch provided by Martin Wilke via PR 34419. Changes: ! 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 ! 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. 2.16 ! 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. Changes: ! 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 ! 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. 2.16 ! 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. Changes: 2.18 ! 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 ! 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. 2.16 ! 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>
Import p5-Encode from pkgsrc-wip. Packaged by Roman Kulik. The "Encode" module provides the interfaces between Perl's strings and the rest of the system. Perl strings are sequences of characters.
Initial revision