This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoBump version number of ExtUtils::MM_Win32
Rafael Garcia-Suarez [Fri, 24 Mar 2006 13:51:15 +0000 (13:51 +0000)]
Bump version number of ExtUtils::MM_Win32

p4raw-id: //depot/perl@27596

15 years agoFix broken MM_Win32.t tests following 27590
Steve Hay [Fri, 24 Mar 2006 13:01:32 +0000 (13:01 +0000)]
Fix broken MM_Win32.t tests following 27590

Test 31 was failing because 27590 had undone part of 25627.
Test 41 was failing because the change to pasthru() in MM_Win32.pm
means that $self->{MAKE} now needs to be initialized.

p4raw-id: //depot/perl@27595

15 years ago(2nd revised) 1st patch to sync blead 'threads' with CPAN
Jerry D. Hedden [Thu, 23 Mar 2006 09:19:54 +0000 (02:19 -0700)]
(2nd revised) 1st patch to sync blead 'threads' with CPAN
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060323091954.fb30e530d17747c2b054d625b8945d88.884826707f.wbe@email.email.secureserver.net>

p4raw-id: //depot/perl@27594

15 years agoimprove thread linking options on VMS
Craig A. Berry [Thu, 23 Mar 2006 23:19:38 +0000 (23:19 +0000)]
improve thread linking options on VMS

p4raw-id: //depot/perl@27593

15 years agoWhen MAN3PODS is forced to {} in a Makefile.PL, manpages should not be
Rafael Garcia-Suarez [Thu, 23 Mar 2006 22:13:13 +0000 (22:13 +0000)]
When MAN3PODS is forced to {} in a Makefile.PL, manpages should not be
built from pods. This change fixes bleadperl compilation -- trying to
build manpages with miniperl causes a bootstrapping problem.

p4raw-id: //depot/perl@27592

15 years agoNo reason to ship MakeMaker's META.yml
Rafael Garcia-Suarez [Thu, 23 Mar 2006 17:50:29 +0000 (17:50 +0000)]
No reason to ship MakeMaker's META.yml

p4raw-id: //depot/perl@27591

15 years agoMerge changes from CPAN's EU:MM 6.30_01.
Rafael Garcia-Suarez [Thu, 23 Mar 2006 17:43:26 +0000 (17:43 +0000)]
Merge changes from CPAN's EU:MM 6.30_01.
The modules that have local changes have superior
version numbers than the CPAN counterparts.

p4raw-id: //depot/perl@27590

15 years agoDocument the values for ${^UTF8CACHE}
Nicholas Clark [Thu, 23 Mar 2006 16:27:42 +0000 (16:27 +0000)]
Document the values for ${^UTF8CACHE}

p4raw-id: //depot/perl@27589

15 years agoRejig the location of the cache assertion code in Perl_sv_pos_b2u().
Nicholas Clark [Thu, 23 Mar 2006 16:25:51 +0000 (16:25 +0000)]
Rejig the location of the cache assertion code in Perl_sv_pos_b2u().

p4raw-id: //depot/perl@27588

15 years agoGet version numbers in line with what's in the CPAN
Rafael Garcia-Suarez [Thu, 23 Mar 2006 15:27:15 +0000 (15:27 +0000)]
Get version numbers in line with what's in the CPAN
EU::MM 6.30_01 tarball. (ExtUtils::Install has local changes,
so bump its version number.)

p4raw-id: //depot/perl@27587

15 years agoMove orphaned documentation back to its functions
Nicholas Clark [Thu, 23 Mar 2006 14:31:28 +0000 (14:31 +0000)]
Move orphaned documentation back to its functions
Document the new static functions, and how the cache works.

p4raw-id: //depot/perl@27586

15 years agoMake S_sv_pos_u2b_cached use both cache pairs.
Nicholas Clark [Thu, 23 Mar 2006 14:09:33 +0000 (14:09 +0000)]
Make S_sv_pos_u2b_cached use both cache pairs.

p4raw-id: //depot/perl@27585

15 years agoUse both cache entries for Perl_sv_pos_b2u().
Nicholas Clark [Thu, 23 Mar 2006 13:47:41 +0000 (13:47 +0000)]
Use both cache entries for Perl_sv_pos_b2u().

p4raw-id: //depot/perl@27584

