This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoThe overly-picky AIX xlc compiler doesn't like the style
H.Merijn Brand [Tue, 12 Dec 2006 11:36:41 +0000 (11:36 +0000)]
The overly-picky AIX xlc compiler doesn't like the style
from patch #29446

p4raw-id: //depot/perl@29530

14 years agoSkip IO::Compress::Zlib in perlivp, since that's a distribution name,
Rafael Garcia-Suarez [Tue, 12 Dec 2006 11:07:27 +0000 (11:07 +0000)]
Skip IO::Compress::Zlib in perlivp, since that's a distribution name,
not a proper module name.

p4raw-id: //depot/perl@29529

14 years agoget ext/Win32/Win32.xs to compile on cygwin
Jan Dubois [Mon, 11 Dec 2006 13:09:09 +0000 (05:09 -0800)]
get ext/Win32/Win32.xs to compile on cygwin
Date: Mon, 11 Dec 2006 13:09:09 -0800
Message-ID: <isfrn2tbfleo1svmmi5kh673f4uh69am11@4ax.com>

and:
Date: Mon, 11 Dec 2006 15:08:53 -0800
Message-ID: <kvorn2h0d14jo3khmmj2a9svsp2mplrodv@4ax.com>

p4raw-id: //depot/perl@29528

14 years agoBy moving xbm_previous into the SvPVX, we save a U16 from struct xpvbm,
Nicholas Clark [Tue, 12 Dec 2006 00:07:48 +0000 (00:07 +0000)]
By moving xbm_previous into the SvPVX, we save a U16 from struct xpvbm,
which will likely equate to 4 bytes with padding. (But we add 2 bytes
to the SvPVX buffer...). However, the real win is that xpvbm is now
identical to xpvmg, and all active FBM compiled strings are SvVALID()
true, so now we can eliminate xpvbm, freeing a type for 6 on 5 proxies.

p4raw-id: //depot/perl@29527

14 years agoFix allocation bug in change 29524.
Nicholas Clark [Mon, 11 Dec 2006 23:44:30 +0000 (23:44 +0000)]
Fix allocation bug in change 29524.

p4raw-id: //depot/perl@29526

14 years agoAdd BmPREVIOUS_set(), and use it in the one place that BmPREVIOUS is
Nicholas Clark [Mon, 11 Dec 2006 22:52:46 +0000 (22:52 +0000)]
Add BmPREVIOUS_set(), and use it in the one place that BmPREVIOUS is
modified.

p4raw-id: //depot/perl@29525

14 years agoMove PERL_FBM_TABLE_OFFSET and PERL_FBM_FLAGS_OFFSET_FROM_TABLE to sv.h
Nicholas Clark [Mon, 11 Dec 2006 22:18:53 +0000 (22:18 +0000)]
Move PERL_FBM_TABLE_OFFSET and PERL_FBM_FLAGS_OFFSET_FROM_TABLE to sv.h
Stow BmRARE in the SvPVX, and so delete xbm_rare.
Can you see what it is yet?

p4raw-id: //depot/perl@29524

14 years agoFix typo in change 29518 which broke non-debugging builds.
Nicholas Clark [Mon, 11 Dec 2006 21:52:12 +0000 (21:52 +0000)]
Fix typo in change 29518 which broke non-debugging builds.
(Here Mark, you can have the spare ; back again)

p4raw-id: //depot/perl@29523

14 years agoConvert the -1 to a more explicit PERL_FBM_FLAGS_OFFSET_FROM_TABLE.
Nicholas Clark [Mon, 11 Dec 2006 21:21:09 +0000 (21:21 +0000)]
Convert the -1 to a more explicit PERL_FBM_FLAGS_OFFSET_FROM_TABLE.

p4raw-id: //depot/perl@29522

14 years agoAssert that BmRARE() BmPREVIOUS() and BmUSEFUL() are only called on
Nicholas Clark [Mon, 11 Dec 2006 21:15:06 +0000 (21:15 +0000)]
Assert that BmRARE() BmPREVIOUS() and BmUSEFUL() are only called on
valid PVBMs.

p4raw-id: //depot/perl@29521

14 years agoRename FBM_TABLE_OFFSET to PERL_FBM_TABLE_OFFSET prior to moving it
Nicholas Clark [Mon, 11 Dec 2006 20:55:20 +0000 (20:55 +0000)]
Rename FBM_TABLE_OFFSET to PERL_FBM_TABLE_OFFSET prior to moving it
to a header.

p4raw-id: //depot/perl@29520

