Nicholas Clark [Thu, 22 Dec 2005 11:23:34 +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
Rafael Garcia-Suarez [Thu, 22 Dec 2005 11:13:25 +0000]
Regenerate Changes
p4raw-id: //depot/perl@26445
Gisle Aas [Thu, 22 Dec 2005 10:42:36 +0000]
Remove unused variable 'stash' since change 26437.
p4raw-id: //depot/perl@26444
Rafael Garcia-Suarez [Thu, 22 Dec 2005 10:32:17 +0000]
Regenerate perlapi.pod.
Fix indentation of code examples in perlsyn.
p4raw-id: //depot/perl@26443
Robin Houston [Wed, 21 Dec 2005 13:51:18 +0000]
switch / ~~ doccos
Message-ID: <
20051221135118.GC26527@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26442
Jan Dubois [Wed, 21 Dec 2005 15:04:30 +0000]
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
Steve Peters [Thu, 22 Dec 2005 03:08:59 +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
Nicholas Clark [Wed, 21 Dec 2005 22:40:04 +0000]
Avoid negating an unsigned value. (The offset in the SV body table)
p4raw-id: //depot/perl@26439
Nicholas Clark [Wed, 21 Dec 2005 21:20:23 +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
Nicholas Clark [Wed, 21 Dec 2005 20:38:42 +0000]
Localise the stash variable in pp_entersub().
p4raw-id: //depot/perl@26437
Nicholas Clark [Wed, 21 Dec 2005 19:37:48 +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
Steve Peters [Wed, 21 Dec 2005 19:04:37 +0000]
Add tests for untested math functions in POSIX
p4raw-id: //depot/perl@26435
Nicholas Clark [Wed, 21 Dec 2005 18:34:03 +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
Rafael Garcia-Suarez [Wed, 21 Dec 2005 17:07:05 +0000]
Remove switch from perltodo
p4raw-id: //depot/perl@26433
Robin Houston [Wed, 21 Dec 2005 11:00:08 +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
Rafael Garcia-Suarez [Wed, 21 Dec 2005 11:12:32 +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
Jan Dubois [Tue, 20 Dec 2005 16:42:24 +0000]
Fix bug in change #26379
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <
046001c605c7$69470290$d563a8c0@candy>
p4raw-id: //depot/perl@26430
Nicholas Clark [Tue, 20 Dec 2005 23:12:17 +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
Rafael Garcia-Suarez [Tue, 20 Dec 2005 20:50:26 +0000]
Remove some hardcoded references to ./perl in tests
p4raw-id: //depot/perl@26428
Nicholas Clark [Tue, 20 Dec 2005 20:13:12 +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
H.Merijn Brand [Tue, 20 Dec 2005 19:56:58 +0000]
Small update on using threads on HP-UX 10.20
64bit is far beyond experimental by now
p4raw-id: //depot/perl@26426
Nicholas Clark [Tue, 20 Dec 2005 19:55:46 +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
Rafael Garcia-Suarez [Tue, 20 Dec 2005 19:37:26 +0000]
Fix typos in regular expressions
p4raw-id: //depot/perl@26424
Nicholas Clark [Tue, 20 Dec 2005 16:34:27 +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
Nicholas Clark [Tue, 20 Dec 2005 15:11:09 +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
Rafael Garcia-Suarez [Tue, 20 Dec 2005 14:54:10 +0000]
POD nits on B::Lint
p4raw-id: //depot/perl@26421
Joshua ben Jore [Mon, 19 Dec 2005 09:22:04 +0000]
Re: Pluggable lint patch
Message-ID: <
dc5c751d0512190722s1e73ef88l5ae82bd7aa075c51@mail.gmail.com>
p4raw-id: //depot/perl@26420
Gisle Aas [Tue, 20 Dec 2005 14:39:22 +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
Robin Houston [Tue, 20 Dec 2005 12:06:15 +0000]
[TEST PATCH] %^H can now propagate into eval
Message-ID: <
20051220120615.GA21794@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26418
Nicholas Clark [Tue, 20 Dec 2005 14:10:39 +0000]
Verify that the code for initialising typeglobs from other types works.
p4raw-id: //depot/perl@26417
Rafael Garcia-Suarez [Tue, 20 Dec 2005 13:55:19 +0000]
Use PTR2IV instead of casting directly
p4raw-id: //depot/perl@26416
Nicholas Clark [Tue, 20 Dec 2005 13:39:01 +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
Nicholas Clark [Tue, 20 Dec 2005 12:51:21 +0000]
In Perl_yylex, move the declaration of orig_keyword, gv and gvp down to
the block labelled keylookup.
p4raw-id: //depot/perl@26414
Yitzchak Scott-Thoennes [Mon, 19 Dec 2005 03:41:12 +0000]
make failing cygwin test TODO'd
Message-ID: <
20051219114112.GA5568@efn.org>
p4raw-id: //depot/perl@26413
Nicholas Clark [Mon, 19 Dec 2005 23:47:26 +0000]
In Perl_yylex, make tmp a temporary variable local to the blocks in
which it is used.
p4raw-id: //depot/perl@26412
Nicholas Clark [Mon, 19 Dec 2005 22:38:54 +0000]
Assert that orig_keyword, gv and gvp aren't used before the main
keyword parser of Perl_yylex.
p4raw-id: //depot/perl@26411
Dave Mitchell [Mon, 19 Dec 2005 22:07:49 +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
Nicholas Clark [Mon, 19 Dec 2005 20:57:40 +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
Rafael Garcia-Suarez [Mon, 19 Dec 2005 19:27:09 +0000]
Fix internal broken link ; reindent code examples
p4raw-id: //depot/perl@26408
Rafael Garcia-Suarez [Mon, 19 Dec 2005 19:21:47 +0000]
Fix typo.
Add empty lines after =items.
p4raw-id: //depot/perl@26407
Rafael Garcia-Suarez [Mon, 19 Dec 2005 19:18:48 +0000]
A note on say() and ORS grabbed from Damian's Perl6::Say.
p4raw-id: //depot/perl@26406
Rafael Garcia-Suarez [Mon, 19 Dec 2005 18:43:04 +0000]
Attempt at making IO::Handle backwards compatible again
p4raw-id: //depot/perl@26405
Nicholas Clark [Mon, 19 Dec 2005 18:28:03 +0000]
Make sv_dump (and therefore Devel::Peek) report the value of the
constant in inlineable constant subroutines.
p4raw-id: //depot/perl@26404
Rafael Garcia-Suarez [Mon, 19 Dec 2005 18:20:48 +0000]
sort.pm deserves a new version number
p4raw-id: //depot/perl@26403
Robin Houston [Mon, 19 Dec 2005 18:46:00 +0000]
Re: [PATCH] Make the 'sort' pragma lexically scoped
Message-ID: <
20051219174620.GA17940@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26402
Rafael Garcia-Suarez [Mon, 19 Dec 2005 16:39:44 +0000]
Missing file from last change
p4raw-id: //depot/perl@26401
Robin Houston [Sat, 17 Dec 2005 20:44:31 +0000]
latest switch/say/~~
Message-Id: <
20051217204431.GB28940@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26400
Yves Orton [Sat, 17 Dec 2005 17:23:23 +0000]
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
Yves Orton [Sat, 17 Dec 2005 17:23:23 +0000]
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
Yves Orton [Sat, 17 Dec 2005 19:52:00 +0000]
Make script embedded in patchlevel.h work on win32.
Message-ID: <
9b18b3110512171052h2052d598rdf038f1d38560317@mail.gmail.com>
p4raw-id: //depot/perl@26397
Craig A. Berry [Sun, 18 Dec 2005 00:16:42 +0000]
Two test workarounds for VMS
p4raw-id: //depot/perl@26396
Nicholas Clark [Sat, 17 Dec 2005 23:22:31 +0000]
Add some paranoia to check that GP accesses aren't being done on the
wrong types of SV.
p4raw-id: //depot/perl@26395
Steve Peters [Sat, 17 Dec 2005 19:21:35 +0000]
Upgrade to Time-HiRes-1.86
p4raw-id: //depot/perl@26394
Nicholas Clark [Sat, 17 Dec 2005 18:50:08 +0000]
Two it's => its grammar fixes.
p4raw-id: //depot/perl@26393
Nicholas Clark [Sat, 17 Dec 2005 18:25:59 +0000]
Move and const some definitions of variables used to save errno.
p4raw-id: //depot/perl@26392
Nicholas Clark [Sat, 17 Dec 2005 17:46:06 +0000]
Add t/op/negate.t to MANIFEST.
p4raw-id: //depot/perl@26391
Nicholas Clark [Sat, 17 Dec 2005 17:40:44 +0000]
Pull the definition of olderrno in sv_2pv_flags into the block where
it's used.
p4raw-id: //depot/perl@26390
Dominic Dunlop [Sat, 17 Dec 2005 15:57:54 +0000]
Correct typo in Time::HiRes tests introduced by patch 26383
Message-Id: <
B364C747-F2BB-446F-887E-06EA2989888C@mac.com>
p4raw-id: //depot/perl@26389
Steve Peters [Sat, 17 Dec 2005 15:41:38 +0000]
Fix a typo and add some clarification to change #26387.
p4raw-link: @26387 on //depot/perl:
8705167b57c0f17d383e9e8ced641c8a486046b2
p4raw-id: //depot/perl@26388
Steve Peters [Sat, 17 Dec 2005 15:35:45 +0000]
Addition documentation explaining aritmetic negation on strings. Also,
additional test cases based partially on code by Piotr Fusik in
RT #36675: -'-10' eq '+10'.
p4raw-id: //depot/perl@26387
Nicholas Clark [Sat, 17 Dec 2005 12:00:51 +0000]
The IV/UV choice can be made inside uiv_2buf rather than sv_2pv_flags.
p4raw-id: //depot/perl@26386
Nicholas Clark [Sat, 17 Dec 2005 11:44:47 +0000]
The THINKFIRST check after the GMAGICAL check in sv_2iv_flags and
sv_2uv_flags should have been else if.
p4raw-id: //depot/perl@26385
Steve Peters [Sat, 17 Dec 2005 04:03:05 +0000]
Fix for ext/POSIX/t/time.t so the strftime() test works on systems
that aren't quite up to SUS3. Based on a patch by David Dyck in
RT #37960: POSIX/t/time fails bleadperl
p4raw-id: //depot/perl@26384
Steve Peters [Sat, 17 Dec 2005 01:46:58 +0000]
Upgrade to Time-HiRes-1.85
p4raw-id: //depot/perl@26383
Nicholas Clark [Fri, 16 Dec 2005 22:41:01 +0000]
Typo fixes from Robin Houston in
<
20051216201446.GA24709@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26382
Nicholas Clark [Fri, 16 Dec 2005 21:54:13 +0000]
s/Nullhv/NULL/g;
# Although I see that Robin is proposing to add some :-)
p4raw-id: //depot/perl@26381
Nicholas Clark [Fri, 16 Dec 2005 21:30:34 +0000]
s/Nullav/NULL/g
p4raw-id: //depot/perl@26380
Jan Dubois [Fri, 16 Dec 2005 07:12:00 +0000]
RE: PeekMessage() call in win32\win32.c win32_async_check
Message-ID: <
015901c60207$abd64210$d563a8c0@candy>
(Without the proposed alarm.t test)
p4raw-id: //depot/perl@26379
Nicholas Clark [Fri, 16 Dec 2005 18:12:26 +0000]
Perl_sv_dup should be allocating bodies based on *size*, not the
length to copy.
p4raw-id: //depot/perl@26378
Nicholas Clark [Fri, 16 Dec 2005 15:55:51 +0000]
comp/require.t exits early for the case of UTF-8 or EBCDIC, so need to
add "new" tests before the end.
p4raw-id: //depot/perl@26377
Dave Mitchell [Thu, 15 Dec 2005 22:03:57 +0000]
change #26373 broke threaded builds (aTHX_ now superfluous)
p4raw-link: @26373 on //depot/perl:
ce8abf5f5d2e5b19646ab17c24a3ea87c70428c8
p4raw-id: //depot/perl@26376
Steve Peters [Thu, 15 Dec 2005 18:16:20 +0000]
Added test for change #26373.
p4raw-link: @26373 on //depot/perl:
ce8abf5f5d2e5b19646ab17c24a3ea87c70428c8
p4raw-id: //depot/perl@26375
Rafael Garcia-Suarez [Thu, 15 Dec 2005 18:00:34 +0000]
Fix for [perl #37886] strict 'refs' doesn't apply inside defined
p4raw-id: //depot/perl@26374
Steve Peters [Thu, 15 Dec 2005 17:48:42 +0000]
Prevent require() from attempting to open directories and block
devices. This fixes RT #24404.
p4raw-id: //depot/perl@26373
Nicholas Clark [Thu, 15 Dec 2005 17:26:52 +0000]
Use PL_op_desc rather than literal strings in pp_ioctl
p4raw-id: //depot/perl@26372
Nicholas Clark [Thu, 15 Dec 2005 17:26:22 +0000]
Expand the comment describing the intent of change 26370, and how it
relates to change 24660.
p4raw-id: //depot/perl@26371
Rafael Garcia-Suarez [Thu, 15 Dec 2005 17:12:01 +0000]
Don't autovivify stashes as soon as the lexer sees them.
This makes defined %foo::bar:: work again.
Add tests for it, remove note in perldelta about having broken it.
p4raw-id: //depot/perl@26370
Nicholas Clark [Thu, 15 Dec 2005 16:24:21 +0000]
In Perl_apply, the name of the op can be found from PL_op_name, instead
of using local string constants.
p4raw-id: //depot/perl@26369
Rafael Garcia-Suarez [Thu, 15 Dec 2005 15:11:15 +0000]
More general fix for bug [perl #37915]
Make Net::Ping::mselect return undef on error instead of -1.
p4raw-id: //depot/perl@26368
alexander_bluhm@genua.de [Tue, 13 Dec 2005 10:44:47 +0000]
[perl #37915] Bad select error handling in Net::Ping
From: alexander_bluhm@genua.de (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37915-125655.19.
2646201463531@perl.org>
p4raw-id: //depot/perl@26367
Gisle Aas [Thu, 15 Dec 2005 12:34:12 +0000]
Silence test output to STDERR
because it makes the 'make test' output look ugly.
p4raw-id: //depot/perl@26366
John Peacock [Wed, 14 Dec 2005 10:12:56 +0000]
Re: [perl #37897] sprintf of version objects
Message-ID: <
43A03678.2060700@rowman.com>
(with some formatting tweaks and extra test cases)
p4raw-id: //depot/perl@26365
Rafael Garcia-Suarez [Thu, 15 Dec 2005 10:04:36 +0000]
Some cleanups by Jarkko (and one by myself) to check83.pl
p4raw-id: //depot/perl@26364
Craig A. Berry [Thu, 15 Dec 2005 03:59:21 +0000]
On VMS, put pods in [.lib.pods] rather than [.lib.pod]
in order to avoid collisions with [.lib.Pod]
p4raw-id: //depot/perl@26363
Steve Peters [Thu, 15 Dec 2005 02:33:11 +0000]
Reverting change #26360 and #26361 since it appears that the bugs I
thought I fixed had been previously fixed with change #25953.
p4raw-link: @26360 on //depot/perl:
f7ae8051c95a2bdf42aad8ef8cbdb82f5608126f
p4raw-link: @25953 on //depot/perl:
9850bf21fc4ed69d8ddb0293df59411f891c62df
p4raw-id: //depot/perl@26362
Steve Peters [Thu, 15 Dec 2005 02:02:25 +0000]
Again, FREETMPS not SAVETMPS!
p4raw-id: //depot/perl@26361
Steve Peters [Thu, 15 Dec 2005 02:00:19 +0000]
Add a missing FREETMPS to match up with a SAVETMPS. This change
fixes problems with nested sorts. (RTs #7063 and #36430).
p4raw-id: //depot/perl@26360
Steve Peters [Thu, 15 Dec 2005 00:36:25 +0000]
Upgrade to Getopt-Long-2.35
p4raw-id: //depot/perl@26359
Craig A. Berry [Wed, 14 Dec 2005 22:03:28 +0000]
Using the system's utime() requires a patch to vms/vmsish.h
that has not been submitted yet.
p4raw-id: //depot/perl@26358
Nicholas Clark [Wed, 14 Dec 2005 16:41:33 +0000]
lib/Pod/t/man.t should use TODO with not ok to express its intentions
correctly in TAP. (or alternatively if it really wants to skip, it
needs to print ok)
p4raw-id: //depot/perl@26357
Nicholas Clark [Wed, 14 Dec 2005 15:25:39 +0000]
Duplicate the AMAGIC temporary variable consting from sv_2iv_flags into
sv_2uv_flags, sv_2nv and sv_2pv_flags.
p4raw-id: //depot/perl@26355
Nicholas Clark [Wed, 14 Dec 2005 14:59:18 +0000]
Simplify the SvGMAGIC code in sv_[ipu]v_flags.
p4raw-id: //depot/perl@26354
Nicholas Clark [Wed, 14 Dec 2005 14:08:24 +0000]
Simplify the SvGMAGIC code in sv_2nv, removing duplicated checks to
warn for uninitialized values.
p4raw-id: //depot/perl@26353
Nicholas Clark [Wed, 14 Dec 2005 13:22:14 +0000]
The logic to use SVt_NV or SVt_PVNV is in sv_upgrade, so no need to
dupliate it in sv_2nv. Also, the final sv_upgrade is never called.
p4raw-id: //depot/perl@26352
Dave Mitchell [Wed, 14 Dec 2005 12:46:29 +0000]
forgot to add new file to change #26350
p4raw-link: @26350 on //depot/perl:
402174ade5cfc00aa74adb59911c447ef485c570
p4raw-id: //depot/perl@26351
Jerry D. Hedden [Tue, 13 Dec 2005 15:11:20 +0000]
[perl #37919] Blessed scalar refs with threads::shared
From: "Jerry D. Hedden" (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-3.0.11-37919-125690.15.
3722450337035@perl.org>
Unlike arrays and hashes, coping blessed refs to shared scalars left
the copy unblessed
p4raw-id: //depot/perl@26350
Steve Hay [Wed, 14 Dec 2005 12:41:02 +0000]
Fix compilation error when building with -DPERL_MEM_LOG_STDERR
p4raw-id: //depot/perl@26349
Nicholas Clark [Tue, 13 Dec 2005 22:07:30 +0000]
Convert range.t to test.pl
p4raw-id: //depot/perl@26347
Nicholas Clark [Tue, 13 Dec 2005 20:05:31 +0000]
Update embed.fnc and headers after change 26345 (spotted by Rafael)
p4raw-id: //depot/perl@26346
Nicholas Clark [Tue, 13 Dec 2005 19:44:22 +0000]
Inline asIV and asUV, as each is only used once, and it distracts from
the patterns of repeated code in sv_2iv_flags, sv_2uv_flags, sv_2nv
and sv_2pv_flags. Add a comment noting the return path from the end of
the SvGMAGICAL case to all 4.
p4raw-id: //depot/perl@26345