Nicholas Clark [Thu, 16 Jun 2005 18:37:55 +0000 (18:37 +0000)]
Replace all the S_more_* functions with a single function.
Saves 1.5K on the object file in OS X when built with -Os
p4raw-id: //depot/perl@24876
Jim Cromie [Mon, 13 Jun 2005 11:57:01 +0000 (05:57 -0600)]
Re: [perl #36048] Refactor S_more_*v into one function
Message-ID: <
42ADC8ED.4090009@divsol.com>
Date: Mon, 13 Jun 2005 11:57:01 -0600
p4raw-id: //depot/perl@24875
Nicholas Clark [Thu, 16 Jun 2005 15:09:00 +0000 (15:09 +0000)]
I'm not convinced that manually creating HVs via sv_upgrade is a great
idea, but as we are, turning on shared keys makes sense.
p4raw-id: //depot/perl@24874
Andy Lester [Thu, 16 Jun 2005 09:35:21 +0000 (04:35 -0500)]
Lint support
Message-ID: <
20050616143521.GB22188@petdance.com>
p4raw-id: //depot/perl@24873
Ken Williams [Wed, 15 Jun 2005 20:00:42 +0000 (15:00 -0500)]
Re: a warning for a ExtUtils::ParseXS test
Message-Id: <
29d2a69650cb39059c9af487069b941c@mathforum.org>
p4raw-id: //depot/perl@24872
Andy Lester [Thu, 16 Jun 2005 09:13:42 +0000 (04:13 -0500)]
Removing /*SUPPRESS xxx*/
Message-ID: <
20050616141342.GA22188@petdance.com>
p4raw-id: //depot/perl@24871
Steve Hay [Thu, 16 Jun 2005 13:16:56 +0000 (13:16 +0000)]
Teach lib/warnings.t about Borland CRT error messages
p4raw-id: //depot/perl@24870
Alexander Foken [Fri, 10 Jun 2005 12:46:41 +0000 (12:46 +0000)]
[perl #36237] IO::File $fh->binmode($layer) is broken
From: "Alexander Foken" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36237-115536.13.
400290704223@perl.org>
and bump version number
p4raw-id: //depot/perl@24869
Steve Hay [Thu, 16 Jun 2005 11:10:01 +0000 (11:10 +0000)]
Update README.win32
(Mention Borland compiler is also free; update libwin32 link)
p4raw-id: //depot/perl@24868
Steve Hay [Thu, 16 Jun 2005 11:00:19 +0000 (11:00 +0000)]
Give op/taint.t a helping hand for Borland compiler on Win32
p4raw-id: //depot/perl@24867
Steve Hay [Thu, 16 Jun 2005 09:51:33 +0000 (09:51 +0000)]
Fix changes 24862 and 24863 for Sarathy's old dmake
p4raw-id: //depot/perl@24866
Salvador Fandiño [Wed, 15 Jun 2005 08:27:00 +0000 (01:27 -0700)]
Subs with builtin attributes shouldn't be made constant
Subject: Re: [perl #36297] builtin attrs on subrutine declarations
Message-ID: <
20050615152700.96320.qmail@web52702.mail.yahoo.com>
p4raw-id: //depot/perl@24865
Rafael Garcia-Suarez [Thu, 16 Jun 2005 09:18:58 +0000 (09:18 +0000)]
Add -f in perl synopsys, sync perl.pod and perlrun.pod synopses
p4raw-id: //depot/perl@24864
Steve Hay [Thu, 16 Jun 2005 09:09:22 +0000 (09:09 +0000)]
Simplify win32/makefile.mk for static extensions with GCC
p4raw-id: //depot/perl@24863
Steve Hay [Thu, 16 Jun 2005 08:51:14 +0000 (08:51 +0000)]
Enable static extensions with Borland compiler on Win32
p4raw-id: //depot/perl@24862
Rafael Garcia-Suarez [Thu, 16 Jun 2005 08:29:10 +0000 (08:29 +0000)]
Revert part of change #24854
p4raw-link: @24854 on //depot/perl:
ab019eaa775fdcae8aaf709315c7ba85a788ee6c
p4raw-id: //depot/perl@24861
Steve Hay [Thu, 16 Jun 2005 07:40:21 +0000 (07:40 +0000)]
Don't export Perl_stashpv_hvname_match when !USE_ITHREADS
(Fixes a linker error on Win 32 introduced by change #24847)
p4raw-link: @24847 on //depot/perl:
ed221c571749f1ebcbc3664c74e36e68f3a83031
p4raw-id: //depot/perl@24860
Nicholas Clark [Wed, 15 Jun 2005 22:32:14 +0000 (22:32 +0000)]
Don't write bytecode to load the NVX of AVs and HVs
p4raw-id: //depot/perl@24859
Nicholas Clark [Wed, 15 Jun 2005 22:31:41 +0000 (22:31 +0000)]
We were failing to pring "not ok" if the text exited uncleanly
p4raw-id: //depot/perl@24858
Nicholas Clark [Wed, 15 Jun 2005 22:30:53 +0000 (22:30 +0000)]
assert that you aren't assigning to the NVX of an AV or HV
p4raw-id: //depot/perl@24857
Rafael Garcia-Suarez [Wed, 15 Jun 2005 16:37:46 +0000 (16:37 +0000)]
Introduce PERL_RUNPERL_DEBUG to alter the behavior of runperl(),
this can be useful to use valgrind for example
p4raw-id: //depot/perl@24856
Steve Hay [Wed, 15 Jun 2005 16:30:58 +0000 (16:30 +0000)]
Fix $Config{ccversion} for Borland C++ 5.5.1
This pattern match seems a little saner, and stops " for Win32"
getting picked up from the following output:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Maybe it breaks older versions, but at least the latest now works
correctly. If anyone knows what older versions' messages look like
then speak up!
p4raw-id: //depot/perl@24855
Steve Peters [Wed, 15 Jun 2005 11:30:41 +0000 (06:30 -0500)]
Re: [PATCH] make -f invalid when USE_SITECUSTOMIZE isn't set
Message-ID: <
20050615163040.GA14745@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24854
Salvador Fandiño [Mon, 6 Jun 2005 12:05:05 +0000 (13:05 +0100)]
sort optimization
Message-ID: <
20050606110425.22941.qmail@lists.develooper.com>
p4raw-id: //depot/perl@24853
Steve Hay [Wed, 15 Jun 2005 16:02:06 +0000 (16:02 +0000)]
Fix win32/makefile.mk for building with bcc32 5.5.1 and dmake 4.4
p4raw-id: //depot/perl@24852
Salvador FandiXXo [Wed, 15 Jun 2005 13:54:53 +0000 (13:54 +0000)]
[perl #36297] builtin attrs on subrutine declarations
From: Salvador "FandiXXo" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36297-115797.8.
75971493113916@perl.org>
p4raw-id: //depot/perl@24851
H.Merijn Brand [Wed, 15 Jun 2005 13:57:57 +0000 (13:57 +0000)]
Protect Perl_sv_2pvbyte () to NULL length pointers
Thanks Nick!
p4raw-id: //depot/perl@24850
Rafael Garcia-Suarez [Wed, 15 Jun 2005 13:55:50 +0000 (13:55 +0000)]
Better phrasing
p4raw-id: //depot/perl@24849
Alexey Tourbin [Sun, 5 Jun 2005 03:42:42 +0000 (07:42 +0400)]
Storable/Storable.xs: make plain C functions static
Message-ID: <
20050604234242.GW5867@solemn.turbinal.org>
p4raw-id: //depot/perl@24848
Andy Lester [Tue, 14 Jun 2005 23:49:26 +0000 (18:49 -0500)]
CopSTASH_eq again
Message-ID: <
20050615044926.GA29087@petdance.com>
p4raw-id: //depot/perl@24847
Rafael Garcia-Suarez [Wed, 15 Jun 2005 07:49:48 +0000 (07:49 +0000)]
Fix warning nits, by Jarkko
p4raw-id: //depot/perl@24846
Steve Peters [Tue, 14 Jun 2005 14:30:52 +0000 (09:30 -0500)]
S_emulate_eaccess() does return a value
Message-ID: <
20050614193052.GA1898@mccoy.peters.homeunix.org>
Date: Tue, 14 Jun 2005 14:30:52 -0500
p4raw-id: //depot/perl@24845
Dave Mitchell [Tue, 14 Jun 2005 17:24:18 +0000 (17:24 +0000)]
whoops, Perl_magic_freearylen_p returns int
p4raw-id: //depot/perl@24844
Nicholas Clark [Tue, 14 Jun 2005 16:29:49 +0000 (16:29 +0000)]
Change 24838 breaks deparse.t, which checks that embedded NULs work.
Here's a temporary hack, pending a way for B to correctly identify
PVs that are variable names in pads.
p4raw-id: //depot/perl@24843
Rafael Garcia-Suarez [Tue, 14 Jun 2005 13:49:41 +0000 (13:49 +0000)]
Add core test preamble
p4raw-id: //depot/perl@24842
Nicholas Clark [Tue, 14 Jun 2005 13:40:49 +0000 (13:40 +0000)]
Test was coredumping with a shared perl library.
This is wrong. It seems that what gets peephole optimised
(in this case named method calls into shared string scalars) depends
on whether there is a shared perl library.
Anyway, fix the symptom - the coredump.
p4raw-id: //depot/perl@24841
Steve Hay [Tue, 14 Jun 2005 13:36:03 +0000 (13:36 +0000)]
Stop "test" filename clashing with "TEST" on Win32
(and bump $IO::Zlib::VERSION again)
p4raw-id: //depot/perl@24840
Steve Hay [Tue, 14 Jun 2005 13:26:30 +0000 (13:26 +0000)]
Actually skip tests when they're supposed to be skipped!
(and bump $IO::Zlib::VERSION)
p4raw-id: //depot/perl@24839
Steve Peters [Tue, 14 Jun 2005 08:16:38 +0000 (03:16 -0500)]
Fix for SEGV in ext/B/t/xref.t on OpenBSD
Message-ID: <
20050614131638.GA24771@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24838
Steve Hay [Tue, 14 Jun 2005 13:13:17 +0000 (13:13 +0000)]
Don't delete IO/Zlib during distclean on Win32
(IO/Socket still needs to go, though)
p4raw-id: //depot/perl@24837
Rafael Garcia-Suarez [Tue, 14 Jun 2005 13:02:24 +0000 (13:02 +0000)]
Document ${^UTF8LOCALE}
p4raw-id: //depot/perl@24836
Rafael Garcia-Suarez [Tue, 14 Jun 2005 12:12:33 +0000 (12:12 +0000)]
Add IO::Zlib in maintainers list
p4raw-id: //depot/perl@24835
Rafael Garcia-Suarez [Tue, 14 Jun 2005 12:06:40 +0000 (12:06 +0000)]
Add IO::Zlib 1.04 to bleadperl
p4raw-id: //depot/perl@24834
Dave Mitchell [Tue, 14 Jun 2005 10:15:10 +0000 (10:15 +0000)]
Perl_magic_freearylen_p could coredump
p4raw-id: //depot/perl@24833
Salvador Fandiño [Mon, 13 Jun 2005 16:48:01 +0000 (17:48 +0100)]
better assertion support
Message-ID: <
20050613154719.29295.qmail@lists.develooper.com>
p4raw-id: //depot/perl@24832
Rafael Garcia-Suarez [Tue, 14 Jun 2005 08:31:18 +0000 (08:31 +0000)]
Since the version module is use'd afterwards, use_ok needs to be
in a BEGIN block
p4raw-id: //depot/perl@24831
Steve Hay [Tue, 14 Jun 2005 07:42:33 +0000 (07:42 +0000)]
Add BUILDOPTEXTRA to Win32 makefiles
This allows extra build options, e.g. -DNO_HASH_SEED, to be
specified on the command line, which is otherwise not possible
under nmake using the existing BUILDOPT macro
Suggested by Jan Dubois <jand@ActiveState.com>
p4raw-id: //depot/perl@24830
Nicholas Clark [Mon, 13 Jun 2005 22:29:00 +0000 (22:29 +0000)]
Pay attention to the comments that Dave writes.
p4raw-id: //depot/perl@24829
Rafael Garcia-Suarez [Mon, 13 Jun 2005 20:22:52 +0000 (20:22 +0000)]
Comment nit to help Devel::Cover, spotted by Steve Peters
p4raw-id: //depot/perl@24828
Nicholas Clark [Mon, 13 Jun 2005 20:18:57 +0000 (20:18 +0000)]
Croak if an attempt is made to modify PL_strtab
(er, TODO - these should be in perldiag)
p4raw-id: //depot/perl@24827
Nicholas Clark [Mon, 13 Jun 2005 20:17:56 +0000 (20:17 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24826
Vadim Konovalov [Mon, 13 Jun 2005 15:41:41 +0000 (11:41 -0400)]
Re: Change 24806: improve static build for win32/Makefile
Message-Id: <
1118691701.6333.32.camel@mdk10>
p4raw-id: //depot/perl@24825
Nicholas Clark [Mon, 13 Jun 2005 16:24:57 +0000 (16:24 +0000)]
With shared hash key scalars now accessing the hash via the PVX, you
can't fake them with regular PVIVs. So fake method calls have to use
real shared hask key scalars.
p4raw-id: //depot/perl@24824
John Peacock [Mon, 6 Jun 2005 05:18:21 +0000 (01:18 -0400)]
Bring bleadperl up to version.pm
Message-ID: <
42A414DD.8090504@rowman.com>
p4raw-id: //depot/perl@24823
Offer Kaye [Thu, 2 Jun 2005 09:14:53 +0000 (12:14 +0300)]
Re: [perl #36047] perlmod.pod/CLONESKIP error
Message-ID: <
56942505060123146e5eb1c2@mail.gmail.com>
p4raw-id: //depot/perl@24822
Nicholas Clark [Mon, 13 Jun 2005 11:48:05 +0000 (11:48 +0000)]
Change 24816 forgot to update makedef.pl
p4raw-id: //depot/perl@24821
Rafael Garcia-Suarez [Mon, 13 Jun 2005 11:28:43 +0000 (11:28 +0000)]
Make some variables global, to avoid some "will not stay
shared" warnings at compile time
p4raw-id: //depot/perl@24820
Nicholas Clark [Mon, 13 Jun 2005 09:43:18 +0000 (09:43 +0000)]
S_share_hek_flags can revert to returning a HEK
p4raw-id: //depot/perl@24819
Rafael Garcia-Suarez [Mon, 13 Jun 2005 09:13:43 +0000 (09:13 +0000)]
Remove MANIFEST for Compress::Zlib
p4raw-id: //depot/perl@24818
Rafael Garcia-Suarez [Mon, 13 Jun 2005 09:00:00 +0000 (09:00 +0000)]
Make SvUPGRADE always have the value '1'
Make sv_upgrade a void function
p4raw-id: //depot/perl@24817
Nicholas Clark [Mon, 13 Jun 2005 08:25:53 +0000 (08:25 +0000)]
We no longer need PL_shared_hek_table
p4raw-id: //depot/perl@24816
Rafael Garcia-Suarez [Mon, 13 Jun 2005 07:58:31 +0000 (07:58 +0000)]
Help "make distclean"
p4raw-id: //depot/perl@24815
Nicholas Clark [Sun, 12 Jun 2005 23:40:55 +0000 (23:40 +0000)]
Clone all shared string PVs as shared string PVs (now that we can do
it very efficiently)
p4raw-id: //depot/perl@24814
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