platform/upstream/perl.git
17 years agoMaking adding binary files possible
Jos I. Boumans [Fri, 15 Dec 2006 20:51:45 +0000 (21:51 +0100)]
Making adding binary files possible
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <19978.80.127.35.68.1166212305.squirrel@webmail.xs4all.nl>

with a few tweaks

p4raw-id: //depot/perl@29593

17 years agoAdd a regression test to verify that POSIX::AUTOLOAD works,
Rafael Garcia-Suarez [Tue, 19 Dec 2006 10:50:13 +0000 (10:50 +0000)]
Add a regression test to verify that POSIX::AUTOLOAD works,
and silence a potential warning from it.

p4raw-id: //depot/perl@29592

17 years agoDisable strictures in POSIX AUTOLOAD
Rafael Garcia-Suarez [Tue, 19 Dec 2006 10:23:29 +0000 (10:23 +0000)]
Disable strictures in POSIX AUTOLOAD

p4raw-id: //depot/perl@29591

17 years agoDon't destroy the Unicode system environment on Perl startup
Jan Dubois [Mon, 18 Dec 2006 16:34:33 +0000 (08:34 -0800)]
Don't destroy the Unicode system environment on Perl startup
Message-ID: <bsbeo2hama2sdo3kqdbrdhp505caeft6h9@4ax.com>

p4raw-id: //depot/perl@29590

17 years agomake -Dpv print 8 parser stack items, not 9
Dave Mitchell [Tue, 19 Dec 2006 02:25:19 +0000 (02:25 +0000)]
make -Dpv print 8 parser stack items, not 9

p4raw-id: //depot/perl@29589

17 years agoMaking strict et al propagate into autoloaded subroutines seems a
Nicholas Clark [Mon, 18 Dec 2006 22:12:36 +0000 (22:12 +0000)]
Making strict et al propagate into autoloaded subroutines seems a
worthy todo.

p4raw-id: //depot/perl@29588

17 years agoEnsure that POSIX.pm is strict and warnings compliant throughout if
Nicholas Clark [Mon, 18 Dec 2006 22:04:19 +0000 (22:04 +0000)]
Ensure that POSIX.pm is strict and warnings compliant throughout if
the __END__ is temporarily removed.

p4raw-id: //depot/perl@29587

17 years agoGiven that POSIX already has AutoLoader loaded, move as much as
Nicholas Clark [Mon, 18 Dec 2006 21:23:43 +0000 (21:23 +0000)]
Given that POSIX already has AutoLoader loaded, move as much as
possible of POSIX::SigRt out to AutoLoadLand, so that it won't be
loaded unless someone starts using the realtime signals interface.

p4raw-id: //depot/perl@29586

17 years agoRe: [PATCH] do not meddle in the affairs of PERL_TRACK_MEMPOOL
Jarkko Hietaniemi [Sun, 17 Dec 2006 22:17:34 +0000 (17:17 -0500)]
Re: [PATCH] do not meddle in the affairs of PERL_TRACK_MEMPOOL
Message-ID: <4586084E.8040706@iki.fi>

Introduce CopLABEL() macro to deal with labels attached to COPs.

p4raw-id: //depot/perl@29585

