Steve Hay [Mon, 20 Mar 2006 17:21:15 +0000]
Merge some changes from ActivePerl 5.8.8.816
See:
http://downloads.activestate.com/ActivePerl/src/5.8/AP816_diff.txt
These changes provide better support for building XS extension modules
using VC++ or MinGW when perl itself was built with the opposite of
those two compilers.
p4raw-id: //depot/perl@27555
Rafael Garcia-Suarez [Mon, 20 Mar 2006 13:03:07 +0000]
Revert part of change 27546 related to a /dev/null bug
workaround on VMS, as requested by John E. Malmberg
p4raw-id: //depot/perl@27554
Nicholas Clark [Mon, 20 Mar 2006 12:37:22 +0000]
Perl_utf8_distance can be implemented as a call to Perl_utf8_length.
p4raw-id: //depot/perl@27553
Nicholas Clark [Mon, 20 Mar 2006 12:13:46 +0000]
The two loops in Perl_utf8_distance can be merged.
p4raw-id: //depot/perl@27552
Gisle Aas [Mon, 20 Mar 2006 10:51:36 +0000]
Avoid "uninitialized value" warnings during 'make test'.
My system is set up with a few PATH entries I'm not allowed
to access, so stat() fails for these.
p4raw-id: //depot/perl@27551
Gisle Aas [Mon, 20 Mar 2006 10:44:08 +0000]
Also strip $ENV{PATH} dirs writable by world.
The stripping was introduced in change 27364 to improve taint handling.
p4raw-id: //depot/perl@27550
Gisle Aas [Mon, 20 Mar 2006 10:21:50 +0000]
Move DynaLoader.o into libperl.so.
This avoids the need to statically link DynaLoader into the stub perl
executable and make libperl.so provide all the code needed to get a
functional embedded perl interpreter up running. As a side effect
this also moves DynaLoader into libperl.a for non-useshrplib builds.
Fixes [perl #32539]
p4raw-id: //depot/perl@27549
Nicholas Clark [Mon, 20 Mar 2006 10:13:38 +0000]
If the scalar has just been upgraded to SVt_RV, there's no way SvPVX
can be non-NULL, so no need to check.
p4raw-id: //depot/perl@27548
Rick Delaney [Sat, 18 Mar 2006 19:52:11 +0000]
Re: [perl #38710] localised stash slice
Message-ID: <
20060319005211.GM25733@localhost.localdomain>
One can now localize slices.
p4raw-id: //depot/perl@27547
John E. Malmberg [Sun, 19 Mar 2006 20:08:34 +0000]
[patch@27538] Misc vms.c fixes for buffer sizes.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <
441E0092.2010405@qsl.net>
p4raw-id: //depot/perl@27546
Jan Dubois [Fri, 17 Mar 2006 12:23:01 +0000]
win32_async_check must *always* check for pending signals
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <
00d401c64a00$96af8ae0$2217a8c0@candy>
p4raw-id: //depot/perl@27545
Dave Mitchell [Mon, 20 Mar 2006 00:52:09 +0000]
merge the TRIEF/TRIEFL and TRIE branches in regmatch(),
expunge a couple of macros, and move some variable declarations
inwards
p4raw-id: //depot/perl@27544
Nicholas Clark [Sun, 19 Mar 2006 19:26:05 +0000]
Remove a redundant test on mg->mg_ptr. (It had to be non-NULL to get
into this block).
p4raw-id: //depot/perl@27543
Andy Lester [Sat, 18 Mar 2006 00:28:45 +0000]
Change the semantics of S_isa_lookup
Message-ID: <
20060318062845.GA11607@petdance.com>
p4raw-id: //depot/perl@27542
Jarkko Hietaniemi [Sun, 19 Mar 2006 13:21:37 +0000]
a bit 'use strict' cleanliness
Message-ID: <
441D3EC1.20902@gmail.com>
p4raw-id: //depot/perl@27541
Andy Lester [Sun, 19 Mar 2006 01:22:04 +0000]
Data::Dumper consting
Message-ID: <
20060319072204.GB5596@petdance.com>
p4raw-id: //depot/perl@27540
Andy Lester [Sun, 19 Mar 2006 00:30:29 +0000]
Cleanups in op.c
Message-ID: <
20060319063029.GA5077@petdance.com>
p4raw-id: //depot/perl@27539
Nicholas Clark [Fri, 17 Mar 2006 22:12:27 +0000]
Make Perl_sv_len_utf8 honour the new ${^UTF8CACHE}.
If PERL_UTF8_CACHE_ASSERT is defined, default ${^UTF8CACHE} to -1
(assertion mode). Need a way to turn this on with existing command
line flags.
p4raw-id: //depot/perl@27538
Nicholas Clark [Fri, 17 Mar 2006 20:39:47 +0000]
Remove a duplicated conditional test by putting everything for the
not readonly case inside one block.
p4raw-id: //depot/perl@27537
Nicholas Clark [Fri, 17 Mar 2006 19:37:41 +0000]
Properly set/reset the UTF-8 length cache in regcomp.c.
p4raw-id: //depot/perl@27536
Nicholas Clark [Fri, 17 Mar 2006 16:46:44 +0000]
Restore a bit of change 27533 that change 27534 inadvertently unwound.
p4raw-id: //depot/perl@27535
Dave Mitchell [Fri, 17 Mar 2006 15:58:45 +0000]
inline, then delete, S_regrepeat_hard()
p4raw-id: //depot/perl@27534
Nicholas Clark [Fri, 17 Mar 2006 13:38:34 +0000]
sv_find() returning false, followed by sv_magic() to add the magic,
followed immediately by sv_find() to find it, is somewhat wasteful.
So use sv_magicext(). (All cases are also correct w.r.t. SvREADONLY())
p4raw-id: //depot/perl@27533
Steve Hay [Fri, 17 Mar 2006 13:20:11 +0000]
Make "distclean" target on Win32 clean up temporary HTML directory
that gets left behind after running the "install" target.
Also clean up a couple of leftover pod2html cache files.
p4raw-id: //depot/perl@27532
Rafael Garcia-Suarez [Fri, 17 Mar 2006 13:18:38 +0000]
Upgrade to ExtUtils::CBuilder 0.17
p4raw-id: //depot/perl@27531
Steve Hay [Fri, 17 Mar 2006 11:10:41 +0000]
Install POD files into "lib\pods" rather than "lib\pod" on Win32
to avoid clashing with "lib\Pod" (cf. perl change #26363)
Also remove a couple of unused macros from the makefiles
p4raw-link: @26363 on //depot/perl:
0661f42382c6c9047f6bb741b9d41f6f7333902f
p4raw-id: //depot/perl@27530
Jan Dubois [Thu, 16 Mar 2006 19:34:00 +0000]
threads.xs broken under PERL_IMPLICIT_SYS; 5.8.8 regression
Message-ID: <
02e601c64973$a1960cf0$6062a8c0@candy>
Also includes a version bump to ext/threads/threads.pm.
p4raw-id: //depot/perl@27529
Jan Dubois [Thu, 16 Mar 2006 16:30:23 +0000]
win32_pclose() error exit doesn't unlock mutex
Message-ID: <
02c701c64959$fac63ad0$6062a8c0@candy>
p4raw-id: //depot/perl@27528
Jan Dubois [Thu, 16 Mar 2006 16:11:48 +0000]
win32_async_check() can loop indefinitely; 5.8.8 regression
Message-ID: <
02ab01c64957$62142e70$6062a8c0@candy>
p4raw-id: //depot/perl@27527
Dave Mitchell [Fri, 17 Mar 2006 02:57:45 +0000]
reduce S_regrepeat_hard() callers from 3 to 1
p4raw-id: //depot/perl@27526
Nicholas Clark [Thu, 16 Mar 2006 23:11:11 +0000]
Add a new per-interpeter variable PL_utf8cache, which will be used to
control the UTF-8 offset caching code. Make this visible as
${^UTF8CACHE}
p4raw-id: //depot/perl@27525
Nicholas Clark [Thu, 16 Mar 2006 22:20:57 +0000]
Note that it's worth looking to downsize variables in the interpreter
structure.
p4raw-id: //depot/perl@27524
Nicholas Clark [Thu, 16 Mar 2006 21:52:49 +0000]
Correct the macros in the comments in hv.c. Given the improvements in
compiler optimisation, and the almost irrelevance of instructions
executed over cache misses, maybe we should just remove the comments
by putting their code back in place of the o{ptimis,bfuscat}ed version.
p4raw-id: //depot/perl@27523
Gisle Aas [Thu, 16 Mar 2006 21:27:00 +0000]
Avoid hardcoded $(OBJ_EXT)
p4raw-id: //depot/perl@27522
Gisle Aas [Thu, 16 Mar 2006 21:20:46 +0000]
Change 27520 was a bit too aggressive. Let's keep the warning.
p4raw-id: //depot/perl@27521
Gisle Aas [Thu, 16 Mar 2006 21:14:26 +0000]
Remove unused code. No extension use Makefile.SH any more.
p4raw-id: //depot/perl@27520
Gisle Aas [Thu, 16 Mar 2006 20:32:27 +0000]
Fix up miniperl dependency.
Depend on $(obj) when we use that to build miniperl.
p4raw-id: //depot/perl@27519
Gisle Aas [Thu, 16 Mar 2006 20:24:08 +0000]
Simplify; make perl.o included in $(obj)
p4raw-id: //depot/perl@27518
Rafael Garcia-Suarez [Thu, 16 Mar 2006 16:17:38 +0000]
Add a couple of regression tests for the untested
"Bad name after %s" parsing error
p4raw-id: //depot/perl@27517
Paul Marquess [Thu, 16 Mar 2006 14:38:52 +0000]
Compress::Raw::Zlib, Compress::Zlib, IO::Compress::Zlib 2.000_10
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
009401c64907$5a6ed710$4c05140a@myopwv.com>
p4raw-id: //depot/perl@27516
Gisle Aas [Thu, 16 Mar 2006 12:01:10 +0000]
require should ignore directories found when searching @INC not just
die as soon as it finds one. It should for instance be possible to
for require "File" to read the file "./File" even if there happens to
be a "File" directory in perl's standard library.
This fixes the RT #24404 fix in change 26373.
p4raw-id: //depot/perl@27515
Rafael Garcia-Suarez [Thu, 16 Mar 2006 08:32:28 +0000]
Make the threads tests silent with regard to the new :unique deprecation warning
p4raw-id: //depot/perl@27514
Nicholas Clark [Wed, 15 Mar 2006 23:02:49 +0000]
Make the original versions of relocated paths available from
%Config::Config with the prefix "raw_". Not sure if "raw_" is the
best choice.
p4raw-id: //depot/perl@27513
Nicholas Clark [Wed, 15 Mar 2006 19:47:02 +0000]
Correct the non gcc-brace-group definition of SvAMAGIC_off
p4raw-id: //depot/perl@27511
Nicholas Clark [Wed, 15 Mar 2006 18:47:32 +0000]
D'oh! 27508 wasn't quite testing what I wanted it to test. This does.
p4raw-id: //depot/perl@27510
Nicholas Clark [Wed, 15 Mar 2006 17:57:14 +0000]
Test for reblessing objects with weak references.
p4raw-id: //depot/perl@27508
Nicholas Clark [Wed, 15 Mar 2006 17:21:00 +0000]
Expunge references to HV_AMAGIC, HV_AMAGICbad and HV_AMAGICmb which
have been unused since revision 1.
p4raw-id: //depot/perl@27507
Nicholas Clark [Wed, 15 Mar 2006 15:08:49 +0000]
Moving the overloading flag from the reference to the referant allows
(re)?blessing of overloaded objects to work correctly.
p4raw-id: //depot/perl@27506
Nicholas Clark [Wed, 15 Mar 2006 13:13:19 +0000]
Finish converting overload.t to Test::More
p4raw-id: //depot/perl@27505
Nicholas Clark [Wed, 15 Mar 2006 12:43:15 +0000]
Further conversion of overload.t
p4raw-id: //depot/perl@27504
Steve Peters [Wed, 15 Mar 2006 12:34:10 +0000]
Additions to README.win32 and win32/Makefile based on comments from
Steve Hay.
p4raw-id: //depot/perl@27503
Nicholas Clark [Wed, 15 Mar 2006 12:29:01 +0000]
Further conversion of overload.t
p4raw-id: //depot/perl@27502
Nicholas Clark [Wed, 15 Mar 2006 12:05:27 +0000]
Partially convert overload.t to Test::More
p4raw-id: //depot/perl@27501
Steve Peters [Wed, 15 Mar 2006 11:06:34 +0000]
The first step in supporting VC++ 8.0. Added macros for the free .NET 2.0 SDK and Visual Studio
2005. Added these macros to "if" conditions that were appropriate. Added a fix to prevent
the .NET 1.1 and 2.0 SDK compilers from attempting to build perlglob.exe (they are both missing
the setargv.obj file necessary to do it).
p4raw-id: //depot/perl@27500
Rafael Garcia-Suarez [Tue, 14 Mar 2006 17:32:48 +0000]
Deprecate :unique even with threads
p4raw-id: //depot/perl@27499
Rafael Garcia-Suarez [Tue, 14 Mar 2006 17:02:38 +0000]
Make usage of :unique emit a deprecation warning.
Remove its outdated documentation.
p4raw-id: //depot/perl@27498
Peter Prymmer [Tue, 14 Mar 2006 10:38:00 +0000]
perl @ 27483 fix lib/Pod/Simple/t/corpustest.t to work on VMS ODS-2
Message-ID: <O
F85EC8E5E.4DF3A439-ON85257131.0055870A-85257131.0055E07C@factset.com>
p4raw-id: //depot/perl@27497
Nicholas Clark [Tue, 14 Mar 2006 15:21:54 +0000]
SVphv_REHASH can use the same flag bit as SVf_FAKE. This allows
0x
10000000 (SVf_AMAGIC) to be set on all 16 SV types, which seems to
be necessary to fix subtle bugs involving reblessing and overloading.
p4raw-id: //depot/perl@27496
Hugo van der Sanden [Sat, 11 Mar 2006 02:47:56 +0000]
[perl #38710] localised stash slice
From: Hugo van der Sanden (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38710-131000.18.
015529928953@perl.org>
(new TODO tests)
p4raw-id: //depot/perl@27495
Rafael Garcia-Suarez [Tue, 14 Mar 2006 08:53:07 +0000]
threads and threads::shared are now dual-lived modules
p4raw-id: //depot/perl@27494
Andy Lester [Mon, 13 Mar 2006 12:48:50 +0000]
Do nothing in a GCC-friendly way
Message-ID: <
20060313184850.GA16905@petdance.com>
p4raw-id: //depot/perl@27493
Andy Lester [Mon, 13 Mar 2006 09:31:52 +0000]
looks_like_bool can be const
Message-ID: <
20060313153152.GA13254@petdance.com>
p4raw-id: //depot/perl@27492
Nicholas Clark [Mon, 13 Mar 2006 23:13:23 +0000]
Somewhat less shaky relocatable @INC support. You can install things
to the current location of the perl tree, move it, install more things,
move it again, lather rinse repeat.
Configure with -Duserelocatableinc
p4raw-id: //depot/perl@27491
Nicholas Clark [Mon, 13 Mar 2006 20:49:55 +0000]
First stab at rather shaky Configure support for relocatable @INC.
Seems to be installing rather more that it's supposed to be.
p4raw-id: //depot/perl@27490
Nicholas Clark [Mon, 13 Mar 2006 18:59:27 +0000]
Split break out the installprefix code from setprefixvar, which allows
the remaining 8 places to call the common prefix conversion code.
p4raw-id: //depot/perl@27489
Nicholas Clark [Mon, 13 Mar 2006 18:01:11 +0000]
Refactor most of the cut & paste for setting prefix/prefixexp variables
and the "Change installation prefix, if necessary" into a new
"function" setprefixvar (which I assume will become Setprefixvar.U)
How many platforms still have Bourne shells that can't do shell
functions? Someone's going to say Irix?
p4raw-id: //depot/perl@27488
Rafael Garcia-Suarez [Mon, 13 Mar 2006 17:35:59 +0000]
Forgot the ending \. Why did it still compile ?
p4raw-id: //depot/perl@27487
Robin Houston [Mon, 13 Mar 2006 12:48:21 +0000]
Automatically SPAGAIN in the poor-man's-multicall API
Message-ID: <
20060313124821.GA11203@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@27486
Nicholas Clark [Mon, 13 Mar 2006 17:10:14 +0000]
The existing order of the checks for whether man1dir and man3dir were
' ' were obviously buggy, because they set installman[13]dir only for
the next if block to set it again. Reordering removes that daftness.
p4raw-id: //depot/perl@27485
Nicholas Clark [Mon, 13 Mar 2006 15:50:04 +0000]
The "Change installation prefix, if necessary." code needs to use
the ~ expanded prefix and installprefix in the substitution.
p4raw-id: //depot/perl@27484
Rafael Garcia-Suarez [Sun, 12 Mar 2006 15:12:29 +0000]
Load .pmc always, even if they are older than a matching .pm file.
(This trick is going to be used by pugs.)
p4raw-id: //depot/perl@27483
Andy Lester [Tue, 7 Mar 2006 12:12:35 +0000]
Removed unnecessary NULL check in Digest::SHA
Message-ID: <
20060307181235.GA25688@petdance.com>
p4raw-id: //depot/perl@27482
Steve Peters [Sun, 12 Mar 2006 13:48:10 +0000]
Upgrade to Module-Build-0.27_09
p4raw-id: //depot/perl@27481
Nicholas Clark [Sat, 11 Mar 2006 23:40:34 +0000]
isSPACE('\0') is false, so can simplify the condition in the for
loop. As the for loop is basically a while loop, write it as one, to
make its intentions clearer.
p4raw-id: //depot/perl@27480
Nicholas Clark [Sat, 11 Mar 2006 22:51:26 +0000]
Fix the last 2 perly.y specific parts of regen_perly.pl, and make
the regen_perly target call it for both perly.y and madly.y.
p4raw-id: //depot/perl@27479
Nicholas Clark [Sat, 11 Mar 2006 22:29:56 +0000]
NNs and NULLOKs for MAD's new functions.
p4raw-id: //depot/perl@27478
Steve Peters [Sat, 11 Mar 2006 22:08:34 +0000]
Perl_newWHILEOP() had exactly the same lack of a NULL pointer check
that Perl_newLOOPOP() had and fixed in change #27476. Maybe some
refactoring is needed?
p4raw-link: @27476 on //depot/perl:
06dc7ac6fa597f9446b4a27a32d667bbcbde0453
p4raw-id: //depot/perl@27477
Steve Peters [Sat, 11 Mar 2006 21:41:20 +0000]
Possible NULL pointer reference found by Coverity checks.
p4raw-id: //depot/perl@27476
Steve Peters [Sat, 11 Mar 2006 20:57:26 +0000]
Keep from using a variable in S_my_kid() before it is initialized. This was introduced with the MAD changes.
p4raw-id: //depot/perl@27475
Peter Prymmer [Fri, 10 Mar 2006 15:24:23 +0000]
perl@27437 fix File::Path::mkpath so that perl installs on VMS
Message-id: <O
FBE8F84F1.A708DA4A-ON8525712D.006E4BF7-8525712D.007018C6@factset.com>
p4raw-id: //depot/perl@27474
Jan Dubois [Fri, 10 Mar 2006 18:21:39 +0000]
Reapply change 24432
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <
01b001c644b2$879a1f50$6062a8c0@candy>
p4raw-id: //depot/perl@27473
Nicholas Clark [Sat, 11 Mar 2006 10:21:27 +0000]
Missed the hunk that adds regen_madly.pl to the regen_perl target.
p4raw-id: //depot/perl@27471
Andy Lester [Sat, 11 Mar 2006 01:13:38 +0000]
Sync up embed.fnc and doio.c
Message-ID: <
20060311071338.GA12490@petdance.com>
Date: Sat, 11 Mar 2006 01:13:38 -0600
p4raw-id: //depot/perl@27470
Andy Lester [Fri, 10 Mar 2006 16:31:00 +0000]
Localizing some vars in S_checkcomma
Message-ID: <
20060310223100.GA13455@petdance.com>
Date: Fri, 10 Mar 2006 16:31:00 -0600
p4raw-id: //depot/perl@27469
Nicholas Clark [Sat, 11 Mar 2006 09:32:18 +0000]
Remove the obsolete mad/P5RE.pm
p4raw-id: //depot/perl@27468
Craig A. Berry [Sat, 11 Mar 2006 01:52:37 +0000]
null terminate command string -- broken in #27438
p4raw-id: //depot/perl@27467
Nicholas Clark [Fri, 10 Mar 2006 21:54:18 +0000]
Move the 12 static MAD variables from toke.c into the interpeter
structure.
p4raw-id: //depot/perl@27466
Nicholas Clark [Fri, 10 Mar 2006 20:58:23 +0000]
Rename the 12 static variables in toke.c to PL_*
p4raw-id: //depot/perl@27465
Nicholas Clark [Fri, 10 Mar 2006 19:47:11 +0000]
gozer took over from gsar (some time ago).
p4raw-id: //depot/perl@27464
Nicholas Clark [Fri, 10 Mar 2006 18:53:01 +0000]
All the autogenerated files from change 27462.
p4raw-id: //depot/perl@27463
Nicholas Clark [Fri, 10 Mar 2006 18:52:40 +0000]
Merge perly.y changes from 5.9.2 to now into madly.y.
p4raw-id: //depot/perl@27462
Nicholas Clark [Fri, 10 Mar 2006 12:57:18 +0000]
Teaching embed.pl about conditional symbols is a TODO.
p4raw-id: //depot/perl@27461
Nicholas Clark [Fri, 10 Mar 2006 12:09:39 +0000]
Tweak change 27457 - make PL_lasttoke MAD only, but teach makedef.pl
about MADness (and unMADness - maybe there is a special word for that)
p4raw-id: //depot/perl@27460
Nicholas Clark [Fri, 10 Mar 2006 11:31:14 +0000]
Summon constman! S_checkcomma now has all 3 arguments const char.
p4raw-id: //depot/perl@27459
Nicholas Clark [Fri, 10 Mar 2006 10:50:29 +0000]
Tease apart the keyword/subroutine test in S_checkcomma.
p4raw-id: //depot/perl@27458
Steve Peters [Fri, 10 Mar 2006 02:17:43 +0000]
Move PL_lasttoke out of its PERL_MAD define in intrpvar.h.
Otherwise, Win32 does not compile.
p4raw-id: //depot/perl@27457
Nicholas Clark [Thu, 9 Mar 2006 23:23:19 +0000]
Correct another gv_fetchpv() - it takes a bitmask of flags, not simply
TRUE/FALSE.
p4raw-id: //depot/perl@27456
Nicholas Clark [Thu, 9 Mar 2006 22:50:23 +0000]
Remove two NEWSV()s in the non-ithread dump code that got missed.
p4raw-id: //depot/perl@27455
Ronald J. Kimball [Thu, 9 Mar 2006 16:29:12 +0000]
Re: [PATCH pod/perlfunc.pd] Re: truncate needs seek on filehandle
Message-ID: <
20060309212912.GF22682@penkwe.pair.com>
p4raw-id: //depot/perl@27454
Nicholas Clark [Thu, 9 Mar 2006 22:03:55 +0000]
Add the Perl 5 to Perl 5 convertor scripts.
p4raw-id: //depot/perl@27453