15 years agoComplete the other 2 arms of the cache update code.
Nicholas Clark [Thu, 23 Mar 2006 13:16:53 +0000 (13:16 +0000)]
Complete the other 2 arms of the cache update code.

p4raw-id: //depot/perl@27583

15 years agoPass the (byte) length of the entire string into
Nicholas Clark [Thu, 23 Mar 2006 12:44:35 +0000 (12:44 +0000)]
Pass the (byte) length of the entire string into
utf8_mg_pos_cache_update()
Start to use the cache to store two pairs of byte/utf-8 pairs.
Add the first third of the cache update code.

p4raw-id: //depot/perl@27582

15 years agoUpgrade to Time::Local 1.12
Rafael Garcia-Suarez [Thu, 23 Mar 2006 12:30:39 +0000 (12:30 +0000)]
Upgrade to Time::Local 1.12

p4raw-id: //depot/perl@27581

15 years agoAdd all new static functions to embed.fnc
Nicholas Clark [Thu, 23 Mar 2006 11:33:48 +0000 (11:33 +0000)]
Add all new static functions to embed.fnc
Remove old unused static functions.
Remove references to cache[2] and cache[3].

p4raw-id: //depot/perl@27580

15 years agoUse the cache in S_sv_pos_u2b_cached() when the desired offset is
Nicholas Clark [Thu, 23 Mar 2006 11:06:52 +0000 (11:06 +0000)]
Use the cache in S_sv_pos_u2b_cached() when the desired offset is
between the start of the string and the cached location.
Remove unneccesary else from Perl_sv_pos_b2u().

p4raw-id: //depot/perl@27579

15 years agoUse the cache in S_sv_pos_u2b_cached when the sought offset is after
Nicholas Clark [Thu, 23 Mar 2006 10:42:26 +0000 (10:42 +0000)]
Use the cache in S_sv_pos_u2b_cached when the sought offset is after
the first cache entry.

p4raw-id: //depot/perl@27578

15 years agoFurther adjustement to change #27576 by Jan Dubois
Rafael Garcia-Suarez [Thu, 23 Mar 2006 10:01:48 +0000 (10:01 +0000)]
Further adjustement to change #27576 by Jan Dubois
(this change being blead-specific, while #27576 is
integrable to maint)
p4raw-link: @27576 on //depot/perl: cab190d4d715e2c6ec26ee0ebfd0bc6fb0f03bd3

p4raw-id: //depot/perl@27577

15 years agoRE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32
Jan Dubois [Wed, 22 Mar 2006 22:49:11 +0000 (14:49 -0800)]
RE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <060201c64e45$e4ca7020$2217a8c0@candy>

Also, back out change #27567.
p4raw-link: @27567 on //depot/perl: 9bf76a6a2fc16ab628a46452e34352d3e3d71674

p4raw-id: //depot/perl@27576

15 years agoCall S_utf8_mg_pos_cache_update() from S_sv_pos_u2b_cached().
Nicholas Clark [Thu, 23 Mar 2006 00:14:53 +0000 (00:14 +0000)]
Call S_utf8_mg_pos_cache_update() from S_sv_pos_u2b_cached().
S_utf8_mg_pos_cache_update() can't use S_sv_pos_b2u_forwards() in the
cache assertion code as it triggers warnings about surrogates.

p4raw-id: //depot/perl@27575

15 years agoTake advantage of uoffset >= uoffset0, to simplify some logic.
Nicholas Clark [Wed, 22 Mar 2006 22:49:42 +0000 (22:49 +0000)]
Take advantage of uoffset >= uoffset0, to simplify some logic.

p4raw-id: //depot/perl@27574

15 years agoAdd S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
Nicholas Clark [Wed, 22 Mar 2006 21:19:50 +0000 (21:19 +0000)]
Add S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
both sides of the desired offset, so could count either way.
Use cached utf-8 length in S_sv_pos_u2b_cached.
Check the results if PL_utf8cache < 0.

p4raw-id: //depot/perl@27573

15 years agoCreate S_sv_pos_u2b_cached, which abstracts away utf-8 to byte
Nicholas Clark [Wed, 22 Mar 2006 20:38:20 +0000 (20:38 +0000)]
Create S_sv_pos_u2b_cached, which abstracts away utf-8 to byte
conversions, hiding the complexity of any cache lookup.

