platform/upstream/perl.git
13 years agoupdate RMG discussion of post-release actions
Zefram [Wed, 22 Dec 2010 20:39:54 +0000 (20:39 +0000)]
update RMG discussion of post-release actions

use.perl.org is dead.  www.cpan.org is maintained by Ask, not Jarkko
any more.  Separate CPAN/src and www.cpan.org issues into distinct steps.

13 years agoFix IS_UTF8_CHAR() to recognise start bytes 0xF5, 0xF6, 0xF7.
Nicholas Clark [Tue, 21 Dec 2010 16:55:38 +0000 (16:55 +0000)]
Fix IS_UTF8_CHAR() to recognise start bytes 0xF5, 0xF6, 0xF7.

The refactoring of 3b0fc154d4e77cfb inadvertently introduced a bug
in Perl_is_utf8_char() and its callers, such as Perl_is_utf8_string(),
whereby the beyond-Unicode characters 0x140000 to 0x1fffff were no longer
recognised as valid.

13 years agoConvert lib/utf8.t to strict and warnings throughout.
Nicholas Clark [Tue, 21 Dec 2010 16:38:24 +0000 (16:38 +0000)]
Convert lib/utf8.t to strict and warnings throughout.

13 years agoRe-sort MANIFEST after a7dcd8d74e57d2a8.
Nicholas Clark [Tue, 21 Dec 2010 16:31:30 +0000 (16:31 +0000)]
Re-sort MANIFEST after a7dcd8d74e57d2a8.

13 years agoNo reference to $Id: in generated files
H.Merijn Brand [Tue, 21 Dec 2010 13:38:33 +0000 (14:38 +0100)]
No reference to $Id: in generated files

They might have served a purpose in the original files, but Nicholas
and Zefram expressed their concern that in the generated files, these
tags are misleading and unneeded.

13 years agoMove metaconfig control comments into its own files
H.Merijn Brand [Tue, 21 Dec 2010 12:57:10 +0000 (13:57 +0100)]
Move metaconfig control comments into its own files

13 years agoRestore a reference to $perlpath. Installation needs it
H.Merijn Brand [Tue, 21 Dec 2010 12:01:37 +0000 (13:01 +0100)]
Restore a reference to $perlpath. Installation needs it

cbeaa1895 removed the reference to $perlpath

13 years agosin6_scope_id is supported by Winsock2.
Jan Dubois [Tue, 21 Dec 2010 09:30:04 +0000 (01:30 -0800)]
sin6_scope_id is supported by Winsock2.

The field is missing in the headers included with VC6, but
commit 1ab9ebc11 adds it in our win32/include/sys/socket.h.

13 years agoavoid emitting control characters in test comments
Tony Cook [Tue, 21 Dec 2010 04:02:56 +0000 (15:02 +1100)]
avoid emitting control characters in test comments

13 years agomultiple watchdog()s in the one test script are meaningless
Tony Cook [Tue, 21 Dec 2010 04:01:24 +0000 (15:01 +1100)]
multiple watchdog()s in the one test script are meaningless

13 years agod_sin6_scope_id configuration probe for VMS.
Craig A. Berry [Tue, 21 Dec 2010 04:06:44 +0000 (22:06 -0600)]
d_sin6_scope_id configuration probe for VMS.

It's present on recent versions, but not all versions.  Follow-up
to f53580fec42f3b12264ee27b756dec257c0bb77a.

13 years agoregexec.c: white-space only
Karl Williamson [Thu, 16 Dec 2010 15:44:59 +0000 (08:44 -0700)]
regexec.c: white-space only

Commit 9e2c615305806d76433db342e5659ffeccc3746a didn't adjust the white
space for the changes that it introduced.  This patch does that.

13 years agoregexec:c Remove unreached code
Karl Williamson [Thu, 16 Dec 2010 02:22:37 +0000 (19:22 -0700)]
regexec:c Remove unreached code

The new name of ANYOF_LOC_NONBITMAP_FOLD makes it clear that the only
way folding can be aplicable here is if it is under locale.

13 years agoChange name of regex intrnl macro to new meaning
Karl Williamson [Thu, 16 Dec 2010 01:34:59 +0000 (18:34 -0700)]
Change name of regex intrnl macro to new meaning

