This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoOne part of pp_pack couldn't correctly handle surprises from UTF-8
Nicholas Clark [Sun, 30 Apr 2006 20:41:29 +0000 (20:41 +0000)]
One part of pp_pack couldn't correctly handle surprises from UTF-8
overloading.

p4raw-id: //depot/perl@28030

15 years agodo_vop() couldn't correctly handle surprises from UTF-8 overloading.
Nicholas Clark [Sun, 30 Apr 2006 19:07:43 +0000 (19:07 +0000)]
do_vop() couldn't correctly handle surprises from UTF-8 overloading.

p4raw-id: //depot/perl@28029

15 years agoWe had no tests that covered the grow paths in pp_uc and pp_lc.
Nicholas Clark [Sun, 30 Apr 2006 17:58:53 +0000 (17:58 +0000)]
We had no tests that covered the grow paths in pp_uc and pp_lc.

p4raw-id: //depot/perl@28028

15 years agoDave noticed that change 28022 was wrong - should read is_index
Nicholas Clark [Sun, 30 Apr 2006 17:23:44 +0000 (17:23 +0000)]
Dave noticed that change 28022 was wrong - should read is_index
rather than just index.

p4raw-id: //depot/perl@28027

15 years agofix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86...
Abe Timmerman [Sun, 30 Apr 2006 15:15:24 +0000 (17:15 +0200)]
fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
Message-Id: <200604301515.24580.abe@ztreet.demon.nl>

p4raw-id: //depot/perl@28026

15 years agoI was mistaken. Borland and gcc do have snprintf() and vsnprintf()
Steve Peters [Sun, 30 Apr 2006 14:27:08 +0000 (14:27 +0000)]
I was mistaken.  Borland and gcc do have snprintf() and vsnprintf()
on Win32.

p4raw-id: //depot/perl@28025

15 years agoOK, Win32 must no have snprintf()/vsnprintf
Steve Peters [Sun, 30 Apr 2006 13:14:25 +0000 (13:14 +0000)]
OK, Win32 must no have snprintf()/vsnprintf

p4raw-id: //depot/perl@28024

15 years agoremove a compiler warning by making HOPBACKc only hop *back*
Dave Mitchell [Sun, 30 Apr 2006 12:32:09 +0000 (12:32 +0000)]
remove a compiler warning by making HOPBACKc only hop *back*

p4raw-id: //depot/perl@28023

15 years agoindex and rindex couldn't correctly handle surprises from UTF-8
Nicholas Clark [Sun, 30 Apr 2006 11:14:04 +0000 (11:14 +0000)]
index and rindex couldn't correctly handle surprises from UTF-8
overloading.

p4raw-id: //depot/perl@28022

15 years agoDocument SvGAMAGIC(), and its significance w.r.t. the side effects of
Nicholas Clark [Sun, 30 Apr 2006 10:58:11 +0000 (10:58 +0000)]
Document SvGAMAGIC(), and its significance w.r.t. the side effects of
inadvertently calling magic and overloading too often.

p4raw-id: //depot/perl@28021

15 years agoCoverity disliked us passing a negative length to vsnprintf().
Nicholas Clark [Sat, 29 Apr 2006 23:35:52 +0000 (23:35 +0000)]
Coverity disliked us passing a negative length to vsnprintf().

p4raw-id: //depot/perl@28020

15 years agosyswrite couldn't correctly handle surprises from UTF-8 overloading.
Nicholas Clark [Sat, 29 Apr 2006 23:33:36 +0000 (23:33 +0000)]
syswrite couldn't correctly handle surprises from UTF-8 overloading.
As part of fixing this, syswrite now tries to take advantage of the
UTF-8 cache logic for lengths and offsets on regular scalars.

p4raw-id: //depot/perl@28019

15 years agoMore tests for syswrite with UTF-8 data.
Nicholas Clark [Sat, 29 Apr 2006 23:32:06 +0000 (23:32 +0000)]
More tests for syswrite with UTF-8 data.

