16 years agoThere's no need to handle 'set' magic in the mX?PUSH macros.
Marcus Holland-Moritz [Fri, 4 Jan 2008 12:28:54 +0000]
There's no need to handle 'set' magic in the mX?PUSH macros.
The macros all create new mortals using sv_newmortal(), and those
cannot be magical. This is in contrary to the X?PUSH macros, which
operate on TARG, which can be magical.
With that in mind, mentioning whether or not mX?PUSH can handle
'set' magic doesn't make sense any longer.

p4raw-id: //depot/perl@32824

16 years agoRun regen.pl (fixes build on Win32, at least)
Steve Hay [Fri, 4 Jan 2008 10:47:27 +0000]
Run regen.pl (fixes build on Win32, at least)

p4raw-id: //depot/perl@32823

16 years agoRe: SV leak?
Vincent Pit [Thu, 3 Jan 2008 19:26:05 +0000]
Re: SV leak?
Message-ID: <477D28BD.5060801@profvince.com>

Mortalize SVs that are being pushed on the stack.
Try to use specialized macros for pushing mortals.

p4raw-id: //depot/perl@32822

16 years agoAdd macros mPUSHs() and mXPUSHs() for pushing SVs on the stack
Marcus Holland-Moritz [Fri, 4 Jan 2008 01:06:10 +0000]
Add macros mPUSHs() and mXPUSHs() for pushing SVs on the stack
and mortalizing them. Use these macros where possible. And also
mX?PUSH[inpu] where possible.

p4raw-id: //depot/perl@32821

16 years agoMissed three sv_2mortal(newSVpvn(...))s in the headers.
Nicholas Clark [Thu, 3 Jan 2008 17:54:38 +0000]
Missed three sv_2mortal(newSVpvn(...))s in the headers.

p4raw-id: //depot/perl@32820

16 years agoAdd newSVpvs_flags() as a wrapper to newSVpvn_flags(), and rework
Nicholas Clark [Thu, 3 Jan 2008 17:42:27 +0000]
Add newSVpvs_flags() as a wrapper to newSVpvn_flags(), and rework
sv_2mortal(newSVpvs(...)) constructions to use it.

p4raw-id: //depot/perl@32819

16 years agoExtend newSVpvn_flags() to also call sv_2mortal() if SVs_TEMP is set in
Nicholas Clark [Thu, 3 Jan 2008 17:15:53 +0000]
Extend newSVpvn_flags() to also call sv_2mortal() if SVs_TEMP is set in
the flags. Move its implementation just ahead of sv_2mortal()'s for
CPU cache locality. Refactor all code that can be to use this.

p4raw-id: //depot/perl@32818

16 years agoForgot to remove dTARGET with change #32816.
Marcus Holland-Moritz [Thu, 3 Jan 2008 17:10:56 +0000]
Forgot to remove dTARGET with change #32816.
p4raw-link: @32816 on //depot/perl: 1eb9e81d303aab0f6c2386f44bc76241948fce0f

p4raw-id: //depot/perl@32817

16 years agoFix memory leaks in XS_PerlIO_get_layers() by mortalizing
Marcus Holland-Moritz [Thu, 3 Jan 2008 17:07:06 +0000]
Fix memory leaks in XS_PerlIO_get_layers() by mortalizing
all variables pushed on the stack. Also make sure the loop
is using mXPUSHi() and not XPUSHi().

p4raw-id: //depot/perl@32816

16 years agoWe can now sv_upgrade(sv, SVt_PVHV), so do so, to simplify the code.
Nicholas Clark [Thu, 3 Jan 2008 16:27:13 +0000]
We can now sv_upgrade(sv, SVt_PVHV), so do so, to simplify the code.

p4raw-id: //depot/perl@32815

16 years agoUpgrade to Net-Ping-2.34
Steve Peters [Thu, 3 Jan 2008 15:23:36 +0000]
Upgrade to Net-Ping-2.34

p4raw-id: //depot/perl@32814

16 years agoPossible future bugs found by the creation of newSVpvn_flags().
Nicholas Clark [Thu, 3 Jan 2008 14:24:29 +0000]
Possible future bugs found by the creation of newSVpvn_flags().
But use newSVhek() in preference when possible.

