16 years agoRemove an unneeded if statement.
Steve Peters [Fri, 8 Feb 2008 21:55:48 +0000]
Remove an unneeded if statement.

p4raw-id: //depot/perl@33261

16 years agoI've been maintaining Net::Ping for a while now.
Steve Peters [Fri, 8 Feb 2008 21:49:16 +0000]
I've been maintaining Net::Ping for a while now.

p4raw-id: //depot/perl@33260

16 years agoRE: Perl @ 33218 (Stratus VOS patches)
Paul Green [Fri, 8 Feb 2008 12:36:03 +0000]
RE: Perl @ 33218 (Stratus VOS patches)
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <F5F42E77A43DD944B6D664B00A5401CB037149FF@EXNA.corp.stratus.com>

Includes a fix to the patch to ext/Time/HiRes/Makefile.PL

p4raw-id: //depot/perl@33259

16 years agoIO::Handle->say should ignore $\ (bug #49266)
Rafael Garcia-Suarez [Fri, 8 Feb 2008 16:15:52 +0000]
IO::Handle->say should ignore $\ (bug #49266)

p4raw-id: //depot/perl@33258

16 years ago[perl #50364] [PATCH] perlop.pod - misnomer in % operator documentation
Martin Hasch [Mon, 28 Jan 2008 16:56:07 +0000]
[perl #50364] [PATCH] perlop.pod - misnomer in % operator documentation
From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-4355-1201568166-693.50364-75-0@perl.org>

p4raw-id: //depot/perl@33257

16 years agomg_copy ought to take an I32
Vincent Pit [Wed, 6 Feb 2008 10:39:58 +0000]
mg_copy ought to take an I32
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <39468.147.210.17.175.1202290798.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33256

16 years agoGive Win32 message windows proper window procedures
Robert May [Sun, 3 Feb 2008 18:04:46 +0000]
Give Win32 message windows proper window procedures
From: "Robert May" <rob@themayfamily.me.uk>
Message-ID: <54bdc7510802030434g4f9da56eq8d526e80c297290b@mail.gmail.com>

p4raw-id: //depot/perl@33255

16 years agowin32_async_check() doesn't loop enough.
Robert May [Sun, 3 Feb 2008 13:11:57 +0000]
win32_async_check() doesn't loop enough.
From: "Robert May" <robertmay@cpan.org>
Message-ID: <54bdc7510802022341r3654d32dva26ef04bd9fa04b7@mail.gmail.com>

p4raw-id: //depot/perl@33254

16 years agoUpdate to Math::Complex 1.49
H.Merijn Brand [Fri, 8 Feb 2008 13:27:45 +0000]
Update to Math::Complex 1.49

p4raw-id: //depot/perl@33253

16 years agoRe-apply patches 32879, 32905, and 32964 to MakeMaker
Rafael Garcia-Suarez [Fri, 8 Feb 2008 13:25:18 +0000]
Re-apply patches 32879, 32905, and 32964 to MakeMaker

p4raw-id: //depot/perl@33252

16 years agoAdd new module in MakeMaker 6.43_01
Rafael Garcia-Suarez [Fri, 8 Feb 2008 13:09:27 +0000]
Add new module in MakeMaker 6.43_01

p4raw-id: //depot/perl@33251

16 years agoUpgrade to MakeMaker 6.43_01
Rafael Garcia-Suarez [Fri, 8 Feb 2008 13:07:25 +0000]
Upgrade to MakeMaker 6.43_01

p4raw-id: //depot/perl@33250

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Thu, 7 Feb 2008 17:51:58 +0000]
Re: [PATCH] sv.c: consting
Message-ID: <20080207165158.GA22321@refcnt.homeunix.org>

p4raw-id: //depot/perl@33249

16 years agoRemove redundant check
Rafael Garcia-Suarez [Fri, 8 Feb 2008 11:04:23 +0000]
Remove redundant check

p4raw-id: //depot/perl@33248

16 years agofeature bundles are the same across all subversions
Steffen Müller [Sun, 13 Jan 2008 22:45:37 +0000]
feature bundles are the same across all subversions
Message-ID: <20080113214537.13226.qmail@lists.develooper.com>

p4raw-id: //depot/perl@33247

16 years agoRe: [PATCH] Re: Perl @ 32984 (also relevant to [perl #33849])
Andy Dougherty [Fri, 1 Feb 2008 12:39:39 +0000]
Re: [PATCH] Re: Perl @ 32984 (also relevant to [perl #33849])
Message-ID: <Pine.LNX.4.64.0802011239170.1831@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@33246

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Mon, 4 Feb 2008 15:44:19 +0000]
Re: [PATCH] sv.c: consting
Message-ID: <20080204144419.GB20276@refcnt.homeunix.org>

p4raw-id: //depot/perl@33245

16 years agocorelist changes:
Rafael Garcia-Suarez [Thu, 7 Feb 2008 09:40:12 +0000]
corelist changes:
- Add a new -d option to find first perl version by date
  and not by version number
- Better handling of perl versions that end with a 0
- use version.pm only for version numbers that have multiple dots

p4raw-id: //depot/perl@33244

16 years agoCope with differing prototypes for ECONNREFUSED etc on Win32 between
Nicholas Clark [Wed, 6 Feb 2008 16:32:56 +0000]
Cope with differing prototypes for ECONNREFUSED etc on Win32 between
5.8.x and 5.10.x

p4raw-id: //depot/perl@33242

16 years agoNew blade
H.Merijn Brand [Wed, 6 Feb 2008 14:11:10 +0000]
New blade

p4raw-id: //depot/perl@33241

16 years agoin unpack, () groups in scalar context were still returning a list,
Nicholas Clark [Wed, 6 Feb 2008 01:00:43 +0000]
in unpack, () groups in scalar context were still returning a list,
resulting in garbage on the stack, which could manifest as a SEGV
(Bug 50256)

p4raw-id: //depot/perl@33239

16 years agoAdapt Safe innards to older (XS) versions of version.pm
Rafael Garcia-Suarez [Tue, 5 Feb 2008 16:51:40 +0000]
Adapt Safe innards to older (XS) versions of version.pm

p4raw-id: //depot/perl@33238

16 years agoAdd a new test for Safe
Rafael Garcia-Suarez [Tue, 5 Feb 2008 14:00:00 +0000]
Add a new test for Safe

p4raw-id: //depot/perl@33237

16 years agoFix CPAN bug #32896: make version.pm loadable in a Safe compartment
Rafael Garcia-Suarez [Tue, 5 Feb 2008 11:06:11 +0000]
Fix CPAN bug #32896: make version.pm loadable in a Safe compartment

p4raw-id: //depot/perl@33236

16 years agoRemoved mention of a book that was never published.
Steve Peters [Mon, 4 Feb 2008 15:24:15 +0000]
Removed mention of a book that was never published.

p4raw-id: //depot/perl@33235

16 years agoRemove duplication from encoding.pm POD
Robert May [Fri, 1 Feb 2008 01:06:07 +0000]
Remove duplication from encoding.pm POD
From: "Robert May" <robertmay@cpan.org>
Message-ID: <54bdc7510801311136p7ee53dbet2afd5239e1ad03eb@mail.gmail.com>

p4raw-id: //depot/perl@33234

16 years ago[patch] B portability macros
Jim Cromie [Fri, 1 Feb 2008 17:43:11 +0000]
[patch] B portability macros
Message-ID: <47A3BC9F.7080200@gmail.com>

p4raw-id: //depot/perl@33233

16 years agoMicro-optimise the order of the context types. [Because I can :-)]
Nicholas Clark [Mon, 4 Feb 2008 13:59:21 +0000]
Micro-optimise the order of the context types. [Because I can :-)]
Here saves 72 bytes in pp_ctl.o. Small, but in the right direction.

p4raw-id: //depot/perl@33232

16 years agosv.c: consting
Steven Schubiger [Sun, 3 Feb 2008 19:53:16 +0000]
sv.c: consting
Message-ID: <20080203185315.GA20276@refcnt.homeunix.org>

p4raw-id: //depot/perl@33231

16 years agofix B::Debug pmnext
Reini Urban [Sat, 2 Feb 2008 16:33:52 +0000]
fix B::Debug pmnext
From: "Reini Urban" <rurban@x-ray.at>
Message-ID: <6910a60802020733u7817a55dm6f5e213625063204@mail.gmail.com>

p4raw-id: //depot/perl@33230

16 years agoFix op/reg_email_thr.t when PERLIO=stdio
Rafael Garcia-Suarez [Mon, 4 Feb 2008 09:36:11 +0000]
Fix op/reg_email_thr.t when PERLIO=stdio

p4raw-id: //depot/perl@33229

16 years agotaint.c: consting
Steven Schubiger [Tue, 29 Jan 2008 13:47:23 +0000]
taint.c: consting
Message-ID: <20080129124723.GA13056@refcnt.homeunix.org>
Date: Tue, 29 Jan 2008 13:47:23 +0100

p4raw-id: //depot/perl@33228

16 years agoRecode all the old variable-like substitutions with the generic line
Nicholas Clark [Sun, 3 Feb 2008 14:41:05 +0000]
Recode all the old variable-like substitutions with the generic line
removal mechanism of change 33223.

p4raw-id: //depot/perl@33226

16 years agoProduce a more generic expectation management system, and use it to
Nicholas Clark [Sun, 3 Feb 2008 13:37:06 +0000]
Produce a more generic expectation management system, and use it to
encode the 5.8.x vs 5.10/5.11 differences.
Provide general purpose TODOs for both the intial tests and Gerard's
"is it unchanged on repeat?" test.

p4raw-id: //depot/perl@33223

16 years agoUpgrade to Math::Complex 1.48 and Math::Trig 1.13
Nicholas Clark [Sun, 3 Feb 2008 13:10:39 +0000]
Upgrade to Math::Complex 1.48 and Math::Trig 1.13

p4raw-id: //depot/perl@33222

16 years ago5.8.x and earler have a SUBPROCESS line in the dump of a PVIO.
Nicholas Clark [Sat, 2 Feb 2008 18:52:15 +0000]
5.8.x and earler have a SUBPROCESS line in the dump of a PVIO.

p4raw-id: //depot/perl@33208

16 years agoChange 27244 wasn't quite correct. XSUB is dumped as 0x0, not 0.
Nicholas Clark [Sat, 2 Feb 2008 18:41:51 +0000]
Change 27244 wasn't quite correct. XSUB is dumped as 0x0, not 0.

p4raw-id: //depot/perl@33206

16 years agoRemove the _ prototype, as Maintainers is used by makemeta, and in turn
Nicholas Clark [Sat, 2 Feb 2008 17:01:43 +0000]
Remove the _ prototype, as Maintainers is used by makemeta, and in turn
that has to be run with the newly built perl. Which can be 5.8.x.

p4raw-id: //depot/perl@33193

16 years agoIn XS_PerlIO_get_layers() take advantage of the implementation of
Nicholas Clark [Sat, 2 Feb 2008 11:05:17 +0000]
In XS_PerlIO_get_layers() take advantage of the implementation of
PerlIO_get_layers(), by co-opting the new SVs it creates, rather than
copying them.

p4raw-id: //depot/perl@33182

16 years agoIn XS_re_regexp_pattern(), use newSVpvn_flags() to avoid calls to
Nicholas Clark [Sat, 2 Feb 2008 00:16:02 +0000]
In XS_re_regexp_pattern(), use newSVpvn_flags() to avoid calls to
sv_2mortal().

p4raw-id: //depot/perl@33181

16 years agoIn pp_split(), eliminate most (all?) of the conditional calls to
Nicholas Clark [Fri, 1 Feb 2008 22:27:38 +0000]
In pp_split(), eliminate most (all?) of the conditional calls to
sv_2mortal() by conditionally passing SVs_TEMP to newSVpvn_flags().

p4raw-id: //depot/perl@33178

16 years agoBreak apart the list of functions defined in universal.c by perl
Nicholas Clark [Fri, 1 Feb 2008 17:52:10 +0000]
Break apart the list of functions defined in universal.c by perl
version (from 5.8.8 upwards)

p4raw-id: //depot/perl@33170

16 years agoThe penultimate deparse test needs a name, else things can warn.
Nicholas Clark [Fri, 1 Feb 2008 10:38:03 +0000]
The penultimate deparse test needs a name, else things can warn.

p4raw-id: //depot/perl@33163

16 years agothreads::shared TODO test for outstanding bug
Jerry D. Hedden [Wed, 30 Jan 2008 09:15:25 +0000]
threads::shared TODO test for outstanding bug
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510801300615t1f9e8c68u5ff8caaeffb1a835@mail.gmail.com>

p4raw-id: //depot/perl@33154

16 years agoTypo fix in change #33058
Daniel Frederick Crisman [Wed, 30 Jan 2008 15:09:22 +0000]
Typo fix in change #33058

Subject: Re: [PATCH t/cmd/for.t] Regression tests for 'for reverse ..'
Message-ID: <20080130200922.GA20450@fury.crisman.org>
p4raw-link: @33058 on //depot/perl: 4b70616db4b88e90e04bbf6a612b803f6a4d8dc1

p4raw-id: //depot/perl@33153

16 years agodon't forbid brace groups with g++ 4.2.2
Robin Barker [Wed, 30 Jan 2008 18:42:25 +0000]
don't forbid brace groups with g++ 4.2.2
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A17@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33152

16 years agofix for regression to File/DosGlob.pm
Alex Davies [Wed, 30 Jan 2008 12:39:11 +0000]
fix for regression to File/DosGlob.pm
From: "Davies, Alex" <adavies@ptc.com>
Message-ID: <A69AA663CE9BBC44AE1DA72483DE15DE07E02181@HQ-MAIL3.ptcnet.ptc.com>

Fixes File::DosGlob's handling of drive relative glob patterns
(e.g. "D:*pl")

p4raw-id: //depot/perl@33144

16 years agoRe: [perl #50322] CGITempFile causes "Insecure dependency in sprintf" in perl 5.10.0
Steffen Mueller [Mon, 28 Jan 2008 05:16:19 +0000]
Re: [perl #50322] CGITempFile causes "Insecure dependency in sprintf" in perl 5.10.0
From: "Steffen Mueller via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-4355-1201526176-323.50322-94-0@perl.org>

Fixes [perl #50322]

p4raw-id: //depot/perl@33143

16 years agoFix compiler warning introduced in DEBUGGING builds by #33103
Steve Hay [Thu, 31 Jan 2008 09:12:36 +0000]
Fix compiler warning introduced in DEBUGGING builds by #33103

p4raw-id: //depot/perl@33142

16 years agoAssorted POD nits from the Debian bug list.
Steve Peters [Wed, 30 Jan 2008 17:11:53 +0000]
Assorted POD nits from the Debian bug list.

p4raw-id: //depot/perl@33129

16 years agoFormatting for C<<{ bydepth => 1 }>> doesn't seem to be working
Steve Peters [Wed, 30 Jan 2008 16:38:27 +0000]
Formatting for C<<{ bydepth => 1 }>> doesn't seem to be working
right in the manpage.

p4raw-id: //depot/perl@33127

16 years agoNeed to substitute out the placeholder '$RV' for earlier perls too.
Nicholas Clark [Wed, 30 Jan 2008 12:16:35 +0000]
Need to substitute out the placeholder '$RV' for earlier perls too.

p4raw-id: //depot/perl@33125

16 years agoBump Safe's version
Rafael Garcia-Suarez [Wed, 30 Jan 2008 11:51:11 +0000]
Bump Safe's version

p4raw-id: //depot/perl@33124

16 years agoNicer fix than #33106 (thanks to Nicholas Clark)
Steve Hay [Tue, 29 Jan 2008 17:39:41 +0000]
Nicer fix than #33106 (thanks to Nicholas Clark)

p4raw-id: //depot/perl@33109

16 years agoFix Win32 compiler warnings introduced by #33081 and #33085
Steve Hay [Tue, 29 Jan 2008 15:06:55 +0000]
Fix Win32 compiler warnings introduced by #33081 and #33085

p4raw-id: //depot/perl@33106

16 years agoDocument why ok() is being used instead of like(), to stop someone
Nicholas Clark [Tue, 29 Jan 2008 10:59:14 +0000]
Document why ok() is being used instead of like(), to stop someone
undoing it.

p4raw-id: //depot/perl@33105

16 years agoMore wording nits about perl's time() versus the libc's time()
Rafael Garcia-Suarez [Tue, 29 Jan 2008 10:57:40 +0000]
More wording nits about perl's time() versus the libc's time()

p4raw-id: //depot/perl@33104

16 years agotoke.c/universal.c: consting
Steven Schubiger [Mon, 28 Jan 2008 13:57:41 +0000]
toke.c/universal.c: consting
Message-ID: <20080128125741.GA27390@refcnt.homeunix.org>

p4raw-id: //depot/perl@33103

16 years agoMake this test pass with the Test::More that comes with perl 5.6.2
Rafael Garcia-Suarez [Tue, 29 Jan 2008 09:55:01 +0000]
Make this test pass with the Test::More that comes with perl 5.6.2

p4raw-id: //depot/perl@33102

16 years agomistaken variable in pod
Yitzchak Scott-Thoennes [Mon, 28 Jan 2008 13:39:29 +0000]
mistaken variable in pod
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <40783.64.81.167.122.1201556369.squirrel@webmail.efn.org>

p4raw-id: //depot/perl@33101

16 years agoUpgrade to Tie-RefHash-1.38
Steve Peters [Mon, 28 Jan 2008 20:07:20 +0000]
Upgrade to Tie-RefHash-1.38

p4raw-id: //depot/perl@33099

16 years agoUpgrade to Archive-Extract-0.26
Steve Peters [Mon, 28 Jan 2008 20:04:40 +0000]
Upgrade to Archive-Extract-0.26

p4raw-id: //depot/perl@33098

16 years agoUpgrade to SelfLoader-1.15
Steve Peters [Mon, 28 Jan 2008 19:53:55 +0000]
Upgrade to SelfLoader-1.15

p4raw-id: //depot/perl@33097

16 years agoBump the version of Safe
Rafael Garcia-Suarez [Mon, 28 Jan 2008 17:18:53 +0000]
Bump the version of Safe

p4raw-id: //depot/perl@33096

16 years agoMinor rewording of the localtime() documentation,
Abe Timmerman [Thu, 17 Jan 2008 18:05:07 +0000]
Minor rewording of the localtime() documentation,
based on :

Subject: [perl #49914] gmtime()/localtime() do not use time()
From: Abe Timmerman (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-18434-1200621906-376.49914-75-0@perl.org>

p4raw-id: //depot/perl@33095

16 years agoFix uc/lc warnings in CGI.pm
Jerry D. Hedden [Mon, 28 Jan 2008 10:19:26 +0000]
Fix uc/lc warnings in CGI.pm
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510801280719w4d56807esd8318bc6d0eadcdd@mail.gmail.com>

p4raw-id: //depot/perl@33094

16 years agoIn Safe, load Carp::Heavy only if it exists (to remain
Rafael Garcia-Suarez [Mon, 28 Jan 2008 15:28:02 +0000]
In Safe, load Carp::Heavy only if it exists (to remain
compatible with older perls)

p4raw-id: //depot/perl@33093

16 years agoWarning cleanup, and avoid a double call to uc
Rafael Garcia-Suarez [Mon, 28 Jan 2008 14:06:59 +0000]
Warning cleanup, and avoid a double call to uc

p4raw-id: //depot/perl@33092

16 years agoUpgrade to Test::Harnes 3.07
Rafael Garcia-Suarez [Mon, 28 Jan 2008 13:58:55 +0000]
Upgrade to Test::Harnes 3.07

p4raw-id: //depot/perl@33091

16 years agoTAP::* modules are part of the Test::Harness distribution
Rafael Garcia-Suarez [Mon, 28 Jan 2008 13:41:27 +0000]
TAP::* modules are part of the Test::Harness distribution

p4raw-id: //depot/perl@33090

16 years agoalso report forced tokens when using -DT
Gerard Goossen [Thu, 17 Jan 2008 18:36:52 +0000]
also report forced tokens when using -DT
Message-ID: <20080117173652.GB4969@ostwald>

p4raw-id: //depot/perl@33089

16 years agoMake lc/uc/lcfirst/ucfirst warn when passed undef.
Rafael Garcia-Suarez [Mon, 28 Jan 2008 13:10:48 +0000]
Make lc/uc/lcfirst/ucfirst warn when passed undef.
Naive implementation.

p4raw-id: //depot/perl@33088

16 years agoTest that lc, uc, etc on undef return ""
Rafael Garcia-Suarez [Mon, 28 Jan 2008 10:46:43 +0000]
Test that lc, uc, etc on undef return ""

p4raw-id: //depot/perl@33087

16 years agoThe third argument of PUSHEVAL was never used by anything. Ever.
Nicholas Clark [Mon, 28 Jan 2008 10:23:21 +0000]
The third argument of PUSHEVAL was never used by anything. Ever.

p4raw-id: //depot/perl@33086

16 years agoFW: [PATCH] RE: [PATCH] volatile, avoid clobbered
Robin Barker [Wed, 23 Jan 2008 18:51:24 +0000]
FW: [PATCH] RE: [PATCH] volatile, avoid clobbered
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A06@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33085

16 years agoext/IPC/SysV/SysV.xs [Re: [Fwd: Smoke [5.11.0] 33016 FAIL(XM)
Jarkko Hietaniemi [Sun, 27 Jan 2008 20:44:46 +0000]
ext/IPC/SysV/SysV.xs [Re: [Fwd: Smoke [5.11.0] 33016 FAIL(XM)
Message-ID: <479D338E.9000402@iki.fi>

p4raw-id: //depot/perl@33084

16 years agoutil.c: some consting
Steven Schubiger [Fri, 25 Jan 2008 01:10:52 +0000]
util.c: some consting
Message-ID: <20080125001052.GA29980@refcnt.homeunix.org>

p4raw-id: //depot/perl@33083

16 years agofix misleading comment in op.h
Dave Mitchell [Sun, 27 Jan 2008 21:26:17 +0000]
fix misleading comment in op.h

p4raw-id: //depot/perl@33082

16 years agoThe layout for struct block_loop under ithreads can be simplified.
Nicholas Clark [Sat, 26 Jan 2008 21:55:51 +0000]
The layout for struct block_loop under ithreads can be simplified.
Instead of wedging the pad offset into a void* iterdata, and always
storing PL_comppad even when it isn't used, instead do this:

PAD        *oldcomppad; /* Also used for the GV, if targoffset is 0 */
/* This is also accesible via cx->blk_loop.my_op->op_targ */
PADOFFSET  targoffset;

and store the GV pointer in oldcompad. Pointers to pointers seems
cleaner. This also allows us to eliminate the flag bit CXp_PADVAR.

p4raw-id: //depot/perl@33081

16 years agoInvestigation reveals that the work of restoring the iterator to the
Nicholas Clark [Sat, 26 Jan 2008 17:54:29 +0000]
Investigation reveals that the work of restoring the iterator to the
pad is shared between POPLOOP, using itersave, and the end of scope
restore action requested by Perl_save_padsv(). In fact, the only user
of SAVEt_PADSV is pp_enteriter, and it already provides enough
information to allow it to perform the sv_2mortal() in POPLOOP.
So make it do so. Rather than creating a new routine, use the existing
routine because nothing else (at least nothing else known to Google's
codesearch) uses it. But rename it just in case something we can't see
is being naughty and using our private functions - they will get
link errors against 5.12.

All this means that itersave is now redundant. So remove it.
This makes struct context 48 bytes on ILP32 platforms with 32bit IVs,
down from 64 bytes in 5.10. 33% more context stack in the same memory.

p4raw-id: //depot/perl@33080

16 years agoChange 33072 missed embed.h. I wasn't aware that it was affected by
Nicholas Clark [Sat, 26 Jan 2008 17:31:34 +0000]
Change 33072 missed embed.h. I wasn't aware that it was affected by
opcode.pl. You live and learn (and should run p4 diff -se ...).

p4raw-id: //depot/perl@33079

16 years agoPOPLOOP is actually doing all the work of Perl_save_padsv() already!
Nicholas Clark [Sat, 26 Jan 2008 16:46:22 +0000]
POPLOOP is actually doing all the work of Perl_save_padsv() already!

p4raw-id: //depot/perl@33078

16 years agoStandardise the conditional compilation protection of ({}) from
Nicholas Clark [Sat, 26 Jan 2008 16:44:43 +0000]
Standardise the conditional compilation protection of ({}) from
#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(PERL_GCC_PEDANTIC)
to
#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
because the ({}) construction can be used under __STRICT_ANSI__
(and should be, because it avoids temporary use of PL_Sv).

p4raw-id: //depot/perl@33077

16 years agoAs itersave points to the initial CxITERVAR(), and the state of
Nicholas Clark [Sat, 26 Jan 2008 16:03:03 +0000]
As itersave points to the initial CxITERVAR(), and the state of
SvPADMY() does not change over the duration of the scope, we can
perform conditional actions at loop push time. For the non-pad case,
a reference to the initial CxITERVAR() is already held on the scope
stack thanks to SAVEGENERICSV(*svp); in pp_enteriter. So there is no
need to save another reference to it in itersave - it's not going away.

p4raw-id: //depot/perl@33076

16 years agoRestore the else block accidently eaten by change 33074.
Nicholas Clark [Sat, 26 Jan 2008 15:17:09 +0000]
Restore the else block accidently eaten by change 33074.

p4raw-id: //depot/perl@33075

16 years agoIn POPLOOP, if CxITERVAR(cx) is non-NULL, then so is itersave, and
Nicholas Clark [Sat, 26 Jan 2008 15:14:25 +0000]
In POPLOOP, if CxITERVAR(cx) is non-NULL, then so is itersave, and
itersave is a less complex expression for the C compiler.

p4raw-id: //depot/perl@33074

16 years agoSome code can be removed following change 33070.
Nicholas Clark [Sat, 26 Jan 2008 13:49:44 +0000]
Some code can be removed following change 33070.

p4raw-id: //depot/perl@33073

16 years agoEliminate the OP_SETSTATE, which had been disabled by change 4309.
Nicholas Clark [Sat, 26 Jan 2008 10:46:12 +0000]
Eliminate the OP_SETSTATE, which had been disabled by change 4309.

p4raw-id: //depot/perl@33072

16 years agoChange 33069 missed updating dump.c to dump PVIOs correctly.
Nicholas Clark [Sat, 26 Jan 2008 10:24:40 +0000]
Change 33069 missed updating dump.c to dump PVIOs correctly.

p4raw-id: //depot/perl@33071

16 years agoRe: struct context now 12.5% smaller than 5.10
Benjamin Smith [Thu, 24 Jan 2008 21:55:37 +0000]
Re: struct context now 12.5% smaller than 5.10
Message-ID: <20080124215537.GB10198@vtrl.co.uk>
Date: Thu, 24 Jan 2008 21:55:37 +0000

p4raw-id: //depot/perl@33070

16 years agoPVIOs don't need space for SvNVX allocated.
Nicholas Clark [Fri, 25 Jan 2008 22:29:14 +0000]
PVIOs don't need space for SvNVX allocated.

p4raw-id: //depot/perl@33069

16 years agoUsing PL_sv_no in place of any !SvOK() maximum removes a little bit of
Nicholas Clark [Fri, 25 Jan 2008 10:06:08 +0000]
Using PL_sv_no in place of any !SvOK() maximum removes a little bit of
hot code in pp_iter.

p4raw-id: //depot/perl@33068

16 years agoSilence "possible data loss" warning.
Nicholas Clark [Fri, 25 Jan 2008 08:23:32 +0000]
Silence "possible data loss" warning.

p4raw-id: //depot/perl@33067

16 years agosocketpair() *is* available on Win32
Jan Dubois [Thu, 24 Jan 2008 14:17:23 +0000]
socketpair() *is* available on Win32
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <032201c85ed6$e56edf40$b04c9dc0$@com>

p4raw-id: //depot/perl@33066

16 years agoDon't warn about imprecision when decrementing IV_MIN.
Nicholas Clark [Thu, 24 Jan 2008 21:11:11 +0000]
Don't warn about imprecision when decrementing IV_MIN.
Based on a patch by Jerry D. Hedden, but only instead only disable
warnings for the specific operations that we know will warn.

p4raw-id: //depot/perl@33065

16 years ago... and the rest; was RE: unnecessary define
Robin Barker [Thu, 24 Jan 2008 13:28:33 +0000]
... and the rest; was RE: unnecessary define
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A08@exchsvr2.npl.ad.local>
Date: Thu, 24 Jan 2008 13:28:33 -0000

p4raw-id: //depot/perl@33064

16 years agoIn struct block_loop, merge itermax and iterlval into a union
Nicholas Clark [Thu, 24 Jan 2008 13:57:20 +0000]
In struct block_loop, merge itermax and iterlval into a union
lval_max_u, as CXt_LOOP_LAZYIV doesn't use iterlval and the other
LOOP types don't use itermax. This reduces struct block_loop by 1 IV.
As it's the largest component of the unions making up struct context,
this reduces struct context. On ILP32 it will now be 56 bytes, down
from the 64 of 5.10.x, as I've already removed the element 'label'.

p4raw-id: //depot/perl@33063

16 years agoMerge CXt_LOOP_STACK's use of itermax for the reverse minimum with
Nicholas Clark [Thu, 24 Jan 2008 13:25:05 +0000]
Merge CXt_LOOP_STACK's use of itermax for the reverse minimum with
iterary, as the two structure members are not used simultaneously.

p4raw-id: //depot/perl@33062

16 years agoChange the context type of for ($a .. $b) to CXt_LOOP_LAZYIV, and
Nicholas Clark [Thu, 24 Jan 2008 12:50:32 +0000]
Change the context type of for ($a .. $b) to CXt_LOOP_LAZYIV, and
assert that it isn't using  cx->blk_loop.iterlval.
Fix a casting bug when assigning a sentinal to cx->blk_loop.iterary.

p4raw-id: //depot/perl@33061

16 years agoAvoid using cx->blk_loop.itermax when reverse iterating an array.
Nicholas Clark [Thu, 24 Jan 2008 12:15:43 +0000]
Avoid using cx->blk_loop.itermax when reverse iterating an array.

p4raw-id: //depot/perl@33060