ANYOF_FOLD is now used only under fewer conditions.  Otherwise the
bitmap of character 0-255 is fully calculated with the folds, and the
flag is not set.  One condition is under locale, where the folds aren't
known at compile time; the other is for things accessible through a
swash.

By changing the name to its new meaning, certain optimizations become more
obvious.

13 years agoAdd sin6_scope_id probe (LeoNerd)
H.Merijn Brand [Mon, 20 Dec 2010 16:13:46 +0000 (17:13 +0100)]
Add sin6_scope_id probe (LeoNerd)

13 years agoTweak IPC-Open3.t to cope with \r\n line endings on Win32.
Nicholas Clark [Mon, 20 Dec 2010 14:02:39 +0000 (14:02 +0000)]
Tweak IPC-Open3.t to cope with \r\n line endings on Win32.

The refactoring of bd29e8c290c68f4f to use Test::More broke the tests on Win32,
because it didn't realise that the previous code was relying on the test
harness being line ending agnostic.

13 years agostdint.h has yet to appear on VMS.
Craig A. Berry [Mon, 20 Dec 2010 01:26:28 +0000 (19:26 -0600)]
stdint.h has yet to appear on VMS.

Despite the compiler's claiming C99 compliance.  What we probably
really need here is I_STDINT, or perhaps HAVE_INTMAX and
HAVE_UINTMAX, determined by Configure and friends.  But in any case
07208e09d4435b4e72743076e0bc290ef4b34911 broke the build, so this
gets it going again for now.

13 years agoutf8.c: add to comment
Karl Williamson [Sun, 19 Dec 2010 21:40:34 +0000 (14:40 -0700)]
utf8.c: add to comment

13 years agoregexec.c: Remove unnecessary statements
Karl Williamson [Sun, 19 Dec 2010 18:59:31 +0000 (11:59 -0700)]
regexec.c: Remove unnecessary statements

These variables are set to other values just a couple of lines below

13 years agoperltodo: Revise utf8 todo
Karl Williamson [Sun, 19 Dec 2010 18:37:06 +0000 (11:37 -0700)]
perltodo: Revise utf8 todo

13 years agoutf8.c, .h: Clarify pod and comment
Karl Williamson [Sun, 19 Dec 2010 19:24:07 +0000 (12:24 -0700)]
utf8.c, .h: Clarify pod and comment

13 years agomktables: fix typo in comment
Karl Williamson [Sun, 19 Dec 2010 19:24:54 +0000 (12:24 -0700)]
mktables: fix typo in comment

13 years agoChange regexes to debug dump non-ASCII as hex.
Karl Williamson [Sun, 19 Dec 2010 18:08:47 +0000 (11:08 -0700)]
Change regexes to debug dump non-ASCII as hex.

instead of the less familiar octal for larger values.  Perhaps they
should actually print the actual character, but this is far easier than
the previous to understand.

13 years agopv_escape: Add option to dump all non-ascii as hex
Karl Williamson [Sun, 19 Dec 2010 18:00:49 +0000 (11:00 -0700)]
pv_escape: Add option to dump all non-ascii as hex

This patch adds an option to pv_escape() to dump all characters above ASCII
in hex.  Before, you could get all chars as hex or the Latin1 non-ASCII
as octal, whereas the typical values for these that people think in are
given in hex.

13 years agodump.c: correct pod statement
Karl Williamson [Sun, 19 Dec 2010 17:53:58 +0000 (10:53 -0700)]
dump.c: correct pod statement

13 years agoupdate TOC for perl5138delta and perl5139delta
Zefram [Mon, 20 Dec 2010 00:03:17 +0000 (00:03 +0000)]
update TOC for perl5138delta and perl5139delta

13 years agocreate perldelta for 5.13.9
Zefram [Sun, 19 Dec 2010 23:59:39 +0000 (23:59 +0000)]
create perldelta for 5.13.9

13 years agoepigraph for 5.13.8
Zefram [Sun, 19 Dec 2010 23:54:01 +0000 (23:54 +0000)]
epigraph for 5.13.8

13 years agoreplace gratuitous Unicode dashes
Zefram [Sun, 19 Dec 2010 23:53:07 +0000 (23:53 +0000)]
replace gratuitous Unicode dashes

