John E. Malmberg [Sun, 5 Mar 2006 00:32:27 +0000]
Re: threads and VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <
440A77EB.2030205@qsl.net>
p4raw-id: //depot/perl@27385
Paul Marquess [Fri, 3 Mar 2006 10:25:48 +0000]
Compress::Zlib
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
007101c63eac$d919c6c0$4c05140a@myopwv.com>
p4raw-id: //depot/perl@27384
Nicholas Clark [Sun, 5 Mar 2006 21:21:10 +0000]
Change 27380 (HEK into the IV union failed to convert the code in the
non-gcc-debugging ifdef. Whoops. Very lax of me)
p4raw-id: //depot/perl@27383
Nicholas Clark [Sun, 5 Mar 2006 19:07:12 +0000]
Perl_gv_name_set should not leak the old HEK. Allow the flag GV_ADD
to simplify GV initialisation.
p4raw-id: //depot/perl@27382
Nicholas Clark [Sun, 5 Mar 2006 18:40:59 +0000]
Change hv_name_set to take U32 length and flags parameters.
p4raw-id: //depot/perl@27381
Nicholas Clark [Sun, 5 Mar 2006 18:13:42 +0000]
Move the GvNAME HEK into the IV union - every GV is now 1 pointer
smaller.
p4raw-id: //depot/perl@27380
Nicholas Clark [Sun, 5 Mar 2006 17:47:23 +0000]
Use a HEK to store the GV's name, rather than a malloc()ed string.
Saves 1 word in each GV (no more strlen), and will also save the memory
used by the string itself, as the HEK will exist already due to the
key used by the symbol table for this GV.
p4raw-id: //depot/perl@27379
Nicholas Clark [Sun, 5 Mar 2006 12:12:56 +0000]
Only #define PERL_DONT_CREATE_GVSV if it wasn't already defined.
p4raw-id: //depot/perl@27378
Nicholas Clark [Sun, 5 Mar 2006 11:53:55 +0000]
Provide Perl_gv_name_set to replace LVALUE use of GvNAME and GvNAMESET.
p4raw-id: //depot/perl@27377
John E. Malmberg [Sat, 4 Mar 2006 18:29:22 +0000]
Re: threads and VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <
440A22D2.30009@qsl.net>
p4raw-id: //depot/perl@27376
John E. Malmberg [Sat, 4 Mar 2006 00:36:03 +0000]
patch@27373 VMS build fix + more long pathname stuff
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <
44092743.4030607@qsl.net>
p4raw-id: //depot/perl@27375
Abe Timmerman [Fri, 3 Mar 2006 22:56:47 +0000]
Re: [PATCH] include configure.com in Porting/checkcfgvar.pl
Message-Id: <
200603032256.47170.abe@ztreet.demon.nl>
p4raw-id: //depot/perl@27374
Steve Peters [Fri, 3 Mar 2006 18:40:22 +0000]
Add d_builtin_choose_expr and d_builtin_expect to configure.com as
'undef'.
p4raw-id: //depot/perl@27373
Steve Peters [Fri, 3 Mar 2006 18:34:18 +0000]
Make Win32 configuration changes for HAS_BUILTIN_CHOOSE_EXPR and
HAS_BUILTIN_EXPECT.
p4raw-id: //depot/perl@27372
Abe Timmerman [Fri, 3 Mar 2006 18:43:24 +0000]
include configure.com in Porting/checkcfgvar.pl
Message-Id: <
200603031843.24250.abe@ztreet.demon.nl>
p4raw-id: //depot/perl@27371
Andy Lester [Wed, 28 Dec 2005 15:34:08 +0000]
Support for __builtin_expect and __builtin_choose_expr
Message-ID: <
20051228213408.GB26033@petdance.com>
p4raw-id: //depot/perl@27370
Jarkko Hietaniemi [Thu, 2 Mar 2006 20:21:26 +0000]
Re: [perl #38657] -d:Foo=bar broke in 5.8.8
Message-ID: <
440737A6.4060606@gmail.com>
p4raw-id: //depot/perl@27368
H.Merijn Brand [Fri, 3 Mar 2006 07:35:51 +0000]
#27363 broke HP-UX (and others). if [[ ... ]] syntax not supported
p4raw-id: //depot/perl@27367
Jarkko Hietaniemi [Thu, 2 Mar 2006 22:46:14 +0000]
Re: [PATCH] Re: [perl #38612] Data::Dumper core dump in 5.8.6, fixed by 5.8.7
Message-ID: <
44075996.1000002@gmail.com>
p4raw-id: //depot/perl@27365
H.Merijn Brand [Thu, 2 Mar 2006 20:14:50 +0000]
Taint handling for runperl:
- better taint detection (switch -T in command)
- $ENV{PATH} stripping of writeable directories on unix/linux
p4raw-id: //depot/perl@27364
Jason Vas Dias [Tue, 31 Jan 2006 09:50:32 +0000]
[perl #38385] _h2ph_pre.ph / $Config{cppsymbols} omits gcc-3.4+ cpp "predefined macros"
From: Jason Vas Dias (via RT) <perlbug-followup@perl.org>
p4raw-id: //depot/perl@27363
Andy Lester [Wed, 1 Mar 2006 22:52:20 +0000]
mgvtbl initialization
Message-ID: <
20060302045220.GA15985@petdance.com>
p4raw-id: //depot/perl@27361
Andy Lester [Wed, 1 Mar 2006 22:13:45 +0000]
Non-null optimizations
Message-ID: <
20060302041345.GA13731@petdance.com>
p4raw-id: //depot/perl@27360
Rafael Garcia-Suarez [Wed, 1 Mar 2006 22:39:24 +0000]
Don't put strings with embedded NULs in the environment.
This makes things like -d:Foo=bar work again.
p4raw-id: //depot/perl@27359
Steve Peters [Wed, 1 Mar 2006 20:15:27 +0000]
Grammar nit in Locale::Maketext::TPJ13.pod, found by Justin Pryzby.
p4raw-id: //depot/perl@27358
Steve Peters [Wed, 1 Mar 2006 16:53:49 +0000]
Upgrade to podlators-2.04
p4raw-id: //depot/perl@27357
Steve Peters [Wed, 1 Mar 2006 16:29:37 +0000]
Upgrade to assertions-0.03
p4raw-id: //depot/perl@27356
Anton Berezin [Wed, 1 Mar 2006 16:56:13 +0000]
a buglet in fakesdio.h
Message-ID: <
20060301155613.GA30368@heechee.tobez.org>
p4raw-id: //depot/perl@27355
Steve Peters [Wed, 1 Mar 2006 16:08:17 +0000]
Upgrade to CGI.pm-3.17, but continuing the version bump for
unintegrated changes.
p4raw-id: //depot/perl@27354
Joshua ben Jore [Wed, 1 Mar 2006 01:14:14 +0000]
Re: Patch lint for grep { /.../ } and grep /.../,
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <
dc5c751d0602282314o19c54a3av92d1a3addbc895fb@mail.gmail.com>
p4raw-id: //depot/perl@27353
Steve Hay [Tue, 28 Feb 2006 12:51:55 +0000]
Silence another VC++ warning
(signed/unsigned mismatch)
p4raw-id: //depot/perl@27352
Steve Hay [Tue, 28 Feb 2006 12:40:06 +0000]
Silence a VC++ warning with DEBUGGING builds
(signed/unsigned mismatch)
p4raw-id: //depot/perl@27351
Nicholas Clark [Mon, 27 Feb 2006 21:41:58 +0000]
In Perl_sv_setsv_flags, swap the default in the type based switch to
the "Bizarre copy" failure case.
p4raw-id: //depot/perl@27350
Andy Lester [Mon, 27 Feb 2006 14:20:43 +0000]
Removed a redundant o->op_type
Message-ID: <
20060227202043.GA7783@petdance.com>
Date: Mon, 27 Feb 2006 14:20:43 -0600
p4raw-id: //depot/perl@27349
Steve Hay [Mon, 27 Feb 2006 17:48:55 +0000]
Silence a GCC warning
(assignment from incompatible pointer type)
p4raw-id: //depot/perl@27348
Steve Hay [Mon, 27 Feb 2006 17:24:37 +0000]
Silence a VC++ warning
(conversion from 'long ' to 'char ', possible loss of data)
p4raw-id: //depot/perl@27347
Rafael Garcia-Suarez [Mon, 27 Feb 2006 17:00:37 +0000]
Upgrade to CPAN 1.87
p4raw-id: //depot/perl@27346
Nicholas Clark [Mon, 27 Feb 2006 16:13:05 +0000]
Move all the de-tainting logic for runperl into test.pl.
p4raw-id: //depot/perl@27345
Andy Lester [Sat, 25 Feb 2006 20:52:16 +0000]
fix up gv.c and gv.h
Message-ID: <
20060226025216.GA12758@petdance.com>
p4raw-id: //depot/perl@27344
Marcus Holland-Moritz [Sun, 26 Feb 2006 20:47:21 +0000]
PERL_TRACK_MEMPOOL cripples environment after exit()
Message-ID: <
20060226204721.00be2bff@r2d2>
p4raw-id: //depot/perl@27343
Salvador FandiƱo [Sat, 25 Feb 2006 11:14:20 +0000]
[patch] dumping tied globs without FILENO method on the debugger fails
Message-ID: <
20060225101254.726.qmail@lists.develooper.com>
p4raw-id: //depot/perl@27342
Steve Hay [Mon, 27 Feb 2006 14:39:46 +0000]
Fix op/utftaint.t on Win32 following change #27248
(Don't remove PATH completely because it'll break on Unix if you
have . in the PATH)
p4raw-link: @27248 on //depot/perl:
5316d14db4aade2e88cbb15cc065195245c0ec51
p4raw-id: //depot/perl@27341
Nicholas Clark [Mon, 27 Feb 2006 14:19:32 +0000]
There is now the potential for an upgrade from something without an
offset (PVNV or PVMG) to something with one (PVCV, PVFM). Deal with
this correctly.
p4raw-id: //depot/perl@27340
Rafael Garcia-Suarez [Mon, 27 Feb 2006 13:40:44 +0000]
ptr_table_find() is only defined with ithreads
p4raw-id: //depot/perl@27339
H.Merijn Brand [Mon, 27 Feb 2006 13:28:04 +0000]
Workaround for initialization errors on HP's pre-compiler
Do not ask me to explain. This re-definition works on AIX
and HP-UX. Let's await the smokes.
p4raw-id: //depot/perl@27338
Steve Hay [Mon, 27 Feb 2006 12:21:14 +0000]
Fix code-before-declaration error (under VC++) from change #27334
p4raw-link: @27334 on //depot/perl:
b37c2d43c8bccbefe3985273e9661833102148d0
p4raw-id: //depot/perl@27337
Nicholas Clark [Mon, 27 Feb 2006 12:00:12 +0000]
Change 27330 failed to decontaminate SvCUR/GvFLAGS when upgrading an
SvPV acting as a prototype placeholder to a full typeglob.
p4raw-id: //depot/perl@27336
Anno Siegel [Sun, 26 Feb 2006 23:30:01 +0000]
Testing hash key stringification
Message-Id: <
4871E87D-4B59-40A3-A091-A7A3CFA221CF@mailbox.tu-berlin.de>
p4raw-id: //depot/perl@27335
Andy Lester [Fri, 24 Feb 2006 14:54:35 +0000]
Speedups and shrinkages of SvREFCNT_inc
Message-ID: <
20060224205434.GA17867@petdance.com>
p4raw-id: //depot/perl@27334
Dominic Dunlop [Fri, 24 Feb 2006 17:22:54 +0000]
Suppress System V IPC for 64-bit Darwin builds
Message-Id: <
A685C5DB-23CE-430E-95F1-CC7A9480DDF9@mac.com>
p4raw-id: //depot/perl@27333
Zsban Ambrus [Sat, 25 Feb 2006 05:11:03 +0000]
[perl #38633] doc patch: perlfunc "new" section lacks lock and qr
From: Zsban Ambrus (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38633-130596.7.
22367548359067@perl.org>
p4raw-id: //depot/perl@27332
Rafael Garcia-Suarez [Mon, 27 Feb 2006 07:33:53 +0000]
Fix argument grouping for some macros
p4raw-id: //depot/perl@27331
Nicholas Clark [Sat, 25 Feb 2006 17:16:24 +0000]
GvFLAGS can be overlaid with SvCUR.
p4raw-id: //depot/perl@27330
SADAHIRO Tomoyuki [Sat, 25 Feb 2006 18:16:45 +0000]
Re: [perl #38619] Bug in lc and uc (interaction between UTF-8, substr, and lc/uc)
Message-Id: <
20060225180934.FCC3.BQW10602@nifty.com>
p4raw-id: //depot/perl@27329
Nicholas Clark [Sat, 25 Feb 2006 16:50:15 +0000]
Use xpv_len rather than xpv_cur in GVs to store GvASSIGN_GENERATION.
Assert that GVs do not access SvCUR or SvLEN.
p4raw-id: //depot/perl@27328
Nicholas Clark [Sat, 25 Feb 2006 16:48:46 +0000]
Abstract the specific use of SvCUR in GVs for detecting variables on
both sides of an assignment using GvASSIGN_GENERATION() and
GvASSIGN_GENERATION_set().
p4raw-id: //depot/perl@27327
Nicholas Clark [Sat, 25 Feb 2006 15:38:25 +0000]
xgv_stash can be stored as a union with the NV, reducing the size of
PVGVs by another pointer.
p4raw-id: //depot/perl@27326
Nicholas Clark [Sat, 25 Feb 2006 15:11:28 +0000]
Curiously none of the macros SvIVX, SvUVX or SvNVX are used on
typeglobs.
p4raw-id: //depot/perl@27325
Nicholas Clark [Sat, 25 Feb 2006 14:50:38 +0000]
Amazingly, it seems that none of the other GV specific macros are
accessed unless the GV thinks that it is a GV.
p4raw-id: //depot/perl@27324
Nicholas Clark [Sat, 25 Feb 2006 00:39:30 +0000]
Store GvGP in the SV head union. For all the common lookups [eg GvCV()]
this avoids 1 pointer dereference and the associated risk of a CPU
cache miss. Although this patch looks deceptively small, I fear its
CBV(*) might be rather high.
(* Crack By Volume)
p4raw-id: //depot/perl@27323
Nicholas Clark [Fri, 24 Feb 2006 23:30:50 +0000]
With PERL_DONT_CREATE_GVSV, don't need to create a new GvSV in
Perl_save_scalar.
p4raw-id: //depot/perl@27322
Nicholas Clark [Fri, 24 Feb 2006 22:43:14 +0000]
Given that SvPV on a typeglob is now irrelevant, really we only need
to store the GvGP.
p4raw-id: //depot/perl@27321
Nicholas Clark [Fri, 24 Feb 2006 21:42:33 +0000]
Given that Perl_gp_free() is refcount-dec-and-maybe-free for the glob
pointer, it's inconsistent that it only sets this GV's GvGP to 0 if
this GV happened to have the last reference. Why should this GV care if
it had the last reference? So always set it to 0. It's free. Gone.
p4raw-id: //depot/perl@27320
Nicholas Clark [Fri, 24 Feb 2006 19:32:11 +0000]
Avoid special case SvMAGIC macros just to cope with Perl_sv_unmagic.
p4raw-id: //depot/perl@27319
Nicholas Clark [Fri, 24 Feb 2006 14:19:37 +0000]
Use PVMGs rather than PVGVs to store the names of our variables in the
pad.
p4raw-id: //depot/perl@27313
Nicholas Clark [Fri, 24 Feb 2006 13:59:57 +0000]
Store the stash for our in the magic slot. This will allow us to use
PVMGs in pad names where previously PVGVs were used. In turn, this
gives much greater flexibility for the layout of PVGVs.
p4raw-id: //depot/perl@27312
Steve Peters [Fri, 24 Feb 2006 13:55:23 +0000]
Upgrade to CPAN-1.86
p4raw-id: //depot/perl@27311
Rafael Garcia-Suarez [Fri, 24 Feb 2006 12:52:01 +0000]
Skip unportable test on VMS
p4raw-id: //depot/perl@27309
Nicholas Clark [Fri, 24 Feb 2006 11:52:53 +0000]
Assert that GvSTASH is only called on PVGVs and PVLVs.
p4raw-id: //depot/perl@27307
Nicholas Clark [Fri, 24 Feb 2006 11:52:28 +0000]
Replace usage of GvSTASH for storing the stash of C<our> with
OURSTASH. Set the stash with OURSTASH_SET.
p4raw-id: //depot/perl@27306
Nicholas Clark [Fri, 24 Feb 2006 11:21:06 +0000]
assert that SvMAGIC is never non-NULL for any PVMG used as a pad name.
p4raw-id: //depot/perl@27304
Nicholas Clark [Fri, 24 Feb 2006 10:56:00 +0000]
Redo previous sv.h change.
p4raw-id: //depot/perl@27302
Andy Lester [Thu, 23 Feb 2006 22:53:40 +0000]
Perl_save_aelem can't be const
Message-ID: <
20060224045340.GA6318@petdance.com>
p4raw-id: //depot/perl@27301
Andy Lester [Tue, 21 Feb 2006 00:27:11 +0000]
unused context warnings
Message-ID: <
20060221062711.GA16160@petdance.com>
p4raw-id: //depot/perl@27300
Nicholas Clark [Fri, 24 Feb 2006 10:29:48 +0000]
As SVs can't both be in a pad, and the name of a variable in the pad,
overlay SVs_PADTMP with SVpad_TYPED and SVs_PADMY with SVpad_OUR.
p4raw-id: //depot/perl@27297
Steve Peters [Fri, 24 Feb 2006 02:56:02 +0000]
Revert change #27295, which I thought fixed builds on Win32.
Instead remove &PL_vtbl_glob from globvar.sym.
p4raw-link: @27295 on //depot/perl:
3476b56103cbe13508b1fd6b46ae7b9cb6e0f7ed
p4raw-id: //depot/perl@27296
Steve Peters [Fri, 24 Feb 2006 02:02:14 +0000]
Last instance of PL_vtbl_glob removed. It was missed change #27289.
p4raw-link: @27289 on //depot/perl:
c0c446747ad6c5bde53bc8415ca16ef77f6320f2
p4raw-id: //depot/perl@27295
Nicholas Clark [Thu, 23 Feb 2006 23:45:39 +0000]
Replace direct flags tests & manipulations for SVpad_TYPED and
SVpad_OUR with macros SvPAD_TYPED(), SvPAD_OUR() etc, to abstract
away the flags bits acutally used to store this information.
p4raw-id: //depot/perl@27294
Nicholas Clark [Thu, 23 Feb 2006 22:17:07 +0000]
Document a sixth use for SVf_FAKE
p4raw-id: //depot/perl@27293
Nicholas Clark [Thu, 23 Feb 2006 20:28:34 +0000]
We have sufficient spare bits to store the SV type in body_details,
so add a small sanity check to ensure that we have the array in the
correct order.
p4raw-id: //depot/perl@27292
Nicholas Clark [Thu, 23 Feb 2006 19:40:23 +0000]
Shrink struct body_details and hence sv.o slightly further by using
bitfields.
p4raw-id: //depot/perl@27291
Nicholas Clark [Thu, 23 Feb 2006 19:15:48 +0000]
Using U8 rather than size type shrinks the body_details table.
p4raw-id: //depot/perl@27290
Nicholas Clark [Thu, 23 Feb 2006 18:00:19 +0000]
Remove set magic from typeglobs. Remove typeglob magic entirely.
Typeglobs now never access the SvPVX, SvIVX or SvNVX when holding a
valid GvGP().
p4raw-id: //depot/perl@27289
Nicholas Clark [Thu, 23 Feb 2006 17:45:55 +0000]
In XS_attributes__guess_stash, attempting to call Gv* on a PVMG is
bad and wrong.
p4raw-id: //depot/perl@27288
Steve Peters [Thu, 23 Feb 2006 17:42:09 +0000]
Add test for RT #2166: foreach spuriously autovivifies
p4raw-id: //depot/perl@27287
Steve Peters [Thu, 23 Feb 2006 16:24:19 +0000]
Converted t/op/pos.t to use test.pl and added TODO test for
RT #1716 - search position reset after 'local' save/restore
p4raw-id: //depot/perl@27286
Jan Dubois [Tue, 21 Feb 2006 12:36:31 +0000]
Implement ${^WIN32_SLOPPY_STAT}
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <
019601c63726$7fcca200$6062a8c0@candy>
p4raw-id: //depot/perl@27283
Nicholas Clark [Thu, 23 Feb 2006 13:42:29 +0000]
Recalculate dstr in Perl_sv_setsv_flags, as dstr may have been upgraded.
p4raw-id: //depot/perl@27282
Nicholas Clark [Thu, 23 Feb 2006 13:07:54 +0000]
Remove un-needed case in Perl_sv_setsv_flags (sv_upgrade will cover
this one for us).
p4raw-id: //depot/perl@27279
Nicholas Clark [Thu, 23 Feb 2006 11:11:12 +0000]
Remove get magic from typeglobs. This means that PVGVs holding
typeglobs never need to use SvPVX. This comes at price - typeglobs
were using magic get for their stringificiation, and to pass SvOK(),
so need to make typeglobs SvOK by default (by sucking SVp_SCREAM into
SVf_OK - it's the only flag left), tweak SvSCREAM() to also check
SVp_POK, and teach sv_2[inpu]v how to convert globs.
However, it should free up SvPVX for the next part of the plan to
pointer indirections, and therefore CPU cache pressure.
p4raw-id: //depot/perl@27278
Nicholas Clark [Thu, 23 Feb 2006 00:29:04 +0000]
Fix the copy sizes for PVFM and PVCV back to sanity.
p4raw-id: //depot/perl@27276
Nicholas Clark [Wed, 22 Feb 2006 23:43:10 +0000]
Fix typos and a missing bracket.
p4raw-id: //depot/perl@27274
Nicholas Clark [Wed, 22 Feb 2006 22:30:19 +0000]
Avoid C<study>ing any strings that might change underneath us, such
as tied scalars and scalars with overloaded stringification.
p4raw-id: //depot/perl@27273
Rafael Garcia-Suarez [Wed, 22 Feb 2006 22:09:41 +0000]
Mark some new study tests as TODO
p4raw-id: //depot/perl@27272
Rafael Garcia-Suarez [Wed, 22 Feb 2006 21:04:33 +0000]
Add a test for study() on tied scalars, by Andy Lester after
Rick Delaney
p4raw-id: //depot/perl@27271
Jarkko Hietaniemi [Wed, 22 Feb 2006 20:16:00 +0000]
Turn on match string copying when /e flag is set on a substitution.
Subject: [PATCH] dodge a valgrind error (for maint or blead)
Message-ID: <
43FCB896.7060106@gmail.com>
p4raw-id: //depot/perl@27270
Nicholas Clark [Wed, 22 Feb 2006 18:21:30 +0000]
sv_dump should report the PV for PVGVs, as it can get set.
(Typeglobs stringify via a call to GET magic, which uses the PV slot.)
p4raw-id: //depot/perl@27269
Nicholas Clark [Wed, 22 Feb 2006 16:50:25 +0000]
Test warnings for converting globs to other forms.
p4raw-id: //depot/perl@27268
Nicholas Clark [Wed, 22 Feb 2006 00:23:49 +0000]
Change 24643 made the mistake of assuming that CvCONST can only be true
on XSUBs. Somehow it can also end up on perl subs. Bug spotted by and
test case from Marcus Holland-Moritz.
p4raw-id: //depot/perl@27267
Nicholas Clark [Tue, 21 Feb 2006 20:09:25 +0000]
Can merge the two arms of Perl_magic_getglob to save space.
p4raw-id: //depot/perl@27265