p4raw-id: //depot/perl@27572

15 years agoUninitialized value in Archive::Tar
Randy W. Sims [Mon, 20 Mar 2006 06:37:31 +0000 (01:37 -0500)]
Uninitialized value in Archive::Tar
From: "Randy W. Sims" <ml-perl@thepierianspring.org>
Message-ID: <441E93FB.3050906@thepierianspring.org>

p4raw-id: //depot/perl@27571

15 years agoThe simplest way to start on Perl_sv_pos_u2b seems to be to take out
Nicholas Clark [Wed, 22 Mar 2006 18:13:06 +0000 (18:13 +0000)]
The simplest way to start on Perl_sv_pos_u2b seems to be to take out
all of the caching code.

p4raw-id: //depot/perl@27570

15 years agoremove idential code branch from regmatch()
Dave Mitchell [Wed, 22 Mar 2006 16:05:16 +0000 (16:05 +0000)]
remove idential code branch from regmatch()

p4raw-id: //depot/perl@27569

15 years agoFix some test failures in t/op/cmp.t when compiling with the Intel
Steve Peters [Wed, 22 Mar 2006 15:59:07 +0000 (15:59 +0000)]
Fix some test failures in t/op/cmp.t when compiling with the Intel
C++ Compiler on Linux.

p4raw-id: //depot/perl@27568