13 years agotweak later segments of release procedure
Zefram [Sun, 19 Dec 2010 23:41:10 +0000 (23:41 +0000)]
tweak later segments of release procedure

Slightly more clue about the indexer failures.

Move some post-release steps into a new "the day after" section.

13 years agofix -tree test for non-threaded perl
Zefram [Sun, 19 Dec 2010 21:23:50 +0000 (21:23 +0000)]
fix -tree test for non-threaded perl

13 years agoadd autodie tag :2.1001 for blead-updated version
Zefram [Sun, 19 Dec 2010 19:12:10 +0000 (19:12 +0000)]
add autodie tag :2.1001 for blead-updated version

13 years agoadd new release to perlhist
Zefram [Sun, 19 Dec 2010 18:48:08 +0000 (18:48 +0000)]
add new release to perlhist

13 years agoupdate Module::CoreList for 5.13.8
Zefram [Sun, 19 Dec 2010 18:42:25 +0000 (18:42 +0000)]
update Module::CoreList for 5.13.8

13 years agoupdate META.yml
Zefram [Sun, 19 Dec 2010 18:30:49 +0000 (18:30 +0000)]
update META.yml

13 years agoacknowledgements in perldelta
Zefram [Sun, 19 Dec 2010 18:14:34 +0000 (18:14 +0000)]
acknowledgements in perldelta

13 years agoperldelta wording nit
Zefram [Sun, 19 Dec 2010 18:01:25 +0000 (18:01 +0000)]
perldelta wording nit

13 years agoupdate references to earlier versions
Zefram [Sun, 19 Dec 2010 15:11:49 +0000 (15:11 +0000)]
update references to earlier versions

13 years agolink perldelta entries to perlapi sections
Zefram [Sun, 19 Dec 2010 15:09:41 +0000 (15:09 +0000)]
link perldelta entries to perlapi sections

13 years agobump perl version number for 5.13.8
Zefram [Sun, 19 Dec 2010 15:04:53 +0000 (15:04 +0000)]
bump perl version number for 5.13.8

13 years agoperldelta details of module updates
Zefram [Sun, 19 Dec 2010 14:49:15 +0000 (14:49 +0000)]
perldelta details of module updates

13 years agonear-finalisation of perldelta
Zefram [Sun, 19 Dec 2010 13:48:06 +0000 (13:48 +0000)]
near-finalisation of perldelta

Put perldelta into mostly-final form, and copyedit it.

13 years agoperldelta for updated modules
Zefram [Sun, 19 Dec 2010 13:01:09 +0000 (13:01 +0000)]
perldelta for updated modules

13 years agobump version of many modules
Zefram [Sun, 19 Dec 2010 12:21:54 +0000 (12:21 +0000)]
bump version of many modules

Core-only modules that have changed from v5.13.7, and dual-life modules
that have changed from v5.13.7 and didn't show up in earlier passes.

13 years agobump Unicode-Normalize version for blead changes
Zefram [Sun, 19 Dec 2010 11:50:07 +0000 (11:50 +0000)]
bump Unicode-Normalize version for blead changes

13 years agobump Unicode-Collate version for blead changes
Zefram [Sun, 19 Dec 2010 11:48:59 +0000 (11:48 +0000)]
bump Unicode-Collate version for blead changes

13 years agobump threads-shared version for blead XS changes
Zefram [Sun, 19 Dec 2010 11:44:31 +0000 (11:44 +0000)]
bump threads-shared version for blead XS changes

13 years agobump ExtUtils-CBuilder version for blead change
Zefram [Sun, 19 Dec 2010 11:36:15 +0000 (11:36 +0000)]
bump ExtUtils-CBuilder version for blead change

13 years agobump autodie version for blead test fix
Zefram [Sun, 19 Dec 2010 10:49:16 +0000 (10:49 +0000)]
bump autodie version for blead test fix

13 years agoperldelta up to ca88a729
Zefram [Sun, 19 Dec 2010 09:00:09 +0000 (09:00 +0000)]
perldelta up to ca88a729

13 years agoperldelta for 8e88cfee26d866223a6b3bfffce6270271de00db
Zefram [Sun, 19 Dec 2010 08:50:06 +0000 (08:50 +0000)]
perldelta for 8e88cfee26d866223a6b3bfffce6270271de00db