14 years agoDon't load the Win32 module on non-win32 platforms
Rafael Garcia-Suarez [Mon, 11 Dec 2006 18:33:21 +0000 (18:33 +0000)]
Don't load the Win32 module on non-win32 platforms

p4raw-id: //depot/perl@29519

14 years agoChange SvTAIL() to check that both SVpbm_TAIL|SVpbm_VALID are true.
Nicholas Clark [Mon, 11 Dec 2006 18:26:31 +0000 (18:26 +0000)]
Change SvTAIL() to check that both SVpbm_TAIL|SVpbm_VALID are true.
SVpbm_VALID is the same bit value is SVf_IVisUV, which means that
PVBMs can't actually ever be IOK. Therefore move BmUSEFUL() into the
IV union, and save one I32 per PVBM.

p4raw-id: //depot/perl@29518

14 years agoChanges and README are not needed for Switch.pm
Rafael Garcia-Suarez [Mon, 11 Dec 2006 17:09:17 +0000 (17:09 +0000)]
Changes and README are not needed for Switch.pm

p4raw-id: //depot/perl@29516

14 years agoAs pointed out by Valentin Guignon, there is most
Rafael Garcia-Suarez [Mon, 11 Dec 2006 16:53:58 +0000 (16:53 +0000)]
As pointed out by Valentin Guignon, there is most
probably one \n too many in the end-of-pod marker.

p4raw-id: //depot/perl@29515

14 years agoConfigure needs to know about the extensions IO/Compress/Base
Rafael Garcia-Suarez [Mon, 11 Dec 2006 16:49:06 +0000 (16:49 +0000)]
Configure needs to know about the extensions IO/Compress/Base
and IO/Compress/Zlib, so they get built.

p4raw-id: //depot/perl@29514

14 years agoMove files from ext/Compress/IO to ext/IO/Compress
Rafael Garcia-Suarez [Mon, 11 Dec 2006 16:16:46 +0000 (16:16 +0000)]
Move files from ext/Compress/IO to ext/IO/Compress

p4raw-id: //depot/perl@29513

14 years agoRe: [PATCH] Deparse.pm bugfix
Bo Lindbergh [Sat, 9 Dec 2006 12:17:53 +0000 (13:17 +0100)]
Re: [PATCH] Deparse.pm bugfix
Message-Id: <A4BDE74B-DB3A-41C0-B2BE-FCEE0E15AB54@hagernas.com>

p4raw-id: //depot/perl@29512

14 years agore: [PATCH] Move Win32::* functions from win32/win32.c to ext/Win32/Win32.xs
Jan Dubois [Sun, 10 Dec 2006 11:47:58 +0000 (03:47 -0800)]
re: [PATCH] Move Win32::* functions from win32/win32.c to ext/Win32/Win32.xs
Message-ID: <9moon29qtn5c23t9fer229ealsu06bkf11@4ax.com>

p4raw-id: //depot/perl@29511

14 years agoSecond patch from:
Jan Dubois [Fri, 8 Dec 2006 19:07:06 +0000 (11:07 -0800)]
Second patch from:
Subject: [PATCH] Move Win32::* functions from win32/win32.c to ext/Win32/Win32.xs
Message-ID: <lc9kn2tb0p5sdd4q69rbc7067r4imar59r@4ax.com>

p4raw-id: //depot/perl@29510

14 years agoFirst patch from:
Jan Dubois [Fri, 8 Dec 2006 19:07:06 +0000 (11:07 -0800)]
First patch from:
Subject: [PATCH] Move Win32::* functions from win32/win32.c to ext/Win32/Win32.xs
Message-ID: <lc9kn2tb0p5sdd4q69rbc7067r4imar59r@4ax.com>

p4raw-id: //depot/perl@29509

14 years agoremove extraneous debugging code introduced by #29504
Dave Mitchell [Mon, 11 Dec 2006 11:41:10 +0000 (11:41 +0000)]
remove extraneous debugging code introduced by #29504

p4raw-id: //depot/perl@29508

14 years agoFatal v1.03
Jerrad Pierce [Sun, 10 Dec 2006 14:38:18 +0000 (09:38 -0500)]
Fatal v1.03
Message-Id: <200612101938.kBAJcI9D008026@all-night-tool.mit.edu>

Allow to make fatal built-ins in CORE::GLOBAL

p4raw-id: //depot/perl@29507