p4raw-id: //depot/perl@32813

16 years agoAdd HeUTF8() to complement HePV() and then immediately suggest that
Nicholas Clark [Thu, 3 Jan 2008 14:23:17 +0000]
Add HeUTF8() to complement HePV() and then immediately suggest that
newSVhek(HeKEY_hek(he) is probably what you wanted all along.

p4raw-id: //depot/perl@32812

16 years agoTypo spotted by Jarkko.
Nicholas Clark [Thu, 3 Jan 2008 13:57:17 +0000]
Typo spotted by Jarkko.

p4raw-id: //depot/perl@32811

16 years agoFixes to get MAD working after change 32804, and some newSVpvn_utf8()s
Nicholas Clark [Thu, 3 Jan 2008 12:47:25 +0000]
Fixes to get MAD working after change 32804, and some newSVpvn_utf8()s
I missed becase (silly Nick) the grep for plausible files was done on
the 5.8.x tree.

p4raw-id: //depot/perl@32810

16 years agoRE: How to load a "loadable object" that has a non-default file extension ?
Jan Dubois [Sun, 30 Dec 2007 12:52:30 +0000]
RE: How to load a "loadable object" that has a non-default file extension ?
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <18a401c84b25$e5272480$af756d80$@com>

p4raw-id: //depot/perl@32809

16 years agoOP_THREADSV was removed by #29727
Rafael Garcia-Suarez [Thu, 3 Jan 2008 10:02:50 +0000]
OP_THREADSV was removed by #29727

p4raw-id: //depot/perl@32808

16 years agoAdd a new function newSVpvn_flags(), which takes a third parameter of
Nicholas Clark [Wed, 2 Jan 2008 23:41:21 +0000]
Add a new function newSVpvn_flags(), which takes a third parameter of
flag bits. Right now the only flag bit is SVf_UTF8, which will call
SvUTF8_on() on the new SV for you. Provide a wrapper newSVpvn_utf8(),
which takes a boolean, and passes in SVf_UTF8 if that is true.
Refactor the core to use it where possible. It makes the source code
clearer and smaller, but seems to be swings and roundabouts on object
code size.

p4raw-id: //depot/perl@32807

16 years agoSilly Nick - change 32804 missed updating the list of global functions.
Nicholas Clark [Wed, 2 Jan 2008 22:21:50 +0000]
Silly Nick - change 32804 missed updating the list of global functions.

p4raw-id: //depot/perl@32806

16 years agoSmall documentation nits
Sébastien Aperghis-Tramoni [Mon, 31 Dec 2007 21:05:47 +0000]
Small documentation nits
Message-Id: <2AF110D6-9183-47C5-BBBA-26C3FB97C3D3@free.fr>

p4raw-id: //depot/perl@32805

16 years agoMake struct regexp the body of SVt_REGEXP SVs, REGEXPs become SVs,
Nicholas Clark [Wed, 2 Jan 2008 13:47:42 +0000]
Make struct regexp the body of SVt_REGEXP SVs, REGEXPs become SVs,
and regexp reference counting is via the regular SV reference counting.
This was not as easy at it looks.

p4raw-id: //depot/perl@32804

16 years agoConvert some "regexp" and "struct regexp" to REGEXP where they are
Nicholas Clark [Wed, 2 Jan 2008 13:07:16 +0000]
Convert some "regexp" and "struct regexp" to REGEXP where they are
currently equivalent but will be wrong once the equivalence vanishes.

p4raw-id: //depot/perl@32803

16 years agoWrap all deferences of struct regexp* in macros RX_*() [and for
Nicholas Clark [Wed, 2 Jan 2008 12:06:05 +0000]
Wrap all deferences of struct regexp* in macros RX_*() [and for
regcomp.c and regexec.c RXp_* where necessary] so that in future we
can maintain source compatibility when we add an extra level of
dereferencing.

p4raw-id: //depot/perl@32802

16 years agoshield t/test.pl functions from global print modifiers
Michael G. Schwern [Tue, 1 Jan 2008 18:12:36 +0000]
shield t/test.pl functions from global print modifiers
Message-ID: <477AF314.9050808@pobox.com>

p4raw-id: //depot/perl@32801

16 years agoUpgrade to constant-1.15
Steve Peters [Tue, 1 Jan 2008 23:46:55 +0000]
Upgrade to constant-1.15

p4raw-id: //depot/perl@32800

16 years agoUpgrade to Sys-Syslog-0.24
Steve Peters [Tue, 1 Jan 2008 23:43:42 +0000]
Upgrade to Sys-Syslog-0.24

p4raw-id: //depot/perl@32799

16 years agoUpgrade to CGI.pm-3.32. Retain the version bump since bug fixes
Steve Peters [Tue, 1 Jan 2008 23:39:58 +0000]
Upgrade to CGI.pm-3.32.  Retain the version bump since bug fixes
have not yet been integrated.

p4raw-id: //depot/perl@32798

16 years agoMissing test, adding $ to the other tests
H.Merijn Brand [Tue, 1 Jan 2008 20:34:49 +0000]
Missing test, adding $ to the other tests

p4raw-id: //depot/perl@32797

16 years agoBring back the platforms that do not support -fstack-protector
H.Merijn Brand [Tue, 1 Jan 2008 20:13:56 +0000]
Bring back the platforms that do not support -fstack-protector

p4raw-id: //depot/perl@32795

16 years agoAdd editor blocks to some header files.
Marcus Holland-Moritz [Tue, 1 Jan 2008 17:18:13 +0000]
Add editor blocks to some header files.

p4raw-id: //depot/perl@32793

16 years agoNeeded one more cast after 32760. The VMS compiler complained
Craig A. Berry [Mon, 31 Dec 2007 23:49:48 +0000]
Needed one more cast after 32760.  The VMS compiler complained
that a pointer to int and pointer to long are different things
even though they both point to a 32-bit signed integer.

p4raw-id: //depot/perl@32792

16 years agoFix VMS::Stdio bug introduced in 32713.
Craig A. Berry [Mon, 31 Dec 2007 23:44:35 +0000]
Fix VMS::Stdio bug introduced in 32713.

p4raw-id: //depot/perl@32791

16 years agoAs Perl_magic_setbm() and Perl_magic_setfm() aren't in the public API,
Nicholas Clark [Mon, 31 Dec 2007 15:45:03 +0000]
As Perl_magic_setbm() and Perl_magic_setfm() aren't in the public API,
they can just go.

p4raw-id: //depot/perl@32790

16 years agoPerl_magic_setbm() and Perl_magic_setfm() are mathoms that can be
Nicholas Clark [Mon, 31 Dec 2007 13:54:04 +0000]
Perl_magic_setbm() and Perl_magic_setfm() are mathoms that can be
merged with Perl_magic_setregexp(). [Coverage on the testsuite
suggests that more than that they're actually dead code, but in theory
it should be possible to construct a test case that exercises them.]

p4raw-id: //depot/perl@32789

16 years agoassert() that we're not trying to free scalars a second time.
Nicholas Clark [Mon, 31 Dec 2007 11:04:54 +0000]
assert() that we're not trying to free scalars a second time.

p4raw-id: //depot/perl@32788

16 years agoUpgrade to AutoLoader-5.64
Steve Peters [Mon, 31 Dec 2007 04:08:00 +0000]
Upgrade to AutoLoader-5.64

p4raw-id: //depot/perl@32787

16 years agoUpgrade to Math-Complex-1.38
Steve Peters [Mon, 31 Dec 2007 03:41:01 +0000]
Upgrade to Math-Complex-1.38

p4raw-id: //depot/perl@32786

16 years agoChange 32783 was generating warnings from gcc about an extra semicolon
Nicholas Clark [Sun, 30 Dec 2007 20:23:54 +0000]
Change 32783 was generating warnings from gcc about an extra semicolon
in structure or union. No doubt some non-sloppy compilers will consider
this an error and barf. We don't like barfing.

p4raw-id: //depot/perl@32785

16 years agoAdd script to check source code for ANSI-C violations.
Marcus Holland-Moritz [Sun, 30 Dec 2007 12:20:12 +0000]
Add script to check source code for ANSI-C violations.

p4raw-id: //depot/perl@32784

16 years agofactor out duplicate code in struct xpv*
Marcus Holland-Moritz [Sat, 29 Dec 2007 18:17:42 +0000]
factor out duplicate code in struct xpv*
Message-ID: <20071229181742.1933db40@r2d2>

p4raw-id: //depot/perl@32783

16 years agoAdd file to MANIFEST that hitched a ride with change #32750. It
Steve Peters [Sun, 30 Dec 2007 05:26:15 +0000]
Add file to MANIFEST that hitched a ride with change #32750.  It
hopefully will fix RT #44357.
p4raw-link: @32750 on //depot/perl: 662f1f9e0a1bbee45e1e02386151364c8517604e

p4raw-id: //depot/perl@32782

16 years agoInclude SVf_UTF8 in the bitmask when checking the SvFLAGS in
Marcus Holland-Moritz [Sun, 30 Dec 2007 04:44:40 +0000]
Include SVf_UTF8 in the bitmask when checking the SvFLAGS in
SvPVutf8_force(), as otherwise the conditional expression will
always be false and the optimisation will never kick in.

p4raw-id: //depot/perl@32781

16 years agoUpgrade to IPC::SysV 2.00
Marcus Holland-Moritz [Sun, 30 Dec 2007 02:48:25 +0000]
Upgrade to IPC::SysV 2.00

p4raw-id: //depot/perl@32780

16 years agoTypo in op.c
Vincent Pit [Tue, 25 Dec 2007 17:12:33 +0000]
Typo in op.c
Message-ID: <47712BF1.9060200@profvince.com>

(And then an update to make the tests in gv.t expect the right thing,
and test the behaviour that my change 26482 was originally supposed to
produce, but didn't until this typo was fixed)

p4raw-id: //depot/perl@32779

16 years agoIn sv_chop(), write sentinals over the part of the buffer that is
Nicholas Clark [Sat, 29 Dec 2007 19:50:27 +0000]
In sv_chop(), write sentinals over the part of the buffer that is
thrown away, and verify that they are present in sv_backoff().
assert that we are being asked to chop off positive amounts of buffer.

p4raw-id: //depot/perl@32778

16 years agoMove all code that relies on reading the to-be-thrown-away buffer ahead
Nicholas Clark [Sat, 29 Dec 2007 19:32:52 +0000]
Move all code that relies on reading the to-be-thrown-away buffer ahead
of the call to sv_chop() that throws it away.

p4raw-id: //depot/perl@32777

16 years agoChange 32760 needed to add a cast to avoid a warning.
Nicholas Clark [Sat, 29 Dec 2007 17:35:25 +0000]
Change 32760 needed to add a cast to avoid a warning.

p4raw-id: //depot/perl@32776

16 years agoReorder the external regexp flags to get RXf_PMf_STD_PMMOD into the
Nicholas Clark [Sat, 29 Dec 2007 17:01:51 +0000]
Reorder the external regexp flags to get RXf_PMf_STD_PMMOD into the
lowest 4 bits (which saves a shift), and the "flags indicating special
patterns" into contiguous bits. This makes everything a little tidier,
and saves 88 bytes (woohoo!) of object file with -Os on x86 FreeBSD.

p4raw-id: //depot/perl@32775

16 years agoThe position of the modifier flag bits is actually encoded by a right
Nicholas Clark [Sat, 29 Dec 2007 15:11:04 +0000]
The position of the modifier flag bits is actually encoded by a right
shift 12 in two places, so replace that magic number with a macro
RXf_PMf_STD_PMMOD_SHIFT defined adjacent to the flags it interacts
with.

p4raw-id: //depot/perl@32774

16 years agoSync after metaconfig backports. Some reorders were done
H.Merijn Brand [Sat, 29 Dec 2007 14:54:57 +0000]
Sync after metaconfig backports. Some reorders were done

p4raw-id: //depot/perl@32773

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