71 Commits

Author SHA1 Message Date
Dan Kogai
ba0cc60717 cpan/Encode - Update to version 3.21
$Revision: 3.21 $ $Date: 2024/02/25 22:21:59 $
! t/CJKT.t
  address RT#151983: parallel test race condition
  https://rt.cpan.org/Ticket/Display.html?id=151983
! Encode.pm
  pulled: remove POD markup from verbatim sections
  https://github.com/dankogai/p5-encode/pull/178
! lib/Encode/Supported.pod
  pulled: fix module name in POD
  https://github.com/dankogai/p5-encode/pull/177
2024-02-25 19:58:25 -05:00
Dan Kogai
18cfa0e369 cpan/Encode - Update to version 3.20
$Revision: 3.20 $ $Date: 2023/11/10 01:10:50 $
! t/Aliases.t t/CJKT.t t/Encode.t t/Encoder.t t/Unicode.t t/at-cn.t
  t/at-tw.t t/enc_data.t t/enc_eucjp.t t/enc_module.t t/enc_utf8.t
  t/encoding.t t/fallback.t t/grow.t t/gsm0338.t t/guess.t t/jperl.t
  t/magic.t t/mime-header.t t/mime-name.t t/perlio.t t/rt113164.t
  t/rt65541.t t/rt76824.t t/rt85489.t t/rt86327.t t/truncated_utf8.t
  t/utf8strict.t t/rt.pl
  Fix indirect syntax accordingly to (but not by pulling):
  https://github.com/dankogai/p5-encode/pull/176
! bin/enc2xs
  Pulled: enc2xs: Fix indirect syntax
  https://github.com/dankogai/p5-encode/pull/174
! bin/encguess
  Pulled: encguess: remove duplicate "the"
  https://github.com/dankogai/p5-encode/pull/173
! bin/enc2xs
  Pulled: Fix spelling in comment
  https://github.com/dankogai/p5-encode/pull/171
! t/gsm0338.t
  Pulled: fix gsm0338 test compatibility with perl < 5.8.8
  https://github.com/dankogai/p5-encode/pull/170
2023-11-10 15:17:35 -05:00
Dan Kogai
3aee5eac67 Encode: sync with CPAN version 3.19
Correct one alias: ISO-8859-8-I -> ISO-8859-8.
2022-08-04 13:10:50 +00:00
Dan Kogai
d26b5e1d88 Encode: sync with CPAN version 3.18 2022-06-25 11:28:28 +00:00
Yves Orton
ab5cf2ead2 Update Encode to 3.17
This silences the build warnings reported in https://github.com/Perl/perl5/issues/19588
and in https://github.com/Perl/perl5/issues/17014.

It includes some test updates, but no functionality changes.
2022-04-07 16:35:10 +08:00
Leon Timmermans
079dcbe2d5 Update Encode to 3.16 2021-10-19 23:04:03 +02:00
Dan Kogai
cf927cca44 cpan/Encode: synch with CPAN 3.15
Per maintainer, this is a more complete fix for the problem addressed in
Encode 3.13: memory leak on FB_CROAK.  Certain problems with the sequencing of
pull requests have been addressed.
2021-10-10 20:45:40 +00:00
Dan Kogai
865594904e cpan/Encode: synch with CPAN 3.13
Address RT#139622.  It fixes the memory leak when you set FB_CROAK.
Usually that is not a problem because perl dies immediately after the
error occurs but that is not the case when you wrap it in eval {}.
2021-10-07 11:48:58 +00:00
Ricardo Signes
7167e196c7 Upgraded Encode from 3.10_01 to 3.12 2021-08-09 13:30:09 -04:00
Ricardo Signes
c1a937fef0 Encode.pm: apply a local patch for CVE-2021-36770
I expect Encode to see a new release today.

