Rafael Garcia-Suarez [Sat, 23 Dec 2006 16:15:50 +0000]
Fix #6006 for taint mode too.
p4raw-id: //depot/perl@29619
Rafael Garcia-Suarez [Sat, 23 Dec 2006 15:52:27 +0000]
Remove -T from op/subst.t, and add a new test file, substT.t,
to run the s/// tests under taint mode; mark the test for
RT #6006 as TODO, but only with -T.
p4raw-id: //depot/perl@29618
Rafael Garcia-Suarez [Sat, 23 Dec 2006 15:38:50 +0000]
A better fix for RT #6006: revert change 29616, which was bogus,
and add OP_SCOPE to the list of "dangerous" ops that might appear
on the right side of s///.
However, this fix does not work under taint mode, and op/subst.t
has -T.
p4raw-id: //depot/perl@29617
Rafael Garcia-Suarez [Sat, 23 Dec 2006 13:52:02 +0000]
Fix RT #6006: Regexp replaces using large replacement variables fail
some of the time (i.e. when the substitution contains something
like ${10}). Patch derived from a patch by Hugo van der Sanden;
added also a second test (Yves Orton already added a TODO test
for this.)
p4raw-id: //depot/perl@29616
Rafael Garcia-Suarez [Sat, 23 Dec 2006 12:31:26 +0000]
Upgrade to Module::Build 0.2806
p4raw-id: //depot/perl@29615
Rafael Garcia-Suarez [Sat, 23 Dec 2006 11:45:28 +0000]
syswrite() wasn't reporting a warning when writing to a filehandle
opened only for input.
p4raw-id: //depot/perl@29614
Rafael Garcia-Suarez [Fri, 22 Dec 2006 15:44:51 +0000]
The Perl 6 specification is still evolving, so don't refer to it.
p4raw-id: //depot/perl@29613
Steve Peters [Fri, 22 Dec 2006 15:18:02 +0000]
miniperl may not have been successfully built before running a
"make distclean".
p4raw-id: //depot/perl@29612
Steve Peters [Fri, 22 Dec 2006 14:53:17 +0000]
Silence an unused variable warning in sv.c.
p4raw-id: //depot/perl@29611
Rafael Garcia-Suarez [Fri, 22 Dec 2006 11:30:47 +0000]
Unshare the shared string gp_file_hek only if it exists in a GP.
Not doing this will produce invalid frees in the global destruction
process, probably because the empty string will get freed several
times. This should be safe since gp_file_hek is only assigned a
new value with share_hek().
p4raw-id: //depot/perl@29610
Rafael Garcia-Suarez [Thu, 21 Dec 2006 10:24:05 +0000]
Upgrade to Text::Balanced 2.0.0
p4raw-id: //depot/perl@29609
Jerry D. Hedden [Wed, 20 Dec 2006 10:30:21 +0000]
threads 1.57
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <
20061220183021.79793.qmail@web30205.mail.mud.yahoo.com>
p4raw-id: //depot/perl@29608
Jan Dubois [Wed, 20 Dec 2006 18:53:51 +0000]
allow blib.pm to be used for testing Win32 module (again)
Message-ID: <vjtjo21l5ksgeab6k9l46d9pvlg5vf86rt@4ax.com>
p4raw-id: //depot/perl@29607
Ilya Zakharevich [Mon, 18 Dec 2006 01:13:59 +0000]
SelfLoader after fork()
Message-ID: <
20061218091359.GA14985@powdermilk.math.berkeley.edu>
p4raw-id: //depot/perl@29606
Jan Dubois [Wed, 20 Dec 2006 15:41:00 +0000]
Implement killpg() for MSWin32
Message-ID: <m8hjo2pasv3hdbhd1sj9sasen7tm38hrhp@4ax.com>
p4raw-id: //depot/perl@29605
Yves Orton [Wed, 20 Dec 2006 16:00:33 +0000]
Re: [PATCH] Making adding binary files possible
Message-ID: <
9b18b3110612200700k48157cd1n1f2305f306b7de32@mail.gmail.com>
plus matching updates to Makefile.SH and patching.pod
p4raw-id: //depot/perl@29604
H.Merijn Brand [Wed, 20 Dec 2006 12:58:41 +0000]
Open Configure to the world of 64bitonly environments
p4raw-id: //depot/perl@29603
Rafael Garcia-Suarez [Wed, 20 Dec 2006 11:15:29 +0000]
Fix leaks in label strings allocation in COPs
p4raw-id: //depot/perl@29601
Rafael Garcia-Suarez [Wed, 20 Dec 2006 09:30:06 +0000]
Don't free the original label string when assigning it to cop_label,
since it comes directly from the parser. (That was making op/goto.t
fail under threads and without debugging on some platforms.)
p4raw-id: //depot/perl@29600
Jerry D. Hedden [Tue, 19 Dec 2006 10:30:47 +0000]
threads::shared 1.06
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <525867.40748.qm@web30207.mail.mud.yahoo.com>
p4raw-id: //depot/perl@29599
Jan Dubois [Mon, 18 Dec 2006 21:37:25 +0000]
Update cwd() to return the "short" pathname if the long one doesn't fit the codepage
Message-ID: <3rteo219or8hqr511e4vg1fnsgvgemb4sh@4ax.com>
p4raw-id: //depot/perl@29598
Jan Dubois [Tue, 19 Dec 2006 13:49:40 +0000]
let readdir() return the alternate (short) filename if the long name is outside the current codepage
Message-ID: <8nmgo2dr5gtmv00gtfu07g7rdgitr859jk@4ax.com>
p4raw-id: //depot/perl@29597
Jerry D. Hedden [Mon, 18 Dec 2006 10:18:28 +0000]
Re: 'localtime' not thread-safe under HP-UX B.11.11/64
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <31291.28361.qm@web30205.mail.mud.yahoo.com>
p4raw-id: //depot/perl@29596
Rafael Garcia-Suarez [Tue, 19 Dec 2006 15:22:24 +0000]
Proper cleanup for Errno.pm
p4raw-id: //depot/perl@29595
Rafael Garcia-Suarez [Tue, 19 Dec 2006 15:14:47 +0000]
Fix paths of pack.pl in patching.pod
p4raw-id: //depot/perl@29594
Jos I. Boumans [Fri, 15 Dec 2006 20:51:45 +0000]
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
Rafael Garcia-Suarez [Tue, 19 Dec 2006 10:50:13 +0000]
Add a regression test to verify that POSIX::AUTOLOAD works,
and silence a potential warning from it.
p4raw-id: //depot/perl@29592
Rafael Garcia-Suarez [Tue, 19 Dec 2006 10:23:29 +0000]
Disable strictures in POSIX AUTOLOAD
p4raw-id: //depot/perl@29591
Jan Dubois [Mon, 18 Dec 2006 16:34:33 +0000]
Don't destroy the Unicode system environment on Perl startup
Message-ID: <bsbeo2hama2sdo3kqdbrdhp505caeft6h9@4ax.com>
p4raw-id: //depot/perl@29590
Dave Mitchell [Tue, 19 Dec 2006 02:25:19 +0000]
make -Dpv print 8 parser stack items, not 9
p4raw-id: //depot/perl@29589
Nicholas Clark [Mon, 18 Dec 2006 22:12:36 +0000]
Making strict et al propagate into autoloaded subroutines seems a
worthy todo.
p4raw-id: //depot/perl@29588
Nicholas Clark [Mon, 18 Dec 2006 22:04:19 +0000]
Ensure that POSIX.pm is strict and warnings compliant throughout if
the __END__ is temporarily removed.
p4raw-id: //depot/perl@29587
Nicholas Clark [Mon, 18 Dec 2006 21:23:43 +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
Jarkko Hietaniemi [Sun, 17 Dec 2006 22:17:34 +0000]
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
Rick Delaney [Fri, 15 Dec 2006 23:28:25 +0000]
Re: [perl #41071] require stringifies code references in tied @INC
Message-ID: <
20061216042825.GB23501@localhost.localdomain>
p4raw-id: //depot/perl@29584
Ilya Zakharevich [Mon, 18 Dec 2006 01:20:12 +0000]
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
Ilya Zakharevich [Mon, 18 Dec 2006 01:20:12 +0000]
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
Rafael Garcia-Suarez [Mon, 18 Dec 2006 13:35:18 +0000]
Bump version number of ExtUtils::MM_Unix after last change
p4raw-id: //depot/perl@29581
Ilya Zakharevich [Mon, 18 Dec 2006 00:45:24 +0000]
OS/2-specific fixes, round II
Message-ID: <
20061218084524.GA14866@powdermilk.math.berkeley.edu>
p4raw-id: //depot/perl@29580
Rafael Garcia-Suarez [Mon, 18 Dec 2006 11:53:54 +0000]
ExtUtils::Command is now maintained separately from MakeMaker
p4raw-id: //depot/perl@29579
Ilya Zakharevich [Wed, 13 Dec 2006 18:32:22 +0000]
Fixes for the test suite on OS/2
Message-ID: <
20061214023222.GA29084@powdermilk.math.berkeley.edu>
p4raw-id: //depot/perl@29578
Ilya Zakharevich [Mon, 18 Dec 2006 00:55:19 +0000]
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
Jarkko Hietaniemi [Sun, 17 Dec 2006 22:45:29 +0000]
C++: regcomp.c and ext/Time/Piece/Piece.xs
Message-ID: <
45860ED9.9090808@iki.fi>
p4raw-id: //depot/perl@29576
Slaven Rezic [Sat, 16 Dec 2006 11:20:36 +0000]
PATCH: Add =encoding directive to non-latin READMEs
Message-ID: <87wt4sdtvv.fsf@biokovo.herceg.de>
p4raw-id: //depot/perl@29575
Jarkko Hietaniemi [Sat, 16 Dec 2006 11:48:13 +0000]
perl.c: leak avoidance
Message-ID: <
4584234D.7070209@iki.fi>
p4raw-id: //depot/perl@29574
Craig A. Berry [Mon, 18 Dec 2006 01:15:43 +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
Craig A. Berry [Mon, 18 Dec 2006 01:11:41 +0000]
Don't try to build Win32 on VMS
p4raw-id: //depot/perl@29572
Nicholas Clark [Mon, 18 Dec 2006 00:27:43 +0000]
POSIX::SigAction::new can be moved into the AUTOLOAD section.
p4raw-id: //depot/perl@29571
Dave Mitchell [Mon, 18 Dec 2006 00:24:01 +0000]
move parser state into new parser object, PL_parser
p4raw-id: //depot/perl@29570
Dave Mitchell [Sun, 17 Dec 2006 22:21:40 +0000]
merge the four parser stacks into one
p4raw-id: //depot/perl@29569
Dave Mitchell [Sun, 17 Dec 2006 20:00:19 +0000]
delete dead code and macros from perly.c
p4raw-id: //depot/perl@29568
Dave Mitchell [Sun, 17 Dec 2006 19:42:35 +0000]
unify stacks arithmetic in parser
p4raw-id: //depot/perl@29567
Nicholas Clark [Sat, 16 Dec 2006 23:03:42 +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
Nicholas Clark [Sat, 16 Dec 2006 16:54:06 +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
Dave Mitchell [Sat, 16 Dec 2006 15:37:32 +0000]
remove extraneous declaration prom perly.tab
p4raw-id: //depot/perl@29564
Jerry D. Hedden [Fri, 15 Dec 2006 09:22:17 +0000]
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
Rafael Garcia-Suarez [Sat, 16 Dec 2006 09:54:47 +0000]
TODO addition by Jerry D. Hedden.
p4raw-id: //depot/perl@29562
Dave Mitchell [Sat, 16 Dec 2006 02:53:59 +0000]
don't include MAD code when its not needed
p4raw-id: //depot/perl@29561
Dave Mitchell [Sat, 16 Dec 2006 01:36:28 +0000]
fix a cast warning in perly.c
p4raw-id: //depot/perl@29560
Nicholas Clark [Fri, 15 Dec 2006 20:14:07 +0000]
Better documentation for SVf_UTF8. Including SvPV() 1st, SvUTF() 2nd.
p4raw-id: //depot/perl@29559
Yves Orton [Fri, 15 Dec 2006 12:52:45 +0000]
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
Jerry D. Hedden [Thu, 14 Dec 2006 11:17:47 +0000]
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
Steve Hay [Thu, 14 Dec 2006 16:24:29 +0000]
Silence a warning from (MinGW's) gcc
p4raw-id: //depot/perl@29556
Bo Lindbergh [Thu, 14 Dec 2006 13:34:06 +0000]
perl5db.pl Mac OS X fix
Message-Id: <
658AFA03-517E-4068-93CA-06D4A93B5CA5@hagernas.com>
p4raw-id: //depot/perl@29555
Nicholas Clark [Thu, 14 Dec 2006 11:23:16 +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
Steve Hay [Thu, 14 Dec 2006 09:37:45 +0000]
Silence a VC compiler warning
p4raw-id: //depot/perl@29553
Nicholas Clark [Wed, 13 Dec 2006 20:56:24 +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
Nicholas Clark [Wed, 13 Dec 2006 19:55:08 +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
Ilya Zakharevich [Tue, 12 Dec 2006 23:28:25 +0000]
Text mode wrongly set on pipe file descriptors
Message-ID: <
20061213072825.GA26300@powdermilk.math.berkeley.edu>
p4raw-id: //depot/perl@29550
Dave Mitchell [Wed, 13 Dec 2006 17:24:49 +0000]
make -Dpv display the parser stack before reduction
(rather than afterwards)
p4raw-id: //depot/perl@29549
Dave Mitchell [Wed, 13 Dec 2006 17:16:22 +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
Dave Mitchell [Wed, 13 Dec 2006 12:47:35 +0000]
fix double free introduced by #29543 (spotted by Nicholas)
p4raw-id: //depot/perl@29547
Anton Berezin [Tue, 12 Dec 2006 19:59:38 +0000]
t/op/groups.t: prevent failure on modern FreeBSDs
Message-ID: <
20061212185938.GB49084@heechee.tobez.org>
p4raw-id: //depot/perl@29546
Steve Hay [Wed, 13 Dec 2006 10:37:11 +0000]
Do the same as #29514 for Win32
p4raw-id: //depot/perl@29545
Nicholas Clark [Wed, 13 Dec 2006 08:35:43 +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
Dave Mitchell [Wed, 13 Dec 2006 01:47:34 +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
Dave Mitchell [Wed, 13 Dec 2006 00:16:18 +0000]
fixup some ival/opval type changes from perly.y/madly.y merger
p4raw-id: //depot/perl@29542
Nicholas Clark [Tue, 12 Dec 2006 23:02:56 +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
Nicholas Clark [Tue, 12 Dec 2006 22:30:29 +0000]
Correct the dumping logic for the various bits of flag bending
associated with change 27313 or therabouts.
p4raw-id: //depot/perl@29540
Nicholas Clark [Tue, 12 Dec 2006 22:03:21 +0000]
Oops. As of some point one stopped being able to assign integers and
floating point values to typeglobs.
p4raw-id: //depot/perl@29539
Nicholas Clark [Tue, 12 Dec 2006 21:54:22 +0000]
Correct some assumptions about PVBM table offset in B.xs
p4raw-id: //depot/perl@29538
Nicholas Clark [Tue, 12 Dec 2006 21:31:10 +0000]
Assert that SvPAD_TYPED_on(), SvPAD_OUR_on() and SvPAD_STATE_on()
are never called on PVGVs.
p4raw-id: //depot/perl@29537
Nicholas Clark [Tue, 12 Dec 2006 21:00:37 +0000]
Assert that PVGVs are never SvVALID() in the PVBM sense.
p4raw-id: //depot/perl@29536
Nicholas Clark [Tue, 12 Dec 2006 19:54:05 +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
Nicholas Clark [Tue, 12 Dec 2006 18:52:55 +0000]
Shrink Perl_sv_peek() and Perl_do_sv_dump() by using type to name
lookup tables.
p4raw-id: //depot/perl@29534
Steve Hay [Tue, 12 Dec 2006 18:02:19 +0000]
Restore (differently) the setting of $Config{osvers} on Win32
that was removed by #29509
p4raw-id: //depot/perl@29533
Steve Hay [Tue, 12 Dec 2006 17:49:51 +0000]
Silence VC warnings about possible operator precedence problems
and signed/unsigned mismatches
p4raw-id: //depot/perl@29532
Jarkko Hietaniemi [Tue, 12 Dec 2006 15:18:53 +0000]
mg.c: #ifdef only the different bits
Message-Id: <
20061212131853.C2CBA43A67@anubis.hut.fi>
p4raw-id: //depot/perl@29531
H.Merijn Brand [Tue, 12 Dec 2006 11:36:41 +0000]
The overly-picky AIX xlc compiler doesn't like the style
from patch #29446
p4raw-id: //depot/perl@29530
Rafael Garcia-Suarez [Tue, 12 Dec 2006 11:07:27 +0000]
Skip IO::Compress::Zlib in perlivp, since that's a distribution name,
not a proper module name.
p4raw-id: //depot/perl@29529
Jan Dubois [Mon, 11 Dec 2006 13:09:09 +0000]
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
Nicholas Clark [Tue, 12 Dec 2006 00:07:48 +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
Nicholas Clark [Mon, 11 Dec 2006 23:44:30 +0000]
Fix allocation bug in change 29524.
p4raw-id: //depot/perl@29526
Nicholas Clark [Mon, 11 Dec 2006 22:52:46 +0000]
Add BmPREVIOUS_set(), and use it in the one place that BmPREVIOUS is
modified.
p4raw-id: //depot/perl@29525
Nicholas Clark [Mon, 11 Dec 2006 22:18:53 +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
Nicholas Clark [Mon, 11 Dec 2006 21:52:12 +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
Nicholas Clark [Mon, 11 Dec 2006 21:21:09 +0000]
Convert the -1 to a more explicit PERL_FBM_FLAGS_OFFSET_FROM_TABLE.
p4raw-id: //depot/perl@29522
Nicholas Clark [Mon, 11 Dec 2006 21:15:06 +0000]
Assert that BmRARE() BmPREVIOUS() and BmUSEFUL() are only called on
valid PVBMs.
p4raw-id: //depot/perl@29521
Nicholas Clark [Mon, 11 Dec 2006 20:55:20 +0000]
Rename FBM_TABLE_OFFSET to PERL_FBM_TABLE_OFFSET prior to moving it
to a header.
p4raw-id: //depot/perl@29520
Rafael Garcia-Suarez [Mon, 11 Dec 2006 18:33:21 +0000]
Don't load the Win32 module on non-win32 platforms
p4raw-id: //depot/perl@29519