Nicholas Clark [Sun, 12 Jun 2005 22:34:39 +0000 (22:34 +0000)]
duping shared hask key scalars can use hek_dup
p4raw-id: //depot/perl@24813
Nicholas Clark [Sun, 12 Jun 2005 22:33:51 +0000 (22:33 +0000)]
hek_dup can now store the HEK rather than the HE, as there is now a
fast way to share a hek
p4raw-id: //depot/perl@24812
Nicholas Clark [Sun, 12 Jun 2005 21:59:34 +0000 (21:59 +0000)]
Provide share_hek_hek, and use it for fast copying of shared string
scalars.
p4raw-id: //depot/perl@24811
Nicholas Clark [Sun, 12 Jun 2005 21:58:23 +0000 (21:58 +0000)]
Compare HE *s in S_unshare_hek_or_pvn's tight hek loop, rather than
HEKs
p4raw-id: //depot/perl@24810
Nicholas Clark [Sun, 12 Jun 2005 21:08:33 +0000 (21:08 +0000)]
Shortcut chasing round strtab when we're not the last reference.
p4raw-id: //depot/perl@24809
Nicholas Clark [Sun, 12 Jun 2005 20:00:18 +0000 (20:00 +0000)]
In the shared string table, store the HE and HEK next to each other
in one malloc()ed block.
p4raw-id: //depot/perl@24808
Alexey Tourbin [Sat, 11 Jun 2005 16:26:56 +0000 (20:26 +0400)]
perlipc.pod: mkfifo()
Message-ID: <
20050611122656.GC8181@solemn.turbinal.org>
p4raw-id: //depot/perl@24807
Vadim Konovalov [Sun, 12 Jun 2005 14:09:11 +0000 (10:09 -0400)]
improve static build for win32/Makefile
Message-Id: <
1118599750.2732.2.camel@mdk10>
p4raw-id: //depot/perl@24806
Paul Marquess [Sat, 11 Jun 2005 22:23:00 +0000 (23:23 +0100)]
RE: 05gzsetp.t and initial 'ver' in test output
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-Id: <
20050611212234.UGOL29707.aamta11-winn.ispmail.ntl.com@MARQUESSPT21>
p4raw-id: //depot/perl@24805
Nicholas Clark [Sat, 11 Jun 2005 21:05:29 +0000 (21:05 +0000)]
This isn't an LVALUE, so make the compiler enforce that.
p4raw-id: //depot/perl@24804
Nicholas Clark [Sat, 11 Jun 2005 18:01:32 +0000 (18:01 +0000)]
hash key code cleanup
p4raw-id: //depot/perl@24803
Nicholas Clark [Sat, 11 Jun 2005 17:00:52 +0000 (17:00 +0000)]
Shrink shared hash scalars from PVIV to PV
p4raw-id: //depot/perl@24802
Nicholas Clark [Sat, 11 Jun 2005 14:08:00 +0000 (14:08 +0000)]
Propagate const/mutable/not into the SvPV call for retrieving an
overloaded value.
p4raw-id: //depot/perl@24801
Nicholas Clark [Fri, 10 Jun 2005 23:12:29 +0000 (23:12 +0000)]
More SvPV consting. And other related drive-by refactoring.
p4raw-id: //depot/perl@24800
Nicholas Clark [Fri, 10 Jun 2005 22:06:15 +0000 (22:06 +0000)]
More SvPV consting, including some code cleanup and living dangerously
with socket API calls.
p4raw-id: //depot/perl@24799
Nicholas Clark [Fri, 10 Jun 2005 20:48:35 +0000 (20:48 +0000)]
Move SvPV consting, remove an n_a, and correct one error in Move()
p4raw-id: //depot/perl@24798
Nicholas Clark [Fri, 10 Jun 2005 18:42:47 +0000 (18:42 +0000)]
Allison says that "Media" isn't really needed in the name.
p4raw-id: //depot/perl@24797
Nicholas Clark [Fri, 10 Jun 2005 16:26:43 +0000 (16:26 +0000)]
Add SvGROW_mutable
p4raw-id: //depot/perl@24796
Nicholas Clark [Fri, 10 Jun 2005 15:44:47 +0000 (15:44 +0000)]
Passing read only values (such as string constants) to select should
croak.
p4raw-id: //depot/perl@24795
Nicholas Clark [Fri, 10 Jun 2005 15:16:43 +0000 (15:16 +0000)]
Don't pass constants to select
p4raw-id: //depot/perl@24794
Rafael Garcia-Suarez [Fri, 10 Jun 2005 13:44:35 +0000 (13:44 +0000)]
Pre-run and disarm the code automodification run by
Compress::Zlib's Makefile
p4raw-id: //depot/perl@24793
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:53:21 +0000 (12:53 +0000)]
Update Windows makefiles
p4raw-id: //depot/perl@24792
Nicholas Clark [Fri, 10 Jun 2005 12:44:30 +0000 (12:44 +0000)]
Work around bug 36211, plus a lot of TODO regression tests for local/
$#... interaction.
p4raw-id: //depot/perl@24791
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:44:02 +0000 (12:44 +0000)]
Update maintainers list
p4raw-id: //depot/perl@24790
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:30:14 +0000 (12:30 +0000)]
Bump version number
p4raw-id: //depot/perl@24789
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:09:30 +0000 (12:09 +0000)]
Makefile.PL adjustments for the core
p4raw-id: //depot/perl@24788
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:07:01 +0000 (12:07 +0000)]
SvUPGRADE returns void in blead
p4raw-id: //depot/perl@24787
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:05:38 +0000 (12:05 +0000)]
Drom Compress::Zlib 1.34 in ext/
p4raw-id: //depot/perl@24786
Nicholas Clark [Fri, 10 Jun 2005 10:06:30 +0000 (10:06 +0000)]
Change 24531 broke DEBUG_LEAKING_SCALARS.
p4raw-id: //depot/perl@24785
Nicholas Clark [Thu, 9 Jun 2005 21:01:42 +0000 (21:01 +0000)]
$r = do {my @a; \$#a}; $$r = 503 # is also naughty and now warns
p4raw-id: //depot/perl@24784
Nicholas Clark [Thu, 9 Jun 2005 19:02:43 +0000 (19:02 +0000)]
Fixes the case of $a = \$#{[]}; and then accessing $$a
(but not \$#a after local @a or my @a leave a block)
p4raw-id: //depot/perl@24783
Nicholas Clark [Thu, 9 Jun 2005 16:37:18 +0000 (16:37 +0000)]
Convert op/array.t to test.pl
p4raw-id: //depot/perl@24782
Rafael Garcia-Suarez [Thu, 9 Jun 2005 15:32:09 +0000 (15:32 +0000)]
Revert part of previous patch
p4raw-id: //depot/perl@24781
Andy Lester [Thu, 9 Jun 2005 10:05:56 +0000 (05:05 -0500)]
regcomp.c and more
Message-ID: <
20050609150556.GA30554@petdance.com>
p4raw-id: //depot/perl@24780
Nicholas Clark [Thu, 9 Jun 2005 10:36:53 +0000 (10:36 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24778
Nicholas Clark [Thu, 9 Jun 2005 10:36:40 +0000 (10:36 +0000)]
Don't ignore errors from an eval.
p4raw-id: //depot/perl@24777
Nicholas Clark [Thu, 9 Jun 2005 09:23:55 +0000 (09:23 +0000)]
Update API docs.
p4raw-id: //depot/perl@24776
Nicholas Clark [Thu, 9 Jun 2005 09:22:18 +0000 (09:22 +0000)]
Change perforce filetype from text to text+w (so regen.pl is happy)
p4raw-id: //depot/perl@24775
Nicholas Clark [Thu, 9 Jun 2005 09:15:55 +0000 (09:15 +0000)]
reentr.pl should be using regen_lib.pl and unlinking files before it
starts.
p4raw-id: //depot/perl@24774
Nicholas Clark [Thu, 9 Jun 2005 08:59:21 +0000 (08:59 +0000)]
Make minitest pass (must skip if no dynaloading)
p4raw-id: //depot/perl@24773
Andy Lester [Wed, 8 Jun 2005 10:23:53 +0000 (05:23 -0500)]
pp_pack.c cleanup
Message-ID: <
20050608152353.GA6253@petdance.com>
p4raw-id: //depot/perl@24772
Alexey Tourbin [Wed, 8 Jun 2005 13:45:08 +0000 (17:45 +0400)]
perlfunc.pod: ioctl.ph
Message-ID: <
20050608094508.GJ5867@solemn.turbinal.org>
p4raw-id: //depot/perl@24771
Jarkko Hietaniemi [Thu, 9 Jun 2005 08:50:56 +0000 (11:50 +0300)]
instead of unions use double cast for data pointer <-> function pointer
Message-ID: <
42A7D8C0.1080104@gmail.com>
p4raw-id: //depot/perl@24770
Nicholas Clark [Wed, 8 Jun 2005 22:48:00 +0000 (22:48 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24769
Nicholas Clark [Wed, 8 Jun 2005 22:45:39 +0000 (22:45 +0000)]
The old COW code needs to use SvPVX_mutable when doing copy-on-write.
p4raw-id: //depot/perl@24768
Nicholas Clark [Wed, 8 Jun 2005 22:43:58 +0000 (22:43 +0000)]
Add SvPV_mutable for use by the old COW code.
p4raw-id: //depot/perl@24767
Nicholas Clark [Wed, 8 Jun 2005 20:32:35 +0000 (20:32 +0000)]
sv_setsv is allowed to swipe buffers from read only scalars
p4raw-id: //depot/perl@24766
Nicholas Clark [Wed, 8 Jun 2005 19:49:08 +0000 (19:49 +0000)]
const-ize pp_formline
p4raw-id: //depot/perl@24765
H.Merijn Brand [Wed, 8 Jun 2005 19:14:19 +0000 (19:14 +0000)]
Cygwin fails to open $^X on many occasion here
afile is still available from the previous test
p4raw-id: //depot/perl@24764
Nicholas Clark [Wed, 8 Jun 2005 17:48:35 +0000 (17:48 +0000)]
Remove repeated C<n_a>s
p4raw-id: //depot/perl@24763
Nicholas Clark [Wed, 8 Jun 2005 17:48:17 +0000 (17:48 +0000)]
Remove the n_a
p4raw-id: //depot/perl@24762
Nicholas Clark [Wed, 8 Jun 2005 16:02:54 +0000 (16:02 +0000)]
Add and use MgPV_nolen_const
p4raw-id: //depot/perl@24761
Nicholas Clark [Wed, 8 Jun 2005 15:39:40 +0000 (15:39 +0000)]
Nuke some more n_a, and convert S_gv_ename from char * to const char *
p4raw-id: //depot/perl@24760
Nicholas Clark [Wed, 8 Jun 2005 14:52:17 +0000 (14:52 +0000)]
Allow a null length pointer to sv_pvn_force_flags.
Add SvPV_force_nolen and use it to remove some C<n_a>s
p4raw-id: //depot/perl@24759
Nicholas Clark [Wed, 8 Jun 2005 13:43:23 +0000 (13:43 +0000)]
n_a no more
p4raw-id: //depot/perl@24758
Nicholas Clark [Wed, 8 Jun 2005 11:00:54 +0000 (11:00 +0000)]
Eliminate more C<n_a>s
p4raw-id: //depot/perl@24757
Nicholas Clark [Wed, 8 Jun 2005 11:00:33 +0000 (11:00 +0000)]
A mising cast (given that rx->subbeg is only char *)
p4raw-id: //depot/perl@24756
Nicholas Clark [Wed, 8 Jun 2005 10:08:01 +0000 (10:08 +0000)]
s/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/g
p4raw-id: //depot/perl@24755
Andy Lester [Wed, 8 Jun 2005 00:03:32 +0000 (19:03 -0500)]
regexec.c utf8 loading
Message-ID: <
20050608050332.GA31059@petdance.com>
p4raw-id: //depot/perl@24754
José Pedro Oliveira [Tue, 7 Jun 2005 21:07:42 +0000 (22:07 +0100)]
Re: FindBin.pm: incomplete getcwd/cwd patch and SELinux (Strict policy)
Message-ID: <
42A5FE8E.3020608@di.uminho.pt>
p4raw-id: //depot/perl@24753
Nicholas Clark [Wed, 8 Jun 2005 09:09:52 +0000 (09:09 +0000)]
One more SvPV_const
p4raw-id: //depot/perl@24752
Nicholas Clark [Wed, 8 Jun 2005 09:09:28 +0000 (09:09 +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 (08:50 +0000)]
Remove two more unused C<n_a>s
p4raw-id: //depot/perl@24750
Nicholas Clark [Wed, 8 Jun 2005 08:49:32 +0000 (08:49 +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 (08:07 +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 (08:05 +0000)]
Add SvPVx_nolen and SvPVbytex_nolen
p4raw-id: //depot/perl@24747
Nicholas Clark [Wed, 8 Jun 2005 08:04:53 +0000 (08:04 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24746
Rafael Garcia-Suarez [Wed, 8 Jun 2005 06:51:48 +0000 (06:51 +0000)]
Mark a static function as static
p4raw-id: //depot/perl@24745
Nicholas Clark [Tue, 7 Jun 2005 22:22:34 +0000 (22:22 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24744
Nicholas Clark [Tue, 7 Jun 2005 21:16:13 +0000 (21:16 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24743
Nicholas Clark [Tue, 7 Jun 2005 19:45:13 +0000 (19:45 +0000)]
More consting of SvPV
p4raw-id: //depot/perl@24742
Rafael Garcia-Suarez [Tue, 7 Jun 2005 19:30:35 +0000 (19:30 +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 (18:38 +0000)]
More SvPV consting.
p4raw-id: //depot/perl@24740
Nicholas Clark [Tue, 7 Jun 2005 18:33:08 +0000 (18:33 +0000)]
Add SvPV_nolen_const and SvPV_nomg_const
p4raw-id: //depot/perl@24739
Nicholas Clark [Tue, 7 Jun 2005 18:32:44 +0000 (18:32 +0000)]
Add MgPV_const
p4raw-id: //depot/perl@24738
Rafael Garcia-Suarez [Tue, 7 Jun 2005 18:07:41 +0000 (18:07 +0000)]
Remove unused variable (thanks to Andy's lint)
p4raw-id: //depot/perl@24737
Nicholas Clark [Tue, 7 Jun 2005 17:35:10 +0000 (17:35 +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 (05:11 -0500)]
Random cleanups #47
Message-ID: <
20050606151107.GC7022@petdance.com>
p4raw-id: //depot/perl@24735
Alexey Tourbin [Sun, 5 Jun 2005 00:00:00 +0000 (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 (15:10 +0000)]
Simplify the implementation of SvPV*nolen functions
p4raw-id: //depot/perl@24733
Nicholas Clark [Tue, 7 Jun 2005 14:57:35 +0000 (14:57 +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 (14:44 +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 (21:06 +0300)]
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 (07:08 +0400)]
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 (13:15 +0000)]
Fix apidoc for newSVhek
p4raw-id: //depot/perl@24728
Nicholas Clark [Tue, 7 Jun 2005 13:01:42 +0000 (13:01 +0000)]
make pp_split const
p4raw-id: //depot/perl@24727
Nicholas Clark [Tue, 7 Jun 2005 12:11:48 +0000 (12:11 +0000)]
Lots of consting
p4raw-id: //depot/perl@24726
Nicholas Clark [Tue, 7 Jun 2005 12:08:58 +0000 (12:08 +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 (12:07 +0000)]
XS_VERSION_BOOTCHECK is read only.
p4raw-id: //depot/perl@24724
Nicholas Clark [Tue, 7 Jun 2005 12:06:13 +0000 (12:06 +0000)]
POPpx needs a const equivalent.
p4raw-id: //depot/perl@24723
Nicholas Clark [Tue, 7 Jun 2005 12:03:56 +0000 (12:03 +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 (12:00 +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 (23:28 +0300)]
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 (17:19 +0400)]
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 (23:24 +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 (18:08 -0500)]
Unvoid SvUPGRADE
Message-ID: <
20050607040850.GA7033@petdance.com>
p4raw-id: //depot/perl@24717
Nicholas Clark [Mon, 6 Jun 2005 14:50:21 +0000 (14:50 +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 (10:01 +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 (09:08 +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 (07:52 +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