16 years agoPerl_sv_chop() can return early if it's being asked to do nothing.
Nicholas Clark [Sat, 29 Dec 2007 13:33:38 +0000]
Perl_sv_chop() can return early if it's being asked to do nothing.

p4raw-id: //depot/perl@32763

16 years agodie if multiple macros in regexp.h attempt to use the same flag bit.
Nicholas Clark [Sat, 29 Dec 2007 13:29:37 +0000]
die if multiple macros in regexp.h attempt to use the same flag bit.

p4raw-id: //depot/perl@32762

16 years agoFix Perl #49190, tests from Abigail, codefix from me.
Yves Orton [Sat, 29 Dec 2007 13:26:35 +0000]
Fix Perl #49190, tests from Abigail, codefix from me.

p4raw-id: //depot/perl@32761

16 years agoChange Perl_av_iter_p() to return IV* rather than I32* (which means
Nicholas Clark [Sat, 29 Dec 2007 12:28:14 +0000]
Change Perl_av_iter_p() to return IV* rather than I32* (which means
having to allocate memory where sizeof(IV) > sizeof(I32)).

p4raw-id: //depot/perl@32760

16 years agoNote to future self about moving the regexp flag bits around.
Nicholas Clark [Sat, 29 Dec 2007 11:49:09 +0000]
Note to future self about moving the regexp flag bits around.

p4raw-id: //depot/perl@32759

16 years agoWrap wrapped and wraplen from struct regexp in macros RW_WRAPPED() and
Nicholas Clark [Sat, 29 Dec 2007 00:17:41 +0000]
Wrap wrapped and wraplen from struct regexp in macros RW_WRAPPED() and
RX_WRAPLEN() to preserve source compatibility when they get moved
around.

p4raw-id: //depot/perl@32758

16 years agoEliminate prelen from struct regexp. Possibly we are hardcoding a bit
Nicholas Clark [Fri, 28 Dec 2007 23:17:20 +0000]
Eliminate prelen from struct regexp. Possibly we are hardcoding a bit
to much, as the replacement assumes that the wrapping string has
exactly 1 character after the wrapped string [specifically ')'].

p4raw-id: //depot/perl@32757

16 years agoReplace 3 uses of RX_PRELEN(r) with plen, which has the same value.
Nicholas Clark [Fri, 28 Dec 2007 23:15:47 +0000]
Replace 3 uses of RX_PRELEN(r) with plen, which has the same value.
(But isn't a pointer dereference. Or about to become a calculation.)

p4raw-id: //depot/perl@32756

16 years agoEliminate precomp from struct regexp. Store the offset of precomp from
Nicholas Clark [Fri, 28 Dec 2007 22:19:00 +0000]
Eliminate precomp from struct regexp. Store the offset of precomp from
wrapped in pre_prefix, a 4 bit value. (Maybe only for now) reduce
seen_evals from I32 to 28 bits. Will anyone have more than 268435456
eval groups in a regexp?

p4raw-id: //depot/perl@32755

16 years agoSilly Nick. There was a bug in change 30757 whereby the precomp of a
Nicholas Clark [Fri, 28 Dec 2007 22:01:30 +0000]
Silly Nick. There was a bug in change 30757 whereby the precomp of a
dup'd regexp would be pointing somewhere la-la. Probably at the precomp
of the same regexp in the parent thread. (So it is only likely to go
nasal daemon if the parent thread terminates first, or explicitly goes
around freeing up run time generated regexps.)

p4raw-id: //depot/perl@32754

16 years agoWrap all accesses to the members precomp and prelen of struct regexp in
Nicholas Clark [Fri, 28 Dec 2007 21:25:50 +0000]
Wrap all accesses to the members precomp and prelen of struct regexp in
the macros RX_PRECOMP() and RX_PRELEN(). This will allow us to reduce
the regexp storage overhead by computing them at retrieve time.

p4raw-id: //depot/perl@32753

16 years agoDump the REGEXP member of SVt_REGEXP.
Nicholas Clark [Fri, 28 Dec 2007 11:27:10 +0000]
Dump the REGEXP member of SVt_REGEXP.

p4raw-id: //depot/perl@32752

16 years agoFirst class regexps.
Nicholas Clark [Fri, 28 Dec 2007 09:59:06 +0000]
First class regexps.

p4raw-id: //depot/perl@32751

16 years agoSvPVX_const() triggers an assertion that when the sv isn't a PV.
Steve Peters [Fri, 28 Dec 2007 05:05:50 +0000]
SvPVX_const() triggers an assertion that when the sv isn't a PV.
Back this down to just checking to see if the sv is a PV or
not.

p4raw-id: //depot/perl@32750

16 years agoBetter diagnostics for the tests for #20683.
Nicholas Clark [Thu, 27 Dec 2007 23:28:31 +0000]
Better diagnostics for the tests for #20683.

p4raw-id: //depot/perl@32749

16 years agoscalars used in postponed subexpressions aren't first class regexps,
Nicholas Clark [Thu, 27 Dec 2007 21:41:03 +0000]
scalars used in postponed subexpressions aren't first class regexps,
so don't upgrade them to ORANGE before attaching qr magic.
(And don't stop using qr magic once regexps become first class)

p4raw-id: //depot/perl@32748

16 years agoProper $TODO support in &ok() and &iseq() in pat.t
Nicholas Clark [Thu, 27 Dec 2007 21:34:22 +0000]
Proper $TODO support in &ok() and &iseq() in pat.t

p4raw-id: //depot/perl@32747

16 years agoLocalize $\ before changing it, so as not to affect print statements in
Nicholas Clark [Thu, 27 Dec 2007 20:44:26 +0000]
Localize $\ before changing it, so as not to affect print statements in
the rest of the test.

p4raw-id: //depot/perl@32746

16 years agoTest that we can clone regexps into new threads, and fix the bug in
Nicholas Clark [Thu, 27 Dec 2007 20:33:55 +0000]
Test that we can clone regexps into new threads, and fix the bug in
change 32740 that this reveals. (Bug spotted by, and initial patch
from, Jerry D. Hedden.)

p4raw-id: //depot/perl@32745

16 years ago"Automate" change 32648 (ensure that -E always loads the latest
Nicholas Clark [Thu, 27 Dec 2007 19:31:56 +0000]
"Automate" change 32648 (ensure that -E always loads the latest
features)

p4raw-id: //depot/perl@32744

16 years agoYou can't coerce a typeglob to a string. (Restore the error message -
Nicholas Clark [Thu, 27 Dec 2007 18:43:40 +0000]
You can't coerce a typeglob to a string. (Restore the error message -
an assertion failure is not helpful). Test the 3 basic coercion
error messages.

p4raw-id: //depot/perl@32743

16 years agoassert() that the sv_unmagic() in S_regmatch() is unneeded.
Nicholas Clark [Thu, 27 Dec 2007 17:22:06 +0000]
assert() that the sv_unmagic() in S_regmatch() is unneeded.
Add a comment about the mg_find() that follows.

p4raw-id: //depot/perl@32742

16 years agoYou don't need $(DYNALOADER) to make $(nonxs_ext)
Nicholas Clark [Thu, 27 Dec 2007 15:31:28 +0000]
You don't need $(DYNALOADER) to make $(nonxs_ext)
(which makes it easier to run minitest)

p4raw-id: //depot/perl@32741

16 years agoRegexps are now orange.
Nicholas Clark [Thu, 27 Dec 2007 13:46:46 +0000]
Regexps are now orange.
(Correct a comparison of $] with 5.011 in B.pm)

p4raw-id: //depot/perl@32740

16 years agoRemove the last Null(...) from x2p/*
Nicholas Clark [Thu, 27 Dec 2007 11:35:57 +0000]
Remove the last Null(...) from x2p/*
Something tells me that Win32 is compiling x2p with -DPERL_CORE
*nix dosn't do this.

p4raw-id: //depot/perl@32739

16 years agoTweak Perl_sv_upgrade() so that references can upgrade to SVt_PV
Nicholas Clark [Wed, 26 Dec 2007 18:53:48 +0000]
Tweak Perl_sv_upgrade() so that references can upgrade to SVt_PV
rather than something bigger. Fix a possible bug - "reference" to
SVt_NV needs to go direct to SVt_PVNV.

p4raw-id: //depot/perl@32738

16 years agoTake code that occurs in three places to take a scalar and ready it to
Nicholas Clark [Wed, 26 Dec 2007 18:12:32 +0000]
Take code that occurs in three places to take a scalar and ready it to
hold a reference, and convert it to a macro define prepare_SV_for_RV().

p4raw-id: //depot/perl@32737

16 years agoRemove two warnings (sub diag() was redefined, and implict split is
Nicholas Clark [Wed, 26 Dec 2007 17:27:15 +0000]
Remove two warnings (sub diag() was redefined, and implict split is
deprecated)

p4raw-id: //depot/perl@32736

16 years agoUpgrade to File-Temp-0.20
Steve Peters [Wed, 26 Dec 2007 17:06:04 +0000]
Upgrade to File-Temp-0.20

p4raw-id: //depot/perl@32735

16 years agoEliminate SVt_RV, and use SVt_IV to store plain references.
Nicholas Clark [Wed, 26 Dec 2007 17:03:56 +0000]
Eliminate SVt_RV, and use SVt_IV to store plain references.
This frees up a scalar type for first class regular expressions.

p4raw-id: //depot/perl@32734

16 years agoBetter diagnostics by removing an && from an ok() and converting it to
Nicholas Clark [Wed, 26 Dec 2007 17:02:34 +0000]
Better diagnostics by removing an && from an ok() and converting it to
two is()s.

p4raw-id: //depot/perl@32733

16 years agochange/correction to 32246
Robin Barker [Fri, 9 Nov 2007 14:40:22 +0000]
change/correction to 32246
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B722601604912@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@32732

16 years agoLinking a RT ticket to an open TODO.
Steve Peters [Wed, 26 Dec 2007 15:29:14 +0000]
Linking a RT ticket to an open TODO.

p4raw-id: //depot/perl@32731

16 years agodocs: list of places where $_ is used
Gabor Szabo [Wed, 26 Dec 2007 06:49:34 +0000]
docs: list of places where $_ is used
From: "Gabor Szabo" <szabgab@gmail.com>
Message-ID: <d8a74af10712252049t1b63b475mfca9225324f5fce6@mail.gmail.com>

p4raw-id: //depot/perl@32730

16 years agodocs: replace FH by my $fh in open
Gabor Szabo [Wed, 26 Dec 2007 06:03:29 +0000]
docs: replace FH by my $fh in open
From: "Gabor Szabo" <szabgab@gmail.com>
Message-ID: <d8a74af10712252003m2d3244fbv2955fe17e683063d@mail.gmail.com>

p4raw-id: //depot/perl@32729

16 years ago64-bit fix for Time::Local
Jan Dubois [Thu, 20 Dec 2007 10:18:52 +0000]
64-bit fix for Time::Local
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <044301c84334$c6aa2960$53fe7c20$@com>

p4raw-id: //depot/perl@32728

16 years agoPod::Html: fix markup errors with (nested) definition lists
Brendan O'Dea [Sat, 1 Dec 2007 11:59:12 +0000]
Pod::Html: fix markup errors with (nested) definition lists
Message-ID: <20071201005912.GA14441@londo.c47.org>

p4raw-id: //depot/perl@32727

16 years agoUse print rather than diag(), as these routine messages shouldn't be
Nicholas Clark [Wed, 26 Dec 2007 13:03:27 +0000]
Use print rather than diag(), as these routine messages shouldn't be
going to STDERR.

p4raw-id: //depot/perl@32726

16 years agoSwap SVt_RV and SVt_NV in the SV ordering.
Nicholas Clark [Wed, 26 Dec 2007 11:55:15 +0000]
Swap SVt_RV and SVt_NV in the SV ordering.

p4raw-id: //depot/perl@32725

16 years agoA test for upgrading scalars. Curiously, before this, lib/Math/Trig.t
Nicholas Clark [Wed, 26 Dec 2007 11:22:38 +0000]
A test for upgrading scalars. Curiously, before this, lib/Math/Trig.t
was the only code anywhere in the build or testsuite that upgraded an
NV to an RV.

p4raw-id: //depot/perl@32724

16 years agopatch - chg 32721 missed a couple Nullstrs
Jim Cromie [Tue, 25 Dec 2007 05:39:30 +0000]
patch - chg 32721 missed a couple Nullstrs
Message-ID: <4770FA02.2080800@gmail.com>

p4raw-id: //depot/perl@32723

16 years agoRE: [PATCH] s/perl510/perl511/g
Jan Dubois [Mon, 24 Dec 2007 15:30:31 +0000]
RE: [PATCH] s/perl510/perl511/g
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <0cdf01c84684$f99c3310$ecd49930$@com>

p4raw-id: //depot/perl@32722

16 years agoRemove Nullch etc. from x2p
Jan Dubois [Mon, 24 Dec 2007 14:58:20 +0000]
Remove Nullch etc. from x2p
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <0cca01c84680$7afc9170$70f5b450$@com>

p4raw-id: //depot/perl@32721

16 years agoPATCH re 32711
Robin Barker [Mon, 24 Dec 2007 20:56:13 +0000]
PATCH re 32711
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939A4@exchsvr2.npl.ad.local>

"IMO patch 32711 is better implemented using (the existing) NUM2PTR macro, as below/attached."

p4raw-id: //depot/perl@32720

16 years agoCorrect the correction. This one is both a correcly spelled word, and
Nicholas Clark [Sun, 23 Dec 2007 22:29:17 +0000]
Correct the correction. This one is both a correcly spelled word, and
the word I was originally aiming for. Or if it's not, I'm sure that
given infinite monkeys we'll get there sometime around the heat death
of the universe.

p4raw-id: //depot/perl@32719

16 years agoFix my typo in a comment.
Nicholas Clark [Sun, 23 Dec 2007 20:25:25 +0000]
Fix my typo in a comment.

p4raw-id: //depot/perl@32718

16 years agoIn SvPV_free(), assert() that no-one is trying to free up a reference.
Nicholas Clark [Sun, 23 Dec 2007 12:31:26 +0000]
In SvPV_free(), assert() that no-one is trying to free up a reference.

p4raw-id: //depot/perl@32717

16 years ago{ my $a; } not warning about being used only once is a something
Nicholas Clark [Sun, 23 Dec 2007 12:28:53 +0000]
{ my $a; } not warning about being used only once is a something
TO be DOne.

p4raw-id: //depot/perl@32716

16 years agoAdd an assert() to verify my assumption that no-one upgrades a scalar
Nicholas Clark [Sun, 23 Dec 2007 11:27:25 +0000]
Add an assert() to verify my assumption that no-one upgrades a scalar
which has a referant but isn't flagged as a reference.

p4raw-id: //depot/perl@32715

16 years agoWelcome to Perl 5.11, win32!
Steve Peters [Sun, 23 Dec 2007 02:15:30 +0000]
Welcome to Perl 5.11, win32!

p4raw-id: //depot/perl@32714

16 years agoNullch and others were still alive and well in some of the operating
Steve Peters [Sun, 23 Dec 2007 00:39:17 +0000]
Nullch and others were still alive and well in some of the operating
system specific directories.  I think I've chainsawed all of them now,
but I can't guarantee that it compiles anywhere from win32.

p4raw-id: //depot/perl@32713

16 years agoFix cygwin.c again
Jerry D. Hedden [Sat, 22 Dec 2007 16:11:48 +0000]
Fix cygwin.c again
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510712221311v1c58d606jc8dfeee6a21e6194@mail.gmail.com>

Fixes breakage caused by change #32707
p4raw-link: @32707 on //depot/perl: 24792b8dabd61fb81a064d275b67bc65123a8d4c

p4raw-id: //depot/perl@32712

16 years agoRemove warning about casting integer to different sized pointer.
Nicholas Clark [Sat, 22 Dec 2007 19:55:17 +0000]
Remove warning about casting integer to different sized pointer.

p4raw-id: //depot/perl@32711

16 years agoThe ext/Cwd/Cwd.xs part of...
Robin Barker [Sat, 22 Dec 2007 00:52:54 +0000]
The ext/Cwd/Cwd.xs part of...

Subject: consting Cwd and ExtUtils::ParseXS
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939A0@exchsvr2.npl.ad.local>

lib/ExtUtils/ParseXS.pm had changes already made with change
#32691.

p4raw-id: //depot/perl@32710

16 years agoUpgrade to IPC::SysV 1.99_07
Marcus Holland-Moritz [Sat, 22 Dec 2007 19:35:52 +0000]
Upgrade to IPC::SysV 1.99_07

p4raw-id: //depot/perl@32709

16 years agoReplace our assert-which-can-be-caught-by-eval with the real deal from
Nicholas Clark [Sat, 22 Dec 2007 19:22:48 +0000]
Replace our assert-which-can-be-caught-by-eval with the real deal from
the standard C library. Make ours available as Perl_assert(), if you
really want that.
assert() is only #include'd if you compile with -DDEBUGGING.

p4raw-id: //depot/perl@32708

16 years agoRemove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_na
Nicholas Clark [Sat, 22 Dec 2007 18:26:21 +0000]
Remove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_na
when PERL_CORE is defined. (Which, "obviously", is only in code
within the perl source tree, which we control). Nullop remains, and
would be moderately invasive to remove.

p4raw-id: //depot/perl@32707

16 years agoHateful software that sends my cursor keys as packets that can get
Nicholas Clark [Sat, 22 Dec 2007 18:17:46 +0000]
Hateful software that sends my cursor keys as packets that can get
split, and more hateful software that decides that split packets
means not-a-cursor-key.

p4raw-id: //depot/perl@32706

16 years agoAdd a Configure probe for <assert.h>
Nicholas Clark [Sat, 22 Dec 2007 17:51:03 +0000]
Add a Configure probe for <assert.h>

p4raw-id: //depot/perl@32705

16 years agoExterminate PL_na! Exterminate! Exterminate! Exterminate!
Nicholas Clark [Sat, 22 Dec 2007 17:00:24 +0000]
Exterminate PL_na! Exterminate! Exterminate! Exterminate!

p4raw-id: //depot/perl@32704

16 years agoext/ consting
Robin Barker [Sat, 22 Dec 2007 00:39:47 +0000]
ext/ consting
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399D@exchsvr2.npl.ad.local>
Date: Sat, 22 Dec 2007 00:39:47 -0000

p4raw-id: //depot/perl@32703

16 years agoBy moving the "can't upgrade downwards" croak() in Perl_sv_upgrade()
Nicholas Clark [Sat, 22 Dec 2007 16:05:50 +0000]
By moving the "can't upgrade downwards" croak() in Perl_sv_upgrade()
after the type changing logic, we allow sv_upgrade() from SVt_NV to
SVt_IV to "work" (SVt_NV beomes SVt_PVNV in the type changing logic)
which simplifies the code for Perl_sv_setiv() slightly.

p4raw-id: //depot/perl@32702

16 years agoCorrect the minor mistake of changes 32675 and 32676 - the check should
Nicholas Clark [Sat, 22 Dec 2007 12:50:35 +0000]
Correct the minor mistake of changes 32675 and 32676 - the check should
be on whether the SV had a body before upgrading. As was, SVt_RV would
needlessly have re-zeroed memory.

p4raw-id: //depot/perl@32701

16 years agoIntegrate:
Nicholas Clark [Sat, 22 Dec 2007 11:28:02 +0000]
Integrate:
[ 32483]
Use a new (clean) anonymous hash for each loop, rather than a hash in
the pad, as the latter can change internal state sufficiently to
confuse matters (even though in all cases it has no keys and from
Perl space is "measurably" identical).

[ 32500]
Get APItest.xs compiling on 5.8.x by making the compilation of the
Perl_hv_common() test code conditional on the macro hv_common being
defined, and the refcounted_he code conditional on it being 5.9 or
later.

[ 32501]
Hack round the fact that UNITCHECK is nothing special on 5.8.x by
conditionally creating a sub UNITCHECK(&);

[ 32502]
UNITCHECK isn't anything special in 5.8.x, so don't run those tests.

[ 32503]
Skip the op.t API test as it's not relevant to 5.8.x (%^H propagation).
Correct the expectations of hash.t and svsetsv.t for 5.8.x.

[ 32507]
Test both dMY_CXT and dMY_CXT_INTERP.
p4raw-link: @32507 on //depot/blead-maint-fixup/perl: 948cafa0ee2c83e155ea7f64aa3684aa54c83031
p4raw-link: @32503 on //depot/blead-maint-fixup/perl: 0a4679392d1fb21a111f1f0a9e93261b2b2cd4e7
p4raw-link: @32502 on //depot/blead-maint-fixup/perl: cfed56ecfc9c769a0f76147400aa46972ddbb0be
p4raw-link: @32501 on //depot/blead-maint-fixup/perl: 8221ebfdedcb3fbfc645196464faaf397ba18800
p4raw-link: @32500 on //depot/blead-maint-fixup/perl: 77ea6e921df11217724b2f5c3c6b6a6ff488ab44
p4raw-link: @32483 on //depot/blead-maint-fixup/perl: 42b4d13769a3b10e7ffb0a3d275d2fdda0245bd5

p4raw-id: //depot/perl@32699
p4raw-integrated: from //depot/blead-maint-fixup/perl@32698 'copy in'
ext/XS/APItest/APItest.pm ext/XS/APItest/APItest.xs
ext/XS/APItest/t/hash.t ext/XS/APItest/t/my_cxt.t
ext/XS/APItest/t/op.t ext/XS/APItest/t/svsetsv.t
ext/XS/APItest/t/xs_special_subs.t
ext/XS/APItest/t/xs_special_subs_require.t (@32482..) 'merge
in' perl.h (@32504..)

16 years agoIntegrate:
Nicholas Clark [Sat, 22 Dec 2007 11:15:49 +0000]
Integrate:
[ 32509]
For 5.8.8 and earlier, always call newCONSTSUB(), as the interpreter
doesn't support proxy constant subroutines. For all 5.8.x add a cast
to (char *) for the second argument to newCONSTSUB().
p4raw-link: @32509 on //depot/maint-5.8/perl: e60da08bc525b4d06d02281a467ff7e0ecd8c763

p4raw-id: //depot/perl@32698
p4raw-integrated: from //depot/maint-5.8/perl@32693 'copy in'
lib/ExtUtils/Constant/ProxySubs.pm (@32393..)

16 years agoAdd const to a few prototypes. (Patch from Robin Barker.)
Abhijit Menon-Sen [Sat, 22 Dec 2007 03:58:49 +0000]
Add const to a few prototypes. (Patch from Robin Barker.)

p4raw-id: //depot/perl@32693

16 years agoDocument each/keys/values @array
Nicholas Clark [Fri, 21 Dec 2007 17:58:03 +0000]
Document each/keys/values @array

p4raw-id: //depot/perl@32692

16 years agoClean up a warning with -Wwrite-strings that gets passed into every
Steve Peters [Fri, 21 Dec 2007 16:31:45 +0000]
Clean up a warning with -Wwrite-strings that gets passed into every
parsed XS file.

p4raw-id: //depot/perl@32691

16 years agoC<make translators> -Wwrite-strings clean
Robin Barker [Fri, 21 Dec 2007 14:30:20 +0000]
C<make translators> -Wwrite-strings clean
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399C@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@32690

16 years agoconst'ing in cygwin.c
Jerry D. Hedden [Fri, 21 Dec 2007 09:13:41 +0000]
const'ing in cygwin.c
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510712210613s71712346i6e9f2b5e7275aa34@mail.gmail.com>

p4raw-id: //depot/perl@32689

16 years agoUpdate the hash documentation to reflect the changes between 5.8.1 and
Nicholas Clark [Fri, 21 Dec 2007 12:09:04 +0000]
Update the hash documentation to reflect the changes between 5.8.1 and
5.8.2, that disabled the automatic randomisation of all hashes.

p4raw-id: //depot/perl@32688

16 years agoDeparse each @array and friends.
Nicholas Clark [Fri, 21 Dec 2007 11:34:30 +0000]
Deparse each @array and friends.

p4raw-id: //depot/perl@32687

16 years agomg_free frees data but leaves it accessible
Yuval Kogman [Fri, 21 Dec 2007 00:13:31 +0000]
mg_free frees data but leaves it accessible
Message-ID: <20071220221331.GG10631@woobling.org>
Date: Fri, 21 Dec 2007 00:13:31 +0200

p4raw-id: //depot/perl@32686

16 years agoFix remaining skips for Test::Harness
Andy Armstrong [Thu, 20 Dec 2007 23:16:01 +0000]
Fix remaining skips for Test::Harness
Message-Id: <01A7A7EC-1C9C-40B1-90E8-DC1E5BA54400@hexten.net>

(except for test-harness-compat.t which failed unthreaded under harness
and except for reverting the defined $ENV{PERL_UNICODE})

p4raw-id: //depot/perl@32685

16 years agoFor 5.12 we can simply exterminate! the private function
Nicholas Clark [Fri, 21 Dec 2007 07:42:56 +0000]
For 5.12 we can simply exterminate! the private function
Perl_magic_setglob().

p4raw-id: //depot/perl@32684

16 years ago[perl #37607] CGI file upload file name parsing errors
Marko Asplund [Fri, 4 Nov 2005 13:40:05 +0000]
[perl #37607] CGI file upload file name parsing errors
Message-ID: <5.8.7_13518_1131102897@merlot.kronodoc.fi>

p4raw-id: //depot/perl@32683

16 years agoRegen some files...
Steve Peters [Thu, 20 Dec 2007 22:22:59 +0000]
Regen some files...

p4raw-id: //depot/perl@32682

16 years agomake miniperl -Wwrite-strings clean
Robin Barker [Thu, 20 Dec 2007 18:29:25 +0000]
make miniperl -Wwrite-strings clean
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399A@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@32681

16 years agoImplement each @array.
Nicholas Clark [Thu, 20 Dec 2007 21:15:57 +0000]
Implement each @array.
Documentation needed, FIXME for proper 64 bit support of arrays longer
than 2**32, re-order the new ops at the end if merging to 5.10.x.

p4raw-id: //depot/perl@32680

16 years agoCorrect the embed.fnc descriptions of newAV() and newHV() - they do not
Nicholas Clark [Thu, 20 Dec 2007 20:58:25 +0000]
Correct the embed.fnc descriptions of newAV() and newHV() - they do not
return memory allocated à la malloc(), as it comes from an arena.

p4raw-id: //depot/perl@32679

16 years agoWith change 32676 moving the HvSHAREKEYS_on() into Perl_sv_upgrade()
Nicholas Clark [Thu, 20 Dec 2007 20:43:16 +0000]
With change 32676 moving the HvSHAREKEYS_on() into Perl_sv_upgrade()
calls to it can be eliminated from the version code.

p4raw-id: //depot/perl@32678

16 years agoChange 32676 missed embed.h. Oops. Avert any more black smoke.
Nicholas Clark [Thu, 20 Dec 2007 20:35:35 +0000]
Change 32676 missed embed.h. Oops. Avert any more black smoke.

p4raw-id: //depot/perl@32677

16 years agoSimiliarly Perl_newHV() can become a mathom by making newHV() a
Nicholas Clark [Thu, 20 Dec 2007 20:23:45 +0000]
Similiarly Perl_newHV() can become a mathom by making newHV() a
wrapper around newSV_type() and tweaking Perl_sv_upgrade().

p4raw-id: //depot/perl@32676

16 years agoPerl_newAV() can become a mathom by making newAV() a wrapper around
Nicholas Clark [Thu, 20 Dec 2007 19:49:50 +0000]
Perl_newAV() can become a mathom by making newAV() a wrapper around
newSV_type() and tweaking Perl_sv_upgrade().

p4raw-id: //depot/perl@32675

16 years agoThe test needs to be on defined $ENV{PERL_UNICODE} because during
Nicholas Clark [Thu, 20 Dec 2007 18:48:09 +0000]
The test needs to be on defined $ENV{PERL_UNICODE} because during
testing being set to an empty string has meaning.

p4raw-id: //depot/perl@32674

16 years agobring Test::Harness up to 3.06
Andy Armstrong [Thu, 20 Dec 2007 17:49:07 +0000]
bring Test::Harness up to 3.06
Message-Id: <5C57804B-6F71-4875-AEB6-C449F893E001@hexten.net>
Date: Thu, 20 Dec 2007 17:49:07 +0000

p4raw-id: //depot/perl@32673

16 years agoPerl_magic_setglob() is a mathom.
Nicholas Clark [Thu, 20 Dec 2007 17:47:48 +0000]
Perl_magic_setglob() is a mathom.

p4raw-id: //depot/perl@32672

16 years agochar can be unsigned, so i8 needs to be signed char.
Nicholas Clark [Thu, 20 Dec 2007 17:20:29 +0000]
char can be unsigned, so i8 needs to be signed char.

p4raw-id: //depot/perl@32671

16 years agoOops. Change 32669 didn't mean to add ssp to the libswanted list.
Nicholas Clark [Thu, 20 Dec 2007 16:22:07 +0000]
Oops. Change 32669 didn't mean to add ssp to the libswanted list.

p4raw-id: //depot/perl@32670

16 years agoA new try at getting -fstack-protector working, by adding it to the
Nicholas Clark [Thu, 20 Dec 2007 16:02:25 +0000]
A new try at getting -fstack-protector working, by adding it to the
gcc link flags so that any implementation dependant libraries are also
linked in.

p4raw-id: //depot/perl@32669

16 years agoThe APC doesn't like empty files
Rafael Garcia-Suarez [Thu, 20 Dec 2007 12:23:14 +0000]
The APC doesn't like empty files

p4raw-id: //depot/perl@32668

16 years agoMerge the duplicated code for the tests for -fno-strict-aliasing and
Nicholas Clark [Thu, 20 Dec 2007 11:59:47 +0000]
Merge the duplicated code for the tests for -fno-strict-aliasing and
-pipe into a new eval'd "function" checkccflag

p4raw-id: //depot/perl@32667

16 years agoCorrect the test count in lib/File/Temp/t/lock.t
Nicholas Clark [Thu, 20 Dec 2007 10:41:52 +0000]
Correct the test count in lib/File/Temp/t/lock.t
I guess that it was skipped in rather too many places, so no-one
noticed.

p4raw-id: //depot/perl@32666

16 years agoRe: [perl #48769] [PATCH] SelfLoader.pm 1.0904 - Whitespace in subroutine
Steffen Müller [Tue, 18 Dec 2007 11:58:19 +0000]
Re: [perl #48769] [PATCH] SelfLoader.pm 1.0904 - Whitespace in subroutine
Message-ID: <4767A7CB.5030607@sneakemail.com>

p4raw-id: //depot/perl@32665

16 years agoFix embarrassing typo
Rafael Garcia-Suarez [Thu, 20 Dec 2007 09:41:27 +0000]
Fix embarrassing typo

p4raw-id: //depot/perl@32664

16 years agoTest::Harness 3.05, tests pass in core
Andy Armstrong [Thu, 20 Dec 2007 02:32:55 +0000]
Test::Harness 3.05, tests pass in core
Message-Id: <7859DADA-59A9-45B2-A448-89BC755C53E8@hexten.net>
Date: Thu, 20 Dec 2007 02:32:55 +0000

p4raw-id: //depot/perl@32663

16 years agoExtraneous test files that change 32659 failed to delete. Oops.
Nicholas Clark [Wed, 19 Dec 2007 21:49:49 +0000]
Extraneous test files that change 32659 failed to delete. Oops.
(But they would not have been being run, because the only tests that
are run are those that are in MANIFEST, and I had deleted them from
there.)

p4raw-id: //depot/perl@32662

16 years agoUpgrade to CGI.pm-3.31. Includes version bump to CGI::Carp due to a Pod fix.
Steve Peters [Wed, 19 Dec 2007 19:55:00 +0000]
Upgrade to CGI.pm-3.31.  Includes version bump to CGI::Carp due to a Pod fix.

p4raw-id: //depot/perl@32661

16 years agoMissing files from Test::Harness 3.05
Nicholas Clark [Wed, 19 Dec 2007 18:26:03 +0000]
Missing files from Test::Harness 3.05

p4raw-id: //depot/perl@32660

16 years agoUpgrade to Test::Harness 3.05
Nicholas Clark [Wed, 19 Dec 2007 18:18:04 +0000]
Upgrade to Test::Harness 3.05
Add test boilerplate to various test files.
Add FIXME skips for various tests that don't play nicely with the
altered layout in the core.
lib/Test/Harness/t/unicode.t appears to fail under UTF-8 locales and
so will need fixing.

p4raw-id: //depot/perl@32659