This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
13 years agoLocalize $\ before changing it, so as not to affect print statements in
Nicholas Clark [Thu, 27 Dec 2007 20:44:26 +0000 (20:44 +0000)]
Localize $\ before changing it, so as not to affect print statements in
the rest of the test.

p4raw-id: //depot/perl@32746

13 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 (20:33 +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

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

p4raw-id: //depot/perl@32744

13 years agoYou can't coerce a typeglob to a string. (Restore the error message -
Nicholas Clark [Thu, 27 Dec 2007 18:43:40 +0000 (18:43 +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

13 years agoassert() that the sv_unmagic() in S_regmatch() is unneeded.
Nicholas Clark [Thu, 27 Dec 2007 17:22:06 +0000 (17:22 +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

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

p4raw-id: //depot/perl@32741

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

p4raw-id: //depot/perl@32740

13 years agoRemove the last Null(...) from x2p/*
Nicholas Clark [Thu, 27 Dec 2007 11:35:57 +0000 (11:35 +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

13 years agoTweak Perl_sv_upgrade() so that references can upgrade to SVt_PV
Nicholas Clark [Wed, 26 Dec 2007 18:53:48 +0000 (18:53 +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

13 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 (18:12 +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

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

p4raw-id: //depot/perl@32736

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

p4raw-id: //depot/perl@32735

13 years agoEliminate SVt_RV, and use SVt_IV to store plain references.
Nicholas Clark [Wed, 26 Dec 2007 17:03:56 +0000 (17:03 +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

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

p4raw-id: //depot/perl@32733

13 years agochange/correction to 32246
Robin Barker [Fri, 9 Nov 2007 14:40:22 +0000 (14:40 +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

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

p4raw-id: //depot/perl@32731

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

p4raw-id: //depot/perl@32730

13 years agodocs: replace FH by my $fh in open
Gabor Szabo [Wed, 26 Dec 2007 06:03:29 +0000 (08:03 +0200)]
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

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

p4raw-id: //depot/perl@32728

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

p4raw-id: //depot/perl@32727

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

p4raw-id: //depot/perl@32726

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

p4raw-id: //depot/perl@32725

13 years agoA test for upgrading scalars. Curiously, before this, lib/Math/Trig.t
Nicholas Clark [Wed, 26 Dec 2007 11:22:38 +0000 (11:22 +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

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

p4raw-id: //depot/perl@32723

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

p4raw-id: //depot/perl@32722

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

p4raw-id: //depot/perl@32721

13 years agoPATCH re 32711
Robin Barker [Mon, 24 Dec 2007 20:56:13 +0000 (20:56 +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

13 years agoCorrect the correction. This one is both a correcly spelled word, and
Nicholas Clark [Sun, 23 Dec 2007 22:29:17 +0000 (22:29 +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

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

p4raw-id: //depot/perl@32718

13 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 (12:31 +0000)]
In SvPV_free(), assert() that no-one is trying to free up a reference.

p4raw-id: //depot/perl@32717

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

p4raw-id: //depot/perl@32716

13 years agoAdd an assert() to verify my assumption that no-one upgrades a scalar
Nicholas Clark [Sun, 23 Dec 2007 11:27:25 +0000 (11:27 +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

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

p4raw-id: //depot/perl@32714

13 years agoNullch and others were still alive and well in some of the operating
Steve Peters [Sun, 23 Dec 2007 00:39:17 +0000 (00:39 +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

13 years agoFix cygwin.c again
Jerry D. Hedden [Sat, 22 Dec 2007 16:11:48 +0000 (11:11 -0500)]
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

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

p4raw-id: //depot/perl@32711

13 years agoThe ext/Cwd/Cwd.xs part of...
Robin Barker [Sat, 22 Dec 2007 00:52:54 +0000 (00:52 +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

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

p4raw-id: //depot/perl@32709

13 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 (19:22 +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

13 years agoRemove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_na
Nicholas Clark [Sat, 22 Dec 2007 18:26:21 +0000 (18:26 +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

13 years agoHateful software that sends my cursor keys as packets that can get
Nicholas Clark [Sat, 22 Dec 2007 18:17:46 +0000 (18:17 +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

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

p4raw-id: //depot/perl@32705

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

p4raw-id: //depot/perl@32704

13 years agoext/ consting
Robin Barker [Sat, 22 Dec 2007 00:39:47 +0000 (00:39 +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

13 years agoBy moving the "can't upgrade downwards" croak() in Perl_sv_upgrade()
Nicholas Clark [Sat, 22 Dec 2007 16:05:50 +0000 (16:05 +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

13 years agoCorrect the minor mistake of changes 32675 and 32676 - the check should
Nicholas Clark [Sat, 22 Dec 2007 12:50:35 +0000 (12:50 +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

13 years agoIntegrate:
Nicholas Clark [Sat, 22 Dec 2007 11:28:02 +0000 (11:28 +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..)

13 years agoIntegrate:
Nicholas Clark [Sat, 22 Dec 2007 11:15:49 +0000 (11:15 +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..)

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

p4raw-id: //depot/perl@32693

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

p4raw-id: //depot/perl@32692

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

p4raw-id: //depot/perl@32691

13 years agoC<make translators> -Wwrite-strings clean
Robin Barker [Fri, 21 Dec 2007 14:30:20 +0000 (14:30 +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

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

p4raw-id: //depot/perl@32689

13 years agoUpdate the hash documentation to reflect the changes between 5.8.1 and
Nicholas Clark [Fri, 21 Dec 2007 12:09:04 +0000 (12:09 +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

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

p4raw-id: //depot/perl@32687

13 years agomg_free frees data but leaves it accessible
Yuval Kogman [Fri, 21 Dec 2007 00:13:31 +0000 (02:13 +0200)]
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

13 years agoFix remaining skips for Test::Harness
Andy Armstrong [Thu, 20 Dec 2007 23:16:01 +0000 (23:16 +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

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

p4raw-id: //depot/perl@32684

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

p4raw-id: //depot/perl@32683

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

p4raw-id: //depot/perl@32682

13 years agomake miniperl -Wwrite-strings clean
Robin Barker [Thu, 20 Dec 2007 18:29:25 +0000 (18:29 +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

13 years agoImplement each @array.
Nicholas Clark [Thu, 20 Dec 2007 21:15:57 +0000 (21:15 +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

13 years agoCorrect the embed.fnc descriptions of newAV() and newHV() - they do not
Nicholas Clark [Thu, 20 Dec 2007 20:58:25 +0000 (20:58 +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

13 years agoWith change 32676 moving the HvSHAREKEYS_on() into Perl_sv_upgrade()
Nicholas Clark [Thu, 20 Dec 2007 20:43:16 +0000 (20:43 +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

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

p4raw-id: //depot/perl@32677

13 years agoSimiliarly Perl_newHV() can become a mathom by making newHV() a
Nicholas Clark [Thu, 20 Dec 2007 20:23:45 +0000 (20:23 +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

13 years agoPerl_newAV() can become a mathom by making newAV() a wrapper around
Nicholas Clark [Thu, 20 Dec 2007 19:49:50 +0000 (19:49 +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

13 years agoThe test needs to be on defined $ENV{PERL_UNICODE} because during
Nicholas Clark [Thu, 20 Dec 2007 18:48:09 +0000 (18:48 +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

13 years agobring Test::Harness up to 3.06
Andy Armstrong [Thu, 20 Dec 2007 17:49:07 +0000 (17:49 +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

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

p4raw-id: //depot/perl@32672

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

p4raw-id: //depot/perl@32671

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

p4raw-id: //depot/perl@32670

13 years agoA new try at getting -fstack-protector working, by adding it to the
Nicholas Clark [Thu, 20 Dec 2007 16:02:25 +0000 (16:02 +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

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

p4raw-id: //depot/perl@32668

13 years agoMerge the duplicated code for the tests for -fno-strict-aliasing and
Nicholas Clark [Thu, 20 Dec 2007 11:59:47 +0000 (11:59 +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

13 years agoCorrect the test count in lib/File/Temp/t/lock.t
Nicholas Clark [Thu, 20 Dec 2007 10:41:52 +0000 (10:41 +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

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

p4raw-id: //depot/perl@32665

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

p4raw-id: //depot/perl@32664

13 years agoTest::Harness 3.05, tests pass in core
Andy Armstrong [Thu, 20 Dec 2007 02:32:55 +0000 (02:32 +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

13 years agoExtraneous test files that change 32659 failed to delete. Oops.
Nicholas Clark [Wed, 19 Dec 2007 21:49:49 +0000 (21: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

13 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 (19:55 +0000)]
Upgrade to CGI.pm-3.31.  Includes version bump to CGI::Carp due to a Pod fix.

p4raw-id: //depot/perl@32661

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

p4raw-id: //depot/perl@32660

13 years agoUpgrade to Test::Harness 3.05
Nicholas Clark [Wed, 19 Dec 2007 18:18:04 +0000 (18:18 +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

13 years agothreads::shared 1.15
Jerry D. Hedden [Wed, 19 Dec 2007 10:17:46 +0000 (05:17 -0500)]
threads::shared 1.15
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510712190717r379ffdbt9ed19b8a607b8931@mail.gmail.com>

p4raw-id: //depot/perl@32658

13 years agoFix a File::Temp test to deal with new Test::More changes.
Steve Peters [Wed, 19 Dec 2007 17:05:16 +0000 (17:05 +0000)]
Fix a File::Temp test to deal with new Test::More changes.

p4raw-id: //depot/perl@32657

13 years agoAdd new Sys::Syslog file to MANIFEST
Rafael Garcia-Suarez [Wed, 19 Dec 2007 16:12:30 +0000 (16:12 +0000)]
Add new Sys::Syslog file to MANIFEST

p4raw-id: //depot/perl@32656

13 years agoAdditional version fixups.
Steve Peters [Wed, 19 Dec 2007 15:55:53 +0000 (15:55 +0000)]
Additional version fixups.

p4raw-id: //depot/perl@32655

13 years agoUpgrade to Sys-Syslog-0.23
Steve Peters [Wed, 19 Dec 2007 15:47:56 +0000 (15:47 +0000)]
Upgrade to Sys-Syslog-0.23

p4raw-id: //depot/perl@32654

13 years agoUpgrade to IO-Zlib-1.08. Fixes to test files allowed us to get back
Steve Peters [Wed, 19 Dec 2007 15:35:21 +0000 (15:35 +0000)]
Upgrade to IO-Zlib-1.08.  Fixes to test files allowed us to get back
in sync with the distribution.

p4raw-id: //depot/perl@32653

13 years agoUpgrade to File-Temp-0.19
Steve Peters [Wed, 19 Dec 2007 15:19:41 +0000 (15:19 +0000)]
Upgrade to File-Temp-0.19

p4raw-id: //depot/perl@32652

13 years agoUpgrade to B-Lint-1.11
Steve Peters [Wed, 19 Dec 2007 15:00:53 +0000 (15:00 +0000)]
Upgrade to B-Lint-1.11

p4raw-id: //depot/perl@32651

13 years agoUpdate to Test-Simple-0.74
Steve Peters [Wed, 19 Dec 2007 14:30:46 +0000 (14:30 +0000)]
Update to Test-Simple-0.74

p4raw-id: //depot/perl@32650

13 years agoAdd perl5110delta, and change 5100delta so that it is no longer "the"
Nicholas Clark [Wed, 19 Dec 2007 14:13:07 +0000 (14:13 +0000)]
Add perl5110delta, and change 5100delta so that it is no longer "the"
perldelta.

p4raw-id: //depot/perl@32649

13 years agoMake -E require 5.11 features
Rafael Garcia-Suarez [Wed, 19 Dec 2007 13:58:46 +0000 (13:58 +0000)]
Make -E require 5.11 features

p4raw-id: //depot/perl@32648

13 years agoTeach cflags.SH about -fstack-protector, and add it to gcc compiler flags
Steve Peters [Wed, 19 Dec 2007 13:58:35 +0000 (13:58 +0000)]
Teach cflags.SH about -fstack-protector, and add it to gcc compiler flags
when possible.

p4raw-id: //depot/perl@32647

13 years agoBump the version number to 5.11.0
Nicholas Clark [Wed, 19 Dec 2007 13:48:45 +0000 (13:48 +0000)]
Bump the version number to 5.11.0

p4raw-id: //depot/perl@32646

13 years agofeature.pm needs to cope with the version not being 5.10.0
Nicholas Clark [Wed, 19 Dec 2007 13:47:36 +0000 (13:47 +0000)]
feature.pm needs to cope with the version not being 5.10.0

p4raw-id: //depot/perl@32645

13 years agoUpdate Changes and reinstante the DEVEL tag.
Nicholas Clark [Wed, 19 Dec 2007 12:10:23 +0000 (12:10 +0000)]
Update Changes and reinstante the DEVEL tag.
(Now that the patch number isn't in DEVEL, probably don't need to
do it in one, as in change 17642)

p4raw-id: //depot/perl@32644

13 years agoRecord all the changes up to 5.10.0, and ready a new changes file for
Nicholas Clark [Wed, 19 Dec 2007 11:25:43 +0000 (11:25 +0000)]
Record all the changes up to 5.10.0, and ready a new changes file for
5.11

p4raw-id: //depot/perl@32643

13 years agoRegen Changes once more v5.10.0
Rafael Garcia-Suarez [Tue, 18 Dec 2007 10:43:27 +0000 (10:43 +0000)]
Regen Changes once more

p4raw-id: //depot/perl@32642