This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoIn this, the last tale of the NGROUPS saga, a former pumpking prods
Steve Peters [Mon, 26 Dec 2005 17:29:13 +0000 (17:29 +0000)]
In this, the last tale of the NGROUPS saga, a former pumpking prods
a mere committer to remove the last of the NGROUPS-sized arrays...

Perl_magic_set() was using the last of these arrays to do the
lvalue work on $).  Instead of an array, a pointer is used and
re-sized as needed.

p4raw-id: //depot/perl@26492

15 years agoAdd a couple of newlines for tidier regen output, consistent with the
Nicholas Clark [Mon, 26 Dec 2005 17:01:35 +0000 (17:01 +0000)]
Add a couple of newlines for tidier regen output, consistent with the
code generated by WriteConstants()

p4raw-id: //depot/perl@26491

15 years agoAdd C_FH and XS_FH arguments to ExtUtils::Constant::WriteConstants,
Nicholas Clark [Mon, 26 Dec 2005 16:13:57 +0000 (16:13 +0000)]
Add C_FH and XS_FH arguments to ExtUtils::Constant::WriteConstants,
to allow the caller to pass in file handles. Use this in Contant.t
with tied file handles to capture the output, rather than calling
the lower level routines directly.

p4raw-id: //depot/perl@26490

15 years agochg 26486 removes last use of NGROUPS, so remove the macro-def
Jim Cromie [Mon, 26 Dec 2005 07:57:51 +0000 (00:57 -0700)]
chg 26486 removes last use of NGROUPS, so remove the macro-def
Message-ID: <43B004EF.8060500@gmail.com>

p4raw-id: //depot/perl@26489

15 years agoThe values for proxy constant subroutines need to be read only.
Nicholas Clark [Mon, 26 Dec 2005 12:48:10 +0000 (12:48 +0000)]
The values for proxy constant subroutines need to be read only.

p4raw-id: //depot/perl@26488

15 years agoRework constant.pm to take advantage of the space savings of proxy
Nicholas Clark [Mon, 26 Dec 2005 12:31:01 +0000 (12:31 +0000)]
Rework constant.pm to take advantage of the space savings of proxy
constant subroutines whenever it can.

p4raw-id: //depot/perl@26487

15 years agoObviously, Perl_ingroup() is also using 256k of stack memory on Linux.
Steve Peters [Mon, 26 Dec 2005 03:51:24 +0000 (03:51 +0000)]
Obviously, Perl_ingroup() is also using 256k of stack memory on Linux.
Adapt change #26480 to reduce memory usage here as well.
p4raw-link: @26480 on //depot/perl: 57d7c65eded7a5f963c5ce38ee196978a06e35df

p4raw-id: //depot/perl@26486

15 years agoThe value from caller doesn't change, so my $pkg = caller;
Nicholas Clark [Sat, 24 Dec 2005 16:27:28 +0000 (16:27 +0000)]
The value from caller doesn't change, so my $pkg = caller;
should be moved out of the loop.

p4raw-id: //depot/perl@26485

15 years agoTests for creating constants where prototypes or other symbols of the
Nicholas Clark [Sat, 24 Dec 2005 16:06:10 +0000 (16:06 +0000)]
Tests for creating constants where prototypes or other symbols of the
same name already exist.

p4raw-id: //depot/perl@26484

15 years agoUsing a hash reference rather than a hash can save a hash copy.
Nicholas Clark [Sat, 24 Dec 2005 15:09:28 +0000 (15:09 +0000)]
Using a hash reference rather than a hash can save a hash copy.

p4raw-id: //depot/perl@26483

15 years agoUnless the peephole optimiser already knows that we're in void context,
Nicholas Clark [Sat, 24 Dec 2005 14:48:42 +0000 (14:48 +0000)]
Unless the peephole optimiser already knows that we're in void context,
avoid even attempting the whole proxy constant sub copying
optimisation.

p4raw-id: //depot/perl@26482

15 years agoGiven that IO::Socket is documented as exporting all of Socket's
Nicholas Clark [Sat, 24 Dec 2005 14:09:56 +0000 (14:09 +0000)]
Given that IO::Socket is documented as exporting all of Socket's
exports, there's no need for IO::Socket::INET or IO::Socket::UNIX to
use both. (And re-exporting removes some of the efficiency of the new
constants implementation)