13 years agoperldelta for 9cef83062267e94311e1fd8744396e440642738e
Zefram [Sun, 19 Dec 2010 08:46:30 +0000 (08:46 +0000)]
perldelta for 9cef83062267e94311e1fd8744396e440642738e

13 years agoperldelta for bf5522a13a381257966e7ed6b731195a873b153e
Zefram [Sun, 19 Dec 2010 08:40:12 +0000 (08:40 +0000)]
perldelta for bf5522a13a381257966e7ed6b731195a873b153e

13 years agoperldelta for d9a4b459f94297889956ac3adc42707365f274c2
Zefram [Sun, 19 Dec 2010 08:36:00 +0000 (08:36 +0000)]
perldelta for d9a4b459f94297889956ac3adc42707365f274c2

13 years agoTest B::Concise’s -tree mode
Father Chrysostomos [Sun, 19 Dec 2010 01:21:41 +0000 (17:21 -0800)]
Test B::Concise’s -tree mode

13 years agoUpdate Archive-Tar to CPAN version 1.74
Chris 'BinGOs' Williams [Sat, 18 Dec 2010 22:36:50 +0000 (22:36 +0000)]
Update Archive-Tar to CPAN version 1.74

  [DELTA]

  * important changes in version 1.74 18/12/2010
  - Skip extracting pax extended headers, reported as
    RT #64038

13 years agoRe-order the tests to match the comment
Tony Cook [Sat, 18 Dec 2010 00:05:39 +0000 (11:05 +1100)]
Re-order the tests to match the comment

Win32 has been failing in re/re.t, maybe this will fix it.

13 years agore.t: Use portable C locale
Karl Williamson [Thu, 16 Dec 2010 15:34:35 +0000 (08:34 -0700)]
re.t: Use portable C locale

The locale en_US.UTF-8 has varying and wrong definitions depending on
manufacturer.  Using the portable C locale works just as well for the
purposes of these tests.

13 years agore.t: Avoid encoding issues by using hex chars
Karl Williamson [Thu, 16 Dec 2010 05:33:07 +0000 (22:33 -0700)]
re.t: Avoid encoding issues by using hex chars

re.t is getting encoded as utf8 in places, which confuses things.  So
use a hex notation to enter a non-ASCII char

13 years agoupdate warnings tests to cope with %z now being valid. use %y instead
Chip Salzenberg [Fri, 17 Dec 2010 19:21:54 +0000 (11:21 -0800)]
update warnings tests to cope with %z now being valid.  use %y instead

13 years agodocument new printf size modifiers
Chip Salzenberg [Fri, 17 Dec 2010 18:55:20 +0000 (10:55 -0800)]
document new printf size modifiers

13 years agosmoke tests for %hhd %zd %td
Chip Salzenberg [Fri, 17 Dec 2010 18:46:56 +0000 (10:46 -0800)]
smoke tests for %hhd %zd %td

13 years agoadd %jd to printf where C99 exists; tweak %zd and %td
Chip Salzenberg [Fri, 17 Dec 2010 18:13:43 +0000 (10:13 -0800)]
add %jd to printf where C99 exists; tweak %zd and %td

13 years agoRefactor ExtUtils::Constant's tests to pass cleanly on older versions.
Nicholas Clark [Fri, 17 Dec 2010 17:18:33 +0000 (17:18 +0000)]
Refactor ExtUtils::Constant's tests to pass cleanly on older versions.

Work round bugs with the value of ~0 on 5.005 built on 64 bit systems.
Convert @INC to absolute paths on 5.6.x so that
ExtUtils::Constant::Aaargh56Hash will load from blib.
Remove $runperl, which is no longer needed.

13 years agoRefactor ExtUtils::Constant::Utils backwards compatibility code.
Nicholas Clark [Fri, 17 Dec 2010 17:16:46 +0000 (17:16 +0000)]
Refactor ExtUtils::Constant::Utils backwards compatibility code.

Avoid warnings from letting 5.005 even think about POSIX charclass constants
in regexps, and use compile-time constants to enable backcompat features.

13 years agoConvert ext/PerlIO-encoding/t/encoding.t to Test::More.
Nicholas Clark [Fri, 17 Dec 2010 15:16:33 +0000 (15:16 +0000)]
Convert ext/PerlIO-encoding/t/encoding.t to Test::More.