Without this fix, Encode::ConfigLocal can be loaded from a path relative
to the current directory, because the || operator will evaluate @INC in
scalar context, putting an integer as the only value in @INC.
2021-08-09 08:24:42 -04:00
Neil Bowers
41cb5863c3 Upgraded Encode from 3.08 to 3.10 2021-07-22 21:54:10 +01:00
Dan Kogai
0aee951734 cpan/Encode: sync with CPAN version 3.08 2020-12-02 17:15:55 -05:00
Steve Hay
27ee53f9fa Update Encode from version 3.06 to 3.07 2020-10-12 17:15:02 +01:00
Dan Kogai
8ced1423db Sync Encode version 3.06 into blead
Pumpking okayed merge during code freeze.  This addresses:
https://rt.cpan.org/Ticket/Display.html?id=132471
2020-05-02 20:11:05 -04:00
James E Keenan
cc0610e6eb Encode: synch with CPAN version 3.04 2020-03-10 20:22:54 -04:00
Karl Williamson
86a5062a9c Move some obsolete UTF-8 handling fcns to mathoms
Two of the functions are internal to the core; the third has long been
deprecated.
2020-02-19 18:22:53 -07:00
Dan Kogai
b3cc7c67ca Sync with CPAN version 3.02
The main reason for the release update is to address
https://github.com/Perl/perl5/issues/17382

From Changes:

! t/whatwg-aliases.t
  drop RELEASE_TESTING since Pumpking also uses it.

! bin/enc2xs
  Pulled: enc2xs: Add environment variable to suppress comments

! t/enc_utf8.t
  Pulled: fixup enc_utf8.t for ONLY_PRAGMA_WARNINGS

! Encode/encode.h
  Pulled: Fix linker errors
2019-12-25 20:01:43 -05:00
Dan Kogai
e06f52f05d Encode: synch with CPAN version 3.01 2019-03-12 22:10:30 -04:00
Chris 'BinGOs' Williams
bbe6f202f7 Update Encode to CPAN version 3.00
[DELTA]

$Revision: 3.00 $ $Date: 2019/01/31 04:51:32 $
! Encode.pm
  VERSION bumped to 3.00 to make PAUSE happy

2.100 2019/01/31 04:26:40
!  Encode.xs MANIFEST
+  t/xml.t
  Pulled: Do not access SV* buffer if we have not called SvPV_force()
  https://github.com/dankogai/p5-encode/pull/137
! MANIFEST
  remove utf8messages.t which is already deleted from the repository.
2019-01-31 09:12:29 +00:00
Dan Kogai
20797ee136 Encode: synch with CPAN version 2.99 2019-01-21 09:27:16 -05:00
Todd Rinaldo
7ab4fa180e Upgrade Encode from version 2.96 to 2.97 2018-03-18 17:08:15 -05:00
Steve Hay
c31ca2013f Upgrade Encode from version 2.94 to 2.96 2018-02-12 20:37:36 +00:00
Chris 'BinGOs' Williams
13a15ab626 Update Encode to CPAN version 2.94
[DELTA]

$Revision: 2.94 $ $Date: 2018/01/09 05:53:00 $
! lib/Encode/Alias.pm
  Fixed: deep recursion in Encode::find_encoding when decoding
  bad MIME header
  https://github.com/dankogai/p5-encode/pull/127
! Encode.pm
  Pulled: Include more information about Encode::is_utf8() that it
  should not be normally used
  https://github.com/dankogai/p5-encode/pull/126
  Pulled: Remove misleading documentation about UTF8 flag
  https://github.com/dankogai/p5-encode/pull/125
