Craig A. Berry [Tue, 11 Jan 2005 21:01:27 +0000]
follow-up to #23765
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41E49307.7080900@mac.com>
p4raw-id: //depot/perl@23783
Nicholas Clark [Tue, 11 Jan 2005 19:10:20 +0000]
Fix bug 32294 - index()/rindex() ignore UTF8 flag
(for cases of mixed UTF8/bytes)
Test code based on bug report by John Gardiner Myers
p4raw-id: //depot/perl@23782
Robin Barker [Tue, 11 Jan 2005 15:48:49 +0000]
follow-up to 23767
Message-ID: <
533D273D4014D411AB1D00062938C4D90849C56A@hotel.npl.co.uk>
p4raw-id: //depot/perl@23781
Marcus Holland-Moritz [Mon, 10 Jan 2005 19:25:27 +0000]
Remove PERL_FLEXIBLE_EXCEPTIONS code.
p4raw-id: //depot/perl@23780
Craig A. Berry [Sun, 9 Jan 2005 17:46:41 +0000]
t/op/split.t #11 nit on VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41E1C261.5020100@mac.com>
Date: Sun, 09 Jan 2005 17:46:41 -0600
p4raw-id: //depot/perl@23779
Steve Hay [Mon, 10 Jan 2005 11:53:10 +0000]
Need to close files before unlinking them on Win32
(Various files created by test programs are left behind otherwise,
and distclean doesn't clean them up)
p4raw-id: //depot/perl@23778
Steve Hay [Mon, 10 Jan 2005 10:28:00 +0000]
Make Win32's distclean target clean up properly
p4raw-id: //depot/perl@23777
Steve Hay [Mon, 10 Jan 2005 09:45:50 +0000]
Get $Config{osvers} filled in on Win32
p4raw-id: //depot/perl@23776
Craig A. Berry [Sun, 9 Jan 2005 17:52:09 +0000]
follow-up to #23748, -Duselargefiles on VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41E1C3A9.9080900@mac.com>
p4raw-id: //depot/perl@23775
Nicholas Clark [Sun, 9 Jan 2005 23:42:25 +0000]
Shorter source code in pp_gelem. (But it compiles to the same size)
p4raw-id: //depot/perl@23774
Nicholas Clark [Sun, 9 Jan 2005 21:50:28 +0000]
If we know the length of the string constant, save a strlen()
p4raw-id: //depot/perl@23773
Nicholas Clark [Sun, 9 Jan 2005 21:26:40 +0000]
savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
strlen(). Add savesvpv(sv), which gets the length from the SV,
and returns a copy of its PV.
p4raw-id: //depot/perl@23772
Nicholas Clark [Sun, 9 Jan 2005 19:42:30 +0000]
Can pass in a length here without introducing a bug. Might save
a strlen()
p4raw-id: //depot/perl@23771
Nicholas Clark [Sun, 9 Jan 2005 15:05:33 +0000]
Pull the am-I-utf8-or-not logic into one place (S_newSV_maybe_utf8)
as I think that it will be needed for utf8 soft references.
p4raw-id: //depot/perl@23770
Steve Hay [Fri, 7 Jan 2005 17:25:35 +0000]
Disable PERL_MALLOC and DEBUG_MSTATS in win32/makefile.mk by default
and force PERL_MALLOC off if USE_IMP_SYS is on
This brings makefile.mk into line with Makefile in this regard
(PERL_MALLOC cannot currently be used with USE_IMP_SYS, e.g. see:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-07/msg00465.html
so it is sensible to enforce this, and to not have the default set
to a configuration that isn't allowed)
p4raw-id: //depot/perl@23769
Jim Cromie [Mon, 3 Jan 2005 06:36:16 +0000]
Re: [PATCH] Remove Carp from warnings.pm
Message-ID: <
cfe85dfa05010305367445dee6@mail.gmail.com>
p4raw-id: //depot/perl@23768
Robin Barker [Wed, 5 Jan 2005 11:55:09 +0000]
to improve -DCHECK_FORMAT
Message-ID: <
533D273D4014D411AB1D00062938C4D90849C55A@hotel.npl.co.uk>
p4raw-id: //depot/perl@23767
Nicholas Clark [Fri, 7 Jan 2005 12:46:07 +0000]
Stage 1 of utf8 support for soft references.
Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags
Add gv_fetchsv to look up a GV by SV rather than a char * pointer
Provide a backwards compatability gv_fetchpv
Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing
the pointer from an SV
All tests still pass.
p4raw-id: //depot/perl@23766
Craig A. Berry [Thu, 6 Jan 2005 17:32:01 +0000]
make lib/warnings.t use t/test.pl
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41DDCA71.1080704@mac.com>
Date: Thu, 06 Jan 2005 17:32:01 -0600
p4raw-id: //depot/perl@23765
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000]
Fix win32/config.*'s cc, ld and other related values
cc and ld themselves always get replaced with correct values anyway
so we just provide example values as per other similar settings
Other related values (ccname, cpp, cpprun, cppstdin) need to use the
correct ~keyword~, namely ~cc~, not ~CC~, otherwise they do not get set
Subject: [PATCH] Re: lib/Config/Extensions.t fails on Win32
Date: Wed, 5 Jan 2005 10:01:41 -0800
Message-ID: <
20050105180141.GA676@efn.org>
Subject: Re: [PATCH] Re: lib/Config/Extensions.t fails on Win32
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Thu, 6 Jan 2005 11:53:11 -0800
Message-ID: <
20050106195311.GC1300@efn.org>
p4raw-id: //depot/perl@23764
Nicholas Clark [Thu, 6 Jan 2005 17:42:59 +0000]
Add TODO tests for UTF8 encoded soft references
p4raw-id: //depot/perl@23763
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000]
Allow static linking core extensions on Win32 with MinGW
Subject: [PATCH] Re: lib/Config/Extensions.t fails on Win32
Message-ID: <
20050105180141.GA676@efn.org>
p4raw-id: //depot/perl@23762
Rafael Garcia-Suarez [Thu, 6 Jan 2005 15:49:39 +0000]
Silence a compilation warning
p4raw-id: //depot/perl@23761
Nicholas Clark [Thu, 6 Jan 2005 14:59:17 +0000]
Turn barewords into strings to run under strict subs.
Run under strict refs outside the soft reference tests.
p4raw-id: //depot/perl@23760
Nicholas Clark [Thu, 6 Jan 2005 14:34:24 +0000]
All tests now use test.pl
p4raw-id: //depot/perl@23759
Nicholas Clark [Thu, 6 Jan 2005 11:44:08 +0000]
Start converting t/op/ref.t to use test.pl
p4raw-id: //depot/perl@23758
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000]
Fix extensions config fields on Win32 to be as they are on Unix
Subject: [PATCH] Re: lib/Config/Extensions.t fails on Win32
Message-ID: <
20050105180141.GA676@efn.org>
p4raw-id: //depot/perl@23757
Nicholas Clark [Wed, 5 Jan 2005 21:58:15 +0000]
Correct a Greengrocer's apostrophe.
p4raw-id: //depot/perl@23756
Nicholas Clark [Wed, 5 Jan 2005 21:36:26 +0000]
Foolishly I committed change 23753 before remembering to test without
ithreads. No tests => bugs. This should fix them.
p4raw-id: //depot/perl@23755
Nicholas Clark [Wed, 5 Jan 2005 20:14:02 +0000]
Error-free constant folding is a TODO
p4raw-id: //depot/perl@23754
Nicholas Clark [Wed, 5 Jan 2005 19:44:28 +0000]
Turn INIT_TLS_AND_INTERP into a static function
p4raw-id: //depot/perl@23753
Nicholas Clark [Wed, 5 Jan 2005 16:27:19 +0000]
Shave off the explict 1; from the end of lib/Config.pm
p4raw-id: //depot/perl@23752
Robin Barker [Wed, 5 Jan 2005 11:58:54 +0000]
unnecessary rmdir in Makefile
Message-ID: <
533D273D4014D411AB1D00062938C4D90849C55C@hotel.npl.co.uk>
p4raw-id: //depot/perl@23751
Robin Barker [Wed, 5 Jan 2005 12:04:25 +0000]
gcc and ld in Configure
Message-ID: <
533D273D4014D411AB1D00062938C4D90849C55D@hotel.npl.co.uk>
p4raw-id: //depot/perl@23750
Gisle Aas [Wed, 5 Jan 2005 01:09:51 +0000]
Avoid segfault when pthread_key_create fails
Message-ID: <lracroz1gg.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@23749
Craig A. Berry [Tue, 4 Jan 2005 21:48:54 +0000]
-Duselargefiles for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41DB63A6.7040504@mac.com>
Date: Tue, 04 Jan 2005 21:48:54 -0600
p4raw-id: //depot/perl@23748
Nicholas Clark [Wed, 5 Jan 2005 10:10:14 +0000]
Rafael spotted that my changes caused warnings. So clean up.
p4raw-id: //depot/perl@23747
Nicholas Clark [Tue, 4 Jan 2005 23:07:25 +0000]
Update copyright years.
p4raw-id: //depot/perl@23746
Nicholas Clark [Tue, 4 Jan 2005 19:32:01 +0000]
Make the switch statement discriminate similar names more
efficiently.
p4raw-id: //depot/perl@23745
Nicholas Clark [Tue, 4 Jan 2005 16:20:43 +0000]
Check all attributes in modify_SV_attributes are recognised.
Fix bug where 'assertion' was always rejected as invalid.
p4raw-id: //depot/perl@23744
Nicholas Clark [Tue, 4 Jan 2005 12:46:56 +0000]
Use the new ${^UTF8LOCALE} to make the test reliable.
p4raw-id: //depot/perl@23743
Robin Barker [Tue, 4 Jan 2005 12:32:29 +0000]
RE: [perl #32660] INT2PTR not mentioned in perlxs(1)
Message-ID: <
533D273D4014D411AB1D00062938C4D90849C553@hotel.npl.co.uk>
p4raw-id: //depot/perl@23742
Nicholas Clark [Tue, 4 Jan 2005 11:27:57 +0000]
Add ${^UTF8LOCALE} to give perl space access to PL_utf8locale
p4raw-id: //depot/perl@23741
Steve Hay [Tue, 4 Jan 2005 10:56:55 +0000]
Bring win32/config.* into line with win32/config_H.*
so that "perl -V:usemallocwrap" tells us what the configuration is
instead of saying 'UNKNOWN'.
p4raw-id: //depot/perl@23740
Tels [Sat, 1 Jan 2005 18:59:51 +0000]
Math::BigInt v1.74, Math::BigRat v0.14, bignum v0.16
Message-Id: <
200501011859.52858@bloodgate.com>
p4raw-id: //depot/perl@23739
Rafael Garcia-Suarez [Tue, 4 Jan 2005 08:05:16 +0000]
Happy new year
p4raw-id: //depot/perl@23738
Nicholas Clark [Mon, 3 Jan 2005 21:17:28 +0000]
Return an immortal from attributes::_warn_reserved (a private
function). (saves creating a new IV)
p4raw-id: //depot/perl@23736
Nicholas Clark [Mon, 3 Jan 2005 20:58:09 +0000]
Change dXSTARGET to dXSTARG as recommended by Spider Boardman.
p4raw-id: //depot/perl@23735
Nicholas Clark [Mon, 3 Jan 2005 18:54:22 +0000]
D'oh! Spurious aTHX_. Here was I thinking that my test build was
threaded, but "oh no it isn't!" :-(
p4raw-id: //depot/perl@23733
Alexey Tourbin [Tue, 28 Dec 2004 14:25:42 +0000]
Integrate a patch from Gentoo for uclibc support.
See :
Subject: Re: Static linking notes --- perl5.8.6 and uClibc
Message-ID: <
20041228112542.GB21037@solemn.turbinal.org>
p4raw-id: //depot/perl@23732
Nicholas Clark [Sun, 2 Jan 2005 23:18:07 +0000]
Remove compiler warnings.
p4raw-id: //depot/perl@23731
Nicholas Clark [Sun, 2 Jan 2005 22:49:49 +0000]
Change 23727 broke code that relied on \ being escaped.
Fix this. *Everything* should work now.
p4raw-id: //depot/perl@23730
Nicholas Clark [Sun, 2 Jan 2005 07:46:12 +0000]
Splitting the -n/-p code and concatenating strings generates
smaller object code.
p4raw-id: //depot/perl@23729
Nicholas Clark [Sat, 1 Jan 2005 21:34:52 +0000]
Concatenate some string constants
p4raw-id: //depot/perl@23728
Nicholas Clark [Sat, 1 Jan 2005 21:13:53 +0000]
Use Rafael's sick trick of ASCII NUL as a q'' delimiter to save a
lot of quoting code
p4raw-id: //depot/perl@23727
Nicholas Clark [Sat, 1 Jan 2005 20:48:31 +0000]
Probably should be using *pvn rather than *pv forms for speed in
toke.c (to save a strlen())
p4raw-id: //depot/perl@23726
Nicholas Clark [Sat, 1 Jan 2005 20:26:27 +0000]
strEQ/strNE of 1 character strings seems better hand inlined,
because it generates smaller object code (as well as being
faster than a true function call)
p4raw-id: //depot/perl@23725
Nicholas Clark [Sat, 1 Jan 2005 17:15:58 +0000]
Not all the world's a VAX, er ASCII, so don't make assumptions.
Tweak is_gv_magical's string comparisons to produce smaller object
code.
First 2005 copyright notice.
p4raw-id: //depot/perl@23724
Nicholas Clark [Sat, 1 Jan 2005 13:54:33 +0000]
Change 23714 accidentally broke t/io/layers.t when testing with
UTF8 locales and the -C flag. When UTF8 is flagged as enabled
based on the locale, we have no perl space access to PL_utf8locale
so assume for the moment that UTF8 is never conditionally enabled.
p4raw-id: //depot/perl@23723
Nicholas Clark [Fri, 31 Dec 2004 23:04:47 +0000]
Skip the switch statement entirely if the pointer is null, rather
than the old pointless switch on '\0'. Also skip re-comparing the
first character. Faster, and generates terser object code.
p4raw-id: //depot/perl@23722
Nicholas Clark [Fri, 31 Dec 2004 22:46:25 +0000]
Doing the strnEQ char by char for 2 and 3 character strings
generates a smaller object file, and will be faster.
p4raw-id: //depot/perl@23721
Nicholas Clark [Fri, 31 Dec 2004 21:41:25 +0000]
Improve documentation for is_gv_magical, and split the switch
statement into 2 parts, lengths > 1 and lengths <= 1
This should cause most variables (lower case, multicharacter)
to escape the function without passing through a switch table.
p4raw-id: //depot/perl@23720
Nicholas Clark [Fri, 31 Dec 2004 21:02:59 +0000]
Because name is always NUL terminated we can incorporate length
0 names in the switch statement for length 1.
p4raw-id: //depot/perl@23719
Nicholas Clark [Fri, 31 Dec 2004 20:25:52 +0000]
Generate smaller object code by using a single switch statement
for determining which names are forced into main::
p4raw-id: //depot/perl@23718
Nicholas Clark [Fri, 31 Dec 2004 18:31:18 +0000]
Tidy up comments in change 23716
p4raw-id: //depot/perl@23717
Nicholas Clark [Fri, 31 Dec 2004 18:22:54 +0000]
Refactor gv_fetchpv so that the overwhelmingly common case
(variable names starting with a lower case letter or _, longer
than one character) get out of the function very quickly.
(Without even passing through a switch statement jump table)
Also fixes bug 33631
p4raw-id: //depot/perl@23716
Craig A. Berry [Fri, 31 Dec 2004 09:31:11 +0000]
randbits and randfunc for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41D570BF.8010409@mac.com>
Date: Fri, 31 Dec 2004 09:31:11 -0600
p4raw-id: //depot/perl@23715
Nicholas Clark [Fri, 31 Dec 2004 13:14:18 +0000]
Bug in t/io/layers.t spotted by Ignasi Roca CarriĆ³
p4raw-id: //depot/perl@23714
Marcus Holland-Moritz [Thu, 30 Dec 2004 18:29:02 +0000]
Mention ppport.h and its --api-info switch in perlguts.
p4raw-id: //depot/perl@23712
Gisle Aas [Thu, 30 Dec 2004 03:39:36 +0000]
Allow Configure's d_attribut to be set from the command line
Message-ID: <lrllbgypzb.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@23711
Nicholas Clark [Wed, 29 Dec 2004 21:41:04 +0000]
Thinko in the description of Config::Extensions
p4raw-id: //depot/perl@23708
Nicholas Clark [Wed, 29 Dec 2004 21:25:29 +0000]
Experimental module intended to simplify core regression tests
p4raw-id: //depot/perl@23707
Nicholas Clark [Wed, 29 Dec 2004 21:24:30 +0000]
Skip tests that binmode :utf8 if there is no perlio
p4raw-id: //depot/perl@23706
Nicholas Clark [Wed, 29 Dec 2004 21:04:43 +0000]
Ooops. Fix unitialised variable
p4raw-id: //depot/perl@23705
Nicholas Clark [Wed, 29 Dec 2004 19:47:12 +0000]
Oops. Forgot to uncomment the last set of Unicode values for
testing.
p4raw-id: //depot/perl@23704
Nicholas Clark [Wed, 29 Dec 2004 19:00:12 +0000]
read (and presuambly sysread) would expose the UTF8 internals when
reading from a byte orientated file handle into a UTF8 scalar.
p4raw-id: //depot/perl@23703
Nicholas Clark [Wed, 29 Dec 2004 17:20:29 +0000]
Add a lot of tests for combinations of values, offsets and lengths
p4raw-id: //depot/perl@23702
Nicholas Clark [Wed, 29 Dec 2004 16:28:58 +0000]
Convert op/read.t to use test.pl and make it stricture compliant.
p4raw-id: //depot/perl@23701
Marcus Holland-Moritz [Wed, 29 Dec 2004 13:46:36 +0000]
Upgrade to Devel::PPPort 3.04
p4raw-id: //depot/perl@23700
H.Merijn Brand [Wed, 29 Dec 2004 12:41:14 +0000]
Rebuilt after backport start for 23674, 23675, and 23676
p4raw-id: //depot/perl@23696
Stephen McCamant [Tue, 28 Dec 2004 13:49:19 +0000]
Cleanup ext/B tests for -w and to run separately
Message-ID: <16849.54495.424654.896889@apocalypse.OCF.Berkeley.EDU>
p4raw-id: //depot/perl@23691
Nicholas Clark [Tue, 28 Dec 2004 10:25:28 +0000]
Make Config.t warnings and strictures clean
p4raw-id: //depot/perl@23688
Stas Bekman [Sun, 26 Dec 2004 19:02:06 +0000]
[patch sv.c] comment fix
Message-ID: <
41CF50FE.5070307@stason.org>
Date: Sun, 26 Dec 2004 19:02:06 -0500
p4raw-id: //depot/perl@23683
Nicholas Clark [Mon, 27 Dec 2004 15:48:24 +0000]
Add investigating self tie segfaults to the TODO
p4raw-id: //depot/perl@23682
perl-5.8.0@ton.iguana.be [Fri, 24 Dec 2004 00:14:19 +0000]
[perl #33173] shellwords.pl and tainting
From: perl-5.8.0@ton.iguana.be (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33173-103504.3.
54366755060383@perl.org>
p4raw-id: //depot/perl@23681
Ton Hospel [Thu, 23 Dec 2004 17:55:13 +0000]
Missign STATEMENT brackets in PUSHMARK
Message-Id: <cqf0q1$9cc$1@post.home.lunix>
p4raw-id: //depot/perl@23680
Nicholas Clark [Fri, 24 Dec 2004 10:33:32 +0000]
Don't do the ... expansion on archlib, sitelib etc, given that
everyone should already be using archlibext etc
Add the extra special case code for otherlibdirs
p4raw-id: //depot/perl@23679
Stas Bekman [Thu, 23 Dec 2004 16:28:06 +0000]
Re: [patch perlapi doc] sv_magic
Message-ID: <
41CB3866.1080307@stason.org>
p4raw-id: //depot/perl@23678
Craig A. Berry [Thu, 23 Dec 2004 19:07:29 +0000]
Re: Smoke [5.9.2] 23675 FAIL(m) openvms E8.2 (Alpha/4 cpu)
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41CB6BD1.8030207@mac.com>
Date: Thu, 23 Dec 2004 19:07:29 -0600
p4raw-id: //depot/perl@23677
Nicholas Clark [Thu, 23 Dec 2004 23:15:24 +0000]
Bother. It helps if you also propagate the new entry to config.sh
p4raw-id: //depot/perl@23676
Nicholas Clark [Thu, 23 Dec 2004 22:14:42 +0000]
Oops. You can't add new entries to config_h.SH without making some
sort of corresponding defined/undefined value in config.sh somehow.
p4raw-id: //depot/perl@23675
Nicholas Clark [Thu, 23 Dec 2004 21:38:59 +0000]
Relocatable @INC entries for Unix.
(With appropriate fixups in Config.pm to complete the illusion)
Currently can only be enabled with hackery to config.sh
TODO - proper Configure support, and support for otherlibdirs in
Config.pm
p4raw-id: //depot/perl@23674
H.Merijn Brand [Thu, 23 Dec 2004 21:04:37 +0000]
23669 was not such a good idea. More research needed.
p4raw-id: //depot/perl@23673
Rafael Garcia-Suarez [Thu, 23 Dec 2004 17:21:37 +0000]
The "Setuid script not plain file" error wasn't documented.
p4raw-id: //depot/perl@23672
Sam Tregar [Sun, 19 Dec 2004 14:40:25 +0000]
Data::Dumper Freezer fixes
Message-ID: <Pine.LNX.4.61.
0412191434490.7660@hillmont.dreamhost.com>
and bump Data::Dumper's VERSION
p4raw-id: //depot/perl@23671
Nicholas Clark [Wed, 22 Dec 2004 23:15:07 +0000]
Fix typo
p4raw-id: //depot/perl@23670
H.Merijn Brand [Wed, 22 Dec 2004 20:16:53 +0000]
Just to re-sync with metaconfig output. No real changes.
p4raw-id: //depot/perl@23669
Rafael Garcia-Suarez [Wed, 22 Dec 2004 08:46:21 +0000]
Move the definition of the S_procself_val() function before
the point where it's used
p4raw-id: //depot/perl@23668
Nicholas Clark [Tue, 21 Dec 2004 20:56:58 +0000]
Move the setting of $^X ahead of the initialisation of @INC
p4raw-id: //depot/perl@23667
Nicholas Clark [Tue, 21 Dec 2004 20:31:57 +0000]
$#a>>=1 relies on malloc wrap to avoid the segfault, so need to
skip the test on platforms where it's not available
p4raw-id: //depot/perl@23666