13 years agoConvert ext/Opcode/t/ops.t to Test::More
Nicholas Clark [Fri, 17 Dec 2010 11:07:32 +0000 (11:07 +0000)]
Convert ext/Opcode/t/ops.t to Test::More

13 years agoConvert ext/IPC-Open3/t/IPC-Open3.t to Test::More
Nicholas Clark [Fri, 17 Dec 2010 10:41:39 +0000 (10:41 +0000)]
Convert ext/IPC-Open3/t/IPC-Open3.t to Test::More

Unfortunately the gubbins of about 25% of its tests still rely on causing
subprocesses to emit the correct TAP, so part of it has to use a an explicit
test counter outside of Test::Builder.

13 years agoIn dbmt_common.pl, change checkOutput(...) to 5 calls to is().
Nicholas Clark [Fri, 17 Dec 2010 09:31:11 +0000 (09:31 +0000)]
In dbmt_common.pl, change checkOutput(...) to 5 calls to is().

Replacing a 5 armed boolean fed to ok() with 5 calls to is() gives much better
diagnostics on failure.

13 years agoperldelta for efef081 and 91fad77
Father Chrysostomos [Fri, 17 Dec 2010 06:31:16 +0000 (22:31 -0800)]
perldelta for efef081 and 91fad77

13 years agoperldelta for 20f15c4
Father Chrysostomos [Fri, 17 Dec 2010 06:28:22 +0000 (22:28 -0800)]
perldelta for 20f15c4

13 years agoperldelta for a42d024
Father Chrysostomos [Fri, 17 Dec 2010 06:23:42 +0000 (22:23 -0800)]
perldelta for a42d024

13 years agoperldelta for 8e720305
Father Chrysostomos [Fri, 17 Dec 2010 05:56:49 +0000 (21:56 -0800)]
perldelta for 8e720305

13 years agoIncrease B::Concise’s version
Father Chrysostomos [Fri, 17 Dec 2010 05:36:02 +0000 (21:36 -0800)]
Increase B::Concise’s version