2018-01-09 13:49:48 +00:00
Steve Hay
0c541dc563 Upgrade Encode from version 2.92 to 2.93 2017-10-10 08:30:01 +01:00
Aaron Crane
3f60a93071 Import Encode-2.92 from CPAN
This also permits removing the local customisation for the previous version.
2017-07-18 18:06:46 +01:00
Steve Hay
15f5e48602 Upgrade Encode from version 2.86 to 2.88
(Unicode.pm is customized for a version-bump only, to silence
t/porting/cmp_version.t since Unicode.xs has changed.)
2016-12-06 08:41:46 +00:00
Steve Hay
0f33e03c7e Upgrade Encode from version 2.85 to 2.86
This incorporates all current blead customizations.
2016-08-11 08:21:52 +01:00
Steve Hay
313d8687ce Upgrade Encode from version 2.84 to 2.85
This retains the customizations to Byte/Makefile.PL, encoding.pm and
various test scripts that have not yet been assimilated.
2016-08-09 18:08:46 +01:00
Tony Cook
b8097e9479 cpan/: remove . from @INC when loading optional modules 2016-07-26 15:36:32 +10:00
Tony Cook
d8f1b4d05e (perl #127834) bump versions of modules in dists we updated a utility in
I tried to follow the numbering convention of the module,
bumping every module if the versions are synchronized, bumping
just the primary module if not.
2016-07-26 15:36:32 +10:00
Steve Hay
0dcb562a77 Upgrade Encode from version 2.80 to 2.84
This retains the customizations to Byte/Makefile.PL (not yet assimilated)
and encoding.pm (can't be removed without a $VERSION++, which would be a
customization again!).
2016-06-28 08:26:38 +01:00
Steve Hay
8693e0c507 Upgrade Encode from version 2.79 to 2.80 2016-01-28 08:13:27 +00:00
Steve Hay
13cf516799 Upgrade Encode from version 2.78 to 2.79
This removes two of the blead "customizations", which were actually only
differences in the "$Id:" line, but the third (encoding.pm) has to stay
because the file hasn't otherwise changed so removing the "customization"
would be a change with no $VERSION bump, which causes
t/porting/cmp_version.t to fail. Sigh.
2016-01-25 13:19:38 +00:00
Chris 'BinGOs' Williams
0648b1fdb6 Update Encode to CPAN version 2.78
[DELTA]

$Revision: 2.78 $ $Date: 2015/09/24 02:19:21 $
! Makefile.PL
  Mend pull/42 again.  This time correctly.
! lib/Encode/Supported.pod
  Applied: RT#107146: [PATCH] fix a spelling mistake
  https://rt.cpan.org/Public/Bug/Display.html?id=107146
2015-10-07 16:53:30 +01:00
Ricardo Signes
6916a94cde Update Encode to CPAN version 2.77
[DELTA]

$Revision: 2.77 $ $Date: 2015/09/15 13:53:27 $
! Unicode/Unicode.xs Unicode/Unicode.pm
  Address RT#107043: If no BOM is found, the routine dies.
  When you decode from UTF-(16|32) without -BE or LE without BOM,
  Encode now assumes BE accordingly to RFC2781 and the Unicode
  Standard version 8.0
  https://rt.cpan.org/Public/Bug/Display.html?id=107043
! Makefile.PL encoding.t
  Mend pull/42
! Encode.xs Makefile.PL encoding.pm encoding.t
  Pulled: precompile 1252 table as that is now the Pod::Simple default
  https://github.com/dankogai/p5-encode/pull/42
2015-09-18 13:47:23 -04:00
Steve Hay
0dd5b0dc36 Upgrade Encode from version 2.75 to 2.76 2015-07-31 08:20:18 +01:00
Steve Hay
00a1161e43 Upgrade Encode from version 2.73 to 2.75 2015-06-30 13:37:33 +01:00
Chris 'BinGOs' Williams
33bbbd9c16 Update Encode to CPAN version 2.73
[DELTA]

$Revision: 2.73 $ $Date: 2015/04/15 23:14:01 $
! MANIFEST
+ t/isa.t
! Encode.pm
  Addressed RT#103253: Encode::XS does not inherit from Encode::Encoding
  https://rt.cpan.org/Public/Bug/Display.html?id=103253
! encoding.pm
+ t/encoding-locale.t
  Pulled: Rewrite of encoding::_get_locale_encoding for more portability #40
! encoding.pm
  Pulled: encoding.pm: more inlining #39
  https://github.com/dankogai/p5-encode/pull/39
2015-06-04 15:05:28 +01:00
Steve Hay
e455391f6b Upgrade Encode from version 2.70 to 2.72
This incorporates all current blead customizations.
2015-03-14 11:36:15 +00:00
Chris 'BinGOs' Williams
5965881937 Update Encode to CPAN version 2.70
[DELTA]

$Revision: 2.70 $ $Date: 2015/02/05 10:53:00 $
! Makefile.PL
  add bin/encguess to EXE_FILES

2.69 2015/02/05 10:35:11
! bin/encguess
  Refactored so that
  * does not depend on non-core module (File::Slurp in particular)
  * PODified document
  * -s "encA encB" to -s encA,encB which is more shell-friendly
  * and more
! MANIFEST
+ bin/encguess
  Pulled: Added CLI wrapper for Encode::Guess
  https://github.com/dankogai/p5-encode/pull/32
! Unicode/Unicode.pm
  Pulled: Bump $VERSION in module changed since Encode-2.60
  https://github.com/dankogai/p5-encode/pull/31
2015-02-06 12:36:32 +00:00
Steve Hay
127a7155e7 Upgrade Encode from version 2.67 to 2.68 2015-01-23 08:19:29 +00:00
Chris 'BinGOs' Williams
aabef0bb41 Update Encode to CPAN version 2.67
[DELTA]

$Revision: 2.67 $ $Date: 2014/12/04 20:13:00 $
! t/taint.t
  Now skips nonexistent methods like Encode::Detect->encode() should
  that be installed.  This resolves RT#100105.
  https://rt.cpan.org/Ticket/Display.html?id=100105
2014-12-04 22:59:24 +00:00
Chris 'BinGOs' Williams
e8cc621e77 Update Encode to CPAN version 2.66
[DELTA]

$Revision: 2.66 $ $Date: 2014/12/02 23:30:34 $
! bin/enc2xs
  Resolved RT#100656: enc2xs -C fails if URL::Encode::XS is installed
  https://rt.cpan.org/Ticket/Display.html?id=100656
2014-12-03 14:32:15 +00:00
Chris 'BinGOs' Williams
2e0c081329 Update Encode to CPAN version 2.65
[DELTA]

$Revision: 2.65 $ $Date: 2014/11/27 14:08:33 $
! Changes Encode.xs bin/enc2xs
  Applied 3 patches from jhi:
    0001-For-C-don-t-use-the-array-size-in-forward-declaratiotion
    0002-Unused-variables
    0003-1-needs-casting-to-STRLEN
  Message-Id: <54753674.6070909@iki.fi>
2014-11-27 22:27:32 +00:00
Chris 'BinGOs' Williams
44f85850d1 Update Encode to CPAN version 2.64
[DELTA]

$Revision: 2.64 $ $Date: 2014/10/29 15:37:54 $
! t/utf8warnings.t MANIFEST
  Retouch pull #26 so it works with perl < 5.14
! Encode.pm
+ t/utf8warnings.t
  Pulled: Catch and re-issue utf8 warnings at a higher level
  https://github.com/dankogai/p5-encode/pull/26
+ Encode.xs
  Pulled: Validate continuations in the incremental UTF-X decoder
  https://github.com/dankogai/p5-encode/pull/25
2014-11-07 12:48:51 +00:00
Chris 'BinGOs' Williams
c9955564bc Update Encode to CPAN version 2.63
[DELTA]

$Revision: 2.63 $ $Date: 2014/10/19 07:01:15 $
! Encode.xs
  Applied: RT #99264: call_pv() can reallocate the stack
  https://rt.cpan.org/Ticket/Display.html?id=99264
! Byte/Makefile.PL CN/Makefile.PL EBCDIC/Makefile.PL Encode.xs
  JP/Makefile.PL KR/Makefile.PL Symbol/Makefile.PL TW/Makefile.PL
  bin/enc2xs encengine.c
  Pulled: add PERL_NO_GET_CONTEXT to all dynamic libs
  https://github.com/dankogai/p5-encode/pull/24
2014-10-24 12:16:34 +01:00
Steve Hay
28e0232523 Upgrade Encode from version 2.60_01 to 2.62
The new version incorporates previous blead CUSTOMIZATIONS.
2014-05-31 16:27:33 +01:00
David Mitchell
89c2544cd3 Fix Encode 2.60 with g++
The recently added Encode 2.60 won't compile with g++, due to assigning
a const char * const pointer to a char* struct field.

The intent of the code itself is a bit unclear, but it appears to be
to set SvPVX as a read-only alias of a const string, using the SvLEN()=0
trick to avoid it being freed.

Fix the g++ builds by casting away the constness, and add some asserts and
comments to make it less unclear what's going on.
2014-05-08 13:30:16 +01:00
Steve Hay
c7981a06d5 re-apply: Upgrade to Encode-2.60
Commit dc396cc293 was reverted by 547245703 due to issues under g++.
This commit re-applies the original commit; the next commit will fix those
issues.

-----

This upgrade includes the blead customizations from 080a704606 and
9e9002efd1 (amongst other changes) so that Perl 5.20.0 can ship with an
official CPAN release of Encode.
2014-05-08 10:25:49 +01:00
Karl Williamson
547245703c Revert "Upgrade to Encode-2.60"
This reverts commit dc396cc29397b262d3cc1473ade4229c84e82ca3.
2014-05-07 12:03:54 -06:00