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
Craig A. Berry [Tue, 13 Dec 2005 17:27:48 +0000]
Don't include utime.h in vms.c -- it collides with
homegroun definitions in vmsish.h.
p4raw-id: //depot/perl@26344
Rafael Garcia-Suarez [Tue, 13 Dec 2005 14:07:12 +0000]
Fix realclean target for Sys::Syslog
p4raw-id: //depot/perl@26343
Gisle Aas [Tue, 13 Dec 2005 13:54:44 +0000]
Remove tests that were not portable to 64bit ints.
p4raw-id: //depot/perl@26342
Steve Peters [Tue, 13 Dec 2005 12:17:57 +0000]
Renaming of some of Pod::Simple's test files to make it more 8.3
friendly.
p4raw-id: //depot/perl@26341
Steve Peters [Tue, 13 Dec 2005 11:54:54 +0000]
Changes to Pod::Simple's tests to get rid of the "^"s in the
directory names.
p4raw-id: //depot/perl@26340
Gisle Aas [Tue, 13 Dec 2005 11:40:26 +0000]
Add overflow check to EXPECT_NUMBER() used by sv_vcatpvfn().
sprintf() or printf() will now croak if any of the indexes and
widths specified in the format string are too large.
p4raw-id: //depot/perl@26339
Yitzchak Scott-Thoennes [Sun, 11 Dec 2005 07:19:58 +0000]
Re: check83.pl
Message-ID: <
20051211151958.GA6188@efn.org>
p4raw-id: //depot/perl@26338
Steve Hay [Tue, 13 Dec 2005 09:41:29 +0000]
Fix lib/File/Compare.t test failures on Win32
Change 26225, updated by 26245, added a test for another filename with
a trailing space but failed to open the new filehandle in binary mode
To compound matters, creating a file called "foo " on Win32 "succeeds"
but actually creates a file called just "foo", so we have actually
overwritten the original file with this non-binary mode version, and
hence some of the original tests started failing too!
(And because of this the new test doesn't actually add anything new on
Win32 at the moment, but right now I can't think of a filename that
would have failed under 2-arg open but succeeds with 3-arg open, which
was the purpose of this test)
p4raw-id: //depot/perl@26337
Steve Hay [Tue, 13 Dec 2005 08:54:45 +0000]
Don't try to export Perl_pad_sv when it isn't defined
Fixes a Win32 linker error in non-DEBUGGING builds following 26316
p4raw-id: //depot/perl@26336
YAMASHINA Hio [Tue, 30 Aug 2005 17:17:23 +0000]
A suggestion by Yamashina Hio to speed up substitutions
with right-hand side expressions by freeing temporaries.
See :
Subject: s///ge; consumes PL_tmps_stack in its loop
Message-Id: <
20050830160113.9716.HIO@ymir.co.jp>
p4raw-id: //depot/perl@26334
Nicholas Clark [Mon, 12 Dec 2005 15:24:06 +0000]
Check that %v$foo does not crash.
p4raw-id: //depot/perl@26332
Gisle Aas [Mon, 12 Dec 2005 13:55:14 +0000]
Use load_module() instead of perl_eval_sv("require $mod") to
load modules. This is safer since $mod comes from an external
source.
p4raw-id: //depot/perl@26330
Steve Peters [Mon, 12 Dec 2005 13:21:03 +0000]
Pod::Man's tests aren't Unicode friendly. Let's skip the unfriendly
test for now.
p4raw-id: //depot/perl@26329
Rafael Garcia-Suarez [Mon, 12 Dec 2005 13:18:21 +0000]
Robin Houston points out a better way to replace
the C<defined %foo::bar::> construct.
p4raw-id: //depot/perl@26328
Gisle Aas [Mon, 12 Dec 2005 12:21:39 +0000]
Oops, change 26326 broke t/run/switches.t
Reverting change 24912 fixes it.
p4raw-id: //depot/perl@26327
Gisle Aas [Mon, 12 Dec 2005 10:41:04 +0000]
Drop "v" prefix from sprintf("%vd", $^V).
The sprintf documentation has this example:
printf "version is v%vd\n", $^V;
and it printed 'version is vv5.9.3\n'.
p4raw-id: //depot/perl@26326
Nicholas Clark [Sun, 11 Dec 2005 22:37:40 +0000]
Fix *printf %*vd with mixed Latin 1/UTF-8. (Fixes bug 37889)
p4raw-id: //depot/perl@26325
Nicholas Clark [Sun, 11 Dec 2005 20:34:33 +0000]
Move the rest of the data munging into the test preparation loop.
p4raw-id: //depot/perl@26324
Nicholas Clark [Sun, 11 Dec 2005 19:49:53 +0000]
Move the $data and $result munging into the test preparation loop.
p4raw-id: //depot/perl@26323
Gisle Aas [Sun, 11 Dec 2005 18:14:24 +0000]
Disallow sprintf's vector handling for non-integer formats.
Avoids core dump for printf("%vs") and similar.
p4raw-id: //depot/perl@26321
Nicholas Clark [Sun, 11 Dec 2005 12:54:14 +0000]
Quench the other 2 ways obscure ways of abusing positional parameters
to generate bogus array indexes. These two are inside the vector
formatting code.
p4raw-id: //depot/perl@26320
Nicholas Clark [Sat, 10 Dec 2005 18:13:33 +0000]
Re-instate the old perl getcwd as _perl_getcwd, and use it if loading
the XS fails. (Needed to bootstrap the core build)
p4raw-id: //depot/perl@26319
Steve Peters [Sat, 10 Dec 2005 15:42:39 +0000]
Upgrade to PathTools-3.14_01
p4raw-id: //depot/perl@26318
Andy Lester [Fri, 9 Dec 2005 11:09:21 +0000]
Code tweaks in sv.c
Message-ID: <
20051209170921.GC16943@petdance.com>
Includes a minor change the patch to account for code that moved
elsewhere.
p4raw-id: //depot/perl@26317
Andy Lester [Wed, 7 Dec 2005 21:58:05 +0000]
Excluding pad funcs when not debugging
Message-ID: <
20051208035805.GA23007@petdance.com>
p4raw-id: //depot/perl@26316
Nicholas Clark [Fri, 9 Dec 2005 23:09:42 +0000]
A better hash for PTR_TABLE_HASH (?)
p4raw-id: //depot/perl@26315
John E. Malmberg [Fri, 9 Dec 2005 14:08:53 +0000]
patch@26310 - Major step for > 256 char paths on VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <
4399D645.8070803@qsl.net>
p4raw-id: //depot/perl@26314
Nicholas Clark [Fri, 9 Dec 2005 19:18:32 +0000]
An alternative way of structuring ptr_table_clear so that the variables
can be assigned to at declaration time.
p4raw-id: //depot/perl@26313
Nicholas Clark [Fri, 9 Dec 2005 18:46:17 +0000]
A more efficient way to loop in ptr_table_clear
p4raw-id: //depot/perl@26312
Andreas König [Fri, 9 Dec 2005 07:06:00 +0000]
Re: Pod::Simple integration
Message-ID: <87k6ee7qk7.fsf@k75.linux.bogus>
These files are still giving problems after attempting to convert
them to text in p4. The tests pass without them, so we'll remove them
from the Perl distribution.
p4raw-id: //depot/perl@26311
Steve Peters [Fri, 9 Dec 2005 03:39:17 +0000]
Fixes compile errors introduce with change #26301 when compiling
with ithreads and DEBUGGING.
p4raw-link: @26301 on //depot/perl:
7bf61b542bce8caca5f166daaf28742d80217049
p4raw-id: //depot/perl@26310
Steve Peters [Fri, 9 Dec 2005 02:07:32 +0000]
Upgrade to Sys-Syslog-0.10
p4raw-id: //depot/perl@26309
Steve Peters [Fri, 9 Dec 2005 01:41:44 +0000]
Upgrade to CGI.pm-3.15
p4raw-id: //depot/perl@26308
Steve Peters [Thu, 8 Dec 2005 19:40:33 +0000]
Add pointer to Pod::Simple for the Pod -> HTML task.
p4raw-id: //depot/perl@26307
Steve Peters [Thu, 8 Dec 2005 19:21:25 +0000]
One final Pod::Usage yak to shave...
p4raw-id: //depot/perl@26306
Steve Peters [Thu, 8 Dec 2005 19:07:38 +0000]
Version bump for Pod::Usage
p4raw-id: //depot/perl@26305
Steve Peters [Thu, 8 Dec 2005 19:04:59 +0000]
Further yak-shaving on Pod::Usage. Now, t/pod/pod2usage2.t tests
pass.
p4raw-id: //depot/perl@26304
Steve Peters [Thu, 8 Dec 2005 15:53:36 +0000]
Fix to Pod::Usage to work with all recent Pod::Text versions. Also
includes a change to the Pod::Usage test file for compatibility
purposes.
p4raw-id: //depot/perl@26303
Craig A. Berry [Thu, 8 Dec 2005 14:47:57 +0000]
On VMS, do not use Perl's memory allocator for the home-grown pipe
structures. They may be allocated during start-up and are torn down
in an exit handler, where thread context and other Perlish support
are iffy.
p4raw-id: //depot/perl@26302
Nicholas Clark [Thu, 8 Dec 2005 14:06:37 +0000]
Merge common code from ptr_table_fetch and ptr_table_store into
S_ptr_table_find.
p4raw-id: //depot/perl@26301
Gisle Aas [Thu, 8 Dec 2005 09:56:22 +0000]
Fixup the setsockopt usage message; missing OPTVAL.
p4raw-id: //depot/perl@26300
Gisle Aas [Thu, 8 Dec 2005 09:53:35 +0000]
Improve the setsockopt description.
Removed claim that OPTVAL might be undef as it is just treated
the same as 0 and give the usual use-of-uninitialized-value
warning. Added an example.
p4raw-id: //depot/perl@26299
John E. Malmberg [Wed, 7 Dec 2005 22:26:21 +0000]
patch@26253 Allow embedded new lines passed through to commands
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <
4397A7DD.8030403@qsl.net>
p4raw-id: //depot/perl@26298
Steve Peters [Wed, 7 Dec 2005 20:39:24 +0000]
One quick fix to the test for differences in error output.
p4raw-id: //depot/perl@26297
Andy Lester [Wed, 7 Dec 2005 10:08:18 +0000]
All args in embed.fnc should be named
Message-ID: <
20051207160818.GA13465@petdance.com>
p4raw-id: //depot/perl@26296
Rafael Garcia-Suarez [Wed, 7 Dec 2005 15:13:03 +0000]
Don't build manpages for Encode and Unicode::Normalize
(when compiling perl manpages are built afterwards, not
by MakeMaker like when installing modules.) This fix a
bootstrap problem (now that Pod::Man uses POSIX.)
p4raw-id: //depot/perl@26295
Rafael Garcia-Suarez [Wed, 7 Dec 2005 13:22:39 +0000]
Check in those files as text, not binary
p4raw-id: //depot/perl@26294
Rafael Garcia-Suarez [Wed, 7 Dec 2005 13:01:00 +0000]
Remove space
p4raw-id: //depot/perl@26293
Steve Peters [Wed, 7 Dec 2005 12:36:59 +0000]
Upgrade to podlators-2.00
p4raw-id: //depot/perl@26292
Steve Peters [Wed, 7 Dec 2005 11:38:00 +0000]
Assimilate Pod-Simple-3.03 to the Perl core
p4raw-id: //depot/perl@26291
Nicholas Clark [Wed, 7 Dec 2005 08:53:03 +0000]
Pull the regexp stringification code out into S_stringify_regexp, to
make sv_2pv_flags clearer.
p4raw-id: //depot/perl@26290
Nicholas Clark [Wed, 7 Dec 2005 08:30:26 +0000]
3 instances of SvIsUV_on(sv); can be replaced with one.
p4raw-id: //depot/perl@26289
Steve Peters [Wed, 7 Dec 2005 02:10:26 +0000]
Upgrade to CGI-3.14.
Mmm...pi. Oh, also including some Pod fixes in bleadperl that haven't
yet been applied to the actual CGI distribution yet.
p4raw-id: //depot/perl@26288
Nicholas Clark [Tue, 6 Dec 2005 21:55:29 +0000]
Add a ; that 26281 was lacking.
(Dear Mark, please can I have back one of the two that I sent you after
change 23614)
p4raw-id: //depot/perl@26287
Nicholas Clark [Tue, 6 Dec 2005 21:39:24 +0000]
Move vast swathes of common code from sv_2iv_flags and sv_2uv_flags
into S_sv_2iuv_common.
p4raw-id: //depot/perl@26286
Nicholas Clark [Tue, 6 Dec 2005 19:41:43 +0000]
The early return for SvIOKp(sv) in sv_2[iu]v_flags is actually code
duplication.
p4raw-id: //depot/perl@26285
Andy Lester [Mon, 5 Dec 2005 13:46:13 +0000]
More consting, and putting stuff in embed.fnc
Message-ID: <
20051205194613.GB7791@petdance.com>
p4raw-id: //depot/perl@26281
John Peacock [Tue, 6 Dec 2005 08:31:32 +0000]
Re: stringification of v-string references
Message-ID: <
439592B4.2050101@rowman.com>
Date: Tue, 06 Dec 2005 08:31:32 -0500
p4raw-id: //depot/perl@26280
Gisle Aas [Tue, 6 Dec 2005 16:42:31 +0000]
Fix typo spotted by Ronald J Kimball.
p4raw-id: //depot/perl@26279
Ronald J. Kimball [Tue, 6 Dec 2005 09:56:12 +0000]
Re: Perl PR: "Security holes in Sys::Syslog"
Message-ID: <
20051206145612.GA94530@penkwe.pair.com>
p4raw-id: //depot/perl@26278
Gisle Aas [Tue, 6 Dec 2005 14:45:30 +0000]
Document why syslog($priority, "%s", $message) is a good idea
if the code might be running with older versions of Sys::Syslog.
p4raw-id: //depot/perl@26277
H.Merijn Brand [Tue, 6 Dec 2005 14:30:53 +0000]
Itanium blade servers added to the model list
p4raw-id: //depot/perl@26276
Nicholas Clark [Tue, 6 Dec 2005 13:56:15 +0000]
Don't use Copy for 1 and 2 character string constants.
p4raw-id: //depot/perl@26275
Nicholas Clark [Tue, 6 Dec 2005 13:40:07 +0000]
Eliminate an unneeded local variable.
p4raw-id: //depot/perl@26274
Nicholas Clark [Tue, 6 Dec 2005 13:08:57 +0000]
Eliminate all the gotos in sv_2pv_flags, by moving the tokensave*
code into the GMAGIC block.
p4raw-id: //depot/perl@26273
Nicholas Clark [Tue, 6 Dec 2005 12:19:23 +0000]
sv_2pv_flags shouldn't return a constant string "NULLREF" - it was the
only constant non-"" string returned.
p4raw-id: //depot/perl@26272
Nicholas Clark [Mon, 5 Dec 2005 23:57:51 +0000]
Make all the return statements closer to the final calcuation of the
returned value in the reference stringification code. Pull variables
into tigher scope which also allows some to become const.
p4raw-id: //depot/perl@26271
Nicholas Clark [Mon, 5 Dec 2005 23:29:46 +0000]
Move the scope of origsv inwards, and rename variables to avoid the
need to re-assign to sv.
p4raw-id: //depot/perl@26270
Nicholas Clark [Mon, 5 Dec 2005 23:12:33 +0000]
Clone the brief return logic and thereby remove a goto.
p4raw-id: //depot/perl@26269
Nicholas Clark [Mon, 5 Dec 2005 22:44:32 +0000]
As they are now the same, can fold the entire switch statement for
reference type in sv_2pv_flags into a call to sv_reftype.
p4raw-id: //depot/perl@26268
Nicholas Clark [Mon, 5 Dec 2005 22:20:31 +0000]
Untease the regexp stringification from the reference naming in
sv_2pv_flags. (Lots of re-indentation, little real change)
p4raw-id: //depot/perl@26267
Nicholas Clark [Mon, 5 Dec 2005 21:58:20 +0000]
References to version objects should stringify as VSTRING. This makes
stringification consistent with the output of ref().
p4raw-id: //depot/perl@26266
Nicholas Clark [Mon, 5 Dec 2005 20:37:11 +0000]
The extra return is actually a duplicated code path, and can go.
p4raw-id: //depot/perl@26265
Nicholas Clark [Mon, 5 Dec 2005 20:09:23 +0000]
Fix typo in description.
p4raw-id: //depot/perl@26264
Nicholas Clark [Mon, 5 Dec 2005 19:56:43 +0000]
Add ext/MIME/Base64/README to MANIFEST
p4raw-id: //depot/perl@26263
Steve Peters [Mon, 5 Dec 2005 16:35:14 +0000]
Upgrade to MIME-Base64-3.07
p4raw-id: //depot/perl@26262
Steve Peters [Mon, 5 Dec 2005 16:29:46 +0000]
Upgrade to Digest-MD5-2.36
p4raw-id: //depot/perl@26261
Steve Peters [Mon, 5 Dec 2005 16:20:17 +0000]
Upgrade to CGI.pm-3.13
p4raw-id: //depot/perl@26260
Rafael Garcia-Suarez [Mon, 5 Dec 2005 16:19:35 +0000]
"Malformed UTF-8 character" was a severe warning, and can now be
also a fatal error (since change #26258)
p4raw-link: @26258 on //depot/perl:
19f6729910f1cd22aa33cc8443fa168b7813bd95
p4raw-id: //depot/perl@26259
SADAHIRO Tomoyuki [Tue, 6 Dec 2005 00:35:52 +0000]
Re: [perl #37836] Simple Regex causes SEGV when run on specific data
Message-Id: <
20051206003221.5AD9.BQW10602@nifty.com>
p4raw-id: //depot/perl@26258
SADAHIRO Tomoyuki [Sun, 4 Dec 2005 16:24:29 +0000]
Better variable names make code clearer
Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
Message-Id: <
20051204162412.D720.BQW10602@nifty.com>
p4raw-id: //depot/perl@26257
SADAHIRO Tomoyuki [Sun, 4 Dec 2005 16:24:59 +0000]
Rework the error messages from the swashget code.
Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
Message-Id: <
20051204162431.D723.BQW10602@nifty.com>
p4raw-id: //depot/perl@26256
SADAHIRO Tomoyuki [Sun, 4 Dec 2005 16:28:35 +0000]
Clarification and cleanup of the XS SWASHGET code
Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
Message-Id: <
20051204162508.D726.BQW10602@nifty.com>
p4raw-id: //depot/perl@26255
Andreas König [Sat, 3 Dec 2005 12:24:05 +0000]
[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.80.tar.gz
Message-ID: <87mzji8luy.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@26254
Marcus Holland-Moritz [Sun, 4 Dec 2005 19:37:58 +0000]
NULL is a legal value for newXS()'s name parameter.
(This caused strange build failures with gcc4 -O3)
p4raw-id: //depot/perl@26253
Steve Peters [Sun, 4 Dec 2005 15:30:55 +0000]
Fix handling of author's names that had apostrophes. Based on a patch
by Sean O'Rourke <sorourke@cs.ucsd.edu> in RT bug #22950.
p4raw-id: //depot/perl@26252
Dave Mitchell [Sat, 3 Dec 2005 15:20:24 +0000]
clarify description of vector (v) sprintf format modifier
p4raw-id: //depot/perl@26251
Craig A. Berry [Sat, 3 Dec 2005 15:15:47 +0000]
In vms/vms.c, don't use the thread-specific Newx() during
startup before threads are initialized.
p4raw-id: //depot/perl@26250
Steve Peters [Sat, 3 Dec 2005 12:31:02 +0000]
Update perlhack.pod with the updated, permanent ActiveState URLs
p4raw-id: //depot/perl@26249
Rafael Garcia-Suarez [Sat, 3 Dec 2005 12:16:54 +0000]
Missing chunk in change #26247.
p4raw-link: @26247 on //depot/perl:
ce43db9bedd4c6999381bd25cfc0127c2b615272
p4raw-id: //depot/perl@26248
Gisle Aas [Sat, 3 Dec 2005 03:35:32 +0000]
Sys::Syslog::syslog can accept a message without printf
escapes and arguments.
Subject: Re: Perl PR: "Security holes in Sys::Syslog"
Message-ID: <lracfi2z23.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@26247