13 years agoFix [perl #80632] -MO=Concise,-tree format
Reini Urban [Mon, 13 Dec 2010 19:06:33 +0000 (20:06 +0100)]
Fix [perl #80632] -MO=Concise,-tree format

Some time between 5.8.3 and 5.8.4, the -tree output
format started getting extra line breaks.

13 years ago[perl #80548] perldelta for DTrace package name change
David Leadbeater [Fri, 17 Dec 2010 04:15:57 +0000 (20:15 -0800)]
[perl #80548] perldelta for DTrace package name change

13 years ago[perl #80674] Fix compilation with very old versions of glibc
David Leadbeater [Fri, 17 Dec 2010 04:14:40 +0000 (20:14 -0800)]
[perl #80674] Fix compilation with very old versions of glibc

__priority_which_t does not exist on glibc 2.1.

sin6_scope is not present in the set of kernel headers my copy of glibc 2.1 is
using. (The presence of sin6_scope in sockaddr_in6 should maybe be a Configure
test.)

blead now compiles on a positively ancient box -- although the Socket tests
fail.

13 years agoSilence some data truncation compiler warnings
Jan Dubois [Thu, 16 Dec 2010 06:41:47 +0000 (22:41 -0800)]
Silence some data truncation compiler warnings

13 years agotest.pl: extend EBCDIC functions to beyond 255
Karl Williamson [Thu, 16 Dec 2010 17:38:09 +0000 (10:38 -0700)]
test.pl: extend EBCDIC functions to beyond 255

Allow the functions to handle non-latin1 input.  This would only show up
on EBCDIC platforms.

13 years agoVersion bumps for modules changed by a6d37805ca8a9ba8 ($Id$ removal).
Nicholas Clark [Thu, 16 Dec 2010 16:48:26 +0000 (16:48 +0000)]
Version bumps for modules changed by a6d37805ca8a9ba8 ($Id$ removal).

13 years agoRemove "dead" RCS $Id$ tags from files that we own.
Nicholas Clark [Thu, 16 Dec 2010 16:28:44 +0000 (16:28 +0000)]
Remove "dead" RCS $Id$ tags from files that we own.

All files have been modified more recently than their tag, rendering
information in the tag redundant.

13 years agoonly call amagic_deref_call() if we have to
David Mitchell [Thu, 16 Dec 2010 16:14:06 +0000 (16:14 +0000)]
only call amagic_deref_call() if we have to

13 years agouniprops.pod: restore properties counts
Karl Williamson [Thu, 16 Dec 2010 16:11:27 +0000 (09:11 -0700)]
uniprops.pod: restore properties counts

As a side effect of commit bd9ebcfd4a6439f22bcaf330cd6d936de78362c5,
which was to make smalle unicore tables, the counts of the number of
code points matched by the various properties in perluniprops.pod were
removed.  This restores them

13 years agoMove common code from ext/[GONS]DBM_File/t/[gons]dbm.t to t/lib/dbmt_common.pl
Nicholas Clark [Thu, 16 Dec 2010 16:02:20 +0000 (16:02 +0000)]
Move common code from ext/[GONS]DBM_File/t/[gons]dbm.t to t/lib/dbmt_common.pl

This eliminates 1445 lines, ie almost 500 lines duplicated fourfold.

13 years agoConverge ext/[GNOS]DBM_File/t/[gnos]dbm.t by parameterising the class name.
Nicholas Clark [Thu, 16 Dec 2010 14:09:42 +0000 (14:09 +0000)]
Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by parameterising the class name.

13 years agoConverge ext/[GNOS]DBM_File/t/[gnos]dbm.t further.
Nicholas Clark [Thu, 16 Dec 2010 13:25:05 +0000 (13:25 +0000)]
Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t further.

Including Cross propagating some fixes:

grep in void context warning (f84167b37281b9fd c57cf257e9e58200), but improve
it by avoiding void context entirely, by actually testing the results :-)

"cleaner close on tests, take 2", d1e4d418969ad3c5

13 years agoConverge ext/[GNOS]DBM_File/t/[gnos]dbm.t by using the same filename.
Nicholas Clark [Thu, 16 Dec 2010 11:37:43 +0000 (11:37 +0000)]
Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by using the same filename.

Choose the 1 dot form used by sdbm.t, to keep VMS happy. Also, propagate into
ndbm.t the part of the test for 20001013.009 that cbc5248d01a71061 missed.
Move the exist tests from f4b9d8806d76b352 earlier in sdbm.t, to increase
consistency - the alternative attempts to have 2 DBM files open simultaneously,
which ODBM_File doesn't support. (Implied TODO: add an explicit test for this
to the other 3.)

13 years agoTweak gdbm.t to use GDBM_WRITER instead of GDBM_WRCREAT when re-opening a file.
Nicholas Clark [Thu, 16 Dec 2010 14:47:27 +0000 (15:47 +0100)]
Tweak gdbm.t to use GDBM_WRITER instead of GDBM_WRCREAT when re-opening a file.

The analagous tests for [nos]dbm.t don't use |O_CREAT for this case. gdbm.t
has been using GDBM_WRCREAT here since the file was added by Larry in 5.000

13 years agoFix typo in perlvar
Chris 'BinGOs' Williams [Thu, 16 Dec 2010 14:09:55 +0000 (14:09 +0000)]
Fix typo in perlvar

13 years agoregcomp.c: Optimize [cC] char class to EXACTF
Karl Williamson [Thu, 16 Dec 2010 01:11:44 +0000 (18:11 -0700)]
regcomp.c: Optimize [cC] char class to EXACTF

A two character character class where the two elements are the folds of
each other can be optimized into an EXACTF regnode.  This should not
change the speed of execution appreciably, except that EXACTF regnodes
are candidates for further optimization by combining with adjacent nodes
of the same type.

This commit brings the optimization level up to somewhat better than
when I started mucking around with ANYOF nodes.

13 years agoregcomp.c: More work on ANYOF_CLASS
Karl Williamson [Wed, 15 Dec 2010 23:33:02 +0000 (16:33 -0700)]
regcomp.c: More work on ANYOF_CLASS

I overlooked two cases in a previous commit where it would be advisable
to make changes in case the ANYOF_CLASS bit needs to be combined with
ANYOF_LOCALE.

13 years agol1_char_class_tab.h: include multi-char folds
Karl Williamson [Wed, 15 Dec 2010 23:31:02 +0000 (16:31 -0700)]
l1_char_class_tab.h: include multi-char folds

This patch is the result of running mk_PL_charclass.pl

13 years agomk_PL_charclass.pl: extend for multi-char folds
Karl Williamson [Wed, 15 Dec 2010 21:44:45 +0000 (14:44 -0700)]
mk_PL_charclass.pl: extend for multi-char folds

13 years agoregexec.c: white space changes due to prev. commit
Karl Williamson [Wed, 15 Dec 2010 22:34:48 +0000 (15:34 -0700)]
regexec.c: white space changes due to prev. commit

This is essentially a white-space patch.  Commit
dbaae6dafbe2bb8bf9fcd1e83874b9a683e0290f effectively removed two nests
of blocks.  This finishes that removal, outdents the previous innter
blocks, and reformats the comments for the extra space.

One declaration was moved as a result of removing a block.

13 years agoregex: Multi-char /i shouldnt match single char []
Karl Williamson [Wed, 15 Dec 2010 22:22:38 +0000 (15:22 -0700)]
regex: Multi-char /i shouldnt match single char []

":\N{LATIN SMALL LIGATURE ST}:" !~ /:[_st]:/i

because it is two character, but previously it did match.  The cause of
this is that the code was using swash_fetch() to test if the fold
matches.  But swash_fetch() only checks if the first character matches,
not all characters, so it was falsely returning true.

This is an intermediate commit, with some cleanup of blocks, comments,
and accompanying indentation of regexec.c to follow immediately.

13 years agoRevamp t/uni/fold.t
Karl Williamson [Wed, 15 Dec 2010 16:57:25 +0000 (09:57 -0700)]
Revamp t/uni/fold.t

This patch revamps fold.t but using essentially the same tests on
essentially the same character set.  It:
    1) Works on EBCDIC
    2) Uses test.pl
    3) Separates out the 8 tests per character that previously were all
        combined into a single test per character
    4) Outputs on each line the actual test performed
    5) Corrects and hardens some tests on multi-character folding
        characters.

