Nicholas Clark [Wed, 8 Jun 2005 09:09:52 +0000]
One more SvPV_const
p4raw-id: //depot/perl@24752
Nicholas Clark [Wed, 8 Jun 2005 09:09:28 +0000]
Don't test the core XS code yet with PERL_DEBUG_COW > 1
p4raw-id: //depot/perl@24751
Nicholas Clark [Wed, 8 Jun 2005 08:50:06 +0000]
Remove two more unused C<n_a>s
p4raw-id: //depot/perl@24750
Nicholas Clark [Wed, 8 Jun 2005 08:49:32 +0000]
Better sv_2pv_flags implementation (avoid writing to n_a)
p4raw-id: //depot/perl@24749
Nicholas Clark [Wed, 8 Jun 2005 08:07:05 +0000]
Convert POPpx POPpconstx and POPpbytex to use nolen macros.
Elminate a lot of C<n_a>s
p4raw-id: //depot/perl@24748
Nicholas Clark [Wed, 8 Jun 2005 08:05:47 +0000]
Add SvPVx_nolen and SvPVbytex_nolen
p4raw-id: //depot/perl@24747
Nicholas Clark [Wed, 8 Jun 2005 08:04:53 +0000]
More SvPV consting
p4raw-id: //depot/perl@24746
Rafael Garcia-Suarez [Wed, 8 Jun 2005 06:51:48 +0000]
Mark a static function as static
p4raw-id: //depot/perl@24745
Nicholas Clark [Tue, 7 Jun 2005 22:22:34 +0000]
More SvPV consting
p4raw-id: //depot/perl@24744
Nicholas Clark [Tue, 7 Jun 2005 21:16:13 +0000]
More SvPV consting
p4raw-id: //depot/perl@24743
Nicholas Clark [Tue, 7 Jun 2005 19:45:13 +0000]
More consting of SvPV
p4raw-id: //depot/perl@24742
Rafael Garcia-Suarez [Tue, 7 Jun 2005 19:30:35 +0000]
The definition of SvPVx_nolen_const is missing for non GNU-C compilers
p4raw-id: //depot/perl@24741
Nicholas Clark [Tue, 7 Jun 2005 18:38:39 +0000]
More SvPV consting.
p4raw-id: //depot/perl@24740
Nicholas Clark [Tue, 7 Jun 2005 18:33:08 +0000]
Add SvPV_nolen_const and SvPV_nomg_const
p4raw-id: //depot/perl@24739
Nicholas Clark [Tue, 7 Jun 2005 18:32:44 +0000]
Add MgPV_const
p4raw-id: //depot/perl@24738
Rafael Garcia-Suarez [Tue, 7 Jun 2005 18:07:41 +0000]
Remove unused variable (thanks to Andy's lint)
p4raw-id: //depot/perl@24737
Nicholas Clark [Tue, 7 Jun 2005 17:35:10 +0000]
Change 24733 allows several pointers to be NULL. Therefore this
should be reflected in their attributes.
p4raw-id: //depot/perl@24736
Andy Lester [Mon, 6 Jun 2005 10:11:07 +0000]
Random cleanups #47
Message-ID: <
20050606151107.GC7022@petdance.com>
p4raw-id: //depot/perl@24735
Alexey Tourbin [Sun, 5 Jun 2005 00:00:00 +0000]
make some more functions static
Subject: [PATCH] B/C/C.xs: static my_runops()
Message-ID: <
20050604232451.GT5867@solemn.turbinal.org>
Subject: [PATCH] Devel/Peek/Peek.xs: make plain C functions static
Message-ID: <
20050604232952.GU5867@solemn.turbinal.org>
Subject: [PATCH] File/Glob/Glob.xs: errfunc() should be static
Message-ID: <
20050604233414.GV5867@solemn.turbinal.org>
all being :
Date: Sun, 5 Jun 2005
p4raw-id: //depot/perl@24734
Nicholas Clark [Tue, 7 Jun 2005 15:10:38 +0000]
Simplify the implementation of SvPV*nolen functions
p4raw-id: //depot/perl@24733
Nicholas Clark [Tue, 7 Jun 2005 14:57:35 +0000]
Ensure string table counts are balanced. (Was not true in op/pack.t)
p4raw-id: //depot/perl@24732
Rafael Garcia-Suarez [Tue, 7 Jun 2005 14:44:55 +0000]
Remove unneeded #ifdef VMS since VMS is not defined here anyway
(spotted by Steve_p)
p4raw-id: //depot/perl@24731
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:06:12 +0000]
one more round of is_utf8_foo tuneup
Message-ID: <
42A314E4.8060608@gmail.com>
p4raw-id: //depot/perl@24730
Alexey Tourbin [Sun, 5 Jun 2005 03:08:30 +0000]
util.c: S_vdie_common() should be static
Message-ID: <
20050604230830.GS5867@solemn.turbinal.org>
p4raw-id: //depot/perl@24729
Rafael Garcia-Suarez [Tue, 7 Jun 2005 13:15:45 +0000]
Fix apidoc for newSVhek
p4raw-id: //depot/perl@24728
Nicholas Clark [Tue, 7 Jun 2005 13:01:42 +0000]
make pp_split const
p4raw-id: //depot/perl@24727
Nicholas Clark [Tue, 7 Jun 2005 12:11:48 +0000]
Lots of consting
p4raw-id: //depot/perl@24726
Nicholas Clark [Tue, 7 Jun 2005 12:08:58 +0000]
The FBM compile code is mutable, because it's permissible to FBM
compile a read-only value.
p4raw-id: //depot/perl@24725
Nicholas Clark [Tue, 7 Jun 2005 12:07:49 +0000]
XS_VERSION_BOOTCHECK is read only.
p4raw-id: //depot/perl@24724
Nicholas Clark [Tue, 7 Jun 2005 12:06:13 +0000]
POPpx needs a const equivalent.
p4raw-id: //depot/perl@24723
Nicholas Clark [Tue, 7 Jun 2005 12:03:56 +0000]
Make a start at consting calls to SvPV. SV conversion and upgrade
routines need to be mutable, as it's permitted to change the type of
a READONLY SV, or cache the string or number conversion.
Other routines are mostly const.
p4raw-id: //depot/perl@24722
Nicholas Clark [Tue, 7 Jun 2005 12:00:09 +0000]
Need const versions of SvPV(), so that its callers can indicate
whether they are read/write or read only
Also provide a mutable version, for the internals to use where it
needs a non-const pointer, but will be writing. Callers of this are
assumed to be aware of how copy on write is working, and to keep
track of core changes.
For now check that SVs are not READONLY when const versions are used.
(with DEBUG_COW > 1). COW is going to have to be orthogonal to Perl's
READONLY flag, but for now it provides a good test indicator.
p4raw-id: //depot/perl@24721
Jarkko Hietaniemi [Mon, 6 Jun 2005 20:28:35 +0000]
Re: [perl #36130] chr(-1) should probably return undef
Message-ID: <
42A487C3.8010306@gmail.com>
p4raw-id: //depot/perl@24720
Vadim Konovalov [Tue, 7 Jun 2005 13:19:33 +0000]
RE: a bit of trouble with compiling with MSVC++ on Win32
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <
7DD1BE2C50259746ABB8683672D2089E12D462@itotest-1.spb.lucent.com>
p4raw-id: //depot/perl@24719
Todd C. Miller [Mon, 6 Jun 2005 23:24:28 +0000]
[perl #36193] crash in Perl_yyerror due to missing check for NULL
From: "Todd C. Miller" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36193-115243.12.
1531563965146@perl.org>
p4raw-id: //depot/perl@24718
Andy Lester [Mon, 6 Jun 2005 23:08:50 +0000]
Unvoid SvUPGRADE
Message-ID: <
20050607040850.GA7033@petdance.com>
p4raw-id: //depot/perl@24717
Nicholas Clark [Mon, 6 Jun 2005 14:50:21 +0000]
Abstract all access to the shared hash value through SvSHARED_HASH()
p4raw-id: //depot/perl@24716
Nicholas Clark [Mon, 6 Jun 2005 10:01:49 +0000]
SvIsCOW_shared_hash is declared all the time, so use it.
p4raw-id: //depot/perl@24715
Nicholas Clark [Mon, 6 Jun 2005 09:08:45 +0000]
Shared hash key scalars can be safely copied as shared hash key scalars
all the time.
p4raw-id: //depot/perl@24714
Steve Hay [Mon, 6 Jun 2005 07:52:59 +0000]
NORETURN_FUNCTION_END is not a complete statement
(Fix compilation error following change #24702)
p4raw-link: @24702 on //depot/perl:
7698c435fea241ff5aec7932afdb5f821dde55f3
p4raw-id: //depot/perl@24713
Steve Hay [Mon, 6 Jun 2005 07:47:06 +0000]
We still need an "i" in the PERL_IMPLICIT_SYS case
(Fix compilation error following change #24689)
p4raw-link: @24689 on //depot/perl:
b464bac0b70c4876af1296864220315edde8461d
p4raw-id: //depot/perl@24712
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:28:08 +0000]
Tru64: allow creating perl.pixie even with optimized Perl
Message-ID: <
42A31A08.3070601@gmail.com>
p4raw-id: //depot/perl@24711
Yitzchak Scott-Thoennes [Sun, 5 Jun 2005 20:43:55 +0000]
Re: blead attribute warnings, cygwin + gcc 3.4.1
Message-ID: <
20050606034354.GA1456@efn.org>
p4raw-id: //depot/perl@24710
Rafael Garcia-Suarez [Sun, 5 Jun 2005 11:35:48 +0000]
New test for getppid(), by Alexey Tourbin
p4raw-id: //depot/perl@24709
Salvador Fandiño [Sun, 5 Jun 2005 04:25:00 +0000]
PATCH for [perl #36043] '@foo = sort { $a <=> $b } @bar' uses too much memory
Message-ID: <
20050605022436.21982.qmail@lists.develooper.com>
p4raw-id: //depot/perl@24708
Andy Lester [Sat, 4 Jun 2005 23:09:04 +0000]
Fix minor bummer in 24706
Message-Id: <
20050605040904.GA27783@petdance.com>
p4raw-id: //depot/perl@24707
Jarkko Hietaniemi [Sat, 4 Jun 2005 13:40:15 +0000]
further speeding up of is_utf8_string()
Message-ID: <
42A1850F.4040109@gmail.com>
p4raw-id: //depot/perl@24706
Rafael Garcia-Suarez [Sat, 4 Jun 2005 16:49:33 +0000]
Silence a const warning
p4raw-id: //depot/perl@24705
José Pedro Oliveira [Thu, 12 May 2005 20:36:48 +0000]
Improve FindBin discovery of current directory, based on :
Subject: FindBin.pm: incomplete getcwd/cwd patch? (#24375, #24379)
Message-ID: <
4283B050.6080805@di.uminho.pt>
Plus POD fixes
p4raw-id: //depot/perl@24704
Rafael Garcia-Suarez [Sat, 4 Jun 2005 07:16:11 +0000]
Simplify the getppid code, by Alexey Tourbin
p4raw-id: //depot/perl@24703
Andy Lester [Fri, 3 Jun 2005 22:22:43 +0000]
Consting IO and Devel::Peek
Reply-To: Perl 5 Porters <perl5-porters@perl.org>
Message-ID: <
20050531212621.GA12117@petdance.com>
p4raw-id: //depot/perl@24702
Andy Lester [Fri, 3 Jun 2005 19:14:00 +0000]
Clean up UNI* macros in toke.c
Message-ID: <
20050603171448.GA5834@petdance.com>
p4raw-id: //depot/perl@24701
Jim Cromie [Thu, 2 Jun 2005 06:36:00 +0000]
B::Concise torture
Message-ID: <
429E8CBE.406@divsol.com>
(with formatting nits)
p4raw-id: //depot/perl@24700
Gisle Aas [Fri, 3 Jun 2005 09:17:44 +0000]
Re: [PATCH] Improved ICMP_UNREACHABLE handling in Net::Ping
Message-ID: <lry89rfm8n.fsf_-_@caliper.activestate.com>
p4raw-id: //depot/perl@24699
Nicholas Clark [Fri, 3 Jun 2005 12:00:01 +0000]
Use newSVhek in the cloning code.
p4raw-id: //depot/perl@24698
Nicholas Clark [Fri, 3 Jun 2005 11:06:36 +0000]
Use newSVhek where we're generating SVs from package names
p4raw-id: //depot/perl@24697
Nicholas Clark [Fri, 3 Jun 2005 10:03:21 +0000]
s/newSVpv_hek/newSVhek/g; # Lousy choice of name
p4raw-id: //depot/perl@24696
Rafael Garcia-Suarez [Fri, 3 Jun 2005 09:57:26 +0000]
Bump version number
p4raw-id: //depot/perl@24694
Duncan Findlay [Wed, 1 Jun 2005 12:18:08 +0000]
Re: [perl #35977] perlbug AutoReply: Devel::DProf "unstacked calls in outer"
Message-ID: <
20050601161808.GA17294@duncf.mine.nu>
p4raw-id: //depot/perl@24693
Nicholas Clark [Fri, 3 Jun 2005 09:37:21 +0000]
Create newSVpv_hek to reduce code duplication where HEKs need to be
turned into SVs
p4raw-id: //depot/perl@24692
Rafael Garcia-Suarez [Fri, 3 Jun 2005 09:29:36 +0000]
POD fixes
p4raw-id: //depot/perl@24691
Yitzchak Scott-Thoennes [Thu, 2 Jun 2005 11:49:11 +0000]
Re: Should while ( <$fh> ) and while (< $fh >) do the same thing?
Message-ID: <
20050602184911.GA3292@efn.org>
p4raw-id: //depot/perl@24690
Andy Lester [Thu, 2 Jun 2005 12:19:43 +0000]
Random consting
Message-ID: <
20050602171943.GA16553@petdance.com>
p4raw-id: //depot/perl@24689
Jan Dubois [Mon, 18 Apr 2005 20:16:24 +0000]
[PATCH] Run ICMP ping tests on Windows as long as we have admin privs
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 18 Apr 2005 20:16:24 -0700
Message-Id: <
200504190311.j3J3BM4p001792@smtp3.ActiveState.com>
Subject: RE: [PATCH] Run ICMP ping tests on Windows as long as we have admin privs
From: "Jan Dubois" <jand@ActiveState.com>
Date: Tue, 19 Apr 2005 01:49:51 -0700
Message-Id: <
200504190844.j3J8inkW032630@smtp3.ActiveState.com>
(There was no reply from Rob Brown in over a month, so commit to blead
for now. I'll email him again...)
p4raw-id: //depot/perl@24688
Jarkko Hietaniemi [Thu, 2 Jun 2005 21:52:46 +0000]
speed up is_utf8_char()
Message-ID: <
429F557E.3090007@gmail.com>
p4raw-id: //depot/perl@24687
Andy Lester [Thu, 2 Jun 2005 16:19:54 +0000]
Quotes in pod/*.pod
Message-ID: <
20050602211954.GA22107@petdance.com>
p4raw-id: //depot/perl@24686
Rafael Garcia-Suarez [Fri, 3 Jun 2005 07:59:48 +0000]
Indent fix
p4raw-id: //depot/perl@24685
Rafael Garcia-Suarez [Fri, 3 Jun 2005 07:58:10 +0000]
FAQ sync
p4raw-id: //depot/perl@24684
Jarkko Hietaniemi [Fri, 3 Jun 2005 11:00:01 +0000]
symbian/xsbuild.pl
Message-ID: <
B356D8F434D20B40A8CEDAEC305A1F24E7A225@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24683
Steve Peters [Thu, 2 Jun 2005 13:41:35 +0000]
SvPVX_const() - patch #4
Message-ID: <
20050602184135.GA13682@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24682
Jim Cromie [Wed, 1 Jun 2005 08:01:17 +0000]
Re: [patch] teach B::Concise to see XS code
Message-ID: <
429DBFAD.1090308@divsol.com>
p4raw-id: //depot/perl@24681
Nicholas Clark [Thu, 2 Jun 2005 16:40:58 +0000]
Integrate perl587delta.pod, the changes in perlhist.pod, and update
the relevant makefiles and tables-of-contents to reflect this.
p4raw-id: //depot/perl@24680
p4raw-branched: from //depot/maint-5.8/perl@24679 'branch in'
pod/perl587delta.pod
p4raw-integrated: from //depot/maint-5.8/perl@24679 'copy in'
pod/perlhist.pod (@24141..) 'merge in' win32/pod.mak (@23153..)
p4raw-integrated: from //depot/maint-5.8/perl@23573 'edit in' pod.lst
(@23153..) Makefile.SH (@23406..) pod/perl.pod (@23476..)
'ignore' pod/perltoc.pod (@23408..) win32/Makefile
win32/makefile.mk (@23480..) vms/descrip_mms.template
(@23560..) 'merge in' MANIFEST (@23461..)
DH [Tue, 31 May 2005 08:33:27 +0000]
DynaLoader dl_unload_file for win32 ( dl_win32.xs )
Message-ID: <
20050531153327.85145.qmail@unknown-209-73-178-237.yahoo.com>
(with a couple of minor tweaks)
p4raw-id: //depot/perl@24679
Nicholas Clark [Thu, 2 Jun 2005 15:10:54 +0000]
Dave can see a better way of doing the rounding.
p4raw-id: //depot/perl@24678
Nicholas Clark [Thu, 2 Jun 2005 14:42:20 +0000]
24672 is innocent. valgrind + perl's malloc considered harmful.
p4raw-id: //depot/perl@24677
Nicholas Clark [Thu, 2 Jun 2005 13:36:01 +0000]
Changes 24660 and 24665 both introduced errors into the USEMYMALLOC
code. Plus change 24672 appears to break under USEMYMALLOC, so revert
it for now.
p4raw-id: //depot/perl@24676
Rafael Garcia-Suarez [Thu, 2 Jun 2005 11:19:02 +0000]
Upgrade to ExtUtils::CBuilder 0.12 and ExtUtils::ParseXS 2.10
p4raw-id: //depot/perl@24675
Rafael Garcia-Suarez [Thu, 2 Jun 2005 09:39:26 +0000]
CPP typo fix (by Dominic Dunlop)
p4raw-id: //depot/perl@24674
Nicholas Clark [Thu, 2 Jun 2005 09:29:48 +0000]
Oops. My maths was too generous (by 1).
p4raw-id: //depot/perl@24673
Nicholas Clark [Thu, 2 Jun 2005 09:24:17 +0000]
Avoid duplicate calls to PAD_COMPNAME_OURSTASH, which is an expensive
macro.
p4raw-id: //depot/perl@24672
Rafael Garcia-Suarez [Thu, 2 Jun 2005 09:06:39 +0000]
Fix changed diagnostic
p4raw-id: //depot/perl@24671
Steve Peters [Tue, 31 May 2005 09:55:43 +0000]
SvPVX_const() - part 3 ... and const'ing Storable
Message-Id: <
20050531145543.GA8051@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24670
Andy Lester [Wed, 1 Jun 2005 23:16:56 +0000]
use lengths in sv_setpv() calls
Message-ID: <
20050602041656.GA3000@petdance.com>
p4raw-id: //depot/perl@24669
H.Merijn Brand [Thu, 2 Jun 2005 08:02:23 +0000]
New HW model; more on threads for 10.20
p4raw-id: //depot/perl@24668
H.Merijn Brand [Thu, 2 Jun 2005 07:52:09 +0000]
HP-UX specific #pragma entered in #23890 is not supported
on HP-UX 10.20 and older
p4raw-id: //depot/perl@24667
Andy Lester [Thu, 2 Jun 2005 00:02:38 +0000]
Quotes fixed, see also perl #36079
Message-ID: <
20050602050238.GA4001@petdance.com>
p4raw-id: //depot/perl@24666
Nicholas Clark [Wed, 1 Jun 2005 20:46:02 +0000]
Round up all string length requests to malloc()/realloc() to the next
multiple of 4/8 bytes [sizeof(size_t)] on the assumption that malloc()
internally will quantise, and so we're going to use space that
otherwise would be wasted. Hopefully this will save realloc()ing.
p4raw-id: //depot/perl@24665
Nicholas Clark [Wed, 1 Jun 2005 20:42:29 +0000]
I think SvCUR() was intended rather than SvLEN()
p4raw-id: //depot/perl@24664
Nicholas Clark [Wed, 1 Jun 2005 15:40:57 +0000]
We don't have XRVs any more, so remove the typedef
p4raw-id: //depot/perl@24663
Nicholas Clark [Wed, 1 Jun 2005 15:23:02 +0000]
Zero-ing the new HV array is pointless, as we write to every element.
Also avoid calling into he_dup when the HE is 0, to save the function
call overhead.
p4raw-id: //depot/perl@24662
Nicholas Clark [Wed, 1 Jun 2005 15:08:02 +0000]
As PERL_HV_ARRAY_ALLOC_BYTES is bytes, not items, the type should be
char rather than HE *. Bug was harmless, overallocating by a factor
of sizeof(HE *)
p4raw-id: //depot/perl@24661
Nicholas Clark [Wed, 1 Jun 2005 14:33:14 +0000]
Store the xhv_aux structure after the main array.
This reduces the size of HV bodies from 24 to 20 bytes on a 32 bit
build. It has the side effect of defined %symbol_table:: now always
being true. defined %hash is already deprecated.
p4raw-id: //depot/perl@24660
Nicholas Clark [Wed, 1 Jun 2005 14:28:38 +0000]
If we're building config_heavy.pl somewhere else, then we need to
require it, not something (or maybe nothing) in the correct place.
p4raw-id: //depot/perl@24659
Rafael Garcia-Suarez [Wed, 1 Jun 2005 14:16:32 +0000]
Revert change #24656
p4raw-link: @24656 on //depot/perl:
5cf1bec94acfda2c63b79cbc3b0bce4e6fe08b97
p4raw-id: //depot/perl@24658
Nicholas Clark [Wed, 1 Jun 2005 09:19:46 +0000]
Following the head refactoring, the Newz doesn't clear the SvPVX
So PL_mess_sv contained an uninitialised value.
p4raw-id: //depot/perl@24657
Robin Barker [Wed, 1 Jun 2005 09:55:16 +0000]
eliminate always running mktables
Message-ID: <
533D273D4014D411AB1D00062938C4D90849C6B8@hotel.npl.co.uk>
p4raw-id: //depot/perl@24656
Rafael Garcia-Suarez [Wed, 1 Jun 2005 09:09:35 +0000]
Don't touch lib/ExtUtils/Miniperl.pm when rebuild identically
p4raw-id: //depot/perl@24655
Stephen McCamant [Sat, 21 May 2005 21:52:31 +0000]
Re: [patch] teach B::Concise to see XS code
Message-ID: <17040.4111.265639.434150@apocalypse.OCF.Berkeley.EDU>
Correctly nullify CvSTART when undef'ing a CV
p4raw-id: //depot/perl@24654
Jim Cromie [Sat, 21 May 2005 09:24:24 +0000]
Re: [patch] teach B::Concise to see XS code
Message-ID: <
428F52A8.20702@divsol.com>
p4raw-id: //depot/perl@24653
Andy Lester [Tue, 31 May 2005 12:39:00 +0000]
Speed up lib/unicore/mktables by 45%
Message-ID: <
20050531173900.GA9820@petdance.com>
p4raw-id: //depot/perl@24652