p4raw-id: //depot/perl@28018

15 years agoIt should never be possible for SvGMAGICAL() to be true on SVt_IV.
Nicholas Clark [Sat, 29 Apr 2006 21:54:38 +0000 (21:54 +0000)]
It should never be possible for SvGMAGICAL() to be true on SVt_IV.

p4raw-id: //depot/perl@28017

15 years agoprint couldn't correctly handle surprises from UTF-8 overloading.
Nicholas Clark [Sat, 29 Apr 2006 17:38:08 +0000 (17:38 +0000)]
print couldn't correctly handle surprises from UTF-8 overloading.

p4raw-id: //depot/perl@28016

15 years agoAdd a cross reference to bytes_from_utf8() in the documentation for
Nicholas Clark [Sat, 29 Apr 2006 17:31:27 +0000 (17:31 +0000)]
Add a cross reference to bytes_from_utf8() in the documentation for
utf8_to_bytes(). Regenerate perlapi.pod.

p4raw-id: //depot/perl@28015

15 years agoThere were more ways to break uc/lc/ucfirst/lcfirst even without
Nicholas Clark [Sat, 29 Apr 2006 16:07:31 +0000 (16:07 +0000)]
There were more ways to break uc/lc/ucfirst/lcfirst even without
use 'locale'; so test for them too. Correct the skip count.

p4raw-id: //depot/perl@28014

15 years agolcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
Nicholas Clark [Sat, 29 Apr 2006 15:55:51 +0000 (15:55 +0000)]
lcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
returned by overloaded stringification.

p4raw-id: //depot/perl@28013

15 years agouc plus an 8 bit locale could get confused by UTF-8 values returned by
Nicholas Clark [Sat, 29 Apr 2006 14:05:55 +0000 (14:05 +0000)]
uc plus an 8 bit locale could get confused by UTF-8 values returned by
overloaded stringification.

p4raw-id: //depot/perl@28012

15 years agolc plus an 8 bit locale could mangle UTF-8 values returned by
Nicholas Clark [Sat, 29 Apr 2006 13:43:26 +0000 (13:43 +0000)]
lc plus an 8 bit locale could mangle UTF-8 values returned by
overloaded stringification.

p4raw-id: //depot/perl@28011

15 years agomore -ansi -pedantic cleanliness
Jarkko Hietaniemi [Sat, 29 Apr 2006 11:13:24 +0000 (14:13 +0300)]
more -ansi -pedantic cleanliness
Message-ID: <44532024.9070303@gmail.com>

p4raw-id: //depot/perl@28010

15 years agoRe: [ANNOUNCE] Module::Build 0.28 -> CPAN
Randy W. Sims [Fri, 28 Apr 2006 15:31:55 +0000 (11:31 -0400)]
Re: [ANNOUNCE] Module::Build 0.28 -> CPAN
From: "Randy W. Sims" <ml-perl@thepierianspring.org>
Message-ID: <44526DAB.8070408@thepierianspring.org>

p4raw-id: //depot/perl@28009

15 years agoreduce gcc -ansi -pedantic noise plus a suggestion
Jarkko Hietaniemi [Fri, 28 Apr 2006 22:58:58 +0000 (01:58 +0300)]
reduce gcc -ansi -pedantic noise plus a suggestion
Message-ID: <44527402.8000506@gmail.com>

p4raw-id: //depot/perl@28008