To expand on point 5):  Previously, the wrong behavior was tested for;
correct behavior failed.  For example,
    ":\N{LATIN SMALL LIGATURE ST}:" =~ /:[_st]:/i
previously passed.  But the fold of the string is two characters, and so
should not match a one-character long character class.  Instead it
should match:
    ":\N{LATIN SMALL LIGATURE ST}:" =~ /:[_st]{2}:/i
The new test includes TODO tests for both of them.
    ":\N{LATIN SMALL LIGATURE ST}:" !~ /:[_st]:/i
    ":\N{LATIN SMALL LIGATURE ST}:" =~ /:[_st]{2}:/i

Also the inverse relation
    ":st:" =~ /:[_\N{LATIN SMALL LIGATURE ST}]:/i
passes, semi-coincidentally, for some.  By changing the test to
    ":ST:" =~ /:[_\N{LATIN SMALL LIGATURE ST}]:/i
they all fail, (and are made TODO's).

13 years agodon't upgrade overload IV return values to NV
David Mitchell [Wed, 15 Dec 2010 19:38:17 +0000 (19:38 +0000)]
don't upgrade overload IV return values to NV

(if we can avoid it).

Fix for RT #77456. Basically it extends the usage of the AMGf_numeric flag
to the remaining overloadable numeric ops that behave differently with IV
and NV.

13 years agoUpgrade Devel::SelfStubber from 1.04 to 1.05
Florian Ragwitz [Wed, 15 Dec 2010 19:14:31 +0000 (20:14 +0100)]
Upgrade Devel::SelfStubber from 1.04 to 1.05

This is necessary so the CPAN version can fix the INSTALLDIRS parameter it uses
on older perls.

13 years agoUpgrade Dumpvalue from version 1.14 to 1.15
Florian Ragwitz [Wed, 15 Dec 2010 19:14:31 +0000 (20:14 +0100)]
Upgrade Dumpvalue from version 1.14 to 1.15

This is necessary so the CPAN version can fix the INSTALLDIRS parameter it uses
on older perls.

13 years agoUpgrade Env from version 1.01 to 1.02
Florian Ragwitz [Wed, 15 Dec 2010 19:14:31 +0000 (20:14 +0100)]
Upgrade Env from version 1.01 to 1.02

This is necessary so the CPAN version can fix the INSTALLDIRS parameter it uses
on older perls.