15 years agoRe: [perl #38779] NAN's on Win32
Dominic Dunlop [Wed, 22 Mar 2006 15:18:33 +0000 (16:18 +0100)]
Re: [perl #38779] NAN's on Win32
Message-Id: <E44A2151-DE7F-4C5D-8A4B-DDA0412229C2@mac.com>

p4raw-id: //depot/perl@27567

15 years agoAdjust docs to reflect that DynaLoader, as of change 27549,
Gisle Aas [Wed, 22 Mar 2006 13:37:19 +0000 (13:37 +0000)]
Adjust docs to reflect that DynaLoader, as of change 27549,
is part of libperl.

p4raw-id: //depot/perl@27566

15 years agoIncrease the length of content compressed as a kludge to get
Steve Peters [Wed, 22 Mar 2006 02:18:58 +0000 (02:18 +0000)]
Increase the length of content compressed as a kludge to get
around incompatibilities in OpenBSD's gzip.

p4raw-id: //depot/perl@27565

15 years ago(Hopefully) make VMS happy.
Nicholas Clark [Tue, 21 Mar 2006 22:09:51 +0000 (22:09 +0000)]
(Hopefully) make VMS happy.

p4raw-id: //depot/perl@27564

15 years ago[patch@27529] thread.h - VMS needs more stack
John E. Malmberg [Fri, 17 Mar 2006 11:05:33 +0000 (06:05 -0500)]
[patch@27529] thread.h - VMS needs more stack
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <441ADE4D.2090207@qsl.net>

p4raw-id: //depot/perl@27563

15 years agoUpgrade to Digest-1.15
Gisle Aas [Tue, 21 Mar 2006 11:34:38 +0000 (11:34 +0000)]
Upgrade to Digest-1.15

p4raw-id: //depot/perl@27562

15 years ago[patch@27538] utime patch for VMS
John E. Malmberg [Mon, 20 Mar 2006 08:12:19 +0000 (03:12 -0500)]
[patch@27538] utime patch for VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <441EAA33.6010603@qsl.net>

p4raw-id: //depot/perl@27561

15 years agoTest croak(NULL)
Gisle Aas [Tue, 21 Mar 2006 10:16:43 +0000 (10:16 +0000)]
Test croak(NULL)

p4raw-id: //depot/perl@27560

15 years agoExtend change 27558 - if we know the character offset of the end, but
Nicholas Clark [Mon, 20 Mar 2006 19:30:48 +0000 (19:30 +0000)]
Extend change 27558 - if we know the character offset of the end, but
don't have a cache for intermediate offsets, we can still use the end
offset.

p4raw-id: //depot/perl@27559

15 years agoIn Perl_sv_pos_b2u, if we know the character offset of the end, we
Nicholas Clark [Mon, 20 Mar 2006 18:54:32 +0000 (18:54 +0000)]
In Perl_sv_pos_b2u, if we know the character offset of the end, we
can take advantage of this to count backwards if close.
Remove some now unnecessary casts.

p4raw-id: //depot/perl@27558

15 years agoAbstract the string walking functionality from Perl_sv_pos_b2u into
Nicholas Clark [Mon, 20 Mar 2006 18:17:39 +0000 (18:17 +0000)]
Abstract the string walking functionality from Perl_sv_pos_b2u into
static functions, and make it respect PL_utf8cache.

p4raw-id: //depot/perl@27557

15 years agoMerge some more changes from ActivePerl 5.8.8.816
Steve Hay [Mon, 20 Mar 2006 17:32:25 +0000 (17:32 +0000)]
Merge some more changes from ActivePerl 5.8.8.816

See (again):
http://downloads.activestate.com/ActivePerl/src/5.8/AP816_diff.txt

These changes improve support for the MS 64-bit compiler in
win32/Makefile (and tentatively make the same changes to
win32/makefile.mk), and also switches the now deprecated -Gf switch to
-GF for all flavours of VC++ instead of just the latest ones.

(See:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-02/msg00353.html
for a comment on the s/-Gf/-GF/ change.)

p4raw-id: //depot/perl@27556

15 years agoMerge some changes from ActivePerl 5.8.8.816
Steve Hay [Mon, 20 Mar 2006 17:21:15 +0000 (17:21 +0000)]
Merge some changes from ActivePerl 5.8.8.816

See:
http://downloads.activestate.com/ActivePerl/src/5.8/AP816_diff.txt

These changes provide better support for building XS extension modules
using VC++ or MinGW when perl itself was built with the opposite of
those two compilers.

p4raw-id: //depot/perl@27555

15 years agoRevert part of change 27546 related to a /dev/null bug
Rafael Garcia-Suarez [Mon, 20 Mar 2006 13:03:07 +0000 (13:03 +0000)]
Revert part of change 27546 related to a /dev/null bug
workaround on VMS, as requested by John E. Malmberg

p4raw-id: //depot/perl@27554

15 years agoPerl_utf8_distance can be implemented as a call to Perl_utf8_length.
Nicholas Clark [Mon, 20 Mar 2006 12:37:22 +0000 (12:37 +0000)]
Perl_utf8_distance can be implemented as a call to Perl_utf8_length.

p4raw-id: //depot/perl@27553

15 years agoThe two loops in Perl_utf8_distance can be merged.
Nicholas Clark [Mon, 20 Mar 2006 12:13:46 +0000 (12:13 +0000)]
The two loops in Perl_utf8_distance can be merged.

p4raw-id: //depot/perl@27552

15 years agoAvoid "uninitialized value" warnings during 'make test'.
Gisle Aas [Mon, 20 Mar 2006 10:51:36 +0000 (10:51 +0000)]
Avoid "uninitialized value" warnings during 'make test'.
My system is set up with a few PATH entries I'm not allowed
to access, so stat() fails for these.

p4raw-id: //depot/perl@27551

15 years agoAlso strip $ENV{PATH} dirs writable by world.
Gisle Aas [Mon, 20 Mar 2006 10:44:08 +0000 (10:44 +0000)]
Also strip $ENV{PATH} dirs writable by world.
The stripping was introduced in change 27364 to improve taint handling.

p4raw-id: //depot/perl@27550

15 years agoMove DynaLoader.o into libperl.so.
Gisle Aas [Mon, 20 Mar 2006 10:21:50 +0000 (10:21 +0000)]
Move DynaLoader.o into libperl.so.

This avoids the need to statically link DynaLoader into the stub perl
executable and make libperl.so provide all the code needed to get a
functional embedded perl interpreter up running.  As a side effect
this also moves DynaLoader into libperl.a for non-useshrplib builds.

Fixes [perl #32539]

p4raw-id: //depot/perl@27549

15 years agoIf the scalar has just been upgraded to SVt_RV, there's no way SvPVX
Nicholas Clark [Mon, 20 Mar 2006 10:13:38 +0000 (10:13 +0000)]
If the scalar has just been upgraded to SVt_RV, there's no way SvPVX
can be non-NULL, so no need to check.

p4raw-id: //depot/perl@27548

15 years agoRe: [perl #38710] localised stash slice
Rick Delaney [Sat, 18 Mar 2006 19:52:11 +0000 (14:52 -0500)]
Re: [perl #38710] localised stash slice
Message-ID: <20060319005211.GM25733@localhost.localdomain>

One can now localize slices.

p4raw-id: //depot/perl@27547

15 years ago[patch@27538] Misc vms.c fixes for buffer sizes.
John E. Malmberg [Sun, 19 Mar 2006 20:08:34 +0000 (15:08 -0500)]
[patch@27538] Misc vms.c fixes for buffer sizes.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <441E0092.2010405@qsl.net>

p4raw-id: //depot/perl@27546

15 years agowin32_async_check must *always* check for pending signals
Jan Dubois [Fri, 17 Mar 2006 12:23:01 +0000 (04:23 -0800)]
win32_async_check must *always* check for pending signals
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <00d401c64a00$96af8ae0$2217a8c0@candy>

p4raw-id: //depot/perl@27545

15 years agomerge the TRIEF/TRIEFL and TRIE branches in regmatch(),
Dave Mitchell [Mon, 20 Mar 2006 00:52:09 +0000 (00:52 +0000)]
merge the TRIEF/TRIEFL and TRIE branches in regmatch(),
expunge a couple of macros, and move some variable declarations
inwards

p4raw-id: //depot/perl@27544

15 years agoRemove a redundant test on mg->mg_ptr. (It had to be non-NULL to get
Nicholas Clark [Sun, 19 Mar 2006 19:26:05 +0000 (19:26 +0000)]
Remove a redundant test on mg->mg_ptr. (It had to be non-NULL to get
into this block).

p4raw-id: //depot/perl@27543

15 years agoChange the semantics of S_isa_lookup
Andy Lester [Sat, 18 Mar 2006 00:28:45 +0000 (18:28 -0600)]
Change the semantics of S_isa_lookup
Message-ID: <20060318062845.GA11607@petdance.com>

p4raw-id: //depot/perl@27542

15 years agoa bit 'use strict' cleanliness
Jarkko Hietaniemi [Sun, 19 Mar 2006 13:21:37 +0000 (15:21 +0200)]
a bit 'use strict' cleanliness
Message-ID: <441D3EC1.20902@gmail.com>

p4raw-id: //depot/perl@27541

15 years agoData::Dumper consting
Andy Lester [Sun, 19 Mar 2006 01:22:04 +0000 (19:22 -0600)]
Data::Dumper consting
Message-ID: <20060319072204.GB5596@petdance.com>

p4raw-id: //depot/perl@27540

15 years agoCleanups in op.c
Andy Lester [Sun, 19 Mar 2006 00:30:29 +0000 (18:30 -0600)]
Cleanups in op.c
Message-ID: <20060319063029.GA5077@petdance.com>

p4raw-id: //depot/perl@27539

15 years agoMake Perl_sv_len_utf8 honour the new ${^UTF8CACHE}.
Nicholas Clark [Fri, 17 Mar 2006 22:12:27 +0000 (22:12 +0000)]
Make Perl_sv_len_utf8 honour the new ${^UTF8CACHE}.
If PERL_UTF8_CACHE_ASSERT is defined, default ${^UTF8CACHE} to -1
(assertion mode). Need a way to turn this on with existing command
line flags.

p4raw-id: //depot/perl@27538

15 years agoRemove a duplicated conditional test by putting everything for the
Nicholas Clark [Fri, 17 Mar 2006 20:39:47 +0000 (20:39 +0000)]
Remove a duplicated conditional test by putting everything for the
not readonly case inside one block.

p4raw-id: //depot/perl@27537

15 years agoProperly set/reset the UTF-8 length cache in regcomp.c.
Nicholas Clark [Fri, 17 Mar 2006 19:37:41 +0000 (19:37 +0000)]
Properly set/reset the UTF-8 length cache in regcomp.c.

p4raw-id: //depot/perl@27536

15 years agoRestore a bit of change 27533 that change 27534 inadvertently unwound.
Nicholas Clark [Fri, 17 Mar 2006 16:46:44 +0000 (16:46 +0000)]
Restore a bit of change 27533 that change 27534 inadvertently unwound.

p4raw-id: //depot/perl@27535

15 years agoinline, then delete, S_regrepeat_hard()
Dave Mitchell [Fri, 17 Mar 2006 15:58:45 +0000 (15:58 +0000)]
inline, then delete, S_regrepeat_hard()

p4raw-id: //depot/perl@27534

15 years agosv_find() returning false, followed by sv_magic() to add the magic,
Nicholas Clark [Fri, 17 Mar 2006 13:38:34 +0000 (13:38 +0000)]
sv_find() returning false, followed by sv_magic() to add the magic,
followed immediately by sv_find() to find it, is somewhat wasteful.
So use sv_magicext(). (All cases are also correct w.r.t. SvREADONLY())

p4raw-id: //depot/perl@27533

15 years agoMake "distclean" target on Win32 clean up temporary HTML directory
Steve Hay [Fri, 17 Mar 2006 13:20:11 +0000 (13:20 +0000)]
Make "distclean" target on Win32 clean up temporary HTML directory
that gets left behind after running the "install" target.
Also clean up a couple of leftover pod2html cache files.

p4raw-id: //depot/perl@27532

15 years agoUpgrade to ExtUtils::CBuilder 0.17
Rafael Garcia-Suarez [Fri, 17 Mar 2006 13:18:38 +0000 (13:18 +0000)]
Upgrade to ExtUtils::CBuilder 0.17

p4raw-id: //depot/perl@27531

15 years agoInstall POD files into "lib\pods" rather than "lib\pod" on Win32
Steve Hay [Fri, 17 Mar 2006 11:10:41 +0000 (11:10 +0000)]
Install POD files into "lib\pods" rather than "lib\pod" on Win32
to avoid clashing with "lib\Pod" (cf. perl change #26363)

Also remove a couple of unused macros from the makefiles
p4raw-link: @26363 on //depot/perl: 0661f42382c6c9047f6bb741b9d41f6f7333902f

p4raw-id: //depot/perl@27530

15 years agothreads.xs broken under PERL_IMPLICIT_SYS; 5.8.8 regression
Jan Dubois [Thu, 16 Mar 2006 19:34:00 +0000 (11:34 -0800)]
threads.xs broken under PERL_IMPLICIT_SYS; 5.8.8 regression
Message-ID: <02e601c64973$a1960cf0$6062a8c0@candy>

Also includes a version bump to ext/threads/threads.pm.

p4raw-id: //depot/perl@27529

15 years agowin32_pclose() error exit doesn't unlock mutex
Jan Dubois [Thu, 16 Mar 2006 16:30:23 +0000 (08:30 -0800)]
win32_pclose() error exit doesn't unlock mutex
Message-ID: <02c701c64959$fac63ad0$6062a8c0@candy>

p4raw-id: //depot/perl@27528

15 years agowin32_async_check() can loop indefinitely; 5.8.8 regression
Jan Dubois [Thu, 16 Mar 2006 16:11:48 +0000 (08:11 -0800)]
win32_async_check() can loop indefinitely; 5.8.8 regression
Message-ID: <02ab01c64957$62142e70$6062a8c0@candy>

p4raw-id: //depot/perl@27527

15 years agoreduce S_regrepeat_hard() callers from 3 to 1
Dave Mitchell [Fri, 17 Mar 2006 02:57:45 +0000 (02:57 +0000)]
reduce S_regrepeat_hard() callers from 3 to 1

p4raw-id: //depot/perl@27526

15 years agoAdd a new per-interpeter variable PL_utf8cache, which will be used to
Nicholas Clark [Thu, 16 Mar 2006 23:11:11 +0000 (23:11 +0000)]
Add a new per-interpeter variable PL_utf8cache, which will be used to
control the UTF-8 offset caching code. Make this visible as
${^UTF8CACHE}

p4raw-id: //depot/perl@27525

15 years agoNote that it's worth looking to downsize variables in the interpreter
Nicholas Clark [Thu, 16 Mar 2006 22:20:57 +0000 (22:20 +0000)]
Note that it's worth looking to downsize variables in the interpreter
structure.

p4raw-id: //depot/perl@27524

15 years agoCorrect the macros in the comments in hv.c. Given the improvements in
Nicholas Clark [Thu, 16 Mar 2006 21:52:49 +0000 (21:52 +0000)]
Correct the macros in the comments in hv.c. Given the improvements in
compiler optimisation, and the almost irrelevance of instructions
executed over cache misses, maybe we should just remove the comments
by putting their code back in place of the o{ptimis,bfuscat}ed version.

p4raw-id: //depot/perl@27523

15 years agoAvoid hardcoded $(OBJ_EXT)
Gisle Aas [Thu, 16 Mar 2006 21:27:00 +0000 (21:27 +0000)]
Avoid hardcoded $(OBJ_EXT)

p4raw-id: //depot/perl@27522

15 years agoChange 27520 was a bit too aggressive. Let's keep the warning.
Gisle Aas [Thu, 16 Mar 2006 21:20:46 +0000 (21:20 +0000)]
Change 27520 was a bit too aggressive.  Let's keep the warning.

p4raw-id: //depot/perl@27521

15 years agoRemove unused code. No extension use Makefile.SH any more.
Gisle Aas [Thu, 16 Mar 2006 21:14:26 +0000 (21:14 +0000)]
Remove unused code. No extension use Makefile.SH any more.

p4raw-id: //depot/perl@27520

15 years agoFix up miniperl dependency.
Gisle Aas [Thu, 16 Mar 2006 20:32:27 +0000 (20:32 +0000)]
Fix up miniperl dependency.
Depend on $(obj) when we use that to build miniperl.

p4raw-id: //depot/perl@27519

15 years agoSimplify; make perl.o included in $(obj)
Gisle Aas [Thu, 16 Mar 2006 20:24:08 +0000 (20:24 +0000)]
Simplify; make perl.o included in $(obj)

p4raw-id: //depot/perl@27518

15 years agoAdd a couple of regression tests for the untested
Rafael Garcia-Suarez [Thu, 16 Mar 2006 16:17:38 +0000 (16:17 +0000)]
Add a couple of regression tests for the untested
"Bad name after %s" parsing error

p4raw-id: //depot/perl@27517

15 years agoCompress::Raw::Zlib, Compress::Zlib, IO::Compress::Zlib 2.000_10
Paul Marquess [Thu, 16 Mar 2006 14:38:52 +0000 (14:38 +0000)]
Compress::Raw::Zlib, Compress::Zlib, IO::Compress::Zlib 2.000_10
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <009401c64907$5a6ed710$4c05140a@myopwv.com>

p4raw-id: //depot/perl@27516

15 years agorequire should ignore directories found when searching @INC not just
Gisle Aas [Thu, 16 Mar 2006 12:01:10 +0000 (12:01 +0000)]
require should ignore directories found when searching @INC not just
die as soon as it finds one.  It should for instance be possible to
for require "File" to read the file "./File" even if there happens to
be a "File" directory in perl's standard library.

This fixes the RT #24404 fix in change 26373.

p4raw-id: //depot/perl@27515

15 years agoMake the threads tests silent with regard to the new :unique deprecation warning
Rafael Garcia-Suarez [Thu, 16 Mar 2006 08:32:28 +0000 (08:32 +0000)]
Make the threads tests silent with regard to the new :unique deprecation warning

p4raw-id: //depot/perl@27514

15 years agoMake the original versions of relocated paths available from
Nicholas Clark [Wed, 15 Mar 2006 23:02:49 +0000 (23:02 +0000)]
Make the original versions of relocated paths available from
%Config::Config with the prefix "raw_". Not sure if "raw_" is the
best choice.

p4raw-id: //depot/perl@27513

15 years agoCorrect the non gcc-brace-group definition of SvAMAGIC_off
Nicholas Clark [Wed, 15 Mar 2006 19:47:02 +0000 (19:47 +0000)]
Correct the non gcc-brace-group definition of SvAMAGIC_off

p4raw-id: //depot/perl@27511

15 years agoD'oh! 27508 wasn't quite testing what I wanted it to test. This does.
Nicholas Clark [Wed, 15 Mar 2006 18:47:32 +0000 (18:47 +0000)]
D'oh! 27508 wasn't quite testing what I wanted it to test. This does.

p4raw-id: //depot/perl@27510

15 years agoTest for reblessing objects with weak references.
Nicholas Clark [Wed, 15 Mar 2006 17:57:14 +0000 (17:57 +0000)]
Test for reblessing objects with weak references.

p4raw-id: //depot/perl@27508

15 years agoExpunge references to HV_AMAGIC, HV_AMAGICbad and HV_AMAGICmb which
Nicholas Clark [Wed, 15 Mar 2006 17:21:00 +0000 (17:21 +0000)]
Expunge references to HV_AMAGIC, HV_AMAGICbad and HV_AMAGICmb which
have been unused since revision 1.

p4raw-id: //depot/perl@27507

15 years agoMoving the overloading flag from the reference to the referant allows
Nicholas Clark [Wed, 15 Mar 2006 15:08:49 +0000 (15:08 +0000)]
Moving the overloading flag from the reference to the referant allows
(re)?blessing of overloaded objects to work correctly.

p4raw-id: //depot/perl@27506

15 years agoFinish converting overload.t to Test::More
Nicholas Clark [Wed, 15 Mar 2006 13:13:19 +0000 (13:13 +0000)]
Finish converting overload.t to Test::More

p4raw-id: //depot/perl@27505

15 years agoFurther conversion of overload.t
Nicholas Clark [Wed, 15 Mar 2006 12:43:15 +0000 (12:43 +0000)]
Further conversion of overload.t

p4raw-id: //depot/perl@27504

15 years agoAdditions to README.win32 and win32/Makefile based on comments from
Steve Peters [Wed, 15 Mar 2006 12:34:10 +0000 (12:34 +0000)]
Additions to README.win32 and win32/Makefile based on comments from
Steve Hay.

p4raw-id: //depot/perl@27503

15 years agoFurther conversion of overload.t
Nicholas Clark [Wed, 15 Mar 2006 12:29:01 +0000 (12:29 +0000)]
Further conversion of overload.t

p4raw-id: //depot/perl@27502

15 years agoPartially convert overload.t to Test::More
Nicholas Clark [Wed, 15 Mar 2006 12:05:27 +0000 (12:05 +0000)]
Partially convert overload.t to Test::More

p4raw-id: //depot/perl@27501

15 years agoThe first step in supporting VC++ 8.0. Added macros for the free .NET 2.0 SDK and...
Steve Peters [Wed, 15 Mar 2006 11:06:34 +0000 (11:06 +0000)]
The first step in supporting VC++ 8.0.  Added macros for the free .NET 2.0 SDK and Visual Studio
2005.  Added these macros to "if" conditions that were appropriate.  Added a fix to prevent
the .NET 1.1 and 2.0 SDK compilers from attempting to build perlglob.exe (they are both missing
the setargv.obj file necessary to do it).

p4raw-id: //depot/perl@27500

15 years agoDeprecate :unique even with threads
Rafael Garcia-Suarez [Tue, 14 Mar 2006 17:32:48 +0000 (17:32 +0000)]
Deprecate :unique even with threads

p4raw-id: //depot/perl@27499

15 years agoMake usage of :unique emit a deprecation warning.
Rafael Garcia-Suarez [Tue, 14 Mar 2006 17:02:38 +0000 (17:02 +0000)]
Make usage of :unique emit a deprecation warning.
Remove its outdated documentation.

p4raw-id: //depot/perl@27498

15 years agoperl @ 27483 fix lib/Pod/Simple/t/corpustest.t to work on VMS ODS-2
Peter Prymmer [Tue, 14 Mar 2006 10:38:00 +0000 (05:38 -0500)]
perl @ 27483 fix lib/Pod/Simple/t/corpustest.t to work on VMS ODS-2
Message-ID: <OF85EC8E5E.4DF3A439-ON85257131.0055870A-85257131.0055E07C@factset.com>

p4raw-id: //depot/perl@27497

15 years agoSVphv_REHASH can use the same flag bit as SVf_FAKE. This allows
Nicholas Clark [Tue, 14 Mar 2006 15:21:54 +0000 (15:21 +0000)]
SVphv_REHASH can use the same flag bit as SVf_FAKE. This allows
0x10000000 (SVf_AMAGIC) to be set on all 16 SV types, which seems to
be necessary to fix subtle bugs involving reblessing and overloading.

p4raw-id: //depot/perl@27496

15 years ago[perl #38710] localised stash slice
Hugo van der Sanden [Sat, 11 Mar 2006 02:47:56 +0000 (18:47 -0800)]
[perl #38710] localised stash slice
From: Hugo van der Sanden (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38710-131000.18.015529928953@perl.org>

(new TODO tests)

p4raw-id: //depot/perl@27495