Nicholas Clark [Sun, 30 Apr 2006 11:14:04 +0000]
index and rindex couldn't correctly handle surprises from UTF-8
overloading.
p4raw-id: //depot/perl@28022
Nicholas Clark [Sun, 30 Apr 2006 10:58:11 +0000]
Document SvGAMAGIC(), and its significance w.r.t. the side effects of
inadvertently calling magic and overloading too often.
p4raw-id: //depot/perl@28021
Nicholas Clark [Sat, 29 Apr 2006 23:35:52 +0000]
Coverity disliked us passing a negative length to vsnprintf().
p4raw-id: //depot/perl@28020
Nicholas Clark [Sat, 29 Apr 2006 23:33:36 +0000]
syswrite couldn't correctly handle surprises from UTF-8 overloading.
As part of fixing this, syswrite now tries to take advantage of the
UTF-8 cache logic for lengths and offsets on regular scalars.
p4raw-id: //depot/perl@28019
Nicholas Clark [Sat, 29 Apr 2006 23:32:06 +0000]
More tests for syswrite with UTF-8 data.
p4raw-id: //depot/perl@28018
Nicholas Clark [Sat, 29 Apr 2006 21:54:38 +0000]
It should never be possible for SvGMAGICAL() to be true on SVt_IV.
p4raw-id: //depot/perl@28017
Nicholas Clark [Sat, 29 Apr 2006 17:38:08 +0000]
print couldn't correctly handle surprises from UTF-8 overloading.
p4raw-id: //depot/perl@28016
Nicholas Clark [Sat, 29 Apr 2006 17:31:27 +0000]
Add a cross reference to bytes_from_utf8() in the documentation for
utf8_to_bytes(). Regenerate perlapi.pod.
p4raw-id: //depot/perl@28015
Nicholas Clark [Sat, 29 Apr 2006 16:07:31 +0000]
There were more ways to break uc/lc/ucfirst/lcfirst even without
use 'locale'; so test for them too. Correct the skip count.
p4raw-id: //depot/perl@28014
Nicholas Clark [Sat, 29 Apr 2006 15:55:51 +0000]
lcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
returned by overloaded stringification.
p4raw-id: //depot/perl@28013
Nicholas Clark [Sat, 29 Apr 2006 14:05:55 +0000]
uc plus an 8 bit locale could get confused by UTF-8 values returned by
overloaded stringification.
p4raw-id: //depot/perl@28012
Nicholas Clark [Sat, 29 Apr 2006 13:43:26 +0000]
lc plus an 8 bit locale could mangle UTF-8 values returned by
overloaded stringification.
p4raw-id: //depot/perl@28011
Jarkko Hietaniemi [Sat, 29 Apr 2006 11:13:24 +0000]
more -ansi -pedantic cleanliness
Message-ID: <
44532024.9070303@gmail.com>
p4raw-id: //depot/perl@28010
Randy W. Sims [Fri, 28 Apr 2006 15:31:55 +0000]
Re: [ANNOUNCE] Module::Build 0.28 -> CPAN
From: "Randy W. Sims" <ml-perl@thepierianspring.org>
Message-ID: <
44526DAB.8070408@thepierianspring.org>
p4raw-id: //depot/perl@28009
Jarkko Hietaniemi [Fri, 28 Apr 2006 22:58:58 +0000]
reduce gcc -ansi -pedantic noise plus a suggestion
Message-ID: <
44527402.8000506@gmail.com>
p4raw-id: //depot/perl@28008
Jarkko Hietaniemi [Fri, 28 Apr 2006 21:04:59 +0000]
two [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
Message-ID: <
4452594B.4040609@gmail.com>
p4raw-id: //depot/perl@28007
Nicholas Clark [Fri, 28 Apr 2006 16:34:14 +0000]
Fix bug 34297 (length of overloaded UTF-8 strings)
p4raw-id: //depot/perl@28006
Steve Peters [Fri, 28 Apr 2006 16:15:25 +0000]
Typo in MANIFEST from change #27997. Mustn't touch Perl before coffee.
p4raw-link: @27997 on //depot/perl:
dc8021d3927849eb56a64fd135702ae6516a52e2
p4raw-id: //depot/perl@28005
Steve Peters [Fri, 28 Apr 2006 15:35:37 +0000]
Added Changes file left out from change #28001.
p4raw-link: @28001 on //depot/perl:
ff235dd6d6f5e19e11c9202d4a82fb8e5fbadadd
p4raw-id: //depot/perl@28004
Yves Orton [Thu, 27 Apr 2006 23:30:00 +0000]
Merge WinCE and Win32 directories -- Initial patch
Message-ID: <
9b18b3110604271430k4de84685jec6535ded195ed94@mail.gmail.com>
p4raw-id: //depot/perl@28003
Steve Peters [Fri, 28 Apr 2006 13:34:39 +0000]
Upgrade to Pathtools-3.18
p4raw-id: //depot/perl@28001
David Landgren [Fri, 28 Apr 2006 14:27:39 +0000]
t/op/defins.pl using test.pl
Message-ID: <
44520A3B.1080707@landgren.net>
p4raw-id: //depot/perl@28000
David Landgren [Fri, 28 Apr 2006 15:03:39 +0000]
t/op/delete.t using test.pl
Message-ID: <
445212AB.4080404@landgren.net>
p4raw-id: //depot/perl@27999
David Landgren [Fri, 28 Apr 2006 13:56:30 +0000]
t/op/auto.pl using test.pl
Message-ID: <
445202EE.6000604@landgren.net>
p4raw-id: //depot/perl@27998
Steve Peters [Fri, 28 Apr 2006 13:29:41 +0000]
Upgrade to Module-Build-0.28
p4raw-id: //depot/perl@27997
Nicholas Clark [Fri, 28 Apr 2006 12:48:27 +0000]
Anton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
should just be using -pthread on the linker line.
This stops the new taint tests looping infinitely. It also seems to
cure the TODO test in posix.t - masked SIGINT is now received.
p4raw-id: //depot/perl@27995
Jerry D. Hedden [Wed, 26 Apr 2006 11:24:05 +0000]
threads - miscellaneous
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <
20060426112405.fb30e530d17747c2b054d625b8945d88.4331e666e7.wbe@email.secureserver.net>
p4raw-id: //depot/perl@27994
David Landgren [Thu, 27 Apr 2006 18:25:56 +0000]
t/op/sort.t using test.pl
Message-ID: <
4450F094.2010907@landgren.net>
p4raw-id: //depot/perl@27993
Andy Lester [Thu, 27 Apr 2006 10:31:56 +0000]
Removing another context parm
Message-ID: <
20060427153156.GA11445@petdance.com>
p4raw-id: //depot/perl@27992
David Landgren [Thu, 27 Apr 2006 19:13:28 +0000]
t/op/loopctl.t using test.pl
Message-ID: <
4450FBB8.8070203@landgren.net>
p4raw-id: //depot/perl@27991
Jarkko Hietaniemi [Thu, 27 Apr 2006 21:18:30 +0000]
dVAR (-DPERL_GLOBAL_STRUCT_PRIVATE) update
Message-ID: <
44510AF6.6040603@gmail.com>
p4raw-id: //depot/perl@27990
Rafael Garcia-Suarez [Fri, 28 Apr 2006 08:41:25 +0000]
Typo fix in perlretut by Simon Taylor
p4raw-id: //depot/perl@27989
Rafael Garcia-Suarez [Fri, 28 Apr 2006 07:58:16 +0000]
Fix typo in function call
p4raw-id: //depot/perl@27988
Jarkko Hietaniemi [Tue, 25 Apr 2006 18:23:39 +0000]
Re: [PATCH] use snprintf/strlcpy/strlcat when useful
Message-ID: <
444E3EFB.8020503@gmail.com>
p4raw-id: //depot/perl@27987
Dave Mitchell [Thu, 27 Apr 2006 23:15:02 +0000]
[perl #39012] another REIFY bug
p4raw-id: //depot/perl@27986
Steve Peters [Thu, 27 Apr 2006 18:06:12 +0000]
Upgrade to ExtUtils-Install-1.39
p4raw-id: //depot/perl@27983
Steve Peters [Thu, 27 Apr 2006 17:53:11 +0000]
Upgrade to Encode-2.15
p4raw-id: //depot/perl@27982
Andy Lester [Thu, 27 Apr 2006 00:32:15 +0000]
Removing unused context
Message-ID: <
20060427053215.GA31445@petdance.com>
p4raw-id: //depot/perl@27976
Marcus Holland-Moritz [Wed, 26 Apr 2006 19:18:09 +0000]
Change type of temporary padoff_du used in dUNDERBAR
from I32 to PADOFFSET, which is more correct (and fixes
a warning in Devel::PPPort).
p4raw-id: //depot/perl@27968
Marcus Holland-Moritz [Mon, 24 Apr 2006 23:20:38 +0000]
Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <
20060424232038.7550f9b6@r2d2>
p4raw-id: //depot/perl@27962
Jerry D. Hedden [Tue, 25 Apr 2006 07:50:05 +0000]
threads - consolidate XS functions
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <
20060425075005.fb30e530d17747c2b054d625b8945d88.e23f2fed42.wbe@email.secureserver.net>
p4raw-id: //depot/perl@27961
Steve Hay [Tue, 25 Apr 2006 16:23:38 +0000]
Make Module-Build aware of new Test-Harness output
See also:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00755.html
p4raw-id: //depot/perl@27960
Nicholas Clark [Tue, 25 Apr 2006 12:51:40 +0000]
Coverity has started to notice another inconsistency in our NULL
pointer checking.
p4raw-id: //depot/perl@27959
Andy Lester [Mon, 24 Apr 2006 13:44:51 +0000]
use NOOP macro
Message-ID: <
20060424184451.GA1479@petdance.com>
p4raw-id: //depot/perl@27958
Jerry D. Hedden [Mon, 24 Apr 2006 13:00:23 +0000]
Continuing threads sync
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <
20060424130023.fb30e530d17747c2b054d625b8945d88.969ed54130.wbe@email.secureserver.net>
p4raw-id: //depot/perl@27957
Nicholas Clark [Mon, 24 Apr 2006 16:38:09 +0000]
Perl_unpack_str() is a mathom!
p4raw-id: //depot/perl@27956
Steve Peters [Mon, 24 Apr 2006 16:31:24 +0000]
Really bump the version of File::Find.
p4raw-id: //depot/perl@27955
Steve Peters [Mon, 24 Apr 2006 16:29:59 +0000]
Reverting change #27953, as it appears that File::Find has
localized the C<$_> usable by the wanted function since
version 1.04 (change #18501, to be exact). Update the
docs to express this change. Finally, bump the version.
p4raw-link: @27953 on //depot/perl:
668a78bfe3bf9a6d16f5b059341fb64b1e120158
p4raw-link: @18501 on //depot/perl:
17ab9c147afa44f9f620bca432b3948e42711043
p4raw-id: //depot/perl@27954
David Landgren [Mon, 24 Apr 2006 13:02:02 +0000]
Re: [perl #38965] File::Find documentation - is "Don't modify thesevariables" still valid?
Message-ID: <
444CB02A.2000604@landgren.net>
p4raw-id: //depot/perl@27953
Yves Orton [Sun, 23 Apr 2006 21:10:34 +0000]
Re: recursion now removed from the regex engine
Message-ID: <
9b18b3110604231210w5deff59el3a1a79c98f34e0fd@mail.gmail.com>
Date: Sun, 23 Apr 2006 21:10:34 +0200
p4raw-id: //depot/perl@27952
Martin Hasch [Fri, 10 Mar 2006 20:10:49 +0000]
[perl #38709] Opening '|-' triggers unjustified taint check
From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38709-130993.2.
89182805885773@perl.org>
p4raw-id: //depot/perl@27951
Rafael Garcia-Suarez [Mon, 24 Apr 2006 11:59:25 +0000]
Add regression test for bug #38475
p4raw-id: //depot/perl@27950
Nicholas Clark [Mon, 24 Apr 2006 10:52:09 +0000]
Change 27947 forgot to remove one now-unneeded cast.
p4raw-id: //depot/perl@27949
Bas van Sisseren [Thu, 9 Feb 2006 06:33:51 +0000]
[perl #38475] attribute multiline fix (in tokenizer)
From: bas@quarantainenet.nl (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38475-129844.11.
5904582303176@perl.org>
p4raw-id: //depot/perl@27948
Nicholas Clark [Mon, 24 Apr 2006 09:40:58 +0000]
Following change 27942 it's clear that the return type of
glob_2inpuv_number() should change. Rename it and glob_2inpuv() to
reflect what they do.
p4raw-id: //depot/perl@27947
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000]
Cleanup some gcc warnings
Third and fourth patches from:
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <
20060423044704.6a383ee8@r2d2>
p4raw-id: //depot/perl@27946
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000]
A couple of casts to PADOFFSET.
2nd patch from :
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <
20060423044704.6a383ee8@r2d2>
p4raw-id: //depot/perl@27945
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000]
Ensure GvNAME doesn't return NULL
First patch from :
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <
20060423044704.6a383ee8@r2d2>
p4raw-id: //depot/perl@27944
Andy Lester [Sun, 23 Apr 2006 20:45:09 +0000]
doop.c consting, take 2
Message-ID: <
20060424014509.GA29642@petdance.com>
p4raw-id: //depot/perl@27943
Andy Lester [Sun, 23 Apr 2006 21:12:39 +0000]
Refactor S_glob_2inpuv
Message-ID: <
20060424021239.GA5449@petdance.com>
p4raw-id: //depot/perl@27942
Andy Lester [Sun, 23 Apr 2006 21:50:27 +0000]
Inlining static funcs in perl.c
Message-ID: <
20060424025027.GA25998@petdance.com>
p4raw-id: //depot/perl@27941
Nicholas Clark [Sun, 23 Apr 2006 20:48:25 +0000]
Assimilate Test::Harness 2.57_06
p4raw-id: //depot/perl@27940
Joshua Rodd [Sat, 22 Apr 2006 14:39:11 +0000]
Update to AUTHORS file
Message-ID: <
20060422183911.GA19435@rodd.us>
p4raw-id: //depot/perl@27939
Nicholas Clark [Sat, 22 Apr 2006 09:31:16 +0000]
"Don't Repeat Yourself" on the "We *really* need to overwrite these
symbols" section.
Minor tweaks to make it possible to use the code unchanged with 5.8.x
p4raw-id: //depot/perl@27938
Nicholas Clark [Fri, 21 Apr 2006 23:08:59 +0000]
Remove the enable_debugging member from the structure, and instead
decree that state & 1 indicates debugging. This is simpler.
p4raw-id: //depot/perl@27937
Nicholas Clark [Fri, 21 Apr 2006 21:40:49 +0000]
Use a struct to hold the regexp engine state information, to make
swapping possible between more two alternatives.
p4raw-id: //depot/perl@27936
Nicholas Clark [Fri, 21 Apr 2006 21:01:42 +0000]
Merge the install and uninstall routines.
p4raw-id: //depot/perl@27935
Nicholas Clark [Fri, 21 Apr 2006 20:38:15 +0000]
Refactor re.pm slightly. This has no change to documented behaviour,
but anyone mad enought to set ${^RE_DEBUG_FLAGS} and then do
no re 'Debug'; will now find that it will load the debuging version of
the regexp engine.
p4raw-id: //depot/perl@27934
Jerry D. Hedden [Thu, 20 Apr 2006 13:53:20 +0000]
Rework threads destruct call
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <
20060420135320.fb30e530d17747c2b054d625b8945d88.ef565d84db.wbe@email.secureserver.net>
p4raw-id: //depot/perl@27933
Alexey Toptygin [Thu, 20 Apr 2006 15:42:20 +0000]
Re: [perl #38904] Text::ParseWords doesn't always handle backslashes correctly
Message-ID: <Pine.NEB.4.62.
0604201539380.20332@otaku.freeshell.org>
p4raw-id: //depot/perl@27932
Nicholas Clark [Fri, 21 Apr 2006 12:46:43 +0000]
Why hide functions (and duplicate them) when you can just avoid
compiling them in the first place?
p4raw-id: //depot/perl@27931
Nicholas Clark [Fri, 21 Apr 2006 11:38:24 +0000]
Given that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING
build, we cannot assume that PL_reg_starttry isn't needed. So copy it
in Perl_ss_dup.
p4raw-id: //depot/perl@27930
Nicholas Clark [Thu, 20 Apr 2006 21:27:21 +0000]
Remove the last traces of explicitly setting HINT_LOCALIZE_HH from
perl modules.
p4raw-id: //depot/perl@27927
Yves Orton [Thu, 20 Apr 2006 22:36:08 +0000]
Re: TODO tests and test::harness
Message-ID: <
9b18b3110604201336k5a974f28h732a2819853b995@mail.gmail.com>
p4raw-id: //depot/perl@27925
Rafael Garcia-Suarez [Thu, 20 Apr 2006 20:24:46 +0000]
Add test boilerplate and use test.pl instead of Test::More
p4raw-id: //depot/perl@27923
Rafael Garcia-Suarez [Thu, 20 Apr 2006 20:22:23 +0000]
Add new tests for bug #32840 provided by David Landgren,
as a new file rxcode.t (they mostly test $^R for now)
p4raw-id: //depot/perl@27922
Nicholas Clark [Thu, 20 Apr 2006 18:51:02 +0000]
Tweak change 23256 to continue passing on 5.8.x
p4raw-id: //depot/perl@27919
Nicholas Clark [Thu, 20 Apr 2006 17:37:31 +0000]
Convert two ok()s to better constructions.
p4raw-id: //depot/perl@27918
Jerry D. Hedden [Wed, 19 Apr 2006 05:32:14 +0000]
[REPOST] [PATCH] Remove superfluous counter in threads
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <
20060419053214.fb30e530d17747c2b054d625b8945d88.4606123135.wbe@email.secureserver.net>
p4raw-id: //depot/perl@27917
Nicholas Clark [Thu, 20 Apr 2006 13:54:45 +0000]
Fix typo in the description of change 21323.
p4raw-id: //depot/perl@27913
Rafael Garcia-Suarez [Thu, 20 Apr 2006 12:59:50 +0000]
New test for the "Assignment to both a list and a scalar" error,
suggested by Stephen McCamant
p4raw-id: //depot/perl@27912
Dave Mitchell [Thu, 20 Apr 2006 12:33:09 +0000]
regmatch(): replace magic value -1000 with symbolic CHRTEST_VOID
p4raw-id: //depot/perl@27911
Andy Lester [Wed, 19 Apr 2006 23:16:53 +0000]
op_type shrinking
Message-ID: <
20060420041653.GA28523@petdance.com>
p4raw-id: //depot/perl@27910
Andy Lester [Wed, 19 Apr 2006 12:35:43 +0000]
regexec consting & localizing
Message-ID: <
20060419173543.GA8268@petdance.com>
p4raw-id: //depot/perl@27909
Andy Lester [Wed, 19 Apr 2006 23:44:01 +0000]
Localizing vars
Message-ID: <
20060420044401.GA2792@petdance.com>
p4raw-id: //depot/perl@27908
Dave Mitchell [Thu, 20 Apr 2006 00:30:53 +0000]
regmatch: merge the greedy and non-greedy branches of CURLYM
p4raw-id: //depot/perl@27907
Linda Walsh [Mon, 10 Apr 2006 18:53:46 +0000]
[perl #38892] PATCH: remove spurious warning from Benchmark.pm
From: Linda Walsh (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38892-132143.0.
516271519365361@perl.org>
p4raw-id: //depot/perl@27906
Steve Peters [Wed, 19 Apr 2006 16:32:26 +0000]
Changes to perlfaq8 "How do I find out if I'm running interactively
or not?" suggested by Slaven Rezic in RT #38901: perlfaq8 correction
p4raw-id: //depot/perl@27905
Steve Peters [Wed, 19 Apr 2006 14:57:36 +0000]
Add a TODO test for RT #1085: "what should be output of perl -we
'print do { foreach (1, 2) { 1; } }'"
p4raw-id: //depot/perl@27904
Dave Mitchell [Wed, 19 Apr 2006 13:56:07 +0000]
regmatch(): make IFMATCH use PUSH_STACK rather than fake recursion
p4raw-id: //depot/perl@27903
Rafael Garcia-Suarez [Wed, 19 Apr 2006 11:38:11 +0000]
Upgrade to Test::Harness 2.57_05
p4raw-id: //depot/perl@27902
Nicholas Clark [Wed, 19 Apr 2006 11:20:08 +0000]
newCONSTSUB needs to be robust in case CopFILE is NULL.
p4raw-id: //depot/perl@27901
Nicholas Clark [Wed, 19 Apr 2006 09:58:19 +0000]
Oops. Need a macro to convert cv_ckproto() to cv_ckproto_len().
p4raw-id: //depot/perl@27900
Rafael Garcia-Suarez [Wed, 19 Apr 2006 09:34:48 +0000]
There's a macro to get ${^RE_DEBUG_FLAGS} when debugging,
so use it (and this fixes a valgrind memory access error)
p4raw-id: //depot/perl@27899
Nicholas Clark [Wed, 19 Apr 2006 09:22:03 +0000]
Avoid temporarily writing over the prototype when reporting an error.
(And beef up the relevant tests to really check that it all works).
p4raw-id: //depot/perl@27898
Rafael Garcia-Suarez [Wed, 19 Apr 2006 09:09:14 +0000]
Replace some Copy() by Move() calls, because valgrind reports
we can have overlapping memory areas here
p4raw-id: //depot/perl@27897
Nicholas Clark [Wed, 19 Apr 2006 08:42:18 +0000]
Calling cv_undef() on the CV created by newCONSTSUB() would leak like
a Jumblie's preferred maritime craft. To free CvFILE for this case,
take advantage of the 0 length prototype that will also be there,
and hang it from the prototype. To do this properly means changing
code to actually pay attention to SvCUR() on prototypes. It turns out
that we always know the length of the prototype string, so this may
be faster. Certainly, it's a memory saving (even ignoring the leak).
p4raw-id: //depot/perl@27896
Nicholas Clark [Wed, 19 Apr 2006 07:55:18 +0000]
Fix compilation of microperl, which doesn't have INT_MAX.
p4raw-id: //depot/perl@27895
Nicholas Clark [Tue, 18 Apr 2006 19:52:19 +0000]
Revert 27869 at Jarkko's request.
p4raw-id: //depot/perl@27894
Dave Mitchell [Tue, 18 Apr 2006 17:03:15 +0000]
regmatch: fix a || vs | typo in CACHEsayYES and add a test from Hugo.
Also defer altering the cache bit until CACHEsayYES/NO is called
p4raw-id: //depot/perl@27893