17 years agoRe: [perl #41071] require stringifies code references in tied @INC
Rick Delaney [Fri, 15 Dec 2006 23:28:25 +0000 (18:28 -0500)]
Re: [perl #41071] require stringifies code references in tied @INC
Message-ID: <20061216042825.GB23501@localhost.localdomain>

p4raw-id: //depot/perl@29584

17 years agoExtUtils/MakeMaker.pm: WriteEmptyMakefile() was ignoring FIRST_MAKEFILE
Ilya Zakharevich [Mon, 18 Dec 2006 01:20:12 +0000 (17:20 -0800)]
ExtUtils/MakeMaker.pm: WriteEmptyMakefile() was ignoring FIRST_MAKEFILE

Subject: [PATCH 5.8.8] OS/2 build, small change
Message-ID: <20061218092012.GA15022@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29583

17 years agolib/perl5db.pl: Remove code now moved to OS2::Process
Ilya Zakharevich [Mon, 18 Dec 2006 01:20:12 +0000 (17:20 -0800)]
lib/perl5db.pl: Remove code now moved to OS2::Process

Subject: [PATCH 5.8.8] OS/2 build, small change
Message-ID: <20061218092012.GA15022@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29582

17 years agoBump version number of ExtUtils::MM_Unix after last change
Rafael Garcia-Suarez [Mon, 18 Dec 2006 13:35:18 +0000 (13:35 +0000)]
Bump version number of ExtUtils::MM_Unix after last change

p4raw-id: //depot/perl@29581

17 years agoOS/2-specific fixes, round II
Ilya Zakharevich [Mon, 18 Dec 2006 00:45:24 +0000 (16:45 -0800)]
OS/2-specific fixes, round II
Message-ID: <20061218084524.GA14866@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29580

17 years agoExtUtils::Command is now maintained separately from MakeMaker
Rafael Garcia-Suarez [Mon, 18 Dec 2006 11:53:54 +0000 (11:53 +0000)]
ExtUtils::Command is now maintained separately from MakeMaker

p4raw-id: //depot/perl@29579

17 years agoFixes for the test suite on OS/2
Ilya Zakharevich [Wed, 13 Dec 2006 18:32:22 +0000 (10:32 -0800)]
Fixes for the test suite on OS/2
Message-ID: <20061214023222.GA29084@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29578

17 years agoOS/2: survive SIGCHLD
Ilya Zakharevich [Mon, 18 Dec 2006 00:55:19 +0000 (16:55 -0800)]
OS/2: survive SIGCHLD
Message-ID: <20061218085519.GA14893@powdermilk.math.berkeley.edu>

plus a perldiag entry for the new error,
"Maximal count of pending signals (%s) exceeded"

p4raw-id: //depot/perl@29577

17 years agoC++: regcomp.c and ext/Time/Piece/Piece.xs
Jarkko Hietaniemi [Sun, 17 Dec 2006 22:45:29 +0000 (17:45 -0500)]
C++: regcomp.c and ext/Time/Piece/Piece.xs
Message-ID: <45860ED9.9090808@iki.fi>

p4raw-id: //depot/perl@29576

17 years agoPATCH: Add =encoding directive to non-latin READMEs
Slaven Rezic [Sat, 16 Dec 2006 11:20:36 +0000 (12:20 +0100)]
PATCH: Add =encoding directive to non-latin READMEs
Message-ID: <87wt4sdtvv.fsf@biokovo.herceg.de>

p4raw-id: //depot/perl@29575

17 years agoperl.c: leak avoidance
Jarkko Hietaniemi [Sat, 16 Dec 2006 11:48:13 +0000 (06:48 -0500)]
perl.c: leak avoidance
Message-ID: <4584234D.7070209@iki.fi>

p4raw-id: //depot/perl@29574

17 years agoIn vms/vms.c, don't prototype decw$term_port until after
Craig A. Berry [Mon, 18 Dec 2006 01:15:43 +0000 (01:15 +0000)]
In vms/vms.c, don't prototype decw$term_port until after
config.h (via perl.h) is included.  That's where USE_VMS_DECTERM
is defined.

p4raw-id: //depot/perl@29573

17 years agoDon't try to build Win32 on VMS
Craig A. Berry [Mon, 18 Dec 2006 01:11:41 +0000 (01:11 +0000)]
Don't try to build Win32 on VMS

p4raw-id: //depot/perl@29572

17 years agoPOSIX::SigAction::new can be moved into the AUTOLOAD section.
Nicholas Clark [Mon, 18 Dec 2006 00:27:43 +0000 (00:27 +0000)]
POSIX::SigAction::new can be moved into the AUTOLOAD section.

p4raw-id: //depot/perl@29571

17 years agomove parser state into new parser object, PL_parser
Dave Mitchell [Mon, 18 Dec 2006 00:24:01 +0000 (00:24 +0000)]
move parser state into new parser object, PL_parser

p4raw-id: //depot/perl@29570

17 years agomerge the four parser stacks into one
Dave Mitchell [Sun, 17 Dec 2006 22:21:40 +0000 (22:21 +0000)]
merge the four parser stacks into one

p4raw-id: //depot/perl@29569

17 years agodelete dead code and macros from perly.c
Dave Mitchell [Sun, 17 Dec 2006 20:00:19 +0000 (20:00 +0000)]
delete dead code and macros from perly.c

p4raw-id: //depot/perl@29568

17 years agounify stacks arithmetic in parser
Dave Mitchell [Sun, 17 Dec 2006 19:42:35 +0000 (19:42 +0000)]
unify stacks arithmetic in parser

p4raw-id: //depot/perl@29567

17 years agoAdd a new flag SVprv_PCS_IMPORTED (which is a pseudonym for SVf_SCREAM)
Nicholas Clark [Sat, 16 Dec 2006 23:03:42 +0000 (23:03 +0000)]
Add a new flag SVprv_PCS_IMPORTED (which is a pseudonym for SVf_SCREAM)
to note when a proxy constant subroutine is copied. This allows us to
correctly set GvIMPORTED_CV_on() if the symbol is ever turned into a
real GV.

p4raw-id: //depot/perl@29566

17 years agoSplit out the use of SVp_SCREAM for GVs with GPs into a new symbolic
Nicholas Clark [Sat, 16 Dec 2006 16:54:06 +0000 (16:54 +0000)]
Split out the use of SVp_SCREAM for GVs with GPs into a new symbolic
flag SVpgv_GP, and use this in isGV_with_GP_on/off.

p4raw-id: //depot/perl@29565

17 years agoremove extraneous declaration prom perly.tab
Dave Mitchell [Sat, 16 Dec 2006 15:37:32 +0000 (15:37 +0000)]
remove extraneous declaration prom perly.tab

p4raw-id: //depot/perl@29564

17 years agothreads 1.56
Jerry D. Hedden [Fri, 15 Dec 2006 09:22:17 +0000 (01:22 -0800)]
threads 1.56
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <20061215172217.10959.qmail@web30211.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29563

17 years agoTODO addition by Jerry D. Hedden.
Rafael Garcia-Suarez [Sat, 16 Dec 2006 09:54:47 +0000 (09:54 +0000)]
TODO addition by Jerry D. Hedden.

p4raw-id: //depot/perl@29562

17 years agodon't include MAD code when its not needed
Dave Mitchell [Sat, 16 Dec 2006 02:53:59 +0000 (02:53 +0000)]
don't include MAD code when its not needed

p4raw-id: //depot/perl@29561

17 years agofix a cast warning in perly.c
Dave Mitchell [Sat, 16 Dec 2006 01:36:28 +0000 (01:36 +0000)]
fix a cast warning in perly.c

p4raw-id: //depot/perl@29560

17 years agoBetter documentation for SVf_UTF8. Including SvPV() 1st, SvUTF() 2nd.
Nicholas Clark [Fri, 15 Dec 2006 20:14:07 +0000 (20:14 +0000)]
Better documentation for SVf_UTF8. Including SvPV() 1st, SvUTF() 2nd.

p4raw-id: //depot/perl@29559

17 years agoRe: [PATCH] Errno doesnt rebuild when things it depends on in Config.pm change
Yves Orton [Fri, 15 Dec 2006 12:52:45 +0000 (13:52 +0100)]
Re: [PATCH] Errno doesnt rebuild when things it depends on in Config.pm change
Message-ID: <9b18b3110612150352y2394954bg5acd5ec5fd320d33@mail.gmail.com>

p4raw-id: //depot/perl@29558

17 years agothreads 1.54 - Adds ->error() method
Jerry D. Hedden [Thu, 14 Dec 2006 11:17:47 +0000 (03:17 -0800)]
threads 1.54 - Adds ->error() method
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <20061214191748.98286.qmail@web30209.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29557

17 years agoSilence a warning from (MinGW's) gcc
Steve Hay [Thu, 14 Dec 2006 16:24:29 +0000 (16:24 +0000)]
Silence a warning from (MinGW's) gcc

p4raw-id: //depot/perl@29556

17 years agoperl5db.pl Mac OS X fix
Bo Lindbergh [Thu, 14 Dec 2006 13:34:06 +0000 (14:34 +0100)]
perl5db.pl Mac OS X fix
Message-Id: <658AFA03-517E-4068-93CA-06D4A93B5CA5@hagernas.com>

p4raw-id: //depot/perl@29555

17 years agoTurn a tab into 2 spaces to make more room for comments about SV flags.
Nicholas Clark [Thu, 14 Dec 2006 11:23:16 +0000 (11:23 +0000)]
Turn a tab into 2 spaces to make more room for comments about SV flags.
Sorry about damaging the change history - dig through this change with
http://public.activestate.com/cgi-bin/perlbrowse?show_blame=Show+Annotated+File&filename=sv.h&rev=&change=29552

p4raw-id: //depot/perl@29554

17 years agoSilence a VC compiler warning
Steve Hay [Thu, 14 Dec 2006 09:37:45 +0000 (09:37 +0000)]
Silence a VC compiler warning

p4raw-id: //depot/perl@29553

17 years agoSwap the order of PERL_FBM_PREVIOUS_{L,H}_OFFSET_FROM_TABLE on little
Nicholas Clark [Wed, 13 Dec 2006 20:56:24 +0000 (20:56 +0000)]
Swap the order of PERL_FBM_PREVIOUS_{L,H}_OFFSET_FROM_TABLE on little
endian machines to hint to the compiler that a 16 bit read could work.

p4raw-id: //depot/perl@29552

17 years agoRestore the two comments describing BmRARE and BmPREVIOUS that I'd
Nicholas Clark [Wed, 13 Dec 2006 19:55:08 +0000 (19:55 +0000)]
Restore the two comments describing BmRARE and BmPREVIOUS that I'd
inadvertently deleted. Explain the setting and testing of
SVpbm_VALID.

p4raw-id: //depot/perl@29551

17 years agoText mode wrongly set on pipe file descriptors
Ilya Zakharevich [Tue, 12 Dec 2006 23:28:25 +0000 (15:28 -0800)]
Text mode wrongly set on pipe file descriptors
Message-ID: <20061213072825.GA26300@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29550

17 years agomake -Dpv display the parser stack before reduction
Dave Mitchell [Wed, 13 Dec 2006 17:24:49 +0000 (17:24 +0000)]
make -Dpv display the parser stack before reduction
(rather than afterwards)

p4raw-id: //depot/perl@29549

17 years agomisc MAD coredump fixes and parser leak fixes
Dave Mitchell [Wed, 13 Dec 2006 17:16:22 +0000 (17:16 +0000)]
misc MAD coredump fixes and parser leak fixes

- fix MAD coredump in tr///
- fix mad coredump in multi-line string literals
- kill some MAD uninit value warnings
- don't allow assignment to $n in perly.y
- make op_dump handle op_latefree flags

p4raw-id: //depot/perl@29548

17 years agofix double free introduced by #29543 (spotted by Nicholas)
Dave Mitchell [Wed, 13 Dec 2006 12:47:35 +0000 (12:47 +0000)]
fix double free introduced by #29543 (spotted by Nicholas)

p4raw-id: //depot/perl@29547

17 years agot/op/groups.t: prevent failure on modern FreeBSDs
Anton Berezin [Tue, 12 Dec 2006 19:59:38 +0000 (20:59 +0100)]
t/op/groups.t: prevent failure on modern FreeBSDs
Message-ID: <20061212185938.GB49084@heechee.tobez.org>

p4raw-id: //depot/perl@29546

17 years agoDo the same as #29514 for Win32
Steve Hay [Wed, 13 Dec 2006 10:37:11 +0000 (10:37 +0000)]
Do the same as #29514 for Win32

p4raw-id: //depot/perl@29545

17 years agoEliminate PVBM. Store fast Boyer-Moore tables in PVGV.
Nicholas Clark [Wed, 13 Dec 2006 08:35:43 +0000 (08:35 +0000)]
Eliminate PVBM. Store fast Boyer-Moore tables in PVGV.
Add the placeholder for new type, temporarily named BIND, for binding
and aliasing in 6 on 5.

p4raw-id: //depot/perl@29544

17 years agofix parser leaks caused by croaking while shifting or reducing
Dave Mitchell [Wed, 13 Dec 2006 01:47:34 +0000 (01:47 +0000)]
fix parser leaks caused by croaking while shifting or reducing
e.g. these no longer leak:
    eval q[my $x; local $x] while 1;
    eval q[$s = sub <> {}]  while 1;

p4raw-id: //depot/perl@29543

17 years agofixup some ival/opval type changes from perly.y/madly.y merger
Dave Mitchell [Wed, 13 Dec 2006 00:16:18 +0000 (00:16 +0000)]
fixup some ival/opval type changes from perly.y/madly.y merger

p4raw-id: //depot/perl@29542

17 years agoIn theory Perl_magic_setbm() should clear SvTAIL() too. In practice,
Nicholas Clark [Tue, 12 Dec 2006 23:02:56 +0000 (23:02 +0000)]
In theory Perl_magic_setbm() should clear SvTAIL() too. In practice,
I don't think that it matters as this routine is never actualy called
because nothing exposes PVBMs to the world so that the world can assign
to them.

p4raw-id: //depot/perl@29541

17 years agoCorrect the dumping logic for the various bits of flag bending
Nicholas Clark [Tue, 12 Dec 2006 22:30:29 +0000 (22:30 +0000)]
Correct the dumping logic for the various bits of flag bending
associated with change 27313 or therabouts.

p4raw-id: //depot/perl@29540

17 years agoOops. As of some point one stopped being able to assign integers and
Nicholas Clark [Tue, 12 Dec 2006 22:03:21 +0000 (22:03 +0000)]
Oops. As of some point one stopped being able to assign integers and
floating point values to typeglobs.

p4raw-id: //depot/perl@29539

17 years agoCorrect some assumptions about PVBM table offset in B.xs
Nicholas Clark [Tue, 12 Dec 2006 21:54:22 +0000 (21:54 +0000)]
Correct some assumptions about PVBM table offset in B.xs

p4raw-id: //depot/perl@29538

17 years agoAssert that SvPAD_TYPED_on(), SvPAD_OUR_on() and SvPAD_STATE_on()
Nicholas Clark [Tue, 12 Dec 2006 21:31:10 +0000 (21:31 +0000)]
Assert that SvPAD_TYPED_on(), SvPAD_OUR_on() and SvPAD_STATE_on()
are never called on PVGVs.

p4raw-id: //depot/perl@29537

17 years agoAssert that PVGVs are never SvVALID() in the PVBM sense.
Nicholas Clark [Tue, 12 Dec 2006 21:00:37 +0000 (21:00 +0000)]
Assert that PVGVs are never SvVALID() in the PVBM sense.

p4raw-id: //depot/perl@29536

17 years agopads haven't actually contained any PVGVs since change 27313.
Nicholas Clark [Tue, 12 Dec 2006 19:54:05 +0000 (19:54 +0000)]
pads haven't actually contained any PVGVs since change 27313.
So correct the docs and assert this in the code.

p4raw-id: //depot/perl@29535

17 years agoShrink Perl_sv_peek() and Perl_do_sv_dump() by using type to name
Nicholas Clark [Tue, 12 Dec 2006 18:52:55 +0000 (18:52 +0000)]
Shrink Perl_sv_peek() and Perl_do_sv_dump() by using type to name
lookup tables.

p4raw-id: //depot/perl@29534

17 years agoRestore (differently) the setting of $Config{osvers} on Win32
Steve Hay [Tue, 12 Dec 2006 18:02:19 +0000 (18:02 +0000)]
Restore (differently) the setting of $Config{osvers} on Win32
that was removed by #29509

p4raw-id: //depot/perl@29533

17 years agoSilence VC warnings about possible operator precedence problems
Steve Hay [Tue, 12 Dec 2006 17:49:51 +0000 (17:49 +0000)]
Silence VC warnings about possible operator precedence problems
and signed/unsigned mismatches

p4raw-id: //depot/perl@29532

17 years agomg.c: #ifdef only the different bits
Jarkko Hietaniemi [Tue, 12 Dec 2006 15:18:53 +0000 (17:18 +0200)]
mg.c: #ifdef only the different bits
Message-Id: <20061212131853.C2CBA43A67@anubis.hut.fi>

p4raw-id: //depot/perl@29531

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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