p4raw-id: //depot/perl@26481

15 years agoRe: [perl #37907] Perl_magic_get reqires ridiculous amounts of stackmemory
Jim Cromie [Fri, 23 Dec 2005 13:24:29 +0000 (06:24 -0700)]
Re: [perl #37907] Perl_magic_get reqires ridiculous amounts of stackmemory
Message-ID: <43AC5CFD.3060200@gmail.com>

Includes a change in variable names from "j" to "num_groups".

p4raw-id: //depot/perl@26480

15 years agoLooks like the macro CLK_TCK is not actually a constant on Solaris.
Nicholas Clark [Sat, 24 Dec 2005 00:01:50 +0000 (00:01 +0000)]
Looks like the macro CLK_TCK is not actually a constant on Solaris.

p4raw-id: //depot/perl@26479

15 years agoFor PERL_TRACK_MEMPOOL with PERL_POISON, Poison the end of any block
Nicholas Clark [Fri, 23 Dec 2005 17:30:19 +0000 (17:30 +0000)]
For PERL_TRACK_MEMPOOL with PERL_POISON, Poison the end of any block
being shrunk in realloc()

p4raw-id: //depot/perl@26478

15 years agoFor the rare case of EMFILE during require, save object code space
Nicholas Clark [Fri, 23 Dec 2005 17:24:44 +0000 (17:24 +0000)]
For the rare case of EMFILE during require, save object code space
by using newSVpvf
(Would it be worth using it for all require failures?)

p4raw-id: //depot/perl@26477

15 years agoIf PERL_TRACK_MEMPOOL and PERL_POISON are in use, then scribble all
Nicholas Clark [Fri, 23 Dec 2005 16:55:35 +0000 (16:55 +0000)]
If PERL_TRACK_MEMPOOL and PERL_POISON are in use, then scribble all
over memory to invalidate it just before free()ing it.

p4raw-id: //depot/perl@26476

15 years agoProvide support for types PVN and UNDEF in
Nicholas Clark [Fri, 23 Dec 2005 16:20:53 +0000 (16:20 +0000)]
Provide support for types PVN and UNDEF in
 ExtUtils::Constant::ProxySubs

p4raw-id: //depot/perl@26475

15 years agoCreate a struct to use as the header with PERL_TRACK_MEMPOOL, so that
Nicholas Clark [Fri, 23 Dec 2005 15:27:10 +0000 (15:27 +0000)]
Create a struct to use as the header with PERL_TRACK_MEMPOOL, so that
other information can be stored in it.

p4raw-id: //depot/perl@26474

15 years agoExtUtils::ParseXS needs to stack $filepathname to make #line directives
Nicholas Clark [Fri, 23 Dec 2005 13:54:37 +0000 (13:54 +0000)]
ExtUtils::ParseXS needs to stack $filepathname to make #line directives
in #INCLUDEs work.

p4raw-id: //depot/perl@26473

15 years agoAdd support for PV to ExtUtils::Constant::ProxySubs, and enable its
Nicholas Clark [Fri, 23 Dec 2005 12:21:19 +0000 (12:21 +0000)]
Add support for PV to ExtUtils::Constant::ProxySubs, and enable its
use in Sys::Syslog

p4raw-id: //depot/perl@26472

15 years agoinlining autoloaded constants is TODOne.
Nicholas Clark [Fri, 23 Dec 2005 12:01:29 +0000 (12:01 +0000)]
inlining autoloaded constants is TODOne.

p4raw-id: //depot/perl@26471

15 years agoNow that proxy subroutines can be unproxied in 2 places without
Nicholas Clark [Fri, 23 Dec 2005 11:36:43 +0000 (11:36 +0000)]
Now that proxy subroutines can be unproxied in 2 places without
becoming the same newCONSTSUB, need an explicit check to avoid a
warning about subroutines being redefined, as there has never been
a warning when you assing the same subroutine to a glob's GvCV()

p4raw-id: //depot/perl@26470

15 years agolike and unlike weren't reporting failure where correctly in test.pl
Nicholas Clark [Fri, 23 Dec 2005 11:35:21 +0000 (11:35 +0000)]
like and unlike weren't reporting failure where correctly in test.pl

p4raw-id: //depot/perl@26469

15 years agoFix build of Compress::Zlib on MVS (by Paul Marquess)
Rafael Garcia-Suarez [Fri, 23 Dec 2005 11:06:34 +0000 (11:06 +0000)]
Fix build of Compress::Zlib on MVS (by Paul Marquess)

p4raw-id: //depot/perl@26468

15 years agoClarify example of .. in perlop
Rafael Garcia-Suarez [Fri, 23 Dec 2005 10:13:30 +0000 (10:13 +0000)]
Clarify example of .. in perlop
to fix [perl #38008] Documentation bug: perlop
plus some minor formatting nits

p4raw-id: //depot/perl@26467

15 years ago[REPATCH lib/UNIVERSAL.pm] Recommend Against Using Methods as Functions
chromatic [Thu, 22 Dec 2005 20:58:00 +0000 (20:58 +0000)]
[REPATCH lib/UNIVERSAL.pm] Recommend Against Using Methods as Functions
Message-Id: <200512221158.54474.chromatic@wgz.org>

p4raw-id: //depot/perl@26466

15 years agoNeed to be more careful with the symbol table manipulation - if there
Nicholas Clark [Fri, 23 Dec 2005 01:38:01 +0000 (01:38 +0000)]
Need to be more careful with the symbol table manipulation - if there
is already an entry in place, back off and generate a real constant
subroutine. (fixes lib/Net/hostent.t failure)
Fix a bug with how hv_store was being called.

p4raw-id: //depot/perl@26465

15 years agoSIGRTMAX, SIGRTMIN, LDBL_MAX, LDBL_MIN, LDBL_EPSILON and HUGE_VAL
Nicholas Clark [Fri, 23 Dec 2005 01:09:05 +0000 (01:09 +0000)]
SIGRTMAX, SIGRTMIN, LDBL_MAX, LDBL_MIN, LDBL_EPSILON and HUGE_VAL
aren't constants on (at least some) Linux.
And more evil than that, HUGE_VAL likes to use the C preprocessor
in its value, necessitating use of a temporary.

p4raw-id: //depot/perl@26464

15 years agoUse inlineable proxy constant subs for Socket
Nicholas Clark [Fri, 23 Dec 2005 00:37:04 +0000 (00:37 +0000)]
Use inlineable proxy constant subs for Socket

p4raw-id: //depot/perl@26463

15 years agoctime_r() and asctime_r() seem to have some problems before HP-UX 11.
Steve Peters [Fri, 23 Dec 2005 00:28:54 +0000 (00:28 +0000)]
ctime_r() and asctime_r() seem to have some problems before HP-UX 11.

p4raw-id: //depot/perl@26462

15 years agoSpeed up Perl_sv_derived_from
Andy Lester [Thu, 22 Dec 2005 16:00:44 +0000 (10:00 -0600)]
Speed up Perl_sv_derived_from
Message-ID: <20051222220044.GH4370@petdance.com>
Date: Thu, 22 Dec 2005 16:00:44 -0600

p4raw-id: //depot/perl@26461

15 years agoCreate a sub LC_ALL with the correct prototype.
Nicholas Clark [Fri, 23 Dec 2005 00:18:49 +0000 (00:18 +0000)]
Create a sub LC_ALL with the correct prototype.

p4raw-id: //depot/perl@26460

15 years agoDe-duplicate the items in @EXPORT. (@EXPORT is built from all the tags,
Nicholas Clark [Fri, 23 Dec 2005 00:18:27 +0000 (00:18 +0000)]
De-duplicate the items in @EXPORT. (@EXPORT is built from all the tags,
and some constants are mentioned in multiple tags).
Should this logic be in Exporter::Heavy?

p4raw-id: //depot/perl@26459

15 years agoMake hostname.t deal with undefined or blank hostnames and domain
Steve Peters [Fri, 23 Dec 2005 00:10:25 +0000 (00:10 +0000)]
Make hostname.t deal with undefined or blank hostnames and domain
names.

p4raw-id: //depot/perl@26458

15 years agoFix for pod2man() in ExtUtils::Command::MM to work with
Steve Peters [Fri, 23 Dec 2005 00:06:58 +0000 (00:06 +0000)]
Fix for pod2man() in ExtUtils::Command::MM to work with
the Pod::Man 2.04.

p4raw-id: //depot/perl@26457

15 years agoSpeedup (rn|n)?instr
Andy Lester [Thu, 22 Dec 2005 16:38:39 +0000 (10:38 -0600)]
Speedup (rn|n)?instr
Message-ID: <20051222223839.GI4370@petdance.com>
Date: Thu, 22 Dec 2005 16:38:39 -0600

p4raw-id: //depot/perl@26456

15 years agoUse inlineable proxy constant subs for POSIX.
Nicholas Clark [Thu, 22 Dec 2005 23:57:27 +0000 (23:57 +0000)]
Use inlineable proxy constant subs for POSIX.
There may be trouble ahead, as it seems that not all POSIX "constants"
are. I wonder if too many systems are going to have too many
variations to make this viable.

p4raw-id: //depot/perl@26455

15 years agoMissing ; in Tie::File
Nicholas Clark [Thu, 22 Dec 2005 23:43:22 +0000 (23:43 +0000)]
Missing ; in Tie::File

p4raw-id: //depot/perl@26454

15 years agoMake ExtUtils::Constant generate the inlineable proxy constant subs.
Nicholas Clark [Thu, 22 Dec 2005 21:02:19 +0000 (21:02 +0000)]
Make ExtUtils::Constant generate the inlineable proxy constant subs.
So far just enough to make Fcntl work.

p4raw-id: //depot/perl@26453

15 years agoCompilation help for EBCDIC platforms, from Jarkko,
Rafael Garcia-Suarez [Thu, 22 Dec 2005 19:37:42 +0000 (19:37 +0000)]
Compilation help for EBCDIC platforms, from Jarkko,
tested by Rajarshi Das

p4raw-id: //depot/perl@26452

15 years agoBreak out the code to generate #ifdef/#endif into new methods
Nicholas Clark [Thu, 22 Dec 2005 19:00:52 +0000 (19:00 +0000)]
Break out the code to generate #ifdef/#endif into new methods
macro_to_ifdef and macro_to_endif
Add an args hashref to normalise_items; provide a
disable_utf8_duplication argument to disable the utf8 duplication code.

p4raw-id: //depot/perl@26451

15 years agoHo! Ho! Ho! Santa brings consting!
Andy Lester [Thu, 22 Dec 2005 10:57:17 +0000 (04:57 -0600)]
Ho! Ho! Ho!  Santa brings consting!
Message-ID: <20051222165717.GA2874@petdance.com>

p4raw-id: //depot/perl@26450

15 years agoBreak out the item normalisation code into a method normalise_items.
Nicholas Clark [Thu, 22 Dec 2005 17:01:33 +0000 (17:01 +0000)]
Break out the item normalisation code into a method normalise_items.

p4raw-id: //depot/perl@26449

15 years agoRegression tests for proxy subroutine glob assignment.
Nicholas Clark [Thu, 22 Dec 2005 15:43:20 +0000 (15:43 +0000)]
Regression tests for proxy subroutine glob assignment.
Fix a bug (it turns out that a typeglob isn't SvOK())
Remove stray debugging code.

p4raw-id: //depot/perl@26448

15 years agoeliminate HINT_HH_FOR_EVAL
Robin Houston [Thu, 22 Dec 2005 11:54:55 +0000 (11:54 +0000)]
eliminate HINT_HH_FOR_EVAL
Message-ID: <20051222115455.GB30301@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26447

15 years agoAdd an optimisation to allow proxy constant subroutines to be copied
Nicholas Clark [Thu, 22 Dec 2005 11:23:34 +0000 (11:23 +0000)]
Add an optimisation to allow proxy constant subroutines to be copied
as proxy constant subroutines in a new symbol table where possible.
(Rather than converting them to full blown constant subroutines and
instantiating 2 typeglobs)

p4raw-id: //depot/perl@26446

15 years agoRegenerate Changes
Rafael Garcia-Suarez [Thu, 22 Dec 2005 11:13:25 +0000 (11:13 +0000)]
Regenerate Changes

p4raw-id: //depot/perl@26445

15 years agoRemove unused variable 'stash' since change 26437.
Gisle Aas [Thu, 22 Dec 2005 10:42:36 +0000 (10:42 +0000)]
Remove unused variable 'stash' since change 26437.

p4raw-id: //depot/perl@26444

15 years agoRegenerate perlapi.pod.
Rafael Garcia-Suarez [Thu, 22 Dec 2005 10:32:17 +0000 (10:32 +0000)]
Regenerate perlapi.pod.
Fix indentation of code examples in perlsyn.

p4raw-id: //depot/perl@26443

15 years agoswitch / ~~ doccos
Robin Houston [Wed, 21 Dec 2005 13:51:18 +0000 (13:51 +0000)]
switch / ~~ doccos
Message-ID: <20051221135118.GC26527@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26442

15 years agowrong setting in canned win32/config.vc64 file
Jan Dubois [Wed, 21 Dec 2005 15:04:30 +0000 (07:04 -0800)]
wrong setting in canned win32/config.vc64 file
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <06c701c60682$e650adc0$d563a8c0@candy>

p4raw-id: //depot/perl@26441

15 years agoAdd documentation for method domainname() in Net::Domain. Add some
Steve Peters [Thu, 22 Dec 2005 03:08:59 +0000 (03:08 +0000)]
Add documentation for method domainname() in Net::Domain.  Add some
additional tests for Net::Domain.  Also, since it is tested, remove
test case from lib/1_compile.t.  One step closer to $500.

p4raw-id: //depot/perl@26440

15 years agoAvoid negating an unsigned value. (The offset in the SV body table)
Nicholas Clark [Wed, 21 Dec 2005 22:40:04 +0000 (22:40 +0000)]
Avoid negating an unsigned value. (The offset in the SV body table)

p4raw-id: //depot/perl@26439

15 years agoFor consistency sv_2cv should not leave the stash pointer uninitialised
Nicholas Clark [Wed, 21 Dec 2005 21:20:23 +0000 (21:20 +0000)]
For consistency sv_2cv should not leave the stash pointer uninitialised
for some cases. Although it seems that only pp_sort pays any attention
to it, of all the code on CPAN.

p4raw-id: //depot/perl@26438

15 years agoLocalise the stash variable in pp_entersub().
Nicholas Clark [Wed, 21 Dec 2005 20:38:42 +0000 (20:38 +0000)]
Localise the stash variable in pp_entersub().

p4raw-id: //depot/perl@26437

15 years agoUndo my goto spaghetti from change 18340 - what we really need are
Nicholas Clark [Wed, 21 Dec 2005 19:37:48 +0000 (19:37 +0000)]
Undo my goto spaghetti from change 18340 - what we really need are
hints to compilers about likey/unlikely branches.

p4raw-id: //depot/perl@26436

15 years agoAdd tests for untested math functions in POSIX
Steve Peters [Wed, 21 Dec 2005 19:04:37 +0000 (19:04 +0000)]
Add tests for untested math functions in POSIX

p4raw-id: //depot/perl@26435

15 years agoThe lref argument of sv_2cv is actually passed onwards to gv_fetchsv,
Nicholas Clark [Wed, 21 Dec 2005 18:34:03 +0000 (18:34 +0000)]
The lref argument of sv_2cv is actually passed onwards to gv_fetchsv,
so it is a bitmap of flag bits rather than simple TRUE/FALSE.

p4raw-id: //depot/perl@26434

15 years agoRemove switch from perltodo
Rafael Garcia-Suarez [Wed, 21 Dec 2005 17:07:05 +0000 (17:07 +0000)]
Remove switch from perltodo

p4raw-id: //depot/perl@26433

15 years agoFeature bundle is now :5.10, and add -E switch
Robin Houston [Wed, 21 Dec 2005 11:00:08 +0000 (11:00 +0000)]
Feature bundle is now :5.10, and add -E switch
Message-ID: <20051221110008.GB25877@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26432

15 years agoFix for [perl #37999] lc() + Latin-1 chars is failing erratically
Rafael Garcia-Suarez [Wed, 21 Dec 2005 11:12:32 +0000 (11:12 +0000)]
Fix for [perl #37999] lc() + Latin-1 chars is failing erratically
based on copying part of change #22196 from do_chomp() to do_chop().
p4raw-link: @22196 on //depot/perl: a6aa349da2cd706a05b205fa788c278b74c24bdc

p4raw-id: //depot/perl@26431

15 years agoFix bug in change #26379
Jan Dubois [Tue, 20 Dec 2005 16:42:24 +0000 (08:42 -0800)]
Fix bug in change #26379
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <046001c605c7$69470290$d563a8c0@candy>

p4raw-id: //depot/perl@26430

15 years agorv_2av, rv_2cv and rv_2hv also make use of OPf_SPECIAL, so update the
Nicholas Clark [Tue, 20 Dec 2005 23:12:17 +0000 (23:12 +0000)]
rv_2av, rv_2cv and rv_2hv also make use of OPf_SPECIAL, so update the
descriptive comment to include them.

p4raw-id: //depot/perl@26429

15 years agoRemove some hardcoded references to ./perl in tests
Rafael Garcia-Suarez [Tue, 20 Dec 2005 20:50:26 +0000 (20:50 +0000)]
Remove some hardcoded references to ./perl in tests

p4raw-id: //depot/perl@26428

15 years agoTake care in toke.c not to convert constant subroutine reference
Nicholas Clark [Tue, 20 Dec 2005 20:13:12 +0000 (20:13 +0000)]
Take care in toke.c not to convert constant subroutine reference
proxies into full blown PVGVs with PVCVs, and recognise them and inline
their values. Adds a new function gv_const_sv(gv) to return the value
of the constant subroutine from a GV, and adds a cv parameter to
S_intuit_method.

p4raw-id: //depot/perl@26427

15 years agoSmall update on using threads on HP-UX 10.20
H.Merijn Brand [Tue, 20 Dec 2005 19:56:58 +0000 (19:56 +0000)]
Small update on using threads on HP-UX 10.20
64bit is far beyond experimental by now

p4raw-id: //depot/perl@26426

15 years agoAdd a GV_NOADD_NOINIT flag to gv_fetch{pv,pvn,sv} that disables
Nicholas Clark [Tue, 20 Dec 2005 19:55:46 +0000 (19:55 +0000)]
Add a GV_NOADD_NOINIT flag to gv_fetch{pv,pvn,sv} that disables
addition of new typeglobs, and also disables initialisation of any
typeglob placeholders. Needed to make the new constant subroutine
proxy references work efficiently.

p4raw-id: //depot/perl@26425

15 years agoFix typos in regular expressions
Rafael Garcia-Suarez [Tue, 20 Dec 2005 19:37:26 +0000 (19:37 +0000)]
Fix typos in regular expressions

p4raw-id: //depot/perl@26424

15 years agoGet the "cv" from the "gv" once, and be more careful so that we can
Nicholas Clark [Tue, 20 Dec 2005 16:34:27 +0000 (16:34 +0000)]
Get the "cv" from the "gv" once, and be more careful so that we can
cope if either aren't their regular types.
cv_const_sv should verify the type of SV passed, instead of assuming
that it's a viable CV.

p4raw-id: //depot/perl@26423

15 years agoCroak if gv_init doesn't know how to create a typeglob from that type
Nicholas Clark [Tue, 20 Dec 2005 15:11:09 +0000 (15:11 +0000)]
Croak if gv_init doesn't know how to create a typeglob from that type
of referant. Test that ARRAY, HASH, PVIO, CODE and FORMAT croak.
Globs are actually first class assignable objects, so test that you
can create a constant subroutine that returns one.

p4raw-id: //depot/perl@26422

15 years agoPOD nits on B::Lint
Rafael Garcia-Suarez [Tue, 20 Dec 2005 14:54:10 +0000 (14:54 +0000)]
POD nits on B::Lint

p4raw-id: //depot/perl@26421

15 years agoRe: Pluggable lint patch
Joshua ben Jore [Mon, 19 Dec 2005 09:22:04 +0000 (03:22 -0600)]
Re: Pluggable lint patch
Message-ID: <dc5c751d0512190722s1e73ef88l5ae82bd7aa075c51@mail.gmail.com>

p4raw-id: //depot/perl@26420

15 years agoMake perlivp skip the *.ph tests by default, since these
Gisle Aas [Tue, 20 Dec 2005 14:39:22 +0000 (14:39 +0000)]
Make perlivp skip the *.ph tests by default, since these
files are normally not generated.
The -a option is now needed for it to run all tests.

p4raw-id: //depot/perl@26419

15 years ago[TEST PATCH] %^H can now propagate into eval
Robin Houston [Tue, 20 Dec 2005 12:06:15 +0000 (12:06 +0000)]
[TEST PATCH] %^H can now propagate into eval
Message-ID: <20051220120615.GA21794@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26418

15 years agoVerify that the code for initialising typeglobs from other types works.
Nicholas Clark [Tue, 20 Dec 2005 14:10:39 +0000 (14:10 +0000)]
Verify that the code for initialising typeglobs from other types works.

p4raw-id: //depot/perl@26417

15 years agoUse PTR2IV instead of casting directly
Rafael Garcia-Suarez [Tue, 20 Dec 2005 13:55:19 +0000 (13:55 +0000)]
Use PTR2IV instead of casting directly

p4raw-id: //depot/perl@26416

15 years agogv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, rather
Nicholas Clark [Tue, 20 Dec 2005 13:39:01 +0000 (13:39 +0000)]
gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, rather
than a simple boolean, so passing FALSE or TRUE is bogus.

p4raw-id: //depot/perl@26415

15 years agoIn Perl_yylex, move the declaration of orig_keyword, gv and gvp down to
Nicholas Clark [Tue, 20 Dec 2005 12:51:21 +0000 (12:51 +0000)]
In Perl_yylex, move the declaration of orig_keyword, gv and gvp down to
the block labelled keylookup.

p4raw-id: //depot/perl@26414

15 years agomake failing cygwin test TODO'd
Yitzchak Scott-Thoennes [Mon, 19 Dec 2005 03:41:12 +0000 (19:41 -0800)]
make failing cygwin test TODO'd
Message-ID: <20051219114112.GA5568@efn.org>

p4raw-id: //depot/perl@26413

15 years agoIn Perl_yylex, make tmp a temporary variable local to the blocks in
Nicholas Clark [Mon, 19 Dec 2005 23:47:26 +0000 (23:47 +0000)]
In Perl_yylex, make tmp a temporary variable local to the blocks in
which it is used.

p4raw-id: //depot/perl@26412

15 years agoAssert that orig_keyword, gv and gvp aren't used before the main
Nicholas Clark [Mon, 19 Dec 2005 22:38:54 +0000 (22:38 +0000)]
Assert that orig_keyword, gv and gvp aren't used before the main
keyword parser of Perl_yylex.

p4raw-id: //depot/perl@26411

15 years ago[perl #8262] //g loops infinitely on tainted data
Dave Mitchell [Mon, 19 Dec 2005 22:07:49 +0000 (22:07 +0000)]
[perl #8262] //g loops infinitely on tainted data
make the LHS of expr =~ /foo/g an lvalue, so that any pos magic
attached to it stays attached.

p4raw-id: //depot/perl@26410

15 years agoMake gv_init recognise a reference-to-something in a symbol table as
Nicholas Clark [Mon, 19 Dec 2005 20:57:40 +0000 (20:57 +0000)]
Make gv_init recognise a reference-to-something in a symbol table as
meaning a constant subroutine with that thing as it value

p4raw-id: //depot/perl@26409

15 years agoFix internal broken link ; reindent code examples
Rafael Garcia-Suarez [Mon, 19 Dec 2005 19:27:09 +0000 (19:27 +0000)]
Fix internal broken link ; reindent code examples

p4raw-id: //depot/perl@26408

15 years agoFix typo.
Rafael Garcia-Suarez [Mon, 19 Dec 2005 19:21:47 +0000 (19:21 +0000)]
Fix typo.
Add empty lines after =items.

p4raw-id: //depot/perl@26407

15 years agoA note on say() and ORS grabbed from Damian's Perl6::Say.
Rafael Garcia-Suarez [Mon, 19 Dec 2005 19:18:48 +0000 (19:18 +0000)]
A note on say() and ORS grabbed from Damian's Perl6::Say.

p4raw-id: //depot/perl@26406

15 years agoAttempt at making IO::Handle backwards compatible again
Rafael Garcia-Suarez [Mon, 19 Dec 2005 18:43:04 +0000 (18:43 +0000)]
Attempt at making IO::Handle backwards compatible again

p4raw-id: //depot/perl@26405

15 years agoMake sv_dump (and therefore Devel::Peek) report the value of the
Nicholas Clark [Mon, 19 Dec 2005 18:28:03 +0000 (18:28 +0000)]
Make sv_dump (and therefore Devel::Peek) report the value of the
constant in inlineable constant subroutines.

p4raw-id: //depot/perl@26404

15 years agosort.pm deserves a new version number
Rafael Garcia-Suarez [Mon, 19 Dec 2005 18:20:48 +0000 (18:20 +0000)]
sort.pm deserves a new version number

p4raw-id: //depot/perl@26403

15 years agoRe: [PATCH] Make the 'sort' pragma lexically scoped
Robin Houston [Mon, 19 Dec 2005 18:46:00 +0000 (18:46 +0000)]
Re: [PATCH] Make the 'sort' pragma lexically scoped
Message-ID: <20051219174620.GA17940@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26402

15 years agoMissing file from last change
Rafael Garcia-Suarez [Mon, 19 Dec 2005 16:39:44 +0000 (16:39 +0000)]
Missing file from last change

p4raw-id: //depot/perl@26401

15 years agolatest switch/say/~~
Robin Houston [Sat, 17 Dec 2005 20:44:31 +0000 (20:44 +0000)]
latest switch/say/~~
Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26400

15 years agoUn-TODO a fixed test
Yves Orton [Sat, 17 Dec 2005 17:23:23 +0000 (18:23 +0100)]
Un-TODO a fixed test

Subject: Re: Change 26165 broke ext/threads/t/stress_re.t test on Win32 (and patch to t/test.pl and/or Test::Harness)
Message-ID: <9b18b3110512170823q1bb2cd27h838b4d4dcdba72c9@mail.gmail.com>

p4raw-id: //depot/perl@26399

15 years agoTODO-SKIP tests must be "not ok", or else the test harness will think
Yves Orton [Sat, 17 Dec 2005 17:23:23 +0000 (18:23 +0100)]
TODO-SKIP tests must be "not ok", or else the test harness will think
it's an unexpected success

Subject: Re: Change 26165 broke ext/threads/t/stress_re.t test on Win32 (and patch to t/test.pl and/or Test::Harness)
Message-ID: <9b18b3110512170823q1bb2cd27h838b4d4dcdba72c9@mail.gmail.com>

p4raw-id: //depot/perl@26398

15 years agoMake script embedded in patchlevel.h work on win32.
Yves Orton [Sat, 17 Dec 2005 19:52:00 +0000 (19:52 +0000)]
Make script embedded in patchlevel.h work on win32.
Message-ID: <9b18b3110512171052h2052d598rdf038f1d38560317@mail.gmail.com>

p4raw-id: //depot/perl@26397

15 years agoTwo test workarounds for VMS
Craig A. Berry [Sun, 18 Dec 2005 00:16:42 +0000 (00:16 +0000)]
Two test workarounds for VMS

p4raw-id: //depot/perl@26396

15 years agoAdd some paranoia to check that GP accesses aren't being done on the
Nicholas Clark [Sat, 17 Dec 2005 23:22:31 +0000 (23:22 +0000)]
Add some paranoia to check that GP accesses aren't being done on the
wrong types of SV.

p4raw-id: //depot/perl@26395

15 years agoUpgrade to Time-HiRes-1.86
Steve Peters [Sat, 17 Dec 2005 19:21:35 +0000 (19:21 +0000)]
Upgrade to Time-HiRes-1.86

p4raw-id: //depot/perl@26394

15 years agoTwo it's => its grammar fixes.
Nicholas Clark [Sat, 17 Dec 2005 18:50:08 +0000 (18:50 +0000)]
Two it's => its grammar fixes.

p4raw-id: //depot/perl@26393