14 years agoRe: [perl #41065] Out of memory!, while extending scalar
Marcus Holland-Moritz [Sun, 10 Dec 2006 22:32:32 +0000 (23:32 +0100)]
Re: [perl #41065] Out of memory!, while extending scalar
Message-ID: <20061210223232.0f3a5318@r2d2>

p4raw-id: //depot/perl@29506

14 years agoperlhack.pod nit by Jarkko
Rafael Garcia-Suarez [Mon, 11 Dec 2006 09:41:45 +0000 (09:41 +0000)]
perlhack.pod nit by Jarkko

p4raw-id: //depot/perl@29505

14 years agofix eval qw(BEGIN{die}) style leaks (second attempt).
Dave Mitchell [Mon, 11 Dec 2006 00:48:06 +0000 (00:48 +0000)]
fix eval qw(BEGIN{die}) style leaks (second attempt).

Repeat of change #28319 (backed out by change #28720), this time
freeing ops using the right pad. Also backs out the remempad
parser addition from change #29501; instead a new auxiliary
paser stack is added, which records the current value of
PL_comppad for every state.
p4raw-link: @29501 on //depot/perl: 2af555bf3f2b3ca8e114df3f5f680d40bd24d6bf
p4raw-link: @28720 on //depot/perl: c86b7e916b443ee192c5638ad9d077ad4e244713
p4raw-link: @28319 on //depot/perl: eb7d7d25d2f780edcbedc124a5bdca0d53ad8687

p4raw-id: //depot/perl@29504

14 years agoRemove code duplication in S_to_utf8_substr() and S_to_byte_substr()
Nicholas Clark [Sun, 10 Dec 2006 23:05:25 +0000 (23:05 +0000)]
Remove code duplication in S_to_utf8_substr() and S_to_byte_substr()
by taking advantage of how anchored_* and float_* are stored in arrays
to use a loop.

p4raw-id: //depot/perl@29503

14 years agoDowngrading a fixed or floating substring of a pattern whilst matching
Nicholas Clark [Sun, 10 Dec 2006 22:31:56 +0000 (22:31 +0000)]
Downgrading a fixed or floating substring of a pattern whilst matching
a studied string seems to get to a "should not happen" [bug #41067]
It seems that Perl_regexec_flags() assumes that if the pre-downgraded
substring is FBM compiled, then the downgraded version will be too,
hence changing the downgrade and upgrade routines to FBM compile seems
to be a correct fix.

p4raw-id: //depot/perl@29502

14 years ago#28315 could crash when freeing ops with different pads
Dave Mitchell [Sun, 10 Dec 2006 18:50:05 +0000 (18:50 +0000)]
#28315 could crash when freeing ops with different pads
Add hook to parser to record current PL_comppad, then use this
when popping ops off the parser stack after parser error

p4raw-id: //depot/perl@29501

14 years agoparser: expand yy_is_opval[] to include all value types
Dave Mitchell [Sun, 10 Dec 2006 17:18:00 +0000 (17:18 +0000)]
parser: expand yy_is_opval[] to include all value types
and rename to yy_type_tab[]. Then use this table to improve stack
dumping with -Dpv

p4raw-id: //depot/perl@29500

14 years agoRestore change 27486 accidently removed (also added to 1.19 before release)
Graham Barr [Sun, 10 Dec 2006 16:28:34 +0000 (16:28 +0000)]
Restore change 27486 accidently removed (also added to 1.19 before release)

p4raw-id: //depot/perl@29499

14 years agoUpgrade to Scalar-List-Utils-1.19
Graham Barr [Sun, 10 Dec 2006 16:17:14 +0000 (16:17 +0000)]
Upgrade to Scalar-List-Utils-1.19

p4raw-id: //depot/perl@29498

14 years agoRe: [PATCH 5.8.8] Build on OS/2 - missing part
Ilya Zakharevich [Sat, 9 Dec 2006 16:33:41 +0000 (08:33 -0800)]
Re: [PATCH 5.8.8] Build on OS/2 - missing part
Message-ID: <20061210003341.GA14200@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29497

14 years agoSwap SVpbm_TAIL and SVpbm_VALID.
Nicholas Clark [Sun, 10 Dec 2006 01:13:09 +0000 (01:13 +0000)]
Swap SVpbm_TAIL and SVpbm_VALID.

p4raw-id: //depot/perl@29496

14 years agoUpgrade to Time-HiRes-1.9703
Steve Peters [Sat, 9 Dec 2006 22:44:27 +0000 (22:44 +0000)]
Upgrade to Time-HiRes-1.9703

p4raw-id: //depot/perl@29495

14 years agoPVBMs mustn't enter anything that turns SVIVisUV_on().
Nicholas Clark [Sat, 9 Dec 2006 21:19:45 +0000 (21:19 +0000)]
PVBMs mustn't enter anything that turns SVIVisUV_on().

p4raw-id: //depot/perl@29494

14 years agoExterminate! 2 pieces of superfluous code related to UV setting.
Nicholas Clark [Sat, 9 Dec 2006 21:17:37 +0000 (21:17 +0000)]
Exterminate! 2 pieces of superfluous code related to UV setting.

p4raw-id: //depot/perl@29493

14 years agoIn Perl_fbm_instr(), no need to calculate the address of the table if
Nicholas Clark [Fri, 8 Dec 2006 23:49:51 +0000 (23:49 +0000)]
In Perl_fbm_instr(), no need to calculate the address of the table if
we're going to return anyway.

p4raw-id: //depot/perl@29492

14 years agoassert that SvTAIL() isn't being called on PVAVs or PVHVs
Nicholas Clark [Fri, 8 Dec 2006 23:22:31 +0000 (23:22 +0000)]
assert that SvTAIL() isn't being called on PVAVs or PVHVs

p4raw-id: //depot/perl@29491

14 years agoWrap some macro arguments in () to avoid precedence problems.
Nicholas Clark [Fri, 8 Dec 2006 22:56:54 +0000 (22:56 +0000)]
Wrap some macro arguments in () to avoid precedence problems.

p4raw-id: //depot/perl@29490

14 years agoPerl_screaminstr() must be called with littlestr as a PVBM.
Nicholas Clark [Fri, 8 Dec 2006 22:56:08 +0000 (22:56 +0000)]
Perl_screaminstr() must be called with littlestr as a PVBM.

p4raw-id: //depot/perl@29489

14 years agoadd missing OP_REFCNT_LOCK/UNLOCKs and document it
Dave Mitchell [Fri, 8 Dec 2006 22:20:41 +0000 (22:20 +0000)]
add missing OP_REFCNT_LOCK/UNLOCKs and document it

p4raw-id: //depot/perl@29488

14 years agoAssert that BmRARE, BmUSEFUL and BmPREVIOUS are only called on SVtPVBM
Nicholas Clark [Fri, 8 Dec 2006 22:11:56 +0000 (22:11 +0000)]
Assert that BmRARE, BmUSEFUL and BmPREVIOUS are only called on SVtPVBM

p4raw-id: //depot/perl@29487

14 years agoNo need to upgrade if all we're going to do is return.
Nicholas Clark [Fri, 8 Dec 2006 21:09:57 +0000 (21:09 +0000)]
No need to upgrade if all we're going to do is return.

p4raw-id: //depot/perl@29486

14 years agoMake use of $Config{d_pseudofork} in a couple of core tests
Steve Hay [Thu, 7 Dec 2006 12:34:10 +0000 (12:34 +0000)]
Make use of $Config{d_pseudofork} in a couple of core tests

Can't really use it in ext/IO/t/*.t and lib/Test/Simple/t/fork.t
because they are dual-lived modules and must work with older perls
that don't have d_pseudofork

p4raw-id: //depot/perl@29485

14 years agoMove Win32 from win32/ext/Win32 to ext/Win32
Jan Dubois [Wed, 6 Dec 2006 16:31:42 +0000 (08:31 -0800)]
Move Win32 from win32/ext/Win32 to ext/Win32
Message-ID: <1unen2lsrq4pnnt06933h96pqj1d8luh3b@4ax.com>

p4raw-id: //depot/perl@29483

14 years agoPerl_save_destructor is not a mathom
Jerry D. Hedden [Wed, 6 Dec 2006 11:12:13 +0000 (03:12 -0800)]
Perl_save_destructor is not a mathom
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <20061206191213.35036.qmail@web30206.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29482

14 years agoMakefile.PL changes to compiler Win32.xs using cygwin
Jan Dubois [Wed, 6 Dec 2006 16:26:38 +0000 (08:26 -0800)]
Makefile.PL changes to compiler Win32.xs using cygwin
Message-ID: <5nnen2p2h4lhremj0qf1tmpkl0asvk87hr@4ax.com>

p4raw-id: //depot/perl@29481

14 years agoBetter fix than #29479 for exporting refcounted_he_chain_2hv
Steve Hay [Wed, 6 Dec 2006 17:28:03 +0000 (17:28 +0000)]
Better fix than #29479 for exporting refcounted_he_chain_2hv

p4raw-id: //depot/perl@29480

14 years agoRe: [PATCH] User pragmas now accessible from B
Yves Orton [Wed, 6 Dec 2006 17:52:08 +0000 (18:52 +0100)]
Re: [PATCH] User pragmas now accessible from B
Message-ID: <9b18b3110612060852s7cfbba66id5aae25e5bb20ae0@mail.gmail.com>

p4raw-id: //depot/perl@29479

14 years agoUpgrade to Time-HiRes 1.9702
Steve Hay [Wed, 6 Dec 2006 14:19:55 +0000 (14:19 +0000)]
Upgrade to Time-HiRes 1.9702

p4raw-id: //depot/perl@29478

14 years agoRe: When should PERL_SYS_TERM() be called? [was: Re: [PATCH] Re: [PATCH] Re: [PATCH...
Jarkko Hietaniemi [Tue, 5 Dec 2006 16:08:33 +0000 (11:08 -0500)]
Re: When should PERL_SYS_TERM() be called? [was: Re: [PATCH] Re: [PATCH] Re: [PATCH] abstract mempool header testing]
Message-ID: <4575DFD1.1060108@iki.fi>

Fixes a problem spotted by Jan Dubois:

The PerlMemShared pool is only shared between the interpreters that
can share data structures (interpreters created by perl_clone(), which
mean pseudo-fork, and threads.xs).  The pool is not shared between
interpreters that are created separately by perl_alloc().
[...]
I guess this means PL_perlio_fd_refcnt needs to be allocated and
freed by standard malloc() and not go through any abstraction.

p4raw-id: //depot/perl@29477

14 years agosave_I8 is not a mathom.
Rafael Garcia-Suarez [Wed, 6 Dec 2006 13:26:18 +0000 (13:26 +0000)]
save_I8 is not a mathom.

p4raw-id: //depot/perl@29476

14 years agoUser pragmas now accessible from B
Joshua ben Jore [Tue, 5 Dec 2006 13:18:21 +0000 (05:18 -0800)]
User pragmas now accessible from B
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0612051318n2e2f08bfh185fab6323a980b@mail.gmail.com>

p4raw-id: //depot/perl@29475

14 years agoAvoid my_regdupe type mismatch warning after #29430
Craig A. Berry [Wed, 6 Dec 2006 05:29:50 +0000 (05:29 +0000)]
Avoid my_regdupe type mismatch warning after #29430

p4raw-id: //depot/perl@29474

14 years agod_pseudofork for configure.com
Craig A. Berry [Wed, 6 Dec 2006 04:48:35 +0000 (04:48 +0000)]
d_pseudofork for configure.com

p4raw-id: //depot/perl@29473

14 years agoRe: [PATCH] Further tweaks to make it easier to create regexp engine plug ins.
Yves Orton [Tue, 5 Dec 2006 22:53:48 +0000 (23:53 +0100)]
Re: [PATCH] Further tweaks to make it easier to create regexp engine plug ins.
Message-ID: <9b18b3110612051353k7745792byabfdf98e18eb48c9@mail.gmail.com>

Fixes a minor bug in change 29468.

p4raw-id: //depot/perl@29472

14 years agoSilence a warning from Module::CoreList that occurs when the module version is
Steve Peters [Tue, 5 Dec 2006 21:00:38 +0000 (21:00 +0000)]
Silence a warning from Module::CoreList that occurs when the module version is
something like X.XX_XX.

p4raw-id: //depot/perl@29471

14 years agoMake the check for PERL_IMPLICIT_SYS better
Steve Hay [Tue, 5 Dec 2006 16:41:55 +0000 (16:41 +0000)]
Make the check for PERL_IMPLICIT_SYS better

p4raw-id: //depot/perl@29470

14 years agoExtend d_pseudofork to Win32-land and set it when appropriate
Steve Hay [Tue, 5 Dec 2006 16:06:31 +0000 (16:06 +0000)]
Extend d_pseudofork to Win32-land and set it when appropriate
(namely, when we have USE_ITHREADS and PERL_IMPLICIT_SYSTEM)

p4raw-id: //depot/perl@29469

14 years agoFurther tweaks to make it easier to create regexp engine plug ins.
Yves Orton [Tue, 5 Dec 2006 16:13:36 +0000 (17:13 +0100)]
Further tweaks to make it easier to create regexp engine plug ins.
Message-ID: <9b18b3110612050713g77cac516x46fb5baac99b47c9@mail.gmail.com>

(with tweaks)

p4raw-id: //depot/perl@29468

14 years agoIntroduction of d_pseudofork
H.Merijn Brand [Tue, 5 Dec 2006 14:55:14 +0000 (14:55 +0000)]
Introduction of d_pseudofork

p4raw-id: //depot/perl@29467

14 years agoRe: When should PERL_SYS_TERM() be called? [was: Re: [PATCH] Re: [PATCH] Re: [PATCH...
Jarkko Hietaniemi [Mon, 4 Dec 2006 22:53:03 +0000 (17:53 -0500)]
Re: When should PERL_SYS_TERM() be called? [was: Re: [PATCH] Re: [PATCH] Re: [PATCH] abstract mempool header testing]
Message-ID: <4574ED1F.40508@iki.fi>

Re-instates #29424 (previously reverted by #29451), now fixed to work
with PERL_IMPLICIT_SYS, thanks to Jan Dubois. Also adds PERLIO_TERM to
the Symbian port.

p4raw-id: //depot/perl@29465

14 years agoSkip Perl_regdupe_internal rather than Perl_regdupe
Steve Hay [Tue, 5 Dec 2006 09:38:14 +0000 (09:38 +0000)]
Skip Perl_regdupe_internal rather than Perl_regdupe
when building on Win32 without ithreads (see #29430)

p4raw-id: //depot/perl@29464

14 years agoMove Perl_get_db_sub() from pp_hot.c to util.c
Nicholas Clark [Mon, 4 Dec 2006 22:50:09 +0000 (22:50 +0000)]
Move Perl_get_db_sub() from pp_hot.c to util.c

p4raw-id: //depot/perl@29463

14 years agoRevert #29454
H.Merijn Brand [Mon, 4 Dec 2006 18:09:20 +0000 (18:09 +0000)]
Revert #29454

p4raw-id: //depot/perl@29462

14 years agofix some casting issues with perly.y / madly.y merger
Dave Mitchell [Mon, 4 Dec 2006 18:08:31 +0000 (18:08 +0000)]
fix some casting issues with perly.y / madly.y merger

p4raw-id: //depot/perl@29461

14 years agoBetter version of last patch, by Yves Orton.
Rafael Garcia-Suarez [Mon, 4 Dec 2006 17:50:51 +0000 (17:50 +0000)]
Better version of last patch, by Yves Orton.
Actually the regexp engine structure only needs
one compilation function hook.

p4raw-id: //depot/perl@29459

14 years agoThe new regexp compilation function must be added to the engine structure.
Rafael Garcia-Suarez [Mon, 4 Dec 2006 17:22:02 +0000 (17:22 +0000)]
The new regexp compilation function must be added to the engine structure.

p4raw-id: //depot/perl@29458

14 years agoActually submit previous change.
Rafael Garcia-Suarez [Mon, 4 Dec 2006 16:24:09 +0000 (16:24 +0000)]
Actually submit previous change.

p4raw-id: //depot/perl@29457

14 years agoSplit Perl_pregcomp in two functions. Patch by Audrey Tang,
Rafael Garcia-Suarez [Mon, 4 Dec 2006 16:15:54 +0000 (16:15 +0000)]
Split Perl_pregcomp in two functions. Patch by Audrey Tang,
to facilitate pluging in other regexp engines.

p4raw-id: //depot/perl@29456

14 years agomerge perly.y and madlu.y
Dave Mitchell [Mon, 4 Dec 2006 15:38:05 +0000 (15:38 +0000)]
merge perly.y and madlu.y

p4raw-id: //depot/perl@29455

14 years agoRe: install misses Compress/IO/{Base,Zlib}
Rafael Garcia-Suarez [Mon, 4 Dec 2006 15:48:12 +0000 (16:48 +0100)]
Re: install misses Compress/IO/{Base,Zlib}
From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>
Message-ID: <b77c1dce0612040648j411247c5i27a305c86cbac401@mail.gmail.com>

p4raw-id: //depot/perl@29454

14 years agoAdd File::Fetch to the core
Jos I. Boumans [Fri, 1 Dec 2006 12:24:08 +0000 (13:24 +0100)]
Add File::Fetch to the core
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <22195.80.127.35.68.1164972248.squirrel@webmail.xs4all.nl>

p4raw-id: //depot/perl@29452

14 years agoChange #29424 may well be correct in itself, but currently doesn't
Steve Hay [Mon, 4 Dec 2006 14:31:08 +0000 (14:31 +0000)]
Change #29424 may well be correct in itself, but currently doesn't
work when perl is built with PERL_IMPLICIT_SYS because PERLIO_TERM
uses PerlMemShared_free() which, in that case, involves the perlhost
that has already been freed itself by perl_free(), which is called
before PERL_SYS_TERM().

The order of perl_destruct(), perl_free(), PERL_SYS_TERM() cannot
be changed (it is advertised in perlembed for a start), so just
revert #29424 and the appropriate parts of #29442 for now.

Perhaps PL_perlio_fd_refcnt needs allocating differently, or else
the perlhost needs freeing later (after PerlIO)?

p4raw-id: //depot/perl@29451

14 years agoMinor pod nit in perlre.
Yves Orton [Mon, 4 Dec 2006 14:47:07 +0000 (15:47 +0100)]
Minor pod nit in perlre.
Message-ID: <9b18b3110612040547k1bcff290qb8c9b0d7c9ed9640@mail.gmail.com>

p4raw-id: //depot/perl@29450

14 years agoanother fix for bison 2.3
Dave Mitchell [Mon, 4 Dec 2006 12:08:56 +0000 (12:08 +0000)]
another fix for bison 2.3

p4raw-id: //depot/perl@29449

14 years ago-DDEBUGGING=both doesn't set -g
Yitzchak Scott-Thoennes [Mon, 4 Dec 2006 03:10:31 +0000 (19:10 -0800)]
-DDEBUGGING=both doesn't set -g
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <1176.63.226.246.123.1165230631.squirrel@63.226.246.123>

p4raw-id: //depot/perl@29448

14 years agoRe: [perl #38868] Changing $0 on darwin leads to excessive padding in 'ps'
Chris Dolan [Sat, 2 Dec 2006 09:37:08 +0000 (03:37 -0600)]
Re: [perl #38868] Changing $0 on darwin leads to excessive padding in 'ps'
Message-Id: <005671A0-5C2B-464C-85B9-A91E52278194@chrisdolan.net>

p4raw-id: //depot/perl@29446

14 years ago\R is supposed to mean something else so switch to \g and make it more useful in...
Yves Orton [Sun, 3 Dec 2006 16:55:55 +0000 (17:55 +0100)]
\R is supposed to mean something else so switch to \g and make it more useful in the process
Message-ID: <9b18b3110612030755o241e6372o9870ecce9c42e3d5@mail.gmail.com>

p4raw-id: //depot/perl@29445

14 years agoUpgrade to Test-Simple-0.66.
Steve Peters [Mon, 4 Dec 2006 02:48:24 +0000 (02:48 +0000)]
Upgrade to Test-Simple-0.66.

p4raw-id: //depot/perl@29444

14 years agoadd support for bison 2.3
Dave Mitchell [Sun, 3 Dec 2006 22:08:57 +0000 (22:08 +0000)]
add support for bison 2.3

p4raw-id: //depot/perl@29443

14 years agoRe: [PATCH] Re: [PATCH] Re: [PATCH] abstract mempool header testing
Yves Orton [Sat, 2 Dec 2006 14:48:54 +0000 (15:48 +0100)]
Re: [PATCH] Re: [PATCH] Re: [PATCH] abstract mempool header testing
Message-ID: <9b18b3110612020548l7c5aefd4m19cb0b5c4395abb4@mail.gmail.com>

p4raw-id: //depot/perl@29442

14 years agoRe: [perl #41010] (?(COND)) in pattern matching not working properly
Yves Orton [Thu, 30 Nov 2006 01:12:25 +0000 (02:12 +0100)]
Re: [perl #41010] (?(COND)) in pattern matching not working properly
Message-ID: <9b18b3110611291612i137803f4lab2739e3d9af40f7@mail.gmail.com>

p4raw-id: //depot/perl@29441

14 years agomerge perly.c and madly.c
Dave Mitchell [Sun, 3 Dec 2006 15:52:59 +0000 (15:52 +0000)]
merge perly.c and madly.c

madly.c is now just a wrapper that #includes perly.c

p4raw-id: //depot/perl@29440

14 years agoMinor patch for Benchmark.pm
Christophe Grosjean [Sun, 3 Dec 2006 01:31:58 +0000 (02:31 +0100)]
Minor patch for Benchmark.pm
Message-Id: <1165105918.2718.90.camel@localhost.localdomain>

p4raw-id: //depot/perl@29439

14 years agosynchronise perly.c and madly.c
Dave Mitchell [Sat, 2 Dec 2006 18:38:35 +0000 (18:38 +0000)]
synchronise perly.c and madly.c

p4raw-id: //depot/perl@29438

14 years agoUpgrade to Devel::PPPort 3.10_02
Marcus Holland-Moritz [Sat, 2 Dec 2006 17:25:55 +0000 (17:25 +0000)]
Upgrade to Devel::PPPort 3.10_02

p4raw-id: //depot/perl@29437

14 years agoUpgrade to Devel::PPPort 3.10_01
Marcus Holland-Moritz [Sat, 2 Dec 2006 17:13:26 +0000 (17:13 +0000)]
Upgrade to Devel::PPPort 3.10_01

p4raw-id: //depot/perl@29436

14 years agoperltodo.pod: add perlio todos/thinkabouts
Jarkko Hietaniemi [Fri, 1 Dec 2006 22:05:17 +0000 (00:05 +0200)]
perltodo.pod: add perlio todos/thinkabouts
Message-Id: <200612012005.kB1K5Hn3448004@kosh.hut.fi>

p4raw-id: //depot/perl@29435

14 years agoMake get_db_sub non-static, and call it from pp_goto, which allows the
Nicholas Clark [Fri, 1 Dec 2006 22:51:22 +0000 (22:51 +0000)]
Make get_db_sub non-static, and call it from pp_goto, which allows the
removal of duplicate code. (The conversion of GvSV(PL_DBsub) to
GvSVn(PL_DBsub) implicit in this change should fix a failure with
Devel::SmallProf.)

p4raw-id: //depot/perl@29434

14 years agoRemove the pp_entersub specific logic from S_get_db_sub.
Nicholas Clark [Fri, 1 Dec 2006 22:28:11 +0000 (22:28 +0000)]
Remove the pp_entersub specific logic from S_get_db_sub.

p4raw-id: //depot/perl@29433

15 years agoRe: [PATCH] Make B::Lint use Module::Pluggable
Joshua ben Jore [Wed, 29 Nov 2006 16:26:25 +0000 (08:26 -0800)]
Re: [PATCH] Make B::Lint use Module::Pluggable
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0611291626w51f85791h93d0c6b7d13ed4a2@mail.gmail.com>

p4raw-id: //depot/perl@29432

15 years agoRemove unused variable
Rafael Garcia-Suarez [Fri, 1 Dec 2006 14:03:22 +0000 (14:03 +0000)]
Remove unused variable

p4raw-id: //depot/perl@29431

15 years agoContinue split of perl internal regexp structures from ones that are engine specific.
Yves Orton [Thu, 30 Nov 2006 22:06:38 +0000 (23:06 +0100)]
Continue split of perl internal regexp structures from ones that are engine specific.
Message-ID: <9b18b3110611301306p5cad5deal4aa55559b8c8defd@mail.gmail.com>

p4raw-id: //depot/perl@29430

15 years agoVerify that the debugger has an array where to store lines before
Rafael Garcia-Suarez [Fri, 1 Dec 2006 10:28:36 +0000 (10:28 +0000)]
Verify that the debugger has an array where to store lines before
doing so. This fixes an assertion failure when parsing a script
that begins with '#!perl -d'.
Also, code factorization in toke.c.

p4raw-id: //depot/perl@29429

15 years agoFix Time-HiRes linker error on Win32 introduced by upgrades
Rafael Garcia-Suarez [Fri, 1 Dec 2006 10:26:48 +0000 (11:26 +0100)]
Fix Time-HiRes linker error on Win32 introduced by upgrades
from version 1.94 (#29423 and #29426)

Subject: Re: Time::HiRes not happy?
From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>
Message-ID: <b77c1dce0612010126o799d5b8bs4ef37d22d5c7e50@mail.gmail.com>

p4raw-id: //depot/perl@29428

15 years ago-Dprefix failed on Cygwin unless the directory ${installbin} already
Steve Peters [Thu, 30 Nov 2006 14:21:40 +0000 (14:21 +0000)]
-Dprefix failed on Cygwin unless the directory ${installbin} already
existed prior to running make.

p4raw-id: //depot/perl@29427

15 years agoUpgrade to Time-HiRes-1.96.
Steve Peters [Thu, 30 Nov 2006 14:11:57 +0000 (14:11 +0000)]
Upgrade to Time-HiRes-1.96.

p4raw-id: //depot/perl@29426

15 years agoDon't try to export fd_refcnt symbols when building without USE_PERLIO
Steve Hay [Thu, 30 Nov 2006 10:13:40 +0000 (10:13 +0000)]
Don't try to export fd_refcnt symbols when building without USE_PERLIO
to keep the Win32 linker happy

p4raw-id: //depot/perl@29425