This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoIntroduce macro PERL_MAX_SUB_DEPTH
Rafael Garcia-Suarez [Fri, 11 Jan 2008 11:31:34 +0000 (11:31 +0000)]
Introduce macro PERL_MAX_SUB_DEPTH

p4raw-id: //depot/perl@32949

16 years agoRe: [perl #49564] Re: MRO and av_clear
Rick Delaney [Wed, 9 Jan 2008 13:36:55 +0000 (08:36 -0500)]
Re: [perl #49564] Re: MRO and av_clear
Message-ID: <20080109183655.GB11282@bort.ca>

p4raw-id: //depot/perl@32948

16 years agoFrom: "Robin Barker" <Robin.Barker@npl.co.uk>
Robin Barker [Thu, 10 Jan 2008 18:50:12 +0000 (18:50 +0000)]
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939C3@exchsvr2.npl.ad.local>

More consting.

p4raw-id: //depot/perl@32947

16 years agoFrom: "Robin Barker" <Robin.Barker@npl.co.uk>
Robin Barker [Thu, 10 Jan 2008 18:48:04 +0000 (18:48 +0000)]
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939C2@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@32946

16 years ago[DOC PATCH] was Re: things deprecated for removal in 5.12
Paul Johnson [Thu, 10 Jan 2008 23:44:20 +0000 (00:44 +0100)]
[DOC PATCH] was Re: things deprecated for removal in 5.12
Message-ID: <20080110224420.GB29292@pjcj.net>

p4raw-id: //depot/perl@32945

16 years agoBetter descriptions for PL_regex_pad and PL_regex_padav.
Nicholas Clark [Thu, 10 Jan 2008 23:55:40 +0000 (23:55 +0000)]
Better descriptions for PL_regex_pad and PL_regex_padav.

p4raw-id: //depot/perl@32944

16 years agoReal regexps are stored via RVs, IVs can only mean spare slots. Hence
Nicholas Clark [Thu, 10 Jan 2008 23:54:22 +0000 (23:54 +0000)]
Real regexps are stored via RVs, IVs can only mean spare slots. Hence
it's safe to make the scalar undefined, rather than calling out to
write a 0 that would also be interpreted as a NULL pointer.

p4raw-id: //depot/perl@32943

16 years agoChange 32899 missed undoing the reference count increase when the SV
Nicholas Clark [Thu, 10 Jan 2008 23:32:27 +0000 (23:32 +0000)]
Change 32899 missed undoing the reference count increase when the SV
is popped off the AV.
"There's Something Wrong with our Bloody Leak Checking Today", as
Beattie didn't put it. It seems that we really can't check for leaking
scalars in perl_destruct, because we do our damndest to free them
brute force, rather than by undefining the symbol table and seeing
what sticks around.

p4raw-id: //depot/perl@32942

16 years agoReverse the TODOs on t/op/regexp_qr_embed_thr.t - they all pass now.
Nicholas Clark [Thu, 10 Jan 2008 22:38:10 +0000 (22:38 +0000)]
Reverse the TODOs on t/op/regexp_qr_embed_thr.t - they all pass now.

p4raw-id: //depot/perl@32941

16 years agoUn-TODO (and un-SKIP) tests in t/op/pat_thr.t that now pass.
Nicholas Clark [Thu, 10 Jan 2008 22:37:20 +0000 (22:37 +0000)]
Un-TODO (and un-SKIP) tests in t/op/pat_thr.t that now pass.
Some TODOs still remain. Bounties?

p4raw-id: //depot/perl@32940

16 years agoIt seems that you don't need to reference count PL_reg_curpm without
Nicholas Clark [Thu, 10 Jan 2008 22:06:53 +0000 (22:06 +0000)]
It seems that you don't need to reference count PL_reg_curpm without
ithreads, so don't waste time doing it there.

p4raw-id: //depot/perl@32939

16 years agoThe correct solution is to reference count the regexp in PL_reg_curpm,
Nicholas Clark [Thu, 10 Jan 2008 21:16:01 +0000 (21:16 +0000)]
The correct solution is to reference count the regexp in PL_reg_curpm,
rather than put in lots of hacks to work round not reference counting
it.

p4raw-id: //depot/perl@32938

16 years agoEnsure DEBUG_LEAKING_SCALARS_ABORT can't be circumvented by fatal
Nicholas Clark [Thu, 10 Jan 2008 21:15:02 +0000 (21:15 +0000)]
Ensure DEBUG_LEAKING_SCALARS_ABORT can't be circumvented by fatal
warnings. Add an abort() if you try to dup a freed scalar.

p4raw-id: //depot/perl@32937

16 years agoFix bug picked up by printf format warnings - a cast is needed where
Nicholas Clark [Thu, 10 Jan 2008 17:27:39 +0000 (17:27 +0000)]
Fix bug picked up by printf format warnings - a cast is needed where
UV is larger than U32 for dumping leaking scalars.

p4raw-id: //depot/perl@32935

16 years agoMove the reg_stringify logic to Perl_sv_2pv_flags
Ævar Arnfjörð Bjarmason [Wed, 9 Jan 2008 21:05:15 +0000 (21:05 +0000)]
Move the reg_stringify logic to Perl_sv_2pv_flags
Message-ID: <86zlveaewk.fsf@cpan.org>

with two corrections.
Plus remove reg_stringify from embed.fnc and regen.

p4raw-id: //depot/perl@32934

16 years agoseen_eval regex field wasn't getting cloned
Dave Mitchell [Wed, 9 Jan 2008 23:57:36 +0000 (23:57 +0000)]
seen_eval regex field wasn't getting cloned

p4raw-id: //depot/perl@32933

16 years agoFix the bug introduced by the bug fix of change 30755.
Nicholas Clark [Wed, 9 Jan 2008 23:26:14 +0000 (23:26 +0000)]
Fix the bug introduced by the bug fix of change 30755.
(Certain regexps could SEGV if cloned).

p4raw-id: //depot/perl@32932

16 years agoVariants of several regression tests that run the actul tests inside
Nicholas Clark [Wed, 9 Jan 2008 22:42:04 +0000 (22:42 +0000)]
Variants of several regression tests that run the actul tests inside
a new thread, to test ithread's cloning, particularly of regexps.

p4raw-id: //depot/perl@32931

16 years agogrep the MANIFEST to avoid having hard coded numbers in readdir.t
Nicholas Clark [Wed, 9 Jan 2008 22:36:21 +0000 (22:36 +0000)]
grep the MANIFEST to avoid having hard coded numbers in readdir.t

p4raw-id: //depot/perl@32930

16 years agoUpgrade to Math-Complex-1.43
Steve Peters [Wed, 9 Jan 2008 21:50:25 +0000 (21:50 +0000)]
Upgrade to Math-Complex-1.43

p4raw-id: //depot/perl@32929

16 years agoOnly code paths in hv_store either XSRETURN_NO or XSRETURN_YES.
Steve Peters [Wed, 9 Jan 2008 21:18:39 +0000 (21:18 +0000)]
Only code paths in hv_store either XSRETURN_NO or XSRETURN_YES.
Change the prototype to return void, remove the output to RETVAL
(which isn't set anyway), and fix a typo in the code.

p4raw-id: //depot/perl@32928

16 years agoIntermediate re-gen for AndyA's dtrace work. More to come
H.Merijn Brand [Wed, 9 Jan 2008 21:05:38 +0000 (21:05 +0000)]
Intermediate re-gen for AndyA's dtrace work. More to come

p4raw-id: //depot/perl@32927

16 years agoRe: [PATCH] Exclude .svn and _darcs from IPC::SysV's Makefile.PL libscan
Marcus Holland-Moritz [Wed, 9 Jan 2008 19:58:11 +0000 (20:58 +0100)]
Re: [PATCH] Exclude .svn and _darcs from IPC::SysV's Makefile.PL libscan
Message-ID: <20080109195811.2c5353e5@r2d2>

Make libscan() in IPC::SysV's Makefile.PL inherit EU::MM's
libscan() behaviour.

p4raw-id: //depot/perl@32926

16 years agoFix prototype in regexp code following #32851, and regen
Steve Hay [Wed, 9 Jan 2008 17:59:11 +0000 (17:59 +0000)]
Fix prototype in regexp code following #32851, and regen

p4raw-id: //depot/perl@32925

16 years agoRevert change #32920, since it was solved another way by #32890.
Rafael Garcia-Suarez [Wed, 9 Jan 2008 16:52:36 +0000 (16:52 +0000)]
Revert change #32920, since it was solved another way by #32890.
p4raw-link: @32920 on //depot/perl: e3dd4663a7a9c4d106a591d5b1511f7c9d1bfa1e

p4raw-id: //depot/perl@32922

16 years agorefactor PL_opargs generation in opcode.pl and fix helem
Marcus Holland-Moritz [Thu, 3 Jan 2008 01:29:35 +0000 (02:29 +0100)]
refactor PL_opargs generation in opcode.pl and fix helem
Message-ID: <20080103012935.759bda90@r2d2>

p4raw-id: //depot/perl@32921

16 years agoRE: compile warnings w/ PM_SETRE and ReREFCNT_inc
Robin Barker [Mon, 7 Jan 2008 14:10:30 +0000 (14:10 +0000)]
RE: compile warnings w/ PM_SETRE and ReREFCNT_inc
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939AE@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@32920

16 years agoAdd DEBUG_LEAKING_SCALARS_ABORT, to call abort() if any scalars leak,
Nicholas Clark [Wed, 9 Jan 2008 15:34:42 +0000 (15:34 +0000)]
Add DEBUG_LEAKING_SCALARS_ABORT, to call abort() if any scalars leak,
or are freed too many times.

p4raw-id: //depot/perl@32918

16 years agoAdd a few =cuts (so configpm is displayed mostly correctly
Rafael Garcia-Suarez [Wed, 9 Jan 2008 13:16:34 +0000 (13:16 +0000)]
Add a few =cuts (so configpm is displayed mostly correctly
by perldoc or by search.cpan.org)

p4raw-id: //depot/perl@32916

16 years agoFix leak introduced by change #32873, thanks to Nicholas
Rafael Garcia-Suarez [Wed, 9 Jan 2008 12:33:27 +0000 (12:33 +0000)]
Fix leak introduced by change #32873, thanks to Nicholas
p4raw-link: @32873 on //depot/perl: 3a28f3fb1bfd44e4e3dfe6842af867c8c1c9de28

p4raw-id: //depot/perl@32915

16 years ago1e4 isn't large enough with 16 byte long doubles (at least on x86_64).
Nicholas Clark [Wed, 9 Jan 2008 11:47:12 +0000 (11:47 +0000)]
1e4 isn't large enough with 16 byte long doubles (at least on x86_64).
However, 1e5 does take us "to infinity and beyond"
(Plus use cmp_ok, for better diagnostics)

p4raw-id: //depot/perl@32914

16 years agoChange 32899 missed the other double-reference count.
Nicholas Clark [Wed, 9 Jan 2008 11:40:12 +0000 (11:40 +0000)]
Change 32899 missed the other double-reference count.

p4raw-id: //depot/perl@32913

16 years ago newSV() + sv_upgrade() => newSV_type()
Nicholas Clark [Wed, 9 Jan 2008 11:34:41 +0000 (11:34 +0000)]
 newSV() + sv_upgrade() => newSV_type()

p4raw-id: //depot/perl@32912

16 years agoMove re::regexp_pattern to universal.c
Jerry D. Hedden [Tue, 8 Jan 2008 15:01:02 +0000 (10:01 -0500)]
Move re::regexp_pattern to universal.c
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510801081201q5c36f055re6165ebfe8876c2e@mail.gmail.com>

p4raw-id: //depot/perl@32911

16 years agoRemove the warning "v-string in require/use non portable"
Rafael Garcia-Suarez [Wed, 9 Jan 2008 10:11:10 +0000 (10:11 +0000)]
Remove the warning "v-string in require/use non portable"

p4raw-id: //depot/perl@32910

16 years agoB::Deparse fixes for implicit smartmatching in given/when
Florian Ragwitz [Tue, 8 Jan 2008 19:56:47 +0000 (20:56 +0100)]
B::Deparse fixes for implicit smartmatching in given/when
Message-ID: <20080108185647.GD11813@perldition.org>

p4raw-id: //depot/perl@32909

16 years agoUpgrade to Math-Complex-1.42
Steve Peters [Wed, 9 Jan 2008 02:36:33 +0000 (02:36 +0000)]
Upgrade to Math-Complex-1.42

p4raw-id: //depot/perl@32908

16 years agoUpgrade to Module-Load-Conditional-0.24
Steve Peters [Wed, 9 Jan 2008 02:29:48 +0000 (02:29 +0000)]
Upgrade to Module-Load-Conditional-0.24

p4raw-id: //depot/perl@32907

16 years agochange #31447 was wrong. Really handle cloning a stale lexical var
Dave Mitchell [Wed, 9 Jan 2008 01:50:38 +0000 (01:50 +0000)]
change #31447 was wrong. Really handle cloning a stale lexical var
p4raw-link: @31447 on //depot/perl: efa785391fea9e6aff4c999b27ad62b7d8f9ea99

p4raw-id: //depot/perl@32906

16 years ago[patch] [Win32] Make Perl build on Win32 when the path contains whitespace
Max Maischein [Mon, 7 Jan 2008 20:48:04 +0000 (21:48 +0100)]
[patch] [Win32] Make Perl build on Win32 when the path contains whitespace
Message-ID: <478281F4.9000202@cpan.org>

p4raw-id: //depot/perl@32905

16 years agoRe: [PATCH] docs more open() and $_ related entries
Gabor Szabo [Tue, 8 Jan 2008 22:07:54 +0000 (00:07 +0200)]
Re: [PATCH] docs more open() and $_ related entries
From: "Gabor Szabo" <szabgab@gmail.com>
Message-ID: <d8a74af10801081207q2637419dy59f1a3600bcc4a76@mail.gmail.com>

p4raw-id: //depot/perl@32904

16 years agoAutoLoader: Remove AutoLoader::can
Steffen Müller [Fri, 30 Nov 2007 23:02:03 +0000 (00:02 +0100)]
AutoLoader: Remove AutoLoader::can
Message-ID: <20071130220203.26939.qmail@lists.develooper.com>

p4raw-id: //depot/perl@32903

16 years agoWith regexps stored as real RVs, we can eliminate SvREPADTMP().
Nicholas Clark [Tue, 8 Jan 2008 17:55:41 +0000 (17:55 +0000)]
With regexps stored as real RVs, we can eliminate SvREPADTMP().
Exterminate! Exterminate! Exterminate!

p4raw-id: //depot/perl@32902

16 years agoPL_regex_padav can simply be dup()ed. This is surprisingly satisfying.
Nicholas Clark [Tue, 8 Jan 2008 17:35:19 +0000 (17:35 +0000)]
PL_regex_padav can simply be dup()ed. This is surprisingly satisfying.

p4raw-id: //depot/perl@32901

16 years agoIn PL_regexp_padav, store regexps via real references, rather than
Nicholas Clark [Tue, 8 Jan 2008 17:10:29 +0000 (17:10 +0000)]
In PL_regexp_padav, store regexps via real references, rather than
hiding them within IVs. We can do this now that they are real SV
pointers.

p4raw-id: //depot/perl@32900

16 years agoCorrect a long-standing ithreads reference counting anonamly - the
Nicholas Clark [Tue, 8 Jan 2008 16:42:31 +0000 (16:42 +0000)]
Correct a long-standing ithreads reference counting anonamly - the
reference count only needs "doubling" when the scalar is pushed onto
PL_regex_padav for the second time.

p4raw-id: //depot/perl@32899

16 years agoARRAY(0x...) is not very helpful in sprintf.t diagnostics
Yitzchak Scott-Thoennes [Mon, 7 Jan 2008 23:24:01 +0000 (15:24 -0800)]
ARRAY(0x...) is not very helpful in sprintf.t diagnostics
Message-ID: <55933.71.35.169.13.1199777041.squirrel@webmail.efn.org>
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Date: Mon, 7 Jan 2008 23:24:01 -0800 (PST)

p4raw-id: //depot/perl@32897

16 years agoPost change 32880, restore the dummy sub Regexp::DESTROY {}
Nicholas Clark [Mon, 7 Jan 2008 23:31:34 +0000 (23:31 +0000)]
Post change 32880, restore the dummy sub Regexp::DESTROY {}

p4raw-id: //depot/perl@32896

16 years agoClarify the use of SVf_BREAK on PL_reg_curpm.
Nicholas Clark [Mon, 7 Jan 2008 21:17:10 +0000 (21:17 +0000)]
Clarify the use of SVf_BREAK on PL_reg_curpm.

p4raw-id: //depot/perl@32895

16 years agoDon't set the public IV or NV flags if the string converted from has
Nicholas Clark [Mon, 7 Jan 2008 18:24:39 +0000 (18:24 +0000)]
Don't set the public IV or NV flags if the string converted from has
trailing garbage. This behaviour is consistent with not setting the
public IV or NV flags if the value is out of range for the type.

p4raw-id: //depot/perl@32894

16 years agoSave an upgrade each by first setting the NV on PL_sv_yes and PL_sv_no
Nicholas Clark [Mon, 7 Jan 2008 17:27:51 +0000 (17:27 +0000)]
Save an upgrade each by first setting the NV on PL_sv_yes and PL_sv_no
at interpreter construction time.

p4raw-id: //depot/perl@32893

16 years agov5.8.8: File::Temp.pm (_gettemp): ignore dir -w test on Cygwin
Jari Aalto [Sat, 5 Jan 2008 13:22:17 +0000 (15:22 +0200)]
v5.8.8: File::Temp.pm (_gettemp): ignore dir -w test on Cygwin
Message-ID: <bq8034ba.fsf@blue.sea.net>

p4raw-id: //depot/perl@32892

16 years agoBig slowdown in 5.10 @_ parameter passing
Rick Delaney [Sun, 6 Jan 2008 14:14:39 +0000 (09:14 -0500)]
Big slowdown in 5.10 @_ parameter passing
Message-ID: <20080106191439.GF13935@bort.ca>

p4raw-id: //depot/perl@32891

16 years agoReREFCNT_inc() should return a pointer to REGEXP.
Nicholas Clark [Mon, 7 Jan 2008 13:53:57 +0000 (13:53 +0000)]
ReREFCNT_inc() should return a pointer to REGEXP.
[I don't get warnings about void context here, but I'm sure someone
will :-(]

p4raw-id: //depot/perl@32890

16 years agoWin32 doesn't set $Config{d_fork} when its pseudofork emulation is
Steve Hay [Mon, 7 Jan 2008 12:17:51 +0000 (12:17 +0000)]
Win32 doesn't set $Config{d_fork} when its pseudofork emulation is
present, and checking for $Config{d_pseudofork} is no good for dual-
lived modules that must work with older perls, so do a more elaborate
test (as per existing Test-Simple and IO test scripts).

p4raw-id: //depot/perl@32889

16 years agoLet's remove the grep in void context warning.
Rafael Garcia-Suarez [Mon, 7 Jan 2008 11:21:29 +0000 (11:21 +0000)]
Let's remove the grep in void context warning.

p4raw-id: //depot/perl@32888

16 years ago- perlcommunity.patch (1/1) [PATCH] perlcommunity: "Perl Mongers" and calendar correc...
brian d foy [Fri, 4 Jan 2008 14:07:27 +0000 (08:07 -0600)]
- perlcommunity.patch (1/1) [PATCH] perlcommunity: "Perl Mongers" and calendar corrections
Message-ID: <040120081407272341%brian.d.foy@gmail.com>

p4raw-id: //depot/perl@32887

16 years agoCleanup lib/B
Jerry D. Hedden [Fri, 4 Jan 2008 13:22:36 +0000 (08:22 -0500)]
Cleanup lib/B
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510801041022i5535ed7frfd64a93d99036e18@mail.gmail.com>

p4raw-id: //depot/perl@32886

16 years agoCleanup File::Temp test file (revised)
Jerry D. Hedden [Fri, 4 Jan 2008 12:39:35 +0000 (07:39 -0500)]
Cleanup File::Temp test file (revised)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510801040939t560c459dm6b780ab3dc5cc6c3@mail.gmail.com>

p4raw-id: //depot/perl@32885

16 years agodev version numbers, xs and warnings dont play together nicely, so use MM->parse_vers...
Yves Orton [Mon, 7 Jan 2008 00:20:33 +0000 (00:20 +0000)]
dev version numbers, xs and warnings dont play together nicely, so use MM->parse_version() to smooth over the cracks....

p4raw-id: //depot/perl@32884

16 years agoSilence new warning grep in void context warning in various modules and test files...
Yves Orton [Sun, 6 Jan 2008 21:43:24 +0000 (21:43 +0000)]
Silence new warning grep in void context warning in various modules and test files, also silence a warning that came from a previous 'dev' version number bump.

p4raw-id: //depot/perl@32883

16 years agoRemove FIXME that is already fixed.
Yves Orton [Sun, 6 Jan 2008 21:34:43 +0000 (21:34 +0000)]
Remove FIXME that is already fixed.

p4raw-id: //depot/perl@32882

16 years agoMake Data::Dumper handle blessed regexes properly, bump version as well. This may...
Yves Orton [Sun, 6 Jan 2008 20:34:41 +0000 (20:34 +0000)]
Make Data::Dumper handle blessed regexes properly, bump version as well. This may not be entirely correct on older perls, needs further investigation.

p4raw-id: //depot/perl@32881

16 years agoMake new regex type be 'REGEXP' and make all core qr//'s be in class Regexp (and...
Yves Orton [Sun, 6 Jan 2008 20:33:48 +0000 (20:33 +0000)]
Make new regex type be 'REGEXP' and make all core qr//'s be in class Regexp (and related changes)

p4raw-id: //depot/perl@32880

16 years agoDon't use grep in scalar context
Rafael Garcia-Suarez [Sun, 6 Jan 2008 18:00:41 +0000 (18:00 +0000)]
Don't use grep in scalar context

p4raw-id: //depot/perl@32879

16 years agoFix "grep in void context" warnings
Rafael Garcia-Suarez [Sun, 6 Jan 2008 17:56:03 +0000 (17:56 +0000)]
Fix "grep in void context" warnings

p4raw-id: //depot/perl@32878

16 years agoFix "grep in void context" warning
Rafael Garcia-Suarez [Sun, 6 Jan 2008 17:54:19 +0000 (17:54 +0000)]
Fix "grep in void context" warning

p4raw-id: //depot/perl@32877

16 years agoRe: grep and smart match should warn in void context
Michael G. Schwern [Sun, 23 Dec 2007 11:56:08 +0000 (03:56 -0800)]
Re: grep and smart match should warn in void context
Message-ID: <476EBD58.9050505@pobox.com>

p4raw-id: //depot/perl@32876

16 years agoDocument that sitecustomize.pl in run from a BEGIN block
Rafael Garcia-Suarez [Sun, 6 Jan 2008 16:37:21 +0000 (16:37 +0000)]
Document that sitecustomize.pl in run from a BEGIN block

p4raw-id: //depot/perl@32875

16 years ago[perl #49003] pp_ftrread appears to use the wrong access mode for -x when using ...
pravus@cpan.org [Fri, 21 Dec 2007 10:05:15 +0000 (02:05 -0800)]
[perl #49003] pp_ftrread appears to use the wrong access mode for -x when using "use filetest 'access';"
From: pravus@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-22850-1198260315-255.49003-75-0@perl.org>

p4raw-id: //depot/perl@32874

16 years agoRe: [perl #49264] say behaves as just print on tied filehandle
Michael G. Schwern [Wed, 2 Jan 2008 17:08:36 +0000 (09:08 -0800)]
Re: [perl #49264] say behaves as just print on tied filehandle
Message-ID: <477C3594.9080302@pobox.com>

p4raw-id: //depot/perl@32873

16 years ago\X is equivalent to an atomic group
Moritz Lenz [Sat, 5 Jan 2008 17:14:44 +0000 (18:14 +0100)]
\X is equivalent to an atomic group
Message-ID: <477FACF4.5030801@casella.verplant.org>

p4raw-id: //depot/perl@32872

16 years agoRe: Smoke [5.11.0] 32864 FAIL(F) MSWin32 Win2003 SP2 (x86/1 cpu)
Abe Timmerman [Sun, 6 Jan 2008 12:24:10 +0000 (13:24 +0100)]
Re: Smoke [5.11.0] 32864 FAIL(F) MSWin32 Win2003 SP2 (x86/1 cpu)
Message-ID: <4780BA5A.80202@ztreet.demon.nl>

Skip lib/File/Temp/t/fork.t when there is no fork.

p4raw-id: //depot/perl@32871

16 years ago'~~' is not a feature [repost]
Jerry D. Hedden [Fri, 4 Jan 2008 14:11:32 +0000 (09:11 -0500)]
'~~' is not a feature [repost]
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510801041111q1730ce02hbcac80b91d78a244@mail.gmail.com>

p4raw-id: //depot/perl@32870

16 years agoFix bug #49298: B::Deparse fails to deparse a reference to an anonymous hash
Rafael Garcia-Suarez [Sun, 6 Jan 2008 15:37:13 +0000 (15:37 +0000)]
Fix bug #49298: B::Deparse fails to deparse a reference to an anonymous hash

p4raw-id: //depot/perl@32869

16 years agoEnforce some type safety in PM_SETRE by adding PM_SETRE_OFFSET.
Nicholas Clark [Sun, 6 Jan 2008 15:21:53 +0000 (15:21 +0000)]
Enforce some type safety in PM_SETRE by adding PM_SETRE_OFFSET.

p4raw-id: //depot/perl@32868

16 years agoClarify the intent of the code in Perl_op_clear. Under ithreads, avoid
Nicholas Clark [Sun, 6 Jan 2008 13:35:38 +0000 (13:35 +0000)]
Clarify the intent of the code in Perl_op_clear. Under ithreads, avoid
calling sv_ivset twice. As a side effect, eliminate PM_GETRE_SAFE
and PM_SETRE_SAFE, as we're doing "safe" explicitly in Perl_op_clear().

p4raw-id: //depot/perl@32867

16 years agoFix a bug in mad - regexps can be 8 bit, not just ASCII or UTF-8.
Nicholas Clark [Sun, 6 Jan 2008 13:04:51 +0000 (13:04 +0000)]
Fix a bug in mad - regexps can be 8 bit, not just ASCII or UTF-8.

p4raw-id: //depot/perl@32866

16 years agoFix compilation issues and warnings with exotic configuration.
Marcus Holland-Moritz [Sun, 6 Jan 2008 11:05:27 +0000 (11:05 +0000)]
Fix compilation issues and warnings with exotic configuration.

p4raw-id: //depot/perl@32865

16 years agoconsting Compress::Raw::Zlib and Filter::Util::Call
Robin Barker [Sat, 22 Dec 2007 00:47:51 +0000 (00:47 +0000)]
consting Compress::Raw::Zlib and Filter::Util::Call
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399F@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@32864

16 years agoAllow sv_setsv_flags() to copy SVt_REGEXP much like it copies
Nicholas Clark [Sun, 6 Jan 2008 00:23:23 +0000 (00:23 +0000)]
Allow sv_setsv_flags() to copy SVt_REGEXP much like it copies
SVt_FORMAT - the just string buffer.

p4raw-id: //depot/perl@32863

16 years agoFix a compilation warning created when RX_PRELEN() was changed to
Nicholas Clark [Sat, 5 Jan 2008 22:55:02 +0000 (22:55 +0000)]
Fix a compilation warning created when RX_PRELEN() was changed to
SvCUR(), which is an unsigned value.
[Mmm, how many remaining parts of the regexp struct should be
unsigned]

p4raw-id: //depot/perl@32862

16 years agoMake REGEXP a type distinct from SV. (Much like AV, CV, GV, HV).
Nicholas Clark [Sat, 5 Jan 2008 22:33:12 +0000 (22:33 +0000)]
Make REGEXP a type distinct from SV. (Much like AV, CV, GV, HV).

p4raw-id: //depot/perl@32861

16 years agoTypo fix
Rafael Garcia-Suarez [Sat, 5 Jan 2008 21:36:22 +0000 (21:36 +0000)]
Typo fix

p4raw-id: //depot/perl@32860

16 years agoDon't allocate the NV slot for SVt_REGEXP.
Nicholas Clark [Sat, 5 Jan 2008 21:33:30 +0000 (21:33 +0000)]
Don't allocate the NV slot for SVt_REGEXP.

p4raw-id: //depot/perl@32859

16 years agoAutoSplit is dual-lived, and is part of the AutoLoader distribution
Rafael Garcia-Suarez [Sat, 5 Jan 2008 21:17:39 +0000 (21:17 +0000)]
AutoSplit is dual-lived, and is part of the AutoLoader distribution

p4raw-id: //depot/perl@32858

16 years agoFix regexec.c so $^N and $+ are correctly updated so that they work properly inside...
Moritz Lenz [Sat, 5 Jan 2008 17:14:37 +0000 (18:14 +0100)]
Fix regexec.c so $^N and $+ are correctly updated so that they work properly inside of (?{...}) blocks as reported by Moritz Lenz in

Subject: Bugs in extended regexp features
Message-ID: <477FACED.4000505@casella.verplant.org>

p4raw-id: //depot/perl@32857

16 years ago$Test::Harness::Verbose is a numeric value now so assigning -v to it isnt all that...
Yves Orton [Sat, 5 Jan 2008 20:25:52 +0000 (20:25 +0000)]
$Test::Harness::Verbose is a numeric value now so assigning -v to it isnt all that helpful.

p4raw-id: //depot/perl@32856

16 years agoAdd a small note about numbered feature bundles
Rafael Garcia-Suarez [Sat, 5 Jan 2008 20:06:59 +0000 (20:06 +0000)]
Add a small note about numbered feature bundles

p4raw-id: //depot/perl@32855

16 years agoIn struct regexp move the member paren_names to the IV union.
Nicholas Clark [Sat, 5 Jan 2008 18:02:02 +0000 (18:02 +0000)]
In struct regexp move the member paren_names to the IV union.

p4raw-id: //depot/perl@32854

16 years agoConvert all accesses of the member paren_names of struct regexp to
Nicholas Clark [Sat, 5 Jan 2008 17:44:04 +0000 (17:44 +0000)]
Convert all accesses of the member paren_names of struct regexp to
be accessed via RXp_PAREN_NAMES(). (They are entirely within the
regexp implementation).

p4raw-id: //depot/perl@32853

16 years agoAbolish RXf_UTF8. Store the UTF-8-ness of the pattern with SvUTF8().
Nicholas Clark [Sat, 5 Jan 2008 17:15:30 +0000 (17:15 +0000)]
Abolish RXf_UTF8. Store the UTF-8-ness of the pattern with SvUTF8().

p4raw-id: //depot/perl@32852

16 years agoMake Perl_pregcomp() use SvUTF8() of the pattern, rather than the flag
Nicholas Clark [Sat, 5 Jan 2008 16:47:06 +0000 (16:47 +0000)]
Make Perl_pregcomp() use SvUTF8() of the pattern, rather than the flag
bit in pmflags, to decide whether the pattern is UTF-8.

p4raw-id: //depot/perl@32851

16 years agos/re/rx/ in an assert overlooked during recent renovations
Yves Orton [Sat, 5 Jan 2008 16:16:47 +0000 (16:16 +0000)]
s/re/rx/ in an assert overlooked during recent renovations

p4raw-id: //depot/perl@32850

16 years agoReplace all reads of RXf_UTF8 with RX_UTF8().
Nicholas Clark [Sat, 5 Jan 2008 16:07:21 +0000 (16:07 +0000)]
Replace all reads of RXf_UTF8 with RX_UTF8().

p4raw-id: //depot/perl@32849

16 years agoAdd a 'test-reonly' target to the standard Makefile for *nix. (Not quite as clever...
Yves Orton [Sat, 5 Jan 2008 16:00:46 +0000 (16:00 +0000)]
Add a 'test-reonly' target to the standard Makefile for *nix. (Not quite as clever as the one for win32, im working on it)

p4raw-id: //depot/perl@32848

16 years agoRemove IPC::SysV constant files from the MANIFEST.
Marcus Holland-Moritz [Sat, 5 Jan 2008 15:49:31 +0000 (15:49 +0000)]
Remove IPC::SysV constant files from the MANIFEST.

p4raw-id: //depot/perl@32847

16 years agoBuild const-(c|xs).inc in IPC::SysV on the fly.
Marcus Holland-Moritz [Sat, 5 Jan 2008 15:47:40 +0000 (15:47 +0000)]
Build const-(c|xs).inc in IPC::SysV on the fly.

p4raw-id: //depot/perl@32846

16 years agoAbolish wraplen from struct regexp. We're already storing it in SvCUR.
Nicholas Clark [Sat, 5 Jan 2008 15:02:25 +0000 (15:02 +0000)]
Abolish wraplen from struct regexp. We're already storing it in SvCUR.

p4raw-id: //depot/perl@32845

16 years agoRemove a comment that is no longer necessary since Perl Object bit
Nicholas Clark [Sat, 5 Jan 2008 14:50:07 +0000 (14:50 +0000)]
Remove a comment that is no longer necessary since Perl Object bit
the dust some time around 5.6

p4raw-id: //depot/perl@32844