Nicholas Clark [Fri, 18 Nov 2005 19:50:24 +0000]
Eliminate new_body_offset from sv_dup()
p4raw-id: //depot/perl@26165
Nicholas Clark [Fri, 18 Nov 2005 17:37:39 +0000]
Merge the last remaining case duplication in sv_upgrade
p4raw-id: //depot/perl@26164
Nicholas Clark [Fri, 18 Nov 2005 16:18:38 +0000]
Eliminate new_body_length from sv_upgrade
p4raw-id: //depot/perl@26163
Nicholas Clark [Fri, 18 Nov 2005 15:51:10 +0000]
Eliminate new_body_offset from sv_upgrade
p4raw-id: //depot/perl@26162
Nicholas Clark [Fri, 18 Nov 2005 15:03:01 +0000]
new_body_inline doesn't need to be passed the root, as it's already
inferring the arenaroot directly from the passed-in type.
p4raw-id: //depot/perl@26161
Rafael Garcia-Suarez [Fri, 18 Nov 2005 12:40:16 +0000]
Tabs are still required in the MANIFEST
p4raw-id: //depot/perl@26160
Nicholas Clark [Fri, 18 Nov 2005 12:06:06 +0000]
Add a flag to the body details of which types come from arenas.
Update the allocation information for all the types.
Add a new macro new_NOARENA() for allocating the non-arena types.
Use calloc rather than malloc for the new_NOARENA so that the Zero()
can be skipped.
p4raw-id: //depot/perl@26159
Nicholas Clark [Fri, 18 Nov 2005 11:20:10 +0000]
Simplify the expression for the upgrade logic for SVt_IV.
Replace the "can't happen" comment for SVt_PVIV with assertions
that it didn't happen.
p4raw-id: //depot/perl@26158
Steve Peters [Fri, 18 Nov 2005 11:07:34 +0000]
Adding README.linux to the MANIFEST
p4raw-id: //depot/perl@26157
Nicholas Clark [Fri, 18 Nov 2005 10:30:12 +0000]
const and static for the const static private table.
Replace the "upgrade" special case for SVt_PV with assertions as it's
not been needed since we forced *up*grades.
p4raw-id: //depot/perl@26156
Nicholas Clark [Fri, 18 Nov 2005 10:13:31 +0000]
Rename sv_upgrade's parameter mt to new_type.
p4raw-id: //depot/perl@26155
Andreas König [Fri, 18 Nov 2005 03:42:52 +0000]
Dumpvalue doc patch
Message-ID: <87br0ibrrn.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@26154
Steve Peters [Fri, 18 Nov 2005 00:54:53 +0000]
Initial, albeit hackish, support for the alpha version of Sun Studio
compilers of Linux.
p4raw-id: //depot/perl@26153
Nicholas Clark [Thu, 17 Nov 2005 23:27:59 +0000]
All that can be in the first switch statement of sv_upgrade is now
table driven. The shrinking continues on the morrow.
p4raw-id: //depot/perl@26152
Nicholas Clark [Thu, 17 Nov 2005 22:50:07 +0000]
"Can you see what it is yet?"
Next steps towards making as much as possible table driven.
p4raw-id: //depot/perl@26151
Nicholas Clark [Thu, 17 Nov 2005 21:58:58 +0000]
Add the size of the structure to copy as a field in the per type
data table.
p4raw-id: //depot/perl@26150
Nicholas Clark [Thu, 17 Nov 2005 16:33:05 +0000]
Merge sizeof_body_by_svtype and offset_by_svtype into a single array
of structures.
p4raw-id: //depot/perl@26149
Nicholas Clark [Thu, 17 Nov 2005 14:36:39 +0000]
Move the location of the definition of the arena slot used for pte
into sv.h, to keep it in one central place.
Change it to use SVt_RV. (Having SVt_IV for real use will be useful.
SVt_RV has no body, and doesn't pretend to have one, so it is spare.)
p4raw-id: //depot/perl@26148
Andy Lester [Thu, 17 Nov 2005 07:53:38 +0000]
Sort subs now in embed.fnc
Message-ID: <
20051117135338.GA31715@petdance.com>
p4raw-id: //depot/perl@26147
Nicholas Clark [Thu, 17 Nov 2005 13:51:01 +0000]
s/SvTYPE(sv)/old_type/ in sv_upgrade because we already have that value
in that variable.
Don't compile S_new_body with -DPURIFY
p4raw-id: //depot/perl@26146
Rafael Garcia-Suarez [Thu, 17 Nov 2005 09:06:33 +0000]
It's clearer to use "morphing" than "polymorphing" when
describing what exec() does
p4raw-id: //depot/perl@26145
Peter Dintelmann [Wed, 16 Nov 2005 07:11:41 +0000]
[perl #37694] segfault with PerlIO::get_layers()
From: Peter Dintelmann (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37694-124556.15.
9755707729767@perl.org>
p4raw-id: //depot/perl@26144
Nicholas Clark [Wed, 16 Nov 2005 23:40:55 +0000]
Oi gcc, No! sizeof(void) is an error. *Not* 1.
Wanting sizeof(void) isn't even a compilation error with -ansi
-pedantic. Just a warning. Lame! I'm going to send it back for a full
refund. Hateful software.
p4raw-id: //depot/perl@26143
Nicholas Clark [Wed, 16 Nov 2005 20:18:58 +0000]
PL_pte_root and PL_pte_arenaroot can be exterminated. Which reveals
an erroneous remaining reference to PL_pte_root to correct.
p4raw-id: //depot/perl@26142
Jim Cromie [Mon, 14 Nov 2005 12:29:52 +0000]
Re: eliminate discreet arenaroots
Message-ID: <
4378E5B0.3010708@gmail.com>
Date: Mon, 14 Nov 2005 12:29:52 -0700
p4raw-id: //depot/perl@26141
Vadim Konovalov [Wed, 16 Nov 2005 20:57:13 +0000]
for wince
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <
7DD1BE2C50259746ABB8683672D2089E12DC9F@itotest-1.spb.lucent.com>
p4raw-id: //depot/perl@26140
Hugo van der Sanden [Wed, 16 Nov 2005 14:54:55 +0000]
Re: [perl #37688] Unexpected regex failure.
Message-Id: <
200511161454.jAGEst117787@zen.crypt.org>
p4raw-id: //depot/perl@26137
SADAHIRO Tomoyuki [Wed, 9 Nov 2005 02:12:00 +0000]
Re: [perl #37616] Bug in &= (string) and/or m//
Message-Id: <
20051109021035.69D8.BQW10602@nifty.com>
p4raw-id: //depot/perl@26136
Yitzchak Scott-Thoennes [Sun, 13 Nov 2005 16:01:02 +0000]
Re: Cygwin status, maint and blead
Message-ID: <
20051114000102.GA5556@efn.org>
p4raw-id: //depot/perl@26135
Nicholas Clark [Mon, 14 Nov 2005 22:48:02 +0000]
Remove the two register keywords from auto variables that PERL_POSION
wants to take the address of.
p4raw-id: //depot/perl@26134
Nicholas Clark [Mon, 14 Nov 2005 22:32:14 +0000]
More PERL_POISON - poison SvANY() and SvREFCNT() in freed SV heads.
(by using the union pointer to chain the freed heads together)
p4raw-id: //depot/perl@26133
Nicholas Clark [Mon, 14 Nov 2005 22:31:14 +0000]
Mark all places where perl needs to look at a possibly-freed scalar
with a macro SvIS_FREED(sv)
p4raw-id: //depot/perl@26132
Steve Peters [Mon, 14 Nov 2005 17:31:59 +0000]
Removed reference to the non-existent C<Opcode::Custom>.
p4raw-id: //depot/perl@26131
Rafael Garcia-Suarez [Mon, 14 Nov 2005 16:32:33 +0000]
The warning "Field too wide in 'u' format in pack" was emitted even
when pack warnings were not enabled
p4raw-id: //depot/perl@26130
Nicholas Clark [Mon, 14 Nov 2005 16:22:26 +0000]
Provide a crude way for specifying the command line for
make test.valgrind
p4raw-id: //depot/perl@26129
Rafael Garcia-Suarez [Mon, 14 Nov 2005 15:40:08 +0000]
A better fix for [perl #35847] File::Find not performing as documented,
suggested by Darren Dunham. Includes a fix to the code example that
uses File::Find in perlfaq3.
p4raw-id: //depot/perl@26128
Rafael Garcia-Suarez [Mon, 14 Nov 2005 12:43:29 +0000]
Don't warn about lack of docs for functions that appear twice in embed.fnc.
p4raw-id: //depot/perl@26126
Rafael Garcia-Suarez [Mon, 14 Nov 2005 10:45:25 +0000]
Fix indentation of apidoc for sv_2pvutf8
(so perlapi.pod is correctly generated)
p4raw-id: //depot/perl@26124
Rafael Garcia-Suarez [Mon, 14 Nov 2005 10:24:58 +0000]
Suppress gcc warnings when ignoring the return value of io_close(),
as suggested by Gisle Aas.
p4raw-id: //depot/perl@26123
Gisle Aas [Mon, 14 Nov 2005 02:32:14 +0000]
Missing ; in Storable.xs
Message-ID: <lrhdafy0y9.fsf_-_@caliper.activestate.com>
p4raw-id: //depot/perl@26122
Paul Marquess [Sun, 13 Nov 2005 17:09:08 +0000]
Compress::Zlib
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <
00d101c5e874$f865f910$6d1c140a@myopwv.com>
p4raw-id: //depot/perl@26120
Steve Hay [Mon, 14 Nov 2005 09:39:02 +0000]
Fix code-before-declaration in boot_Storable added by 26107
p4raw-id: //depot/perl@26119
Yitzchak Scott-Thoennes [Sun, 13 Nov 2005 16:00:49 +0000]
consting perlbug breaking in blead & maint
Message-ID: <
20051114000049.GA7676@efn.org>
p4raw-id: //depot/perl@26118
Nicholas Clark [Sun, 13 Nov 2005 18:47:27 +0000]
Fix breakages that prevended -DPERL_POISON from compiling.
p4raw-id: //depot/perl@26112
Nicholas Clark [Sun, 13 Nov 2005 11:44:30 +0000]
Integrate:
[ 26108]
BEGIN blocks should start a new stack, as they can be called as a
side effect of "regular" Perl API calls within subroutines that have
already cached the current stack's address. If they don't, any stack
extension during the call may move the stack, rendering that cached
value invalid without the cachee realising. (For example, PP code
calling gv_fetchpv() which triggers a load of Errno.pm)
p4raw-link: @26108 on //depot/maint-5.8/perl:
5480675bc37b4a804a56a749cdedc70e27a270eb
p4raw-id: //depot/perl@26110
p4raw-integrated: from //depot/maint-5.8/perl@26107 'merge in' op.c
(@26097..)
Gisle Aas [Sat, 12 Nov 2005 13:13:23 +0000]
Re: [PATCH] Enhanced Storable::read_magic()
Message-ID: <lrhdah7eoc.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@26107
Steve Peters [Sat, 12 Nov 2005 20:44:16 +0000]
Upgrade to Locale-Maketext-1.10. As change #25547 did not make it
into the module release, I bumped the version number and added the
missing code.
p4raw-link: @25547 on //depot/perl:
5350a4e5afd114d2b90f90330f8524ae889fdb03
p4raw-id: //depot/perl@26103
Peter Dintelmann [Fri, 11 Nov 2005 06:36:20 +0000]
[perl #37657] segfault with binmode ":pop"
From: Peter Dintelmann (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37657-124293.6.
03947871136576@perl.org>
p4raw-id: //depot/perl@26101
Nicholas Clark [Sat, 12 Nov 2005 18:48:29 +0000]
Make B's tests skip correctly when PerlIO is not configured.
p4raw-id: //depot/perl@26100
Andy Lester [Fri, 11 Nov 2005 17:20:30 +0000]
mathoms prototypes aren't prototypes
Message-ID: <
20051111232030.GA882@petdance.com>
p4raw-id: //depot/perl@26099
Steve Peters [Sat, 12 Nov 2005 15:41:09 +0000]
Andy Lester maintains Locale::Maketext now.
p4raw-id: //depot/perl@26096
Nicholas Clark [Sat, 12 Nov 2005 10:21:50 +0000]
Change 26063 got one conditional the wrong way round.
p4raw-id: //depot/perl@26093
Nicholas Clark [Sat, 12 Nov 2005 09:15:32 +0000]
Make the removal of references to AvFLAGS in the B modules conditional
on perl version.
p4raw-id: //depot/perl@26091
Steve Peters [Fri, 11 Nov 2005 22:47:06 +0000]
const'ing Netdb_host_t broke HP-UX and created warnings on gcc for a double const.
Netdb_host_t is a macro that for a const pointer.
p4raw-id: //depot/perl@26090
Nicholas Clark [Fri, 11 Nov 2005 21:52:20 +0000]
26085 was wrong. Undo it.
(I suspect that I got this wrong because more changes have been made
in blead subsequent to the change I was attempting to merge in, and
and jiggled around with the number of tests)
p4raw-id: //depot/perl@26089
Paul Marquess [Fri, 11 Nov 2005 12:09:55 +0000]
DB_File 1.814
Message-ID: <
00e301c5e6b8$d5a357f0$241c140a@myopwv.com>
p4raw-id: //depot/perl@26088
Gisle Aas [Fri, 11 Nov 2005 05:42:29 +0000]
Storable 0.1 compatibility
Message-ID: <lry83v712y.fsf@caliper.activestate.com>
Also added an entry in the main MANIFEST file for the new test and
a version bump in Storable.pm.
p4raw-id: //depot/perl@26087
Nicholas Clark [Fri, 11 Nov 2005 14:16:30 +0000]
Correct the version-dependant expression for the number of tests, as it
is now giving the wrong number for 5.8.x
p4raw-id: //depot/perl@26085
Andy Lester [Thu, 10 Nov 2005 22:47:00 +0000]
Const & local: Special Victims Unit
Message-ID: <
20051111044700.GA24161@petdance.com>
p4raw-id: //depot/perl@26082
Steve Peters [Fri, 11 Nov 2005 03:27:35 +0000]
Pod nit in Encode.pm, found by Marc Lehmann in RT #36949.
p4raw-id: //depot/perl@26081
Steve Peters [Fri, 11 Nov 2005 03:18:11 +0000]
Fix for RT #37654. Added $COMPILING to list of variables exported.
p4raw-id: //depot/perl@26080
Dominic Dunlop [Thu, 10 Nov 2005 18:10:00 +0000]
Suppress leaked warnings in ExtUtils tests
Message-Id: <
D2949A21-7EE3-449F-BEF2-38FAD7B4A483@computer.org>
p4raw-id: //depot/perl@26079
Rafael Garcia-Suarez [Thu, 10 Nov 2005 16:36:12 +0000]
Patch by Ilya Zakharevich to give more meaningful error
messages from if.pm when invoked with a condition in list
context. Also bump if's VERSION.
p4raw-id: //depot/perl@26078
Rafael Garcia-Suarez [Thu, 10 Nov 2005 15:10:42 +0000]
Define PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION earlier in perl.h
(that is, before embed.h, that uses this symbol, is included)
p4raw-id: //depot/perl@26077
jms@mathras.comcast.net [Tue, 17 May 2005 10:40:08 +0000]
[perl #35847] File::Find not performing as documented
From: "jms@mathras.comcast.net (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-35847-113088.7.
09182163210095@perl.org>
p4raw-id: //depot/perl@26076
Peter Dintelmann [Thu, 10 Nov 2005 04:31:39 +0000]
[perl #37648] segfault with PERLIO_DEBUG
From: Peter Dintelmann (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37648-124187.17.
2251402270294@perl.org>
p4raw-id: //depot/perl@26075
Jason Vas Dias [Tue, 1 Nov 2005 15:22:45 +0000]
[perl #37582] [PATCH] h2ph inc_dirs() fails to prepend gcc include search path, resulting in missing C standard headers on Linux
From: Jason Vas Dias (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37582-123738.12.
3509768746337@perl.org>
p4raw-id: //depot/perl@26074
Steven Schubiger [Mon, 31 Oct 2005 22:48:27 +0000]
remove whitespace preceding semicolon in docs
Message-ID: <
20051031214827.GH24416@accognoscere.homeunix.org>
p4raw-id: //depot/perl@26073
Rafael Garcia-Suarez [Thu, 10 Nov 2005 10:37:42 +0000]
Really apply change #26071.
p4raw-link: @26071 on //depot/perl:
8861ecc69a87dc6907b3e9c79689edb5df16413e
p4raw-id: //depot/perl@26072
Vadim Konovalov [Wed, 9 Nov 2005 20:22:52 +0000]
wince patch
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <
7DD1BE2C50259746ABB8683672D2089E12DC02@itotest-1.spb.lucent.com>
p4raw-id: //depot/perl@26071
Rafael Garcia-Suarez [Thu, 10 Nov 2005 09:11:26 +0000]
Add tests for two untested syntax error messages about \N
p4raw-id: //depot/perl@26070
Steve Hay [Thu, 10 Nov 2005 08:41:53 +0000]
Make Perl_seed public
Fixes Win32 linker error in List::Util introduced by change #26054
p4raw-link: @26054 on //depot/perl:
82f35e8b14e93ac697812d1b28d2e79e1ad82d84
p4raw-id: //depot/perl@26069
Jarkko Hietaniemi [Wed, 9 Nov 2005 17:45:07 +0000]
blead@26052 Symbian update
Message-ID: <
B356D8F434D20B40A8CEDAEC305A1F24E7A73D@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@26068
Nicholas Clark [Wed, 9 Nov 2005 21:52:03 +0000]
As using -C to turn on utf8 IO is equivalent to the open pragma,
change 25925 had the side effect of breaking ext/Encode/t/perlio.t
Fixed by opening with :bytes.
p4raw-id: //depot/perl@26067
Nicholas Clark [Wed, 9 Nov 2005 21:30:02 +0000]
I/O is UTF-8, not "UNICODE"
p4raw-id: //depot/perl@26066
Nicholas Clark [Wed, 9 Nov 2005 20:53:29 +0000]
As using -C to turn on utf8 IO is equivalent to the open pragma,
change 25925 had the side effect of breaking t/io/utf8.t
Fixed by adding the missing binmode()s.
p4raw-id: //depot/perl@26065
Nicholas Clark [Wed, 9 Nov 2005 20:23:28 +0000]
Better diagnostics from io/utf8.t
p4raw-id: //depot/perl@26064
Nicholas Clark [Wed, 9 Nov 2005 17:29:44 +0000]
Make the Bytecode changes conditional on perl version.
p4raw-id: //depot/perl@26063
Graham Barr [Wed, 9 Nov 2005 06:09:48 +0000]
Re: [PATCH] Re: [perl #32383] DProf breaks List::Util::shuffle
Message-Id: <
6CAD749E-AE29-415A-9ACB-BA8F6FB8279E@pobox.com>
p4raw-id: //depot/perl@26062
Nicholas Clark [Wed, 9 Nov 2005 11:21:10 +0000]
Simplify Perl_allocmy slightly, and cope better with the name is ""
case.
p4raw-id: //depot/perl@26061
Nicholas Clark [Wed, 9 Nov 2005 11:17:17 +0000]
Add a comment about possible future refactoring of the pad code.
p4raw-id: //depot/perl@26060
Nicholas Clark [Wed, 9 Nov 2005 10:56:28 +0000]
Remove superfluous strlen() from pp_require().
p4raw-id: //depot/perl@26059
Steve Peters [Wed, 9 Nov 2005 10:45:57 +0000]
Patch from Gisle to add NO_MATHOMS to the Compile-time options.
p4raw-id: //depot/perl@26058
Rafael Garcia-Suarez [Wed, 9 Nov 2005 10:31:35 +0000]
Don't declare a function inside another function
p4raw-id: //depot/perl@26057
Yitzchak Scott-Thoennes [Fri, 14 Oct 2005 00:33:29 +0000]
Configure setting patchlevel broken
Message-ID: <
20051014073329.GA3236@efn.org>
p4raw-id: //depot/perl@26056
Robin Houston [Tue, 8 Nov 2005 19:02:34 +0000]
Re: [perl #32383] DProf breaks List::Util::shuffle
Message-ID: <
20051108190234.GA25953@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26054
John E. Malmberg [Tue, 8 Nov 2005 23:09:03 +0000]
patch@26052 - compile rule for mathoms.c
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <
4371765F.1000900@qsl.net>
p4raw-id: //depot/perl@26053
Nicholas Clark [Tue, 8 Nov 2005 22:05:57 +0000]
It helps to actually *remove* the now-superfluous strlen().
(An addendum to 26050.)
p4raw-id: //depot/perl@26052
Nicholas Clark [Tue, 8 Nov 2005 21:55:40 +0000]
Moving the 4 writes of PL_no_mem followed by exit(1) to a static
function makes the object code slightly smaller.
p4raw-id: //depot/perl@26051
Nicholas Clark [Tue, 8 Nov 2005 21:37:52 +0000]
Eliminate some unnecessary strlen()s
p4raw-id: //depot/perl@26050
Nicholas Clark [Tue, 8 Nov 2005 20:43:11 +0000]
Eliminate duplicate strlen()s by explicitly calling it.
Note two places for future audit with FIXME.
Convert a SvPVX_const to SvPVX_const_nolen, where the length is unused.
p4raw-id: //depot/perl@26049
Nicholas Clark [Tue, 8 Nov 2005 20:35:11 +0000]
3 calls to strlen() we can avoid.
p4raw-id: //depot/perl@26048
Yitzchak Scott-Thoennes [Tue, 8 Nov 2005 08:46:42 +0000]
[DOC PATCH] mention @-, @+ in perl56delta.pod
Message-ID: <
20051108164642.GD7972@efn.org>
p4raw-id: //depot/perl@26047
Nicholas Clark [Tue, 8 Nov 2005 16:30:18 +0000]
Probaby a good idea to include DEBUG_LEAKING_SCALARS in -V output, as
its presence changes structure sizes.
p4raw-id: //depot/perl@26046
SADAHIRO Tomoyuki [Tue, 8 Nov 2005 23:36:13 +0000]
Re: A surprising segfault
Message-Id: <
20051108233535.735D.BQW10602@nifty.com>
p4raw-id: //depot/perl@26045
Steve Hay [Tue, 8 Nov 2005 10:16:56 +0000]
Remove an unused variable left over from change #26041
p4raw-link: @26041 on //depot/perl:
8c56068e9474ff1eb28abd58496550d54581dd25
p4raw-id: //depot/perl@26044
Benjamin Sugars [Fri, 20 Apr 2001 10:30:20 +0000]
Re: C<undef %::> considered harmful
Message-ID: <Pine.LNX.4.21.
0104201022040.1722-100000@marmot.rim.canoe.ca>
except the part that increases the refcount of PL_stderrgv, already
fixed separately.
p4raw-id: //depot/perl@26043
Rafael Garcia-Suarez [Tue, 8 Nov 2005 09:57:10 +0000]
Upgrade to CPAN 1.76_65
p4raw-id: //depot/perl@26042
Jan Dubois [Mon, 7 Nov 2005 20:39:02 +0000]
Remove unused USING_WIDE code from win32 and wince branches
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <
078001c5e41e$585c4140$6401a8c0@candy>
p4raw-id: //depot/perl@26041
Steve Peters [Tue, 8 Nov 2005 00:41:51 +0000]
Updated perldiag.pod entry for "Can't use subscript..."
p4raw-id: //depot/perl@26040