15 years agotwo [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
Jarkko Hietaniemi [Fri, 28 Apr 2006 21:04:59 +0000 (00:04 +0300)]
two [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
Message-ID: <4452594B.4040609@gmail.com>

p4raw-id: //depot/perl@28007

15 years agoFix bug 34297 (length of overloaded UTF-8 strings)
Nicholas Clark [Fri, 28 Apr 2006 16:34:14 +0000 (16:34 +0000)]
Fix bug 34297 (length of overloaded UTF-8 strings)

p4raw-id: //depot/perl@28006

15 years agoTypo in MANIFEST from change #27997. Mustn't touch Perl before coffee.
Steve Peters [Fri, 28 Apr 2006 16:15:25 +0000 (16:15 +0000)]
Typo in MANIFEST from change #27997.  Mustn't touch Perl before coffee.
p4raw-link: @27997 on //depot/perl: dc8021d3927849eb56a64fd135702ae6516a52e2

p4raw-id: //depot/perl@28005

15 years agoAdded Changes file left out from change #28001.
Steve Peters [Fri, 28 Apr 2006 15:35:37 +0000 (15:35 +0000)]
Added Changes file left out from change #28001.
p4raw-link: @28001 on //depot/perl: ff235dd6d6f5e19e11c9202d4a82fb8e5fbadadd

p4raw-id: //depot/perl@28004

15 years agoMerge WinCE and Win32 directories -- Initial patch
Yves Orton [Thu, 27 Apr 2006 23:30:00 +0000 (23:30 +0000)]
Merge WinCE and Win32 directories -- Initial patch
Message-ID: <9b18b3110604271430k4de84685jec6535ded195ed94@mail.gmail.com>

p4raw-id: //depot/perl@28003

15 years agoUpgrade to Pathtools-3.18
Steve Peters [Fri, 28 Apr 2006 13:34:39 +0000 (13:34 +0000)]
Upgrade to Pathtools-3.18

p4raw-id: //depot/perl@28001

15 years agot/op/defins.pl using test.pl
David Landgren [Fri, 28 Apr 2006 14:27:39 +0000 (16:27 +0200)]
t/op/defins.pl using test.pl
Message-ID: <44520A3B.1080707@landgren.net>

p4raw-id: //depot/perl@28000

15 years agot/op/delete.t using test.pl
David Landgren [Fri, 28 Apr 2006 15:03:39 +0000 (17:03 +0200)]
t/op/delete.t using test.pl
Message-ID: <445212AB.4080404@landgren.net>

p4raw-id: //depot/perl@27999

15 years agot/op/auto.pl using test.pl
David Landgren [Fri, 28 Apr 2006 13:56:30 +0000 (15:56 +0200)]
t/op/auto.pl using test.pl
Message-ID: <445202EE.6000604@landgren.net>

p4raw-id: //depot/perl@27998

15 years agoUpgrade to Module-Build-0.28
Steve Peters [Fri, 28 Apr 2006 13:29:41 +0000 (13:29 +0000)]
Upgrade to Module-Build-0.28

p4raw-id: //depot/perl@27997

15 years agoAnton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
Nicholas Clark [Fri, 28 Apr 2006 12:48:27 +0000 (12:48 +0000)]
Anton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
should just be using -pthread on the linker line.
This stops the new taint tests looping infinitely. It also seems to
cure the TODO test in posix.t - masked SIGINT is now received.

p4raw-id: //depot/perl@27995

15 years agothreads - miscellaneous
Jerry D. Hedden [Wed, 26 Apr 2006 11:24:05 +0000 (04:24 -0700)]
threads - miscellaneous
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060426112405.fb30e530d17747c2b054d625b8945d88.4331e666e7.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27994

15 years agot/op/sort.t using test.pl
David Landgren [Thu, 27 Apr 2006 18:25:56 +0000 (20:25 +0200)]
t/op/sort.t using test.pl
Message-ID: <4450F094.2010907@landgren.net>

p4raw-id: //depot/perl@27993

15 years agoRemoving another context parm
Andy Lester [Thu, 27 Apr 2006 10:31:56 +0000 (05:31 -0500)]
Removing another context parm
Message-ID: <20060427153156.GA11445@petdance.com>

p4raw-id: //depot/perl@27992

15 years agot/op/loopctl.t using test.pl
David Landgren [Thu, 27 Apr 2006 19:13:28 +0000 (21:13 +0200)]
t/op/loopctl.t using test.pl
Message-ID: <4450FBB8.8070203@landgren.net>

p4raw-id: //depot/perl@27991

15 years agodVAR (-DPERL_GLOBAL_STRUCT_PRIVATE) update
Jarkko Hietaniemi [Thu, 27 Apr 2006 21:18:30 +0000 (00:18 +0300)]
dVAR (-DPERL_GLOBAL_STRUCT_PRIVATE) update
Message-ID: <44510AF6.6040603@gmail.com>

p4raw-id: //depot/perl@27990

15 years agoTypo fix in perlretut by Simon Taylor
Rafael Garcia-Suarez [Fri, 28 Apr 2006 08:41:25 +0000 (08:41 +0000)]
Typo fix in perlretut by Simon Taylor

p4raw-id: //depot/perl@27989

15 years agoFix typo in function call
Rafael Garcia-Suarez [Fri, 28 Apr 2006 07:58:16 +0000 (07:58 +0000)]
Fix typo in function call

p4raw-id: //depot/perl@27988

15 years agoRe: [PATCH] use snprintf/strlcpy/strlcat when useful
Jarkko Hietaniemi [Tue, 25 Apr 2006 18:23:39 +0000 (21:23 +0300)]
Re: [PATCH] use snprintf/strlcpy/strlcat when useful
Message-ID: <444E3EFB.8020503@gmail.com>

p4raw-id: //depot/perl@27987

15 years ago[perl #39012] another REIFY bug
Dave Mitchell [Thu, 27 Apr 2006 23:15:02 +0000 (23:15 +0000)]
[perl #39012] another REIFY bug

p4raw-id: //depot/perl@27986

15 years agoUpgrade to ExtUtils-Install-1.39
Steve Peters [Thu, 27 Apr 2006 18:06:12 +0000 (18:06 +0000)]
Upgrade to ExtUtils-Install-1.39

p4raw-id: //depot/perl@27983

15 years agoUpgrade to Encode-2.15
Steve Peters [Thu, 27 Apr 2006 17:53:11 +0000 (17:53 +0000)]
Upgrade to Encode-2.15

p4raw-id: //depot/perl@27982

15 years agoRemoving unused context
Andy Lester [Thu, 27 Apr 2006 00:32:15 +0000 (19:32 -0500)]
Removing unused context
Message-ID: <20060427053215.GA31445@petdance.com>

p4raw-id: //depot/perl@27976

15 years agoChange type of temporary padoff_du used in dUNDERBAR
Marcus Holland-Moritz [Wed, 26 Apr 2006 19:18:09 +0000 (19:18 +0000)]
Change type of temporary padoff_du used in dUNDERBAR
from I32 to PADOFFSET, which is more correct (and fixes
a warning in Devel::PPPort).

p4raw-id: //depot/perl@27968

15 years agoRe: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Marcus Holland-Moritz [Mon, 24 Apr 2006 23:20:38 +0000 (01:20 +0200)]
Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060424232038.7550f9b6@r2d2>

p4raw-id: //depot/perl@27962

15 years agothreads - consolidate XS functions
Jerry D. Hedden [Tue, 25 Apr 2006 07:50:05 +0000 (00:50 -0700)]
threads - consolidate XS functions
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060425075005.fb30e530d17747c2b054d625b8945d88.e23f2fed42.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27961

15 years agoMake Module-Build aware of new Test-Harness output
Steve Hay [Tue, 25 Apr 2006 16:23:38 +0000 (16:23 +0000)]
Make Module-Build aware of new Test-Harness output

See also:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00755.html

p4raw-id: //depot/perl@27960

15 years agoCoverity has started to notice another inconsistency in our NULL
Nicholas Clark [Tue, 25 Apr 2006 12:51:40 +0000 (12:51 +0000)]
Coverity has started to notice another inconsistency in our NULL
pointer checking.

p4raw-id: //depot/perl@27959

15 years agouse NOOP macro
Andy Lester [Mon, 24 Apr 2006 13:44:51 +0000 (08:44 -0500)]
use NOOP macro
Message-ID: <20060424184451.GA1479@petdance.com>

p4raw-id: //depot/perl@27958

15 years agoContinuing threads sync
Jerry D. Hedden [Mon, 24 Apr 2006 13:00:23 +0000 (06:00 -0700)]
Continuing threads sync
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060424130023.fb30e530d17747c2b054d625b8945d88.969ed54130.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27957

15 years agoPerl_unpack_str() is a mathom!
Nicholas Clark [Mon, 24 Apr 2006 16:38:09 +0000 (16:38 +0000)]
Perl_unpack_str() is a mathom!

p4raw-id: //depot/perl@27956

15 years agoReally bump the version of File::Find.
Steve Peters [Mon, 24 Apr 2006 16:31:24 +0000 (16:31 +0000)]
Really bump the version of File::Find.

p4raw-id: //depot/perl@27955

15 years agoReverting change #27953, as it appears that File::Find has
Steve Peters [Mon, 24 Apr 2006 16:29:59 +0000 (16:29 +0000)]
Reverting change #27953, as it appears that File::Find has
localized the C<$_> usable by the wanted function since
version 1.04 (change #18501, to be exact).  Update the
docs to express this change.  Finally, bump the version.
p4raw-link: @27953 on //depot/perl: 668a78bfe3bf9a6d16f5b059341fb64b1e120158
p4raw-link: @18501 on //depot/perl: 17ab9c147afa44f9f620bca432b3948e42711043

p4raw-id: //depot/perl@27954

15 years agoRe: [perl #38965] File::Find documentation - is "Don't modify thesevariables" still...
David Landgren [Mon, 24 Apr 2006 13:02:02 +0000 (15:02 +0200)]
Re: [perl #38965] File::Find documentation - is "Don't modify thesevariables" still valid?
Message-ID: <444CB02A.2000604@landgren.net>

p4raw-id: //depot/perl@27953

15 years agoRe: recursion now removed from the regex engine
Yves Orton [Sun, 23 Apr 2006 21:10:34 +0000 (23:10 +0200)]
Re: recursion now removed from the regex engine
Message-ID: <9b18b3110604231210w5deff59el3a1a79c98f34e0fd@mail.gmail.com>
Date: Sun, 23 Apr 2006 21:10:34 +0200

p4raw-id: //depot/perl@27952

15 years ago[perl #38709] Opening '|-' triggers unjustified taint check
Martin Hasch [Fri, 10 Mar 2006 20:10:49 +0000 (12:10 -0800)]
[perl #38709] Opening '|-' triggers unjustified taint check
From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38709-130993.2.89182805885773@perl.org>

p4raw-id: //depot/perl@27951

15 years agoAdd regression test for bug #38475
Rafael Garcia-Suarez [Mon, 24 Apr 2006 11:59:25 +0000 (11:59 +0000)]
Add regression test for bug #38475

p4raw-id: //depot/perl@27950

15 years agoChange 27947 forgot to remove one now-unneeded cast.
Nicholas Clark [Mon, 24 Apr 2006 10:52:09 +0000 (10:52 +0000)]
Change 27947 forgot to remove one now-unneeded cast.

p4raw-id: //depot/perl@27949

15 years ago[perl #38475] attribute multiline fix (in tokenizer)
Bas van Sisseren [Thu, 9 Feb 2006 06:33:51 +0000 (22:33 -0800)]
[perl #38475] attribute multiline fix (in tokenizer)
From: bas@quarantainenet.nl (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38475-129844.11.5904582303176@perl.org>

p4raw-id: //depot/perl@27948

15 years agoFollowing change 27942 it's clear that the return type of
Nicholas Clark [Mon, 24 Apr 2006 09:40:58 +0000 (09:40 +0000)]
Following change 27942 it's clear that the return type of
glob_2inpuv_number() should change. Rename it and glob_2inpuv() to
reflect what they do.

p4raw-id: //depot/perl@27947

15 years agoCleanup some gcc warnings
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000 (06:47 +0200)]
Cleanup some gcc warnings
Third and fourth patches from:
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060423044704.6a383ee8@r2d2>

p4raw-id: //depot/perl@27946

15 years agoA couple of casts to PADOFFSET.
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000 (06:47 +0200)]
A couple of casts to PADOFFSET.
2nd patch from :
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060423044704.6a383ee8@r2d2>

p4raw-id: //depot/perl@27945

15 years agoEnsure GvNAME doesn't return NULL
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000 (06:47 +0200)]
Ensure GvNAME doesn't return NULL
First patch from :
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060423044704.6a383ee8@r2d2>

p4raw-id: //depot/perl@27944

15 years agodoop.c consting, take 2
Andy Lester [Sun, 23 Apr 2006 20:45:09 +0000 (15:45 -0500)]
doop.c consting, take 2
Message-ID: <20060424014509.GA29642@petdance.com>

p4raw-id: //depot/perl@27943

15 years agoRefactor S_glob_2inpuv
Andy Lester [Sun, 23 Apr 2006 21:12:39 +0000 (16:12 -0500)]
Refactor S_glob_2inpuv
Message-ID: <20060424021239.GA5449@petdance.com>

p4raw-id: //depot/perl@27942

15 years agoInlining static funcs in perl.c
Andy Lester [Sun, 23 Apr 2006 21:50:27 +0000 (16:50 -0500)]
Inlining static funcs in perl.c
Message-ID: <20060424025027.GA25998@petdance.com>

p4raw-id: //depot/perl@27941

15 years agoAssimilate Test::Harness 2.57_06
Nicholas Clark [Sun, 23 Apr 2006 20:48:25 +0000 (20:48 +0000)]
Assimilate Test::Harness 2.57_06

p4raw-id: //depot/perl@27940

15 years agoUpdate to AUTHORS file
Joshua Rodd [Sat, 22 Apr 2006 14:39:11 +0000 (10:39 -0400)]
Update to AUTHORS file
Message-ID: <20060422183911.GA19435@rodd.us>

p4raw-id: //depot/perl@27939

15 years ago"Don't Repeat Yourself" on the "We *really* need to overwrite these
Nicholas Clark [Sat, 22 Apr 2006 09:31:16 +0000 (09:31 +0000)]
"Don't Repeat Yourself" on the "We *really* need to overwrite these
symbols" section.
Minor tweaks to make it possible to use the code unchanged with 5.8.x

p4raw-id: //depot/perl@27938

15 years agoRemove the enable_debugging member from the structure, and instead
Nicholas Clark [Fri, 21 Apr 2006 23:08:59 +0000 (23:08 +0000)]
Remove the enable_debugging member from the structure, and instead
decree that state & 1 indicates debugging. This is simpler.

p4raw-id: //depot/perl@27937

15 years agoUse a struct to hold the regexp engine state information, to make
Nicholas Clark [Fri, 21 Apr 2006 21:40:49 +0000 (21:40 +0000)]
Use a struct to hold the regexp engine state information, to make
swapping possible between more two alternatives.

p4raw-id: //depot/perl@27936

15 years agoMerge the install and uninstall routines.
Nicholas Clark [Fri, 21 Apr 2006 21:01:42 +0000 (21:01 +0000)]
Merge the install and uninstall routines.

p4raw-id: //depot/perl@27935

15 years agoRefactor re.pm slightly. This has no change to documented behaviour,
Nicholas Clark [Fri, 21 Apr 2006 20:38:15 +0000 (20:38 +0000)]
Refactor re.pm slightly. This has no change to documented behaviour,
but anyone mad enought to set ${^RE_DEBUG_FLAGS} and then do
no re 'Debug'; will now find that it will load the debuging version of
the regexp engine.

p4raw-id: //depot/perl@27934

15 years agoRework threads destruct call
Jerry D. Hedden [Thu, 20 Apr 2006 13:53:20 +0000 (06:53 -0700)]
Rework threads destruct call
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060420135320.fb30e530d17747c2b054d625b8945d88.ef565d84db.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27933

15 years agoRe: [perl #38904] Text::ParseWords doesn't always handle backslashes correctly
Alexey Toptygin [Thu, 20 Apr 2006 15:42:20 +0000 (15:42 +0000)]
Re: [perl #38904] Text::ParseWords doesn't always handle backslashes correctly
Message-ID: <Pine.NEB.4.62.0604201539380.20332@otaku.freeshell.org>

p4raw-id: //depot/perl@27932

15 years agoWhy hide functions (and duplicate them) when you can just avoid
Nicholas Clark [Fri, 21 Apr 2006 12:46:43 +0000 (12:46 +0000)]
Why hide functions (and duplicate them) when you can just avoid
compiling them in the first place?

p4raw-id: //depot/perl@27931

15 years agoGiven that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING
Nicholas Clark [Fri, 21 Apr 2006 11:38:24 +0000 (11:38 +0000)]
Given that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING
build, we cannot assume that PL_reg_starttry isn't needed. So copy it
in Perl_ss_dup.

p4raw-id: //depot/perl@27930

15 years agoRemove the last traces of explicitly setting HINT_LOCALIZE_HH from
Nicholas Clark [Thu, 20 Apr 2006 21:27:21 +0000 (21:27 +0000)]
Remove the last traces of explicitly setting HINT_LOCALIZE_HH from
perl modules.

p4raw-id: //depot/perl@27927

15 years agoRe: TODO tests and test::harness
Yves Orton [Thu, 20 Apr 2006 22:36:08 +0000 (00:36 +0200)]
Re: TODO tests and test::harness
Message-ID: <9b18b3110604201336k5a974f28h732a2819853b995@mail.gmail.com>

p4raw-id: //depot/perl@27925

15 years agoAdd test boilerplate and use test.pl instead of Test::More
Rafael Garcia-Suarez [Thu, 20 Apr 2006 20:24:46 +0000 (20:24 +0000)]
Add test boilerplate and use test.pl instead of Test::More

p4raw-id: //depot/perl@27923

15 years agoAdd new tests for bug #32840 provided by David Landgren,
Rafael Garcia-Suarez [Thu, 20 Apr 2006 20:22:23 +0000 (20:22 +0000)]
Add new tests for bug #32840 provided by David Landgren,
as a new file rxcode.t (they mostly test $^R for now)

p4raw-id: //depot/perl@27922

15 years agoTweak change 23256 to continue passing on 5.8.x
Nicholas Clark [Thu, 20 Apr 2006 18:51:02 +0000 (18:51 +0000)]
Tweak change 23256 to continue passing on 5.8.x

p4raw-id: //depot/perl@27919

15 years agoConvert two ok()s to better constructions.
Nicholas Clark [Thu, 20 Apr 2006 17:37:31 +0000 (17:37 +0000)]
Convert two ok()s to better constructions.

p4raw-id: //depot/perl@27918

15 years ago[REPOST] [PATCH] Remove superfluous counter in threads
Jerry D. Hedden [Wed, 19 Apr 2006 05:32:14 +0000 (22:32 -0700)]
[REPOST] [PATCH] Remove superfluous counter in threads
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060419053214.fb30e530d17747c2b054d625b8945d88.4606123135.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27917

15 years agoFix typo in the description of change 21323.
Nicholas Clark [Thu, 20 Apr 2006 13:54:45 +0000 (13:54 +0000)]
Fix typo in the description of change 21323.

p4raw-id: //depot/perl@27913

15 years agoNew test for the "Assignment to both a list and a scalar" error,
Rafael Garcia-Suarez [Thu, 20 Apr 2006 12:59:50 +0000 (12:59 +0000)]
New test for the "Assignment to both a list and a scalar" error,
suggested by Stephen McCamant

p4raw-id: //depot/perl@27912

15 years agoregmatch(): replace magic value -1000 with symbolic CHRTEST_VOID
Dave Mitchell [Thu, 20 Apr 2006 12:33:09 +0000 (12:33 +0000)]
regmatch(): replace magic value -1000 with symbolic CHRTEST_VOID

p4raw-id: //depot/perl@27911

15 years agoop_type shrinking
Andy Lester [Wed, 19 Apr 2006 23:16:53 +0000 (18:16 -0500)]
op_type shrinking
Message-ID: <20060420041653.GA28523@petdance.com>

p4raw-id: //depot/perl@27910

15 years agoregexec consting & localizing
Andy Lester [Wed, 19 Apr 2006 12:35:43 +0000 (07:35 -0500)]
regexec consting & localizing
Message-ID: <20060419173543.GA8268@petdance.com>

p4raw-id: //depot/perl@27909

15 years agoLocalizing vars
Andy Lester [Wed, 19 Apr 2006 23:44:01 +0000 (18:44 -0500)]
Localizing vars
Message-ID: <20060420044401.GA2792@petdance.com>

p4raw-id: //depot/perl@27908

15 years agoregmatch: merge the greedy and non-greedy branches of CURLYM
Dave Mitchell [Thu, 20 Apr 2006 00:30:53 +0000 (00:30 +0000)]
regmatch: merge the greedy and non-greedy branches of CURLYM

p4raw-id: //depot/perl@27907

15 years ago[perl #38892] PATCH: remove spurious warning from Benchmark.pm
Linda Walsh [Mon, 10 Apr 2006 18:53:46 +0000 (11:53 -0700)]
[perl #38892] PATCH: remove spurious warning from Benchmark.pm
From: Linda Walsh (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38892-132143.0.516271519365361@perl.org>

p4raw-id: //depot/perl@27906

15 years agoChanges to perlfaq8 "How do I find out if I'm running interactively
Steve Peters [Wed, 19 Apr 2006 16:32:26 +0000 (16:32 +0000)]
Changes to perlfaq8 "How do I find out if I'm running interactively
or not?" suggested by Slaven Rezic in RT #38901: perlfaq8 correction

p4raw-id: //depot/perl@27905

15 years agoAdd a TODO test for RT #1085: "what should be output of perl -we
Steve Peters [Wed, 19 Apr 2006 14:57:36 +0000 (14:57 +0000)]
Add a TODO test for RT #1085: "what should be output of perl -we
 'print do { foreach (1, 2) { 1; } }'"

p4raw-id: //depot/perl@27904

15 years agoregmatch(): make IFMATCH use PUSH_STACK rather than fake recursion
Dave Mitchell [Wed, 19 Apr 2006 13:56:07 +0000 (13:56 +0000)]
regmatch(): make IFMATCH use PUSH_STACK rather than fake recursion

p4raw-id: //depot/perl@27903

15 years agoUpgrade to Test::Harness 2.57_05
Rafael Garcia-Suarez [Wed, 19 Apr 2006 11:38:11 +0000 (11:38 +0000)]
Upgrade to Test::Harness 2.57_05

p4raw-id: //depot/perl@27902

15 years agonewCONSTSUB needs to be robust in case CopFILE is NULL.
Nicholas Clark [Wed, 19 Apr 2006 11:20:08 +0000 (11:20 +0000)]
newCONSTSUB needs to be robust in case CopFILE is NULL.

p4raw-id: //depot/perl@27901