Karl Williamson [Thu, 15 Aug 2013 19:24:15 +0000 (13:24 -0600)]
lib/locale.t: Add, improve debugging output
This now dumps out what all the [:posix:] classes match under debugging,
using the format introduced a few commits ago. This is helpful in
examining what might be wrong.
Karl Williamson [Thu, 15 Aug 2013 19:19:55 +0000 (13:19 -0600)]
lib/locale.t: Change variable name for accuracy
The variable means \w, not Alnum, which matches [:alnum:], and has a
somewhat different meaning.
Karl Williamson [Thu, 15 Aug 2013 18:42:46 +0000 (12:42 -0600)]
lib/locale.t: Improve debug output
This creates a function to display a list of code points that are passed
in. It uses hex for non-ASCII graphics and otherwise outputs the
characters, perhaps as ranges. It makes reading the output a lot
easier. Previously, there could be discrepancies in if the output was
in utf8 vs what the file handle thought, and even when there was no
such discrepancy, the upper Latin1 characters were displayed as if the
locale is Latin1, which it likely wasn't, so the graphics were
misleading.
Karl Williamson [Thu, 15 Aug 2013 18:38:19 +0000 (12:38 -0600)]
lib/locale.t: White-space only
Properly indent because of newly formed block
Karl Williamson [Thu, 15 Aug 2013 18:31:55 +0000 (12:31 -0600)]
lib/locale.t: Fix :digit:, :xdigit: tests
In commit
32e8aa3fdb11b64c2a141bf56441761d978fd17b, I forgot that the
POSIX standard allows \d ([:digit:]) to match either the 10 ASCII
digits, or those plus another 10 locale-dependent ones. This new commit
tests that the number matched is either 10 or 20, and if not 10, then
\d doesn't have to be a subset of [:xdigit:], so skip that test.
Karl Williamson [Wed, 14 Aug 2013 20:07:03 +0000 (14:07 -0600)]
lib/locale.t: Use proper constant.
Prior to this commit, locale.t faked out setlocale() somehow by making
LC_ALL a function that returns nothing. This commit changes that to use
the proper constant POSIX::LC_ALL
Chris 'BinGOs' Williams [Thu, 15 Aug 2013 21:23:48 +0000 (22:23 +0100)]
Update Scalar-List-Utils to CPAN version 1.31
[DELTA]
1.31 -- Wed Aug 14 20:38 UTC 2013
* Bugfix pairmap to return list length in scalar context
* Added "Odd number of elements" warnings to all pair* functions
Craig A. Berry [Thu, 15 Aug 2013 20:46:51 +0000 (15:46 -0500)]
Fix remaining missing d_xxx variables in configure.com.
Steve Hay [Thu, 15 Aug 2013 13:02:10 +0000 (14:02 +0100)]
Make DMAKE import everything from the environment like NMAKE does
We already imported WIN64, CCHOME and a couple of others. It is useful to
have CCTYPE and GCCCROSS as well, and in fact we may as well simply import
everything since that is what NMAKE does anyway.
Steve Hay [Thu, 15 Aug 2013 12:04:55 +0000 (13:04 +0100)]
Regen t/porting/customized.dat following
f81a37f2d8
Steve Hay [Thu, 15 Aug 2013 08:20:56 +0000 (09:20 +0100)]
All modified files in UPSTREAM=>cpan/undef distros are now listed as CUSTOMIZED
All of these modifications already had, or now have, rt.cpan.org tickets
for them requesting that the changes be merged upstream, and the ticket
numbers are now listed in Maintainers.pl alongside each list of CUSTOMIZED
files.
The goal is ultimately to get new CPAN distros rolled for all of these so
that we have no CUSTOMIZED files left (other than a couple of special
cases - libnet, Module::Build and podlators), but there is nothing we can
do at our end to make this happen.
Steve Hay [Thu, 15 Aug 2013 07:36:36 +0000 (08:36 +0100)]
No need to look for Borland's debug symbols files
Commit
378eeda70c missed this.
Steve Hay [Thu, 15 Aug 2013 07:33:01 +0000 (08:33 +0100)]
Commit
4d3a042da1 missed a corresponding update to win32/makefile.mk
Karl Williamson [Thu, 15 Aug 2013 04:00:16 +0000 (22:00 -0600)]
perluniprops: Add missing character to what's matched
mktables omitted the equal sign from the generated pod for certain
properties that should match it.
Karl Williamson [Mon, 12 Aug 2013 17:23:34 +0000 (11:23 -0600)]
PATCH (partial) [perl #107816] Performance regression since
0abd0d78
0abd0d78 removed making tries under /di matching, the reason being that
it was broken for many of the upper Latin1 characters, the ones whose
matches aren't fully known until run-time. For example under /di, LATIN
CAPITAL LETTER A WITH GRAVE caselessly matches LATIN SMALL LETTER A WITH
GRAVE if and only if the target string is encoded in UTF-8. Under /ui
matching, these always match, and so tries are constructed for them.
But if a regnode doesn't contain any of the 61 problematic characters (nor
the sequence 'ss' (upper- and/or lowercase), what it matches is fully
known at compile time, and so should be trie-able as-is.
This commit merely keeps track of if any character in the regnode is one
of the 61 or the 'ss' sequence, and if not, changes its type to be /ui
and hence trie-able.
Karl Williamson [Sun, 11 Aug 2013 03:47:02 +0000 (21:47 -0600)]
regcomp.c: Move code into a #define
This logic will be used in an additional area of the program in a future
commit.
The #define also generalizes the code so it works on not just 'S' and
's', but any upper/lower case pair of ASCII alphabetics.
Karl Williamson [Sun, 11 Aug 2013 01:02:49 +0000 (19:02 -0600)]
regcomp.c: Skip calculating a pass2 value in pass1
The result of this value at the end of the loop is discarded in pass1 of
the regex compilation, so don't bother to calculate it.
Karl Williamson [Sun, 11 Aug 2013 01:00:37 +0000 (19:00 -0600)]
regcomp.h: Add a couple #define synonyms
Sometimes SIZE_ONLY isn't really clear as to what is going, on. This
adds PASS1 and PASS2 for such instances.
Karl Williamson [Sun, 11 Aug 2013 00:28:04 +0000 (18:28 -0600)]
regcomp.c: Move some initialization to declarations
This changes the declarations of two variables to also initialize them,
removing the initializing statements further down. This will be helpful
in a future commit, besides being generally slightly faster.
Karl Williamson [Mon, 12 Aug 2013 20:10:15 +0000 (14:10 -0600)]
utf8.pm: Slight clarification in pod
Tony Cook [Thu, 15 Aug 2013 01:29:01 +0000 (11:29 +1000)]
perldelta for 6136213, cccbbce
Tony Cook [Tue, 13 Aug 2013 06:38:50 +0000 (16:38 +1000)]
[perl #92446] fix recursion introduced in original patch
Some of the other interfaces format_arg() calls can cluck(), confess() or
longmess(). Avoid infinite recursion in those cases.
Also, instead of die() on format_arg recursion, fallback to basic
CLASS=HASH(...) output.
This fixes issues with CGI-Application, Devel-TrackSIG and Class-Std.
- for CGI-Application we ended up calling can(CARP_TRACE) on a CGI.pm
object, which instead of returning false, croak()s
- Devel-TrackSIG calls Carp::longmess when we set the __DIE__ handler
Steve Hay [Wed, 14 Aug 2013 20:21:08 +0000 (21:21 +0100)]
Scalar-List-Utils in perl does not use its own version of Makefile.PL
Steve Hay [Wed, 14 Aug 2013 20:19:13 +0000 (21:19 +0100)]
No need to list IGNORABLES as EXCLUDED
Steve Hay [Wed, 14 Aug 2013 13:18:49 +0000 (14:18 +0100)]
Fix miniperl.exe.manifest problem on Windows
Commit
cb251201d6 inadvertently broke the embedding of the manifest file
in miniperl.exe by changing the target which builds miniperl.exe and hence
the value of $@, which is used in the EMBED_EXE_MANI macro.
It isn't hugely important since the .exe works fine with the .manifest left
alongside it anyway (and miniperl.exe isn't even an installed file either),
but fixing it saves having to .gitignore the .manifest file which was being
left behind rather than embedded and deleted.
We can do this nicely in dmake-speak; unfortunately nmake's version of the
same isn't as nice since it can't handle macros in macro substitutions.
Steve Hay [Wed, 14 Aug 2013 07:24:33 +0000 (08:24 +0100)]
Upgrade Encode from 2.51 to 2.52
Craig A. Berry [Wed, 14 Aug 2013 00:27:01 +0000 (19:27 -0500)]
Fix miscellaneous missing d_xxx variables in configure.com.
There are still 200+ variables in Porting/Glossary that are not
written by configure.com, but these jumped out as the initial set
that might be of actual use.
Tony Cook [Wed, 14 Aug 2013 00:05:18 +0000 (10:05 +1000)]
[perl #3330] avoid an uncaught warning from op/inc.t
and add a warnings.t test case to check for that warning
Steve Hay [Tue, 13 Aug 2013 21:13:17 +0000 (22:13 +0100)]
MinGW(-w64)/gcc on Windows includes <stdbool.h>
None of VC++ 6.0 through 11.0 do, however, so no change in the *.vc files.
David Mitchell [Tue, 13 Aug 2013 21:25:46 +0000 (22:25 +0100)]
improve regexec_flags() API documentation
In the API, rename the 'screamer' arg to be 'sv' instead;
update the description of the functions args;
improve the documentation of the REXEC_* flags for the 'flags' arg.
Father Chrysostomos [Tue, 13 Aug 2013 20:13:44 +0000 (13:13 -0700)]
Correct perlguts docs about PADMY & PADTMP
Father Chrysostomos [Tue, 13 Aug 2013 20:10:15 +0000 (13:10 -0700)]
Copy PADTMPS passed to XSUBs
This resolves the last remaining issue in ticket #78194, that
newRV is supposedly buggy because it doesn’t copy its referent.
The full implications of the PADTMP are not explained anywhere in
the API docs, and even XSUBs shouldn’t have to worry about special
handling. (E.g., what if they do SvREFCNT_dec(SvRV(sv)); SvRV(sv)=...?)
So the real solution here is not to let XSUBs see them.
Father Chrysostomos [Tue, 13 Aug 2013 16:05:30 +0000 (09:05 -0700)]
Describe ext/XS-APItest/t/call.t better
Father Chrysostomos [Tue, 13 Aug 2013 15:56:12 +0000 (08:56 -0700)]
perldelta for Devel::Peek::Dump changes
Father Chrysostomos [Tue, 13 Aug 2013 15:39:14 +0000 (08:39 -0700)]
Update Devel::Peek docs with Dump changes
Boy, does this whole document need a rewrite....
Father Chrysostomos [Mon, 12 Aug 2013 04:54:11 +0000 (21:54 -0700)]
Inline Devel::Peek::Dump; allow Dump %hash etc.
This commit makes Devel::Peek::Dump modify the op tree to allow it to
dump arrays and hashes directly via Dump @array and Dump %hash. It
also puts other operators in rvalue context, allowing the return value
of rvalue substr for instance to be dumped, making Devel::Peek more
useful as a debugging tool.
Since a future commit (to fix the rest of #78194) is likely to make
pp_entersub copy PADTMPs (operator return values) for XSUBs (it
already happens for Perl subs as of
b479c9f2a), to the detriment of
Devel::Peek’s usefulness, I also made it inline Dump as a custom op.
This does introduce a backward-incompatible change, in that both argu-
ments to Dump are now in scalar context, and the number of arguments
is checked at compile time instead of run time (still run time for
&Dump(...)), but I think it is worth it.
Steve Hay [Tue, 13 Aug 2013 13:34:37 +0000 (14:34 +0100)]
Update win32/config_H.[gv]c canned configuration files
The win32/config.[gv]c files are generally kept up to date these days (and
we have tests to check that) so no changes are required in them.
The win32/config_H.[gv]c files are regenerated as per instructions in the
win32/Makefile and win32/makefile.mk, being careful to restore a couple of
things otherwise lost from the config_H.gc file. The files are now in sync
with the top-level master configuration file, config_h.SH.
Steve Hay [Tue, 13 Aug 2013 13:04:53 +0000 (14:04 +0100)]
Write win32/config.h with *nix EOLs, as per the canned config_H.* files
This makes no difference when actually building perl, but saves a dos2unix
when regenerating the canned files with the regen_config_h makefile targets.
David Mitchell [Tue, 13 Aug 2013 15:09:33 +0000 (16:09 +0100)]
perldelta: add entries for c3923c3, e82485c
Father Chrysostomos [Tue, 13 Aug 2013 15:24:59 +0000 (08:24 -0700)]
perldelta for 61e9f3f
Father Chrysostomos [Tue, 13 Aug 2013 15:21:59 +0000 (08:21 -0700)]
Appease podcheck.t
It doesn’t like E<quot> in links, though the pod spec (if I read it
correctly) allows it. It doesn’t mind quotes within quotes.
Father Chrysostomos [Tue, 13 Aug 2013 13:08:56 +0000 (06:08 -0700)]
perldelta for #92260/b59747a
Father Chrysostomos [Tue, 13 Aug 2013 13:07:33 +0000 (06:07 -0700)]
perldelta for #117355/aca7040
Father Chrysostomos [Tue, 13 Aug 2013 13:02:04 +0000 (06:02 -0700)]
perldelta for #3330/8140a7a
Father Chrysostomos [Tue, 13 Aug 2013 12:55:12 +0000 (05:55 -0700)]
Stop reset from clearing aliases to globs
If $z has been aliased to *foo, then reset("z") would turn off the
SvOK flags on *foo, putting it in an inconsistent state. This could
cause crashes.
Father Chrysostomos [Tue, 13 Aug 2013 05:11:24 +0000 (22:11 -0700)]
perldelta for 045071e
Father Chrysostomos [Tue, 13 Aug 2013 05:08:34 +0000 (22:08 -0700)]
perldelta for 5f213d9
Father Chrysostomos [Tue, 13 Aug 2013 05:07:51 +0000 (22:07 -0700)]
perldelta for 9bcf803 and 376ccf8
Father Chrysostomos [Tue, 13 Aug 2013 05:06:27 +0000 (22:06 -0700)]
perldelta for 85b7d9b
Father Chrysostomos [Tue, 13 Aug 2013 05:05:16 +0000 (22:05 -0700)]
perldelta for 48120f8
Father Chrysostomos [Tue, 13 Aug 2013 05:02:52 +0000 (22:02 -0700)]
perldelta for 3b68edc
Father Chrysostomos [Tue, 13 Aug 2013 05:00:46 +0000 (22:00 -0700)]
perldelta: another to-do
Father Chrysostomos [Tue, 13 Aug 2013 04:43:09 +0000 (21:43 -0700)]
perldelta for a547fd2
Father Chrysostomos [Tue, 13 Aug 2013 04:28:07 +0000 (21:28 -0700)]
perldelta for 9e0ea7f
The thing about locking hash keys inside the substitution and
vivifying globs is too hard to explain clearly and concisely.
This section is entitled ‘*Selected* Bug Fixes’, after all.
Father Chrysostomos [Tue, 13 Aug 2013 04:26:03 +0000 (21:26 -0700)]
perldelta for 649c173
Father Chrysostomos [Tue, 13 Aug 2013 04:23:43 +0000 (21:23 -0700)]
perldelta: another to-do
Father Chrysostomos [Tue, 13 Aug 2013 03:42:54 +0000 (20:42 -0700)]
perldelta for 51da40e
Father Chrysostomos [Tue, 13 Aug 2013 03:27:06 +0000 (20:27 -0700)]
perldelta for 6b35226
Father Chrysostomos [Tue, 13 Aug 2013 03:25:38 +0000 (20:25 -0700)]
perldelta for 3df32bd
Father Chrysostomos [Tue, 13 Aug 2013 03:24:23 +0000 (20:24 -0700)]
perldelta for 1311cfc
Father Chrysostomos [Tue, 13 Aug 2013 03:22:03 +0000 (20:22 -0700)]
perldelta: anither to-do
Father Chrysostomos [Tue, 13 Aug 2013 03:19:01 +0000 (20:19 -0700)]
perldelta for c30fc27
The first part was stolen from
72251ce78c061 on the maint-5.18 branch.
Father Chrysostomos [Tue, 13 Aug 2013 03:16:06 +0000 (20:16 -0700)]
perldelta: missing =item
Father Chrysostomos [Tue, 13 Aug 2013 03:07:33 +0000 (20:07 -0700)]
[perl #45667] Apply tests from #119125 in reverse
Ticket #119125 represents the breakage caused by
c30fc27b4df65a, which
fixed #45667 (/[#]$not_interpolated/x; a regression from 5.000) as a
side-effect of fixing /[#](?{this is not a code block})/x (a regres-
sion from 5.16.0).
It was backported to maint-5.18, which broke several modules, because
bug #45667 is *old*, and many modules depend on it.
So
02682386fe3e on the maint branch modified the fix to apply only to
code blocks, and added tests to make sure that #45667 wasn’t fixed.
#45667 is fixed in blead, but is untested, so grab the tests from
02682386fe3e and reverse the logic of the second one.
Father Chrysostomos [Mon, 12 Aug 2013 22:52:23 +0000 (15:52 -0700)]
mg.c: Fix U32-to-bool assignment
This was caused by
3805b5fb04. This commit restores the !=0 that
was there before
2fd13eccf0.
Thanks to Steve Hay for helping to track down the smoke failures.
Father Chrysostomos [Mon, 12 Aug 2013 23:15:47 +0000 (16:15 -0700)]
perldelta for #118213/5b0e71e
Father Chrysostomos [Mon, 12 Aug 2013 23:12:04 +0000 (16:12 -0700)]
perldelta: more to-do items
Father Chrysostomos [Mon, 12 Aug 2013 23:00:26 +0000 (16:00 -0700)]
perldelta: begin a to-do list
Father Chrysostomos [Mon, 12 Aug 2013 21:34:30 +0000 (14:34 -0700)]
perldelta for 1913067
Father Chrysostomos [Mon, 12 Aug 2013 21:31:29 +0000 (14:31 -0700)]
perldelta for 5d71919
Father Chrysostomos [Mon, 12 Aug 2013 21:29:16 +0000 (14:29 -0700)]
perldelta for #79908/137da2b
Father Chrysostomos [Mon, 12 Aug 2013 21:27:36 +0000 (14:27 -0700)]
perldelta for mutable inlining & folding
2484f8d Stop folding of ops from changing mutability
94d5c17 Stop constant.pm from (ab)using subs for scalars
6f1b3ab Allow stash elems to be array refs
f815dc1 Inline list constants
c5a2441 Update constant.pm to reflect list inlinement
08f3c42 Tweak optree_constants.t for inlined list consts
d244020 Make sub(){42} return a mutable value
0ad6fa3 Stop op freeing from interfering with sub(){42} mutability
Father Chrysostomos [Mon, 12 Aug 2013 21:24:18 +0000 (14:24 -0700)]
perldelta for #3105/5608dcc
Father Chrysostomos [Mon, 12 Aug 2013 21:21:25 +0000 (14:21 -0700)]
perldelta for \$_.\$_ no longer giving 2 addresses
325e181 pad.c: Use &PL_sv_no for const pad names
82b84d0 op.c: Stop copying constants under ithreads
4891fdf pad.c: cast before comparing signed with unsigned
a0ed822 [perl #78194] Make grep/map copy pad tmps
b479c9f [perl #78194] Make sub calls copy pad tmps
8e079c2 [perl #78194] Make foreach copy pad tmps
706a6eb [perl #78194] Make list slices copy PADTMPs in lv cx
da9e430 [perl #78194] Make x copy PADTMPs in lv cx
2b66f6d [perl #78194] Make sort copy PADTMPs
82c2360 [perl #78194] Make re-evals copy PADTMPs
fb09017 pad.c apidocs: Clarify use of &PL_sv_no
Father Chrysostomos [Mon, 12 Aug 2013 21:10:17 +0000 (14:10 -0700)]
perldelta for ef54055
Father Chrysostomos [Mon, 12 Aug 2013 21:08:38 +0000 (14:08 -0700)]
perldelta for #72766/6174b39
Steve Hay [Mon, 12 Aug 2013 23:43:56 +0000 (00:43 +0100)]
Update t/porting/customized.dat for cpan/libnet/Makefile.PL
Steve Hay [Mon, 12 Aug 2013 23:04:41 +0000 (00:04 +0100)]
Upgrade Time::Piece from 1.21 to 1.22
Steve Hay [Mon, 12 Aug 2013 23:03:39 +0000 (00:03 +0100)]
Upgrade IO::Compress::* and Compress::Raw::* from 2.061 to 2.062
Steve Hay [Mon, 12 Aug 2013 22:41:35 +0000 (23:41 +0100)]
Upgrade libnet from 1.22_02 to 1.23
Changed my mind over the UPSTREAM status too: 'cpan' is probably better
after all. As long as someone (currently me) is responsive in rolling new
CPAN releases then any patches from core can safely go to rt.cpan.org
without getting stuck on a pile for a long time. Meanwhile, other patches
sent to rt.cpan.org may also get applied, and hopefully one day a more
active maintainer may be found. This also saves having to move it from
cpan/ to dist/.
Chris 'BinGOs' Williams [Mon, 12 Aug 2013 20:59:55 +0000 (21:59 +0100)]
Sync version of Module-CoreList
Chris 'BinGOs' Williams [Mon, 12 Aug 2013 20:59:02 +0000 (21:59 +0100)]
Fix MANIFEST and update Changes in Module-CoreList
Karl Williamson [Thu, 8 Aug 2013 03:30:01 +0000 (21:30 -0600)]
lib/locale.t: Make suitable for testing locales sanity
This just adds some more explanatory text to the output when errors are
encountered, and causes it to not generate TODOs for failing tests under
debug mode. These TODOs were generated when only a small percentage of
the locales have failures, thus indicating that the fault is in those
locale definitions and not Perl itself, and hence we shouldn't fail the
build because somebody's system has a few bad locale definitions.
This commit causes the failures to be real failures when under debug
mode. Given this and the new explanatory text, this .t is suitable for
testing locales for sanity. I'll ask p5p whether we should advertise
that fact or not.
Karl Williamson [Thu, 8 Aug 2013 02:44:32 +0000 (20:44 -0600)]
lib/locale.t: Move advice output to end
This just moves a block so that the messages it generates are displayed
at the end of the locale.t output, instead of in the middle. This makes
them more likely to be noticed.
Karl Williamson [Thu, 8 Aug 2013 02:05:27 +0000 (20:05 -0600)]
locale.t: Don't show 100% pass when there are failures
This was because it only rounded to the nearest percent. Rounding to
the nearest .1% should eliminate the problem, as there are fewer than
1000 possible locales.
Karl Williamson [Sun, 28 Jul 2013 04:05:14 +0000 (22:05 -0600)]
locale.c: Rmv unused variable
Karl Williamson [Mon, 12 Aug 2013 19:15:27 +0000 (13:15 -0600)]
lib/locale.t: White-space only
This outdents text and reflows comments in a now-removed block
Karl Williamson [Mon, 12 Aug 2013 18:47:50 +0000 (12:47 -0600)]
lib/locale.t: Don't skip certain tests
The removed code caused tests to be skipped when the locale doesn't add
any \w characters beyond the C locale. That meant in practice these
tests were likely skipped only for the C and POSIX locales. The problem
is that doing this required extra complexity in figuring out how many
tests to skip. Removing this makes the code easier to understand and
maintain.
Karl Williamson [Sat, 27 Jul 2013 19:53:12 +0000 (13:53 -0600)]
lib/locale.t: Remove useless test.
This test verified that certain things matched \w. However the list of
those things was assembled by matching \w in the first place. So it
tested nothing new.
Karl Williamson [Sat, 27 Jul 2013 19:48:33 +0000 (13:48 -0600)]
lib/locale.t: Add a bunch of tests.
These test that various relationships that POSIX specifies are met in
each locale, including that a class and its complement are mutually
exclusive, that some classes are subsets of another (like [:upper:]
being a subset of [:alpha:]), and that some things can't be in two
conflicting classes (such as [:print:] and [:cntrl:]).
The tests are marked as TODO, like similar existing tests, if only a
small percentage of locales fail them. This indicates that those
locales are defective, while Perl and most other locales are ok.
Karl Williamson [Sat, 27 Jul 2013 19:43:50 +0000 (13:43 -0600)]
lib/locale.t: Better debug output
This adds infrastructure and uses it to report the individual characters
that fail tests.
Karl Williamson [Sat, 27 Jul 2013 19:38:18 +0000 (13:38 -0600)]
lib/locale.t: Add test name to debug output
This makes it easier to understand what is going wrong.
Karl Williamson [Sat, 20 Jul 2013 18:12:01 +0000 (12:12 -0600)]
lib/locale.t: Add omitted test cases
The tests were failing to include caseless alphabetic characters;
many languages are not cased..
Karl Williamson [Sat, 20 Jul 2013 18:03:11 +0000 (12:03 -0600)]
lib/locale.t: Rename some internal elements
I have never understood what 'neoalpha' meant. I believe it is actually
neo - alpha, But when I read it, I don't notice the 'a' and see it as
"n-end-of-line". This renames it to something I can understand.
Karl Williamson [Sat, 20 Jul 2013 17:49:01 +0000 (11:49 -0600)]
lib/locale.t: Add comments; clarify some test names
I had to really study what these tests were doing; the new names are
clearer.
Karl Williamson [Sat, 20 Jul 2013 17:37:55 +0000 (11:37 -0600)]
lib/locale.t: Allow turning on debug via env
Instead of having to edit the file to turn on debug mode, additionally
allow the use of an environment variable. This makes it more
convenient to ask someone in the field to run the test.
Karl Williamson [Sat, 13 Jul 2013 19:43:31 +0000 (13:43 -0600)]
Assume UTF-8 locale if that string occurs anywhere in name
When a platform doesn't have nl_langinfo(), heuristics are employed
to see if a locale is UTF-8 . The first heuristic is looking at the
return value of setlocale(), which generally is the locale name.
However, in actuality the return value is opaque and can't be relied on
to signify the locale. Nevertheless if it contains the string UTF-8
(ignoring case, and with the hyphen optional), it is a safe bet that the
locale is indeed UTF-8. Prior to this patch, we only looked at the end
of the name for "UTF-8". This patch makes it not have to be
right-anchored. There are UTF-8 locales on our dromedary machine with
UTF-8 in the middle of their names.
Steve Hay [Mon, 12 Aug 2013 17:01:43 +0000 (18:01 +0100)]
ExtUtils-ParseXS is now version 3.21
Ricardo Signes [Mon, 12 Aug 2013 15:18:12 +0000 (11:18 -0400)]
import CoreList changes from v5.18.1
Smylers [Thu, 8 Aug 2013 10:43:47 +0000 (11:43 +0100)]
Typo fix in comment