| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enc2xs generates some C code which contains tables. These tables contain
recursive and mutually recursive pointers to other tables. Normally they
are declared as 'static const', except under C++ which can't handle this,
so there they are declared 'extern' and defined ''.
-Wc++-compat and -pedantic put a bit of a spanner in the works.
There is an existing hack to shut up a warning with -Wc++-compat by not
including the table's size in the forward declaration, but this breaks
-pedantic.
This commit does two things to enc2xs. First it moves all the logic that
examines the build options and decides whether to use 'const' etc, into
a separate function, compiler_info(). Second, it fixes the -pedantic
compilation failure by, in the presence of both -Wc++-compat and
-pedantic, falling back to a C++-style compile without the 'static const'.
This is monkey-patching an unstream-CPAN module in core due to it failing
one of the smoke configurations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
| |
This incorporates all current blead customizations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
| |
To keep Porting\cmpVERSION.pl --tag v5.20.1 happy.
|
|
|
|
| |
Already noted as CUSTOMIZED by 3e669301f0 (which omitted the $VERSION bump).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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>
|
|
|
|
|
|
|
|
|
| |
The documentation says that intermixing above-Latin1 code points with
ones that would be otherwise encoded to something else, like Greek,
causes the encoding to be foregone. Until this commit, this only
happened when the above-latin1 code point came first in the string
constant being scanned; meaning string-order was important. This
changes things to match the documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The encoding pragma is deprecated, but in the meantime it causes spooky
action at a distance with other modules that it may be combined with.
In these modules, operations such as chr(), ord(), and utf8::upgrade()
will suddenly start doing the wrong thing.
The documentation for 'encoding' has said to call it after loading other
modules, but this may be impractical. This is especially bad with
anything that auto-loads at first use, like \N{} does now for charnames.
There is an issue with combining this with setting the variable
${^ENCODING} directly. The potential for conflicts has always been
there, and remains. This commit introduces a shadow hidden variable,
subservient to ${^ENCODING} (to preserve backwards compatibility) that
has lexical scope validity.
The pod for 'encoding' has been revamped to be more concise, clear, use
more idiomatic English, and to speak from a modern perspective.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
|
|
|
|
| |
We've decided to not remove 'use encoding' in v5.20.
This reverts commits b017fe877ad78f04afaa3c1327fc46391f572bfb,
7053d92917f7cb46452de86dc4c6d8644cae849c, and
b06e47f717f77453fbdaef628efc2b9c83898a8b
|
|
|
|
|
| |
In commit b06e47f717f77453fbdaef628efc2b9c83898a8b, I forgot to
note in the pragma's pod that it now is unusable.
|
|
|
|
|
|
|
|
|
|
| |
This actually doesn't remove it, but causes any program that does use it
to die. Its use has raised a (default-on) deprecation warning since
5.18, but its demise was omitted from the perldelta for v5.20.
This commit does the minimum necessary to flush out what might break by
its actual removal, while being easily revertable should that become
necessary.
|
|
|
|
| |
The new version incorporates previous blead CUSTOMIZATIONS.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This reverts commit dc396cc29397b262d3cc1473ade4229c84e82ca3.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
The previous commit (080a7046069084) broke g++ builds.
This commit, based on a suggestion by Jan, changes the test of whether
we're "in perl" from being the def'ness of U8 to being the def'ness of
H_Perl; and removes all the '#define U8 U8's that were formerly used to
signal this state.
|
|
|
|
|
|
|
| |
Patch originally created by Daniel Dragan on perl #121554, and modified by
Dan Kogai to save introducing a warning on redefinition.
Sent upstream as cpan #95130.
|
| |
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.55 $ $Date: 2013/09/14 07:51:59 $
! Encode.pm t/Encode.t
Merged RT#91569: [PATCH] decode_utf8 and non-PVs
https://rt.cpan.org/Ticket/Display.html?id=91569
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was discussed on p5p:
http://www.nntp.perl.org/group/perl.perl5.porters/2013/10/msg208635.html
One LICENSE file (Locale-Codes) has been removed (contrary to one suggestion
in that thread) since it was the only one, and only says "This module is
free software; you can redistribute it and/or modify it under the same
terms as Perl itself." anyway.
Two files that I had previously suggested retaining for the sake of tests
have also been removed. In one case, a test script has been modified (in
Digest-MD5; I will send a ticket upstream); in the other case (in
Test-Harness) I have removed the test which depended on the MANIFEST files,
as suggested in the above thread.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.54 $ $Date: 2013/08/29 16:47:39 $
! Encode.xs
+ t/cow.t
Addressed: COW breakage with _utf8_on()
https://rt.cpan.org/Ticket/Display.html?id=88230
! Encode.pm
Reverted the document accordingly to #11
https://github.com/dankogai/p5-encode/pull/10
+ t/decode.t
Unit test for decoding behavior change in #11
https://github.com/dankogai/p5-encode/pull/12
2.53 2013/08/29 15:20:31
! Encode.pm
Merged: Do not short-circuit decode_utf8 with utf8 flags
https://github.com/dankogai/p5-encode/pull/11
Merged: document decode_utf8 behaviour more precise
https://github.com/dankogai/p5-encode/pull/10
! Makefile.PL
Added repository cpan metadata
https://github.com/dankogai/p5-encode/pull/9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.51 $ $Date: 2013/04/29 22:19:11 $
! Encode.xs
Addressed: Encode.xs doesn't compile with Microsoft C compiler
https://rt.cpan.org/Public/Bug/Display.html?id=84920
! MANIFEST
Addressed: t/taint.t missing
https://rt.cpan.org/Public/Bug/Display.html?id=84919
2.50 2013/04/26 18:30:46
! Encode.xs Unicode/Unicode.xs
lib/Encode/Unicode/UTF7.pm lib/CN/HZ.pm lib/Encode/GSM0338.pm
t/taint.t
Addressed: Encode::encode and Encode::decode
gratuitously launders tainted data
Taintedness now propagates as it should.
https://rt.cpan.org/Ticket/Display.html?id=84879
! encoding.pm
Addressed: 5.18 deprecation
https://rt.cpan.org/Ticket/Display.html?id=84709
! bin/piconv
Applied: Update piconv documentation
https://rt.cpan.org/Ticket/Display.html?id=84695
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.49 $ $Date: 2013/03/05 03:12:49 $
! Encode.xs
Addressed: Encoding objects leak memory if decoding fails
https://github.com/dankogai/p5-encode/issues/8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.48 $ $Date: 2013/02/18 02:23:56 $
! encoding.pm
t/Mod_EUCJP.pm t/enc_data.t t/enc_eucjp.t t/enc_module.t t/enc_utf8.t
t/encoding.t t/jperl.t
[PATCH] Deprecate encoding.pm
https://rt.cpan.org/Ticket/Display.html?id=81255
! Encode/Supported.pod
Fixed: Pod errors
https://rt.cpan.org/Ticket/Display.html?id=81426
! Encode.pm t/Encode.t
[PATCH] Fix for shared hash key scalars
https://rt.cpan.org/Ticket/Display.html?id=80608
! Encode.pm
Fixed: Uninitialized value warning from Encode->encodings()
https://rt.cpan.org/Ticket/Display.html?id=80181
! Makefile.PL
Install to 'site' instead of 'perl' when perl version is 5.11+
https://rt.cpan.org/Ticket/Display.html?id=78917
! Encode/Makefile_PL.e2x
find enc2xs.bat if it works on windows.
https://github.com/dankogai/p5-encode/pull/7
! t/piconv.t
Fix finding piconv in t/piconv.t
https://github.com/dankogai/p5-encode/pull/6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.47 $ $Date: 2012/08/15 05:36:16 $
! Encode.pm
POD Fixes: Copyright and mail address
! Makefile.PL
Added LICENSE => 'perl'
! lib/Encode/GSM0338.pm t/gsm0338.t
REALLY fixed RT#75670: Wrong decoding for GSM 3.38 character \x09
ucm/gsm0338.ucm is dropped from MANIFEST since 2.25
but I was fixing the wrong file!
https://rt.cpan.org/Ticket/Display.html?id=75670
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.46 $ $Date: 2012/08/12 05:49:30 $
! Encode.pm
Fixed: RT#78917 for I18N-Charset: Fails with Encode 2.45
To be more exact, 2.45 broke Encode->encodings(':all')
https://rt.cpan.org/Ticket/Bug/Display.html?id=78917
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.43 $ $Date: 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>
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.42 $ $Date: 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.41 $ $Date: 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When porting/makerel runs, all files copied into the directory for the
tarball have the executable bit stripped and then only a specific set of
files have the executable bit restored.
There are many files in the repo that have the executable bit set in the
repo that will be stripped. So that the state of files in the repo is
as close as possible to the state of files in the release tarball, the
executable bit has been stripped from such files.
In one recent case, a file added from a dual-life module needed the
executable bit set. Because it had the bit in the repo but was
not listed in makerel to get an executable bit, tests using it
passed in the repo and failed in the tarball.
This commit refactors the list into a new file, Porting/exec-bit.txt
and add tests to detect a mismatch between files listed there
and actual executable bits in the repo.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We already differ from upstream, which skips when PERL_CORE is set.
Since we apparently think we can run it in core now, it seems like
we ought to sort out the proper skip criteria before sending it
upstream.
|