Nicholas Clark [Tue, 7 Feb 2006 12:19:17 +0000]
Fix bug 38454 (rindex corrects for $[ on bytes rather than UTF-8)
p4raw-id: //depot/perl@27116
Peter Prymmer [Mon, 6 Feb 2006 13:27:14 +0000]
Re: Configure.com issue, more quoting needed.
Message-id: <O
F3536E719.A8B8D167-ON8525710D.0065011E-8525710D.00655ED0@factset.com>
p4raw-id: //depot/perl@27115
John E. Malmberg [Sat, 4 Feb 2006 16:04:32 +0000]
patch@27082 Allow fatal exceptions to bring up VMS debugger
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <
43E516E0.1000508@qsl.net>
p4raw-id: //depot/perl@27114
Nicholas Clark [Mon, 6 Feb 2006 22:28:41 +0000]
Optimise index so that if the big string is ISO-8859-1 but the little
string is UTF-8, it tries to downgrade the little string, rather than
upgrade the big string. For half-meg big strings this is a fourfold
speed gain.
p4raw-id: //depot/perl@27113
Nicholas Clark [Mon, 6 Feb 2006 21:40:57 +0000]
Given that the memory allocated in Perl_bytes_from_utf8 and
Perl_bytes_to_utf8 will immediately be written to, I see no need to
allocate it zeroed.
p4raw-id: //depot/perl@27112
Nicholas Clark [Mon, 6 Feb 2006 20:52:41 +0000]
Rename S_glob_assign to S_glob_assign_glob
Rename S_pvgv_assign to S_glob_assign_ref
I don't think that they share enough common code to merge them.
p4raw-id: //depot/perl@27111
Nicholas Clark [Mon, 6 Feb 2006 20:12:58 +0000]
I think that "merge Perl_sv_2[inpu]v" and "reduce duplication in
sv_setsv_flags" are about as done as they can be.
p4raw-id: //depot/perl@27110
Nicholas Clark [Mon, 6 Feb 2006 20:04:35 +0000]
In Perl_sv_upgrade, the assignment to new_type_details only needs to
be done once.
p4raw-id: //depot/perl@27109
Steve Peters [Mon, 6 Feb 2006 19:43:17 +0000]
Document the limitations of calling exit() (instead of _exit()) from
a child process on Solaris.
p4raw-id: //depot/perl@27108
Nicholas Clark [Mon, 6 Feb 2006 18:45:35 +0000]
Remove a duplicate flag copy line from Perl_sv_setsv_flags.
p4raw-id: //depot/perl@27107
Nicholas Clark [Mon, 6 Feb 2006 18:07:28 +0000]
Move Perl_save_long, Perl_save_I16, Perl_save_I8, Perl_save_iv,
Perl_save_nogv, Perl_save_list, Perl_save_destructor to mathoms.c
Perl_save_svref can't actually move because it calls a static function.
p4raw-id: //depot/perl@27106
Nicholas Clark [Mon, 6 Feb 2006 16:50:22 +0000]
Expunge USE_5005THREADS from perl.c
p4raw-id: //depot/perl@27105
Nicholas Clark [Mon, 6 Feb 2006 13:08:34 +0000]
Fix bug #38439 - reference to typeglob assignment needs to be based
on SvROK(sstr) rather than SvTYPE(sstr) == SVt_RV.
p4raw-id: //depot/perl@27104
Jarkko Hietaniemi [Sun, 5 Feb 2006 12:16:37 +0000]
5.8.8: Unicos test skip (and for the record: config.sh and harness results)
Message-ID: <
43E5D085.90400@iki.fi>
p4raw-id: //depot/perl@27103
Andy Lester [Sun, 5 Feb 2006 21:56:43 +0000]
Cleaning up shadowed variables
Message-Id: <
B375E848-FA07-479D-9571-FA3925106D16@petdance.com>
p4raw-id: //depot/perl@27102
Nicholas Clark [Sun, 5 Feb 2006 23:44:12 +0000]
Merge the PVCV case into the common code in S_pvgv_assign.
p4raw-id: //depot/perl@27101
Nicholas Clark [Sun, 5 Feb 2006 23:20:21 +0000]
Merge the PVAV and PVHV clauses into the common code of S_pvgv_assign.
p4raw-id: //depot/perl@27100
Nicholas Clark [Sun, 5 Feb 2006 23:02:58 +0000]
Merge the default case (GvSV) with the common code in S_pvgv_assign.
p4raw-id: //depot/perl@27099
Nicholas Clark [Sun, 5 Feb 2006 22:41:42 +0000]
Start to merge the 6 arms of S_pvgv_assign into one.
p4raw-id: //depot/perl@27098
Jim Cromie [Sun, 5 Feb 2006 05:31:14 +0000]
[patch] rework arenas - repair arenasets
Message-ID: <
43E5F012.1080203@gmail.com>
Date: Sun, 05 Feb 2006 05:31:14 -0700
p4raw-id: //depot/perl@27097
Steffen Müller [Sun, 5 Feb 2006 12:26:00 +0000]
Documentation patch for overload
Message-ID: <
43E5E0E9.1070707@sneakemail.com>
p4raw-id: //depot/perl@27096
Nicholas Clark [Sun, 5 Feb 2006 20:51:43 +0000]
The message "Can't upgrade that kind of scalar" can be far more
informative.
p4raw-id: //depot/perl@27095
Nicholas Clark [Sun, 5 Feb 2006 20:33:57 +0000]
new_body_type doesn't need to subtract the offset, that's what
new_body_allocated is for.
p4raw-id: //depot/perl@27094
Nicholas Clark [Sun, 5 Feb 2006 20:26:40 +0000]
Yes, I broke Win32 with change 27089 by having a { in the wrong place.
p4raw-id: //depot/perl@27093
Nicholas Clark [Sun, 5 Feb 2006 19:52:50 +0000]
Remove "Can't upgrade to undef" from perldiag, as the corresponding
code is now gone from sv_upgrade.
p4raw-id: //depot/perl@27092
Nicholas Clark [Sun, 5 Feb 2006 19:45:37 +0000]
Merge and refactor the PVAV and PVHV code in Perl_sv_upgrade, which
reduces the object size by about 80 bytes.
p4raw-id: //depot/perl@27091
Nicholas Clark [Sun, 5 Feb 2006 18:51:17 +0000]
Eliminate a croak we can't get to.
p4raw-id: //depot/perl@27090
Nicholas Clark [Sun, 5 Feb 2006 11:15:34 +0000]
Without this Windows and Netware compilers should be complaining
about perl.c having code before a declaration, *but only if compiling
with PERL_TRACK_MEMPOOL*. So, will it fix the smoke failures? Place
bets now.
p4raw-id: //depot/perl@27089
Steve Peters [Sun, 5 Feb 2006 05:08:02 +0000]
Don't export PL_memory_debug_header to Win32 (and others) unless
PERL_TRACK_MEMPOOL is defined.
p4raw-id: //depot/perl@27088
Steve Peters [Sun, 5 Feb 2006 04:13:27 +0000]
Fixed embed.fnc entry for S_forbid_setid() and picked up a change in
pod/perlapi.pod for good measure when regenerating files.
p4raw-id: //depot/perl@27087
Nicholas Clark [Sat, 4 Feb 2006 22:51:17 +0000]
bcc was issuing a warning about this line in Perl_sv_2cv, so tweak it
to keep it happy.
p4raw-id: //depot/perl@27086
Nicholas Clark [Sat, 4 Feb 2006 22:13:08 +0000]
Add regression tests to lib/charnames.t to ensure that unicore/Names.pl
is 100% 7 bit ASCII.
p4raw-id: //depot/perl@27085
Nicholas Clark [Sat, 4 Feb 2006 19:09:17 +0000]
Enhance PERL_TRACK_MEMPOOL so that it also emulates the PerlHost
behaviour of freeing up all memory at thread exit. With this and
tools such as valgrind you will now get warnings as soon as you
read from the deallocated memory, rather than just a warning much
later about freeing to the wrong pool.
p4raw-id: //depot/perl@27084
Nicholas Clark [Sat, 4 Feb 2006 18:48:09 +0000]
The TODO 'Tidy up global variables' can go, replaced with a second
paragraph on 'Ordering of "global" variables'.
p4raw-id: //depot/perl@27083
Nicholas Clark [Sat, 4 Feb 2006 17:11:54 +0000]
I believe that mathoms have been completely TODOne.
p4raw-id: //depot/perl@27082
Nicholas Clark [Sat, 4 Feb 2006 13:27:00 +0000]
Rejig the definition of ARENAS_PER_SET to maximise the size of the
array whilst keeping the structure within PERL_ARENA_SIZE.
p4raw-id: //depot/perl@27081
Nicholas Clark [Sat, 4 Feb 2006 13:00:06 +0000]
Tweak arena sets to avoid assignment between different pointers.
p4raw-id: //depot/perl@27080
Jim Cromie [Tue, 31 Jan 2006 04:52:06 +0000]
[patch] arena rework - arena sets
Message-ID: <
43DF4F66.4080808@gmail.com>
Date: Tue, 31 Jan 2006 04:52:06 -0700
p4raw-id: //depot/perl@27079
Nicholas Clark [Sat, 4 Feb 2006 11:10:52 +0000]
warnings.h does some evil(*) pointer arithmetic on (SV *)0, so a
simple replace of Nullsv with NULL turns out to be a bad idea.
* Technically undefined behaviour, I believe.
p4raw-id: //depot/perl@27078
Nicholas Clark [Sat, 4 Feb 2006 10:37:08 +0000]
Remove obsolete comment.
p4raw-id: //depot/perl@27077
Nicholas Clark [Fri, 3 Feb 2006 23:21:37 +0000]
S_find_beginning is only called from one place, so by hoisting the
forbid_setid check for -x into the caller, we can eliminate the
suidscript parameter from S_find_beginning.
p4raw-id: //depot/perl@27076
Nicholas Clark [Fri, 3 Feb 2006 22:41:55 +0000]
And as we've now got to the point where all calls to Perl_moreswitches
have -1 as the second argument, we can remove the second argument,
which gets us back to where we started, only with the elimination of
a per-thread variable.
p4raw-id: //depot/perl@27075
Nicholas Clark [Fri, 3 Feb 2006 22:18:45 +0000]
The MSDOS-only call to moreswitches will never reach forbid_setid, so
it can have a parameter of -1 without changing any behaviour.
I see no reason to forbid "command line" switches when they are
actually coming from the #! line of the script itself (as read by perl)
as they must have been written by the owner of the script, rather than
being crafted by the user manipulating the command line, and therefore
cannot be subverted. (Or alternatively, can be subverted as easily as
the rest of the script, and we're permitting *that* to be run)
p4raw-id: //depot/perl@27074
Nicholas Clark [Fri, 3 Feb 2006 21:47:04 +0000]
Pull the variables fdscript and suidscript into a much smaller scope.
Replace suidscript with literal -1 where it could only have been -1.
(Re-indent the other code inside the new block creating the scope.
Rejig the indentation of the conditionals)
p4raw-id: //depot/perl@27073
Nicholas Clark [Fri, 3 Feb 2006 21:23:21 +0000]
Change 27070 failed to initialise a variable. (But despite that still
passed all tests locally.)
p4raw-id: //depot/perl@27072
Nicholas Clark [Fri, 3 Feb 2006 20:12:10 +0000]
Silence a warning about "statement not reached" from the Sun C compiler.
It was accurate - the conditional code used to give 2 return statements.
p4raw-id: //depot/perl@27071
Nicholas Clark [Fri, 3 Feb 2006 20:10:07 +0000]
Eliminating PL_suidscript is more tricky, and requires changing the
prototype of Perl_moreswitches.
p4raw-id: //depot/perl@27070
Nicholas Clark [Fri, 3 Feb 2006 18:27:52 +0000]
Passing the flag to S_forbit_setid as a single char rather than a
string is a slight space optimisation.
p4raw-id: //depot/perl@27069
Nicholas Clark [Fri, 3 Feb 2006 18:10:45 +0000]
Oops. I *thought* that I had checked that all changed files were open.
Clearly not. (Fixes change 27066)
p4raw-id: //depot/perl@27068
Nicholas Clark [Fri, 3 Feb 2006 17:06:43 +0000]
Oops. When changing warnings.pl one should re-run it. Well spotted
Rafael.
p4raw-id: //depot/perl@27067
Nicholas Clark [Fri, 3 Feb 2006 17:06:04 +0000]
It's actually easier to get rid of PL_fdscript than we thought.
p4raw-id: //depot/perl@27066
Steven Schubiger [Fri, 3 Feb 2006 16:24:49 +0000]
Re: [PATCH] s/Null(gv|hv|sv)/NULL/g
Message-ID: <
20060203152449.GI12591@accognoscere.homeunix.org>
Date: Fri, 3 Feb 2006 16:24:49 +0100
p4raw-id: //depot/perl@27065
Rafael Garcia-Suarez [Fri, 3 Feb 2006 15:18:18 +0000]
Fix file where internal XS functions are defined
p4raw-id: //depot/perl@27064
John E. Malmberg [Tue, 13 Dec 2005 22:18:56 +0000]
Help to compile on VMS with UNLINK_ALL_VERSIONS
See :
Subject: bug@26347 embed.fnc/embed.h with unlnk macro
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <
439F8F20.4050207@qsl.net>
p4raw-id: //depot/perl@27063
Andreas König [Thu, 2 Feb 2006 12:35:41 +0000]
[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.83_64.tar.gz
Message-ID: <87acda0z8y.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@27062
SADAHIRO Tomoyuki [Mon, 9 Jan 2006 12:53:15 +0000]
L<PerlIO> and Pod::Html
Message-Id: <
20060109125220.3BB0.BQW10602@nifty.com>
p4raw-id: //depot/perl@27061
Steven Schubiger [Thu, 2 Feb 2006 16:02:41 +0000]
s/Nullcv/NULL/g
Message-ID: <
20060202150241.GF12591@accognoscere.homeunix.org>
Date: Thu, 2 Feb 2006 16:02:41 +0100
p4raw-id: //depot/perl@27060
Nicholas Clark [Fri, 3 Feb 2006 13:06:00 +0000]
Change PL_perlio_fd_refcnt from a fixed size static array to a pointer
to a dynamic array.
p4raw-id: //depot/perl@27059
Steve Peters [Thu, 2 Feb 2006 20:57:01 +0000]
It would be nice to have tests in B for the functions getting changed.
p4raw-id: //depot/perl@27057
Steve Peters [Thu, 2 Feb 2006 20:42:56 +0000]
Death to magic characters! No pun intended.
p4raw-id: //depot/perl@27056
Steven Schubiger [Thu, 2 Feb 2006 10:38:49 +0000]
Re: [PATCH] s/Null(av|ch)/NULL/g
Message-ID: <
20060202093849.GD12591@accognoscere.homeunix.org>
p4raw-id: //depot/perl@27054
Nicholas Clark [Thu, 2 Feb 2006 12:31:30 +0000]
gv_fetchpvn_flags ranks highly in the profile, and the ::/' scanning
loop is iterated over millions of times. Add a flag GV_NOTQUAL purely
as an optimisation, when the caller is passing in a string that is
known not to contain any package separators.
p4raw-id: //depot/perl@27053
Rafael Garcia-Suarez [Thu, 2 Feb 2006 11:22:43 +0000]
Update to Module::CoreList 3.04.
Cleanup corelist manpage.
Remove -w in corelist shebang to avoid spurious warnings.
p4raw-id: //depot/perl@27052
Gisle Aas [Thu, 2 Feb 2006 10:05:32 +0000]
perl-5.8.8 also contained change 27040.
p4raw-id: //depot/perl@27051
Nicholas Clark [Thu, 2 Feb 2006 00:36:38 +0000]
Yet more instances of gv_fetchpv... that should be GV_ADD rather than
TRUE.
Convert two gv_fetchpvn_flags to gv_fetchpvs.
p4raw-id: //depot/perl@27050
Nicholas Clark [Thu, 2 Feb 2006 00:24:06 +0000]
And another assumption.
p4raw-id: //depot/perl@27049
Nicholas Clark [Wed, 1 Feb 2006 23:38:53 +0000]
Since PERL_COPY_ON_WRITE became PERL_OLD_COPY_ON_WRITE it seems that
no-one has been testing it, as there was a const too far.
p4raw-id: //depot/perl@27048
Steve Peters [Wed, 1 Feb 2006 23:34:47 +0000]
Doc nit found by Stephen Gordon.
p4raw-id: //depot/perl@27047
Nicholas Clark [Wed, 1 Feb 2006 23:03:11 +0000]
doubleplusoops. Apart from the documented NUL termination assumption.
Now removed.
p4raw-id: //depot/perl@27046
Nicholas Clark [Wed, 1 Feb 2006 22:39:29 +0000]
References can't have SVp_IOK or SVp_NOK set, so no need for all the
conditional code to copy IVX and NVX if true. "You cannot get here".
p4raw-id: //depot/perl@27045
Nicholas Clark [Wed, 1 Feb 2006 22:03:37 +0000]
Oops. 1 NUL termination assumption remains in Perl_gv_fetchpvn_flags
p4raw-id: //depot/perl@27044
Nicholas Clark [Wed, 1 Feb 2006 20:26:46 +0000]
Correct my comment, so that it's actually useful. :-)
p4raw-id: //depot/perl@27043
Steve Purkis [Fri, 20 Jan 2006 12:35:06 +0000]
[[:...:]] is equivalent to \p{...}, not [:...:], tweaked from
Subject: Re: [:...:] and \p{...} character class equivalence in utf8 regexps
Message-Id: <
0DAE5956-3ECC-4692-A0C9-C62C8F790C97@multimap.com>
Date: Fri, 20 Jan 2006 12:35:06 -0500
p4raw-id: //depot/perl@27042
Rafael Garcia-Suarez [Wed, 1 Feb 2006 18:07:26 +0000]
Improve a bit the documentation for kill() with SIGNAL==0
p4raw-id: //depot/perl@27039
Nicholas Clark [Wed, 1 Feb 2006 18:05:20 +0000]
Mmm, it looks like it's a bad plan to rebuild the TOC from a tree that
has other modules in ext/
TODO - fix buildtoc to cross check with MANIFEST.
p4raw-id: //depot/perl@27038
Nicholas Clark [Wed, 1 Feb 2006 17:53:28 +0000]
Integrate perl588delta.pod from maint, and re-run pod/buildtoc.
p4raw-id: //depot/perl@27037
p4raw-branched: from //depot/maint-5.8/perl@27036 'branch in'
pod/perl588delta.pod (@27012..)
p4raw-edited: from //depot/maint-5.8/perl@24695 'edit in'
vms/descrip_mms.template (@24616..)
p4raw-integrated: from //depot/maint-5.8/perl@24695 'edit in'
Makefile.SH (@23936..) pod.lst pod/perltoc.pod win32/Makefile
win32/makefile.mk (@24616..) 'merge in' win32/pod.mak
(@23573..) MANIFEST (@24611..)
Rafael Garcia-Suarez [Wed, 1 Feb 2006 17:49:53 +0000]
Doc nit by Andy Dougherty
p4raw-id: //depot/perl@27036
Rafael Garcia-Suarez [Wed, 1 Feb 2006 16:14:07 +0000]
autouse actually requires perl 5.6 at least.
p4raw-id: //depot/perl@27035
Rafael Garcia-Suarez [Wed, 1 Feb 2006 15:51:35 +0000]
Avoid "Prototype mismatch" warnings with autouse.
p4raw-id: //depot/perl@27034
Rafael Garcia-Suarez [Wed, 1 Feb 2006 13:22:26 +0000]
Fix corelist data for 5.8.8
p4raw-id: //depot/perl@27033
Rafael Garcia-Suarez [Wed, 1 Feb 2006 12:41:37 +0000]
More history
p4raw-id: //depot/perl@27032
Rafael Garcia-Suarez [Wed, 1 Feb 2006 12:30:14 +0000]
Update to Module::CoreList 2.03 (includes 5.8.8 and 5.9.3)
p4raw-id: //depot/perl@27031
Jim Cromie [Tue, 31 Jan 2006 03:33:46 +0000]
[patch] arena rework - unify arenaroots
Message-ID: <
43DF3D0A.3040102@gmail.com>
Date: Tue, 31 Jan 2006 03:33:46 -0700
p4raw-id: //depot/perl@27030
Nicholas Clark [Tue, 31 Jan 2006 22:59:27 +0000]
Make Perl_gv_fetchpvn_flags actually heed the passed in length.
This means that \0 bytes in symbolic references now work.
p4raw-id: //depot/perl@27028
Steve Peters [Tue, 31 Jan 2006 18:42:31 +0000]
Intel C Compiler 9.0 hatefully defines __GNUC__. Unfortunately,
icc does not support gcc built-ins like __attribiute__.
p4raw-id: //depot/perl@27027
p.boven@sara.nl [Tue, 31 Jan 2006 05:22:28 +0000]
[perl #38380] Typo in perlfunc.pod
From: p.boven@sara.nl (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38380-129047.11.
4217468041333@perl.org>
Date: Tue, 31 Jan 2006 05:22:28 -0800
p4raw-id: //depot/perl@27022
Nicholas Clark [Tue, 31 Jan 2006 15:10:37 +0000]
Eliminate save_threadsv, as it is never linked to, and all it does
post 5005 threads is croak().
p4raw-id: //depot/perl@27021
Yves Orton [Tue, 31 Jan 2006 09:55:25 +0000]
Re: [PATCH] Re: replacing "inuse" Win files (was Re: Help with a Cwd.pm build error)
Message-ID: <
9b18b3110601310055h7aeb9aa1gdc2d63cc56d97768@mail.gmail.com>
p4raw-id: //depot/perl@27016
John E. Malmberg [Tue, 31 Jan 2006 04:37:27 +0000]
patch@26996 - patch around stat("_NLA0:") bug
From: "John E. Malmberg" <wb8tyw@qsl.net>Date: Mon, 30 Jan 2006 23:21:34 -0500
Message-id: <
43DEE5CE.7060108@qsl.net>
p4raw-id: //depot/perl@27015
Nicholas Clark [Tue, 31 Jan 2006 00:15:26 +0000]
Silence a warning from the MS compiler about signed/unsigned mismatch.
p4raw-id: //depot/perl@27014
Rafael Garcia-Suarez [Mon, 30 Jan 2006 17:47:56 +0000]
Add perl594delta
p4raw-id: //depot/perl@27010
Nicholas Clark [Mon, 30 Jan 2006 17:12:54 +0000]
Change the author aliasing to reflect updates to AUTHORS.
p4raw-id: //depot/perl@27009
Rafael Garcia-Suarez [Mon, 30 Jan 2006 16:58:47 +0000]
Bump version number to 5.9.4
Regenerate template config in Porting
p4raw-id: //depot/perl@27007
Nicholas Clark [Mon, 30 Jan 2006 16:50:38 +0000]
Silence another Irix compiler warning.
p4raw-id: //depot/perl@27006
Nicholas Clark [Mon, 30 Jan 2006 16:29:38 +0000]
Avoid a warning from the Irix C compiler.
p4raw-id: //depot/perl@27005
Steve Peters [Mon, 30 Jan 2006 15:04:50 +0000]
Teach the Makefile how to cleanup config.over.
p4raw-id: //depot/perl@27004
Nicholas Clark [Mon, 30 Jan 2006 13:42:56 +0000]
Code assumes that *FOO{SCALAR} will always return a scalar reference,
so make it so, creating $FOO if necessary.
(Effectively this is a policy decision that PERL_DONT_CREATE_GVSV is
visible to XS code, but isn't visible to Perl code)
p4raw-id: //depot/perl@27002
Steve Peters [Mon, 30 Jan 2006 13:25:04 +0000]
Add -DPTR_IS_LONG when building with -Duse64bitint on Solaris/i386.
Otherwise, the build fails in POSIX.
p4raw-id: //depot/perl@27001
Nicholas Clark [Mon, 30 Jan 2006 12:59:12 +0000]
Use a union for storing the shared hash key reference count, rather
than messy pointer hacks.
p4raw-id: //depot/perl@27000
Yitzchak Scott-Thoennes [Mon, 30 Jan 2006 01:06:24 +0000]
[DOC PATCH] $^X isn't necessarily argv[0]
Message-ID: <
20060130090624.GA3760@efn.org>
p4raw-id: //depot/perl@26999