This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoI think #29060 / #29073 missed this
Steve Hay [Thu, 30 Nov 2006 09:45:47 +0000 (09:45 +0000)]
I think #29060 / #29073 missed this

p4raw-id: //depot/perl@29424

14 years agoUpgrade to Time-HiRes-1.95
Steve Peters [Thu, 30 Nov 2006 04:44:54 +0000 (04:44 +0000)]
Upgrade to Time-HiRes-1.95

p4raw-id: //depot/perl@29423

14 years agoNo code specified for -.
Jarkko Hietaniemi [Wed, 29 Nov 2006 19:06:09 +0000 (14:06 -0500)]
No code specified for -.
Message-ID: <456E2071.3010404@iki.fi>

p4raw-id: //depot/perl@29422

14 years agoUpgrade to CPAN-1.88_63.
Steve Peters [Wed, 29 Nov 2006 15:32:58 +0000 (15:32 +0000)]
Upgrade to CPAN-1.88_63.

p4raw-id: //depot/perl@29421

14 years agoRe: Fix \k<foo> preceded by literal
Yves Orton [Wed, 29 Nov 2006 16:18:34 +0000 (17:18 +0100)]
Re: Fix \k<foo> preceded by literal
Message-ID: <9b18b3110611290718o685a07ddja39f595ed97c231a@mail.gmail.com>

p4raw-id: //depot/perl@29420

14 years agoUpgrade to Tie-RefHash-1.35_01, which is just a version change for
Steve Peters [Wed, 29 Nov 2006 15:24:21 +0000 (15:24 +0000)]
Upgrade to Tie-RefHash-1.35_01, which is just a version change for
bleadperl.

p4raw-id: //depot/perl@29419

14 years agoUpgrade to ExtUtils-ParseXS-2.17. Actuall just caught up with
Steve Peters [Wed, 29 Nov 2006 15:17:59 +0000 (15:17 +0000)]
Upgrade to ExtUtils-ParseXS-2.17.  Actuall just caught up with
most of the patches to bleadperl.  The remaining change missing
is #29252, so, the version has been bumped to 2.17_01.

p4raw-id: //depot/perl@29418

14 years agoPatch by Derek Price to Time::Piece for CPAN bug #21255:
Rafael Garcia-Suarez [Wed, 29 Nov 2006 12:08:35 +0000 (12:08 +0000)]
Patch by Derek Price to Time::Piece for CPAN bug #21255:
NOTDATE - DATE should stringify DATE and let Perl handle things

p4raw-id: //depot/perl@29417

14 years ago[perl #41008] Setting $0 invalidates environment shown by ps
alexander_bluhm@genua.de [Tue, 28 Nov 2006 05:09:31 +0000 (21:09 -0800)]
[perl #41008] Setting $0 invalidates environment shown by ps
From: alexander_bluhm@genua.de (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-32013-1164719371-480.41008-75-0@perl.org>

p4raw-id: //depot/perl@29416

14 years agoMacOSX debugger fork support
Richard Foley [Wed, 29 Nov 2006 12:00:53 +0000 (13:00 +0100)]
MacOSX debugger fork support
Message-Id: <200611291200.53429.Richard.Foley@rfi.net>

p4raw-id: //depot/perl@29415

14 years agoFix Attribute::Handlers to cope with proxy constant subroutines.
Nicholas Clark [Wed, 29 Nov 2006 10:19:19 +0000 (10:19 +0000)]
Fix Attribute::Handlers to cope with proxy constant subroutines.

p4raw-id: //depot/perl@29414

14 years agoChange in handling of \RNNN inside nested patterns
Yves Orton [Wed, 29 Nov 2006 01:07:43 +0000 (02:07 +0100)]
Change in handling of \RNNN inside nested patterns
Subject: Re: New development release in sight
Message-ID: <9b18b3110611281607i3d583febtd549989dc3cabc8a@mail.gmail.com>

p4raw-id: //depot/perl@29413

14 years agoBring the joy of strict to Attribute::Handlers.
Nicholas Clark [Tue, 28 Nov 2006 23:31:15 +0000 (23:31 +0000)]
Bring the joy of strict to Attribute::Handlers.

p4raw-id: //depot/perl@29412

14 years agoRemove DOS line endings
Rafael Garcia-Suarez [Tue, 28 Nov 2006 17:19:40 +0000 (17:19 +0000)]
Remove DOS line endings
(perforce should take care of line encodings on checkout)

p4raw-id: //depot/perl@29411

14 years agoFix IPC-Cmd test failure on Win32: check current directory as well
Steve Hay [Tue, 28 Nov 2006 16:43:17 +0000 (16:43 +0000)]
Fix IPC-Cmd test failure on Win32: check current directory as well
as those listed in $ENV{PATH} when searching for binaries

p4raw-id: //depot/perl@29410

14 years agoBuilding with Visual C++ 2005 now works except for one test failure
Steve Hay [Tue, 28 Nov 2006 16:01:55 +0000 (16:01 +0000)]
Building with Visual C++ 2005 now works except for one test failure

p4raw-id: //depot/perl@29409

14 years agoSilence VC++ 8 warnings about "possible loss of data"
Steve Hay [Tue, 28 Nov 2006 15:57:45 +0000 (15:57 +0000)]
Silence VC++ 8 warnings about "possible loss of data"

p4raw-id: //depot/perl@29408

14 years agoOS/2 compilation fixes by Ilya
Ilya Zakharevich [Tue, 28 Nov 2006 03:36:29 +0000 (19:36 -0800)]
OS/2 compilation fixes by Ilya

Subject: [PATCH 5.8.8] Build on OS/2
Message-ID: <20061128113629.GA18108@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29407

14 years agoSilence 4 "unreferenced local variable" warnings from VC++
Steve Hay [Tue, 28 Nov 2006 14:58:14 +0000 (14:58 +0000)]
Silence 4 "unreferenced local variable" warnings from VC++

p4raw-id: //depot/perl@29406

14 years agoRe: [PATCH 5.8.8] Build on OS/2
Ilya Zakharevich [Tue, 28 Nov 2006 05:02:20 +0000 (21:02 -0800)]
Re: [PATCH 5.8.8] Build on OS/2
Message-ID: <20061128130220.GA18386@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29405

14 years agoAdd Module::Pluggable
Rafael Garcia-Suarez [Tue, 28 Nov 2006 13:50:37 +0000 (13:50 +0000)]
Add Module::Pluggable
(required by CPANPLUS)

p4raw-id: //depot/perl@29404

14 years agoperl5db on miniperl
Ilya Zakharevich [Tue, 28 Nov 2006 03:39:05 +0000 (19:39 -0800)]
perl5db on miniperl
Message-ID: <20061128113905.GA18135@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29403

14 years agoGive perl.exe an icon when built with MinGW and Borland
Steve Hay [Tue, 28 Nov 2006 11:57:35 +0000 (11:57 +0000)]
Give perl.exe an icon when built with MinGW and Borland

It already gets an icon when built with VC++, but the MinGW and Borland
builds were not making any use of the resource file.

Also add the top-level directory into MinGW's resource compiler search
path to assist ActivePerl builds: see:
http://downloads.activestate.com/ActivePerl/src/5.8/AP819_diff.txt

p4raw-id: //depot/perl@29402

14 years agoAdd IPC::Cmd to the core
Rafael Garcia-Suarez [Tue, 28 Nov 2006 10:45:06 +0000 (10:45 +0000)]
Add IPC::Cmd to the core

p4raw-id: //depot/perl@29401

14 years agoTypo fix (by Dominic Dunlop)
Rafael Garcia-Suarez [Tue, 28 Nov 2006 10:09:01 +0000 (10:09 +0000)]
Typo fix (by Dominic Dunlop)

p4raw-id: //depot/perl@29400

14 years ago[PATCH[ threads 1.53
Jerry D. Hedden [Mon, 27 Nov 2006 09:26:08 +0000 (01:26 -0800)]
[PATCH[ threads 1.53
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <965653.3725.qm@web30206.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29399

14 years agoRe: [PATCH] perlhack: some portability updates
Dominic Dunlop [Sun, 26 Nov 2006 12:01:16 +0000 (13:01 +0100)]
Re: [PATCH] perlhack: some portability updates
Message-Id: <253514EB-BA57-4A43-93FA-75D6F3CF27BC@mac.com>

p4raw-id: //depot/perl@29398

14 years agoAdd missing d_printf_format_null/PRINTF_FORMAT_NULL_OK to Win32 canned
Steve Hay [Mon, 27 Nov 2006 17:44:27 +0000 (17:44 +0000)]
Add missing d_printf_format_null/PRINTF_FORMAT_NULL_OK to Win32 canned
configs

See:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-11/msg00923.html

p4raw-id: //depot/perl@29397

14 years agoMake the win32/makefile.mk a little safer
Steve Hay [Mon, 27 Nov 2006 17:39:00 +0000 (17:39 +0000)]
Make the win32/makefile.mk a little safer

- Add a few missing s,\,$B, substitutions. We were living dangerously
  with various unescaped backslashes not causing problems purely because
  they don't make valid ecape codes anyway, e.g. ..\perl59.dll was only
  working because \p isn't an escape code so it didn't get mapped to
  anything nasty.

- Move the $(BLINK_FLAGS) out of $(mktmp ...)'s because it could contain
  backslashes which would otherwise need escaping. (Adding in the
  escaping would be another fix but other cases don't put $(BLINK_FLAGS)
  into $(mktmp ...) files in the first place.)

p4raw-id: //depot/perl@29396

14 years agoAdd missing file to MANIFEST
Rafael Garcia-Suarez [Mon, 27 Nov 2006 16:54:26 +0000 (16:54 +0000)]
Add missing file to MANIFEST

p4raw-id: //depot/perl@29395

14 years agoMove words and revcharmap out of struct _rev_trie_data and duplicate
Nicholas Clark [Mon, 27 Nov 2006 08:02:35 +0000 (08:02 +0000)]
Move words and revcharmap out of struct _rev_trie_data and duplicate
them on thread clone.

p4raw-id: //depot/perl@29394

14 years agoMove widecharmap out of the shared structure _reg_trie_data into the
Nicholas Clark [Sun, 26 Nov 2006 23:32:29 +0000 (23:32 +0000)]
Move widecharmap out of the shared structure _reg_trie_data into the
top level regdata array, so that it can be correctly duplicated on
thread clone.

p4raw-id: //depot/perl@29393

14 years agoSwap _reg_ac_data.trie to U32 offset into the regdata array, as
Nicholas Clark [Sun, 26 Nov 2006 23:01:46 +0000 (23:01 +0000)]
Swap _reg_ac_data.trie to U32 offset into the regdata array, as
preliminary to moving _reg_trie_data.widecharmap out too.

p4raw-id: //depot/perl@29392

14 years agoMoving the reference count to the front of both _reg_trie_data and
Nicholas Clark [Sun, 26 Nov 2006 22:21:02 +0000 (22:21 +0000)]
Moving the reference count to the front of both _reg_trie_data and
_reg_ac_data allows smaller code in Perl_regdupe.

p4raw-id: //depot/perl@29391

14 years agoA little reodering of the switch statement in Perl_regdupe makes a
Nicholas Clark [Sun, 26 Nov 2006 20:52:49 +0000 (20:52 +0000)]
A little reodering of the switch statement in Perl_regdupe makes a
smaller executable.

p4raw-id: //depot/perl@29390

14 years agoEliminated unitialised clone_params value bug accidentally added with
Nicholas Clark [Sun, 26 Nov 2006 20:03:16 +0000 (20:03 +0000)]
Eliminated unitialised clone_params value bug accidentally added with
change 28229.

p4raw-id: //depot/perl@29389

14 years agoStage 1 of threadsafe-ing the trie strucutres - use shared malloc.
Nicholas Clark [Sun, 26 Nov 2006 20:00:36 +0000 (20:00 +0000)]
Stage 1 of threadsafe-ing the trie strucutres - use shared malloc.

p4raw-id: //depot/perl@29388

14 years agoSimplify S_add_data(), given that realloc will NULL acts as malloc().
Nicholas Clark [Sun, 26 Nov 2006 18:44:57 +0000 (18:44 +0000)]
Simplify S_add_data(), given that realloc will NULL acts as malloc().

p4raw-id: //depot/perl@29387

14 years agoChange (well, correct) S_add_data to take and return a U32.
Nicholas Clark [Sun, 26 Nov 2006 18:26:53 +0000 (18:26 +0000)]
Change (well, correct) S_add_data to take and return a U32.

p4raw-id: //depot/perl@29386

14 years agoMake the cache in Carp::trusts actually persist across calls :-)
Nicholas Clark [Sun, 26 Nov 2006 18:00:05 +0000 (18:00 +0000)]
Make the cache in Carp::trusts actually persist across calls :-)
I made a similar mistake once long ago, and now spot the pattern.

p4raw-id: //depot/perl@29385

14 years agoRemove unused lexical present since change 13426.
Nicholas Clark [Sun, 26 Nov 2006 17:33:05 +0000 (17:33 +0000)]
Remove unused lexical present since change 13426.

p4raw-id: //depot/perl@29384

14 years agoAdding Time::Piece to the core...again.
Steve Peters [Sun, 26 Nov 2006 14:14:54 +0000 (14:14 +0000)]
Adding Time::Piece to the core...again.

p4raw-id: //depot/perl@29383

14 years agoStop mod_perl looping forever in &Carp::shortmess_jmp as it somehow
Nicholas Clark [Sun, 26 Nov 2006 12:38:20 +0000 (12:38 +0000)]
Stop mod_perl looping forever in &Carp::shortmess_jmp as it somehow
manages to forcibly re-load Carp.pm without re-loading Carp/Heavy.pm

p4raw-id: //depot/perl@29382

14 years agoSkip test for Module::Load::Conditional that appears to be setting
Steve Peters [Sat, 25 Nov 2006 23:11:36 +0000 (23:11 +0000)]
Skip test for Module::Load::Conditional that appears to be setting
$^X, but not getting it right.  I'll wait to see if Jos has a fix.

p4raw-id: //depot/perl@29381

14 years agoxterm debugger support for VMS from John Malmberg (with revisions)
Craig A. Berry [Sat, 25 Nov 2006 22:19:14 +0000 (22:19 +0000)]
xterm debugger support for VMS from John Malmberg (with revisions)

p4raw-id: //depot/perl@29380

14 years agoAdd Module::Load::Conditional to the core
Jos I. Boumans [Fri, 24 Nov 2006 18:07:54 +0000 (19:07 +0100)]
Add Module::Load::Conditional to the core
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <23336.80.127.35.68.1164388074.squirrel@webmail.xs4all.nl>

p4raw-id: //depot/perl@29379

14 years agosmoke signs suppression
Jarkko Hietaniemi [Sat, 25 Nov 2006 11:45:24 +0000 (06:45 -0500)]
smoke signs suppression
Message-ID: <45687324.3040102@iki.fi>

p4raw-id: //depot/perl@29378

14 years agoperlhack: some portability updates
Jarkko Hietaniemi [Sat, 25 Nov 2006 17:57:23 +0000 (19:57 +0200)]
perlhack: some portability updates
Message-Id: <200611251557.kAPFvNKw011342@kosh.hut.fi>

p4raw-id: //depot/perl@29377

14 years agoRemove redundant macros from win32 makefiles
Steve Hay [Fri, 24 Nov 2006 17:11:34 +0000 (17:11 +0000)]
Remove redundant macros from win32 makefiles

In the course of removing redundant ByteLoader references I found that
various long lists of extensions are hopelessly out of date, e.g.
Compress/Zlib should be Compress/Raw/Zlib and PerlIO/*, threads/* and
others are missing. It seems that these lists of extensions serve no
useful purpose anyway: in Makefile they are used to delete files that
should already have been deleted by the Makefile for each module, and
in makefile.mk DYNAMIC_EXT wasn't used at all! So the simplest remedy
is to remove them. One less maintenance headache.

p4raw-id: //depot/perl@29376

14 years agoCleanup manifest file left by test script when using VC8
Steve Hay [Fri, 24 Nov 2006 15:44:23 +0000 (15:44 +0000)]
Cleanup manifest file left by test script when using VC8

p4raw-id: //depot/perl@29375

14 years agoEmbed manifest files in DLLs built with Module-Build when using VC8
Steve Hay [Fri, 24 Nov 2006 15:38:24 +0000 (15:38 +0000)]
Embed manifest files in DLLs built with Module-Build when using VC8

This change does for Module-Build what part of #29266 did for
ExtUtils-MakeMaker.

p4raw-id: //depot/perl@29374

14 years ago[perl #36689] &=, |= and ^= overloads are nbot documented
Adriano Ferreira [Thu, 23 Nov 2006 17:43:12 +0000 (15:43 -0200)]
[perl #36689] &=, |= and ^= overloads are nbot documented
From: "Adriano Rodrigues" <a.r.ferreira@gmail.com>
Message-ID: <73ddeb6c0611231143y1e3461dbqf30f5fce16698b5c@mail.gmail.com>

p4raw-id: //depot/perl@29373

14 years agoRevert change #29098 (that introduced a new warning,
Rafael Garcia-Suarez [Fri, 24 Nov 2006 10:16:07 +0000 (10:16 +0000)]
Revert change #29098 (that introduced a new warning,
"Variable length character upgraded in print")
p4raw-link: @29098 on //depot/perl: f46fa3876d9373760a3cd5dd806719154ff55bcb

p4raw-id: //depot/perl@29372

14 years agoUn-TODO one test in pat.t ($1 kept safe after a /g match)
Rafael Garcia-Suarez [Fri, 24 Nov 2006 09:58:43 +0000 (09:58 +0000)]
Un-TODO one test in pat.t ($1 kept safe after a /g match)

p4raw-id: //depot/perl@29371

14 years agoEven better configure.com handling for checkcfgvar.pl
Craig A. Berry [Fri, 24 Nov 2006 04:45:30 +0000 (04:45 +0000)]
Even better configure.com handling for checkcfgvar.pl

p4raw-id: //depot/perl@29370

14 years agoInitialize targetarch in configure.com
Craig A. Berry [Fri, 24 Nov 2006 04:42:43 +0000 (04:42 +0000)]
Initialize targetarch in configure.com

p4raw-id: //depot/perl@29369

14 years agoRe: [PATCH] Cleanup regexp flags and structure
Yves Orton [Thu, 23 Nov 2006 19:21:38 +0000 (20:21 +0100)]
Re: [PATCH] Cleanup regexp flags and structure
Message-ID: <9b18b3110611231021l561a9cb4te985db3f0648e097@mail.gmail.com>

Attached patch completes the splitting out of the core from the regexp
internal data.

p4raw-id: //depot/perl@29368

14 years agoModule::Pluggable diff had some hidden binary files in it. I'm
Steve Peters [Thu, 23 Nov 2006 20:51:11 +0000 (20:51 +0000)]
Module::Pluggable diff had some hidden binary files in it.  I'm
backing it out while Jos verifies whether those files are actually
needed in the distribution or not.

p4raw-id: //depot/perl@29367

14 years agoAdd Module::Pluggable to the core
Jos Boumans [Sun, 19 Nov 2006 16:06:00 +0000 (17:06 +0100)]
Add Module::Pluggable to the core
From: "Jos Boumans" <kane@xs4all.net>
Message-ID: <4188.80.127.35.68.1163948760.squirrel@webmail.xs4all.nl>

p4raw-id: //depot/perl@29366

14 years agoChange 29364 forgot to turn the POK flag on.
Nicholas Clark [Thu, 23 Nov 2006 19:29:57 +0000 (19:29 +0000)]
Change 29364 forgot to turn the POK flag on.

p4raw-id: //depot/perl@29365

14 years agoAssigning to a PVCV effectively just sets the prototype, so make this
Nicholas Clark [Thu, 23 Nov 2006 17:16:34 +0000 (17:16 +0000)]
Assigning to a PVCV effectively just sets the prototype, so make this
the exact behaviour. (Fixes bug #40681, which prevents mod_perl from
building)

p4raw-id: //depot/perl@29364

14 years agoRemove superfluous SvROK()
Nicholas Clark [Thu, 23 Nov 2006 16:59:04 +0000 (16:59 +0000)]
Remove superfluous SvROK()

p4raw-id: //depot/perl@29363