This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
17 years agot/op/list.t using test.pl
David Landgren [Wed, 3 May 2006 19:40:40 +0000 (21:40 +0200)]
t/op/list.t using test.pl
Message-ID: <4458EB18.8070904@landgren.net>

p4raw-id: //depot/perl@28093

17 years agoDocument order of evaluation for the comma operator
Paul Johnson [Wed, 26 Apr 2006 22:38:43 +0000 (00:38 +0200)]
Document order of evaluation for the comma operator

Subject: [PATCH] Re: Kill select((select(OUTPUT_HANDLE), $| = 1)[0]);
Message-ID: <20060426203843.GE21543@pjcj.net>

p4raw-id: //depot/perl@28092

17 years agoRE: [PATCH] Implement ${^WIN32_SLOPPY_STAT}
Jan Dubois [Wed, 3 May 2006 12:41:23 +0000 (05:41 -0700)]
RE: [PATCH] Implement ${^WIN32_SLOPPY_STAT}
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <013f01c66ee9$8f1437a0$d045a8c0@candy>

p4raw-id: //depot/perl@28091

17 years agoAnother test for state variables and closures,
Rafael Garcia-Suarez [Thu, 4 May 2006 07:42:27 +0000 (07:42 +0000)]
Another test for state variables and closures,
adapted from a Perl 6 example, pointed out by
Joshua "Limbic_Region" Gatcomb

p4raw-id: //depot/perl@28090

17 years agoEnsure that C<(state $x) = $y> is not a state assignment
Rafael Garcia-Suarez [Wed, 3 May 2006 22:49:14 +0000 (22:49 +0000)]
Ensure that C<(state $x) = $y> is not a state assignment
(due to the parentheses that make it a regular assignment
to a variable declared inside a list)

p4raw-id: //depot/perl@28089

17 years agoNew test case for state variables with ties, suggested by Nicholas
Rafael Garcia-Suarez [Wed, 3 May 2006 22:40:28 +0000 (22:40 +0000)]
New test case for state variables with ties, suggested by Nicholas

p4raw-id: //depot/perl@28088

17 years agoAdd "state" feature
Rafael Garcia-Suarez [Wed, 3 May 2006 22:01:41 +0000 (22:01 +0000)]
Add "state" feature

p4raw-id: //depot/perl@28087

17 years agoIntroduce a new keyword, state, for state variables.
Rafael Garcia-Suarez [Wed, 3 May 2006 21:46:02 +0000 (21:46 +0000)]
Introduce a new keyword, state, for state variables.

p4raw-id: //depot/perl@28086

17 years agowince another step
Vadim Konovalov [Wed, 3 May 2006 20:11:11 +0000 (22:11 +0200)]
wince another step
From: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **"
Message-ID: <E3FB32585BF1D411B9E900805FF51A0801BCAE1F@ru0022exch001u.ru.lucent.com>

p4raw-id: //depot/perl@28085

17 years agoClarify hard link support on Windows
Jan Dubois [Wed, 3 May 2006 11:30:03 +0000 (04:30 -0700)]
Clarify hard link support on Windows
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <013a01c66edf$982ebcc0$d045a8c0@candy>

p4raw-id: //depot/perl@28084

17 years agoRE: [PATCH] Implement ${^WIN32_SLOPPY_STAT}
Jan Dubois [Wed, 3 May 2006 11:18:30 +0000 (04:18 -0700)]
RE: [PATCH] Implement ${^WIN32_SLOPPY_STAT}
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <013901c66edd$fb8ae750$d045a8c0@candy>

p4raw-id: //depot/perl@28083

17 years agoUpgrade to CGI-3.20
Steve Peters [Wed, 3 May 2006 17:56:37 +0000 (17:56 +0000)]
Upgrade to CGI-3.20

p4raw-id: //depot/perl@28082

17 years agomore logic localizations
Andy Lester [Tue, 11 Apr 2006 14:14:45 +0000 (09:14 -0500)]
more logic localizations
Message-ID: <20060411191445.GA4938@petdance.com>

p4raw-id: //depot/perl@28081

17 years ago-Dmad breaks a few tests
Sébastien Aperghis-Tramoni [Tue, 2 May 2006 01:37:03 +0000 (03:37 +0200)]
-Dmad breaks a few tests
Message-Id: <64F8ECEA-D96B-11DA-AA80-000502F3279F@free.fr>

(part of, with tweaks)

p4raw-id: //depot/perl@28080

17 years agoRemove an unnecessary goto
Andy Lester [Wed, 3 May 2006 00:54:30 +0000 (19:54 -0500)]
Remove an unnecessary goto
Message-ID: <20060503055430.GA4922@petdance.com>

p4raw-id: //depot/perl@28079

17 years agooptimize S_find_array_subscript
Andy Lester [Tue, 2 May 2006 21:09:08 +0000 (16:09 -0500)]
optimize S_find_array_subscript
Message-ID: <20060503020908.GA2234@petdance.com>

p4raw-id: //depot/perl@28078

17 years agoclean up loops in doio.c and dump.c
Andy Lester [Tue, 2 May 2006 13:38:15 +0000 (08:38 -0500)]
clean up loops in doio.c and dump.c
Message-ID: <20060502183815.GA7979@petdance.com>

p4raw-id: //depot/perl@28077

17 years agopp_sys.c: U8* cast
Jarkko Hietaniemi [Tue, 2 May 2006 20:04:33 +0000 (23:04 +0300)]
pp_sys.c: U8* cast
Message-Id: <200605021704.k42H4XIh255652@kosh.hut.fi>

p4raw-id: //depot/perl@28076

17 years agohv.c: do zeroing via mem wrap check
Jarkko Hietaniemi [Tue, 2 May 2006 20:03:01 +0000 (23:03 +0300)]
hv.c: do zeroing via mem wrap check
Message-Id: <200605021703.k42H31PF216868@kosh.hut.fi>

p4raw-id: //depot/perl@28075

17 years agomicroperl update
Jarkko Hietaniemi [Wed, 3 May 2006 08:20:31 +0000 (11:20 +0300)]
microperl update
Message-ID: <44583D9F.8060401@gmail.com>

p4raw-id: //depot/perl@28074

17 years agoMake Perl_unshare_hek visible to core extensions without being public
Steve Hay [Wed, 3 May 2006 08:25:27 +0000 (08:25 +0000)]
Make Perl_unshare_hek visible to core extensions without being public

See the comments in:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00480.html
(which were put into practice in changes #27800 and #27848)
p4raw-link: @27800 on //depot/perl: 1242dfaee525d4d0ab20ac8ae62b3f0de03fa88e

p4raw-id: //depot/perl@28073

17 years agoRe: Smoke [5.9.4] 28069 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Vadim Konovalov [Wed, 3 May 2006 06:10:59 +0000 (10:10 +0400)]
Re: Smoke [5.9.4] 28069 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Message-ID: <44581133.8080100@vkonovalov.ru>

p4raw-id: //depot/perl@28072

17 years agoRe: Smoke [5.9.4] 28069 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
SADAHIRO Tomoyuki [Wed, 3 May 2006 10:00:03 +0000 (19:00 +0900)]
Re: Smoke [5.9.4] 28069 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Message-Id: <20060503095420.0357.BQW10602@nifty.com>

p4raw-id: //depot/perl@28071

17 years agoRemove a variable left unused since change 28065.
Nicholas Clark [Tue, 2 May 2006 22:38:52 +0000 (22:38 +0000)]
Remove a variable left unused since change 28065.

p4raw-id: //depot/perl@28070

17 years agoAdd a new hash key flag HVhek_UNSHARED, to mark all unshared hash keys.
Nicholas Clark [Tue, 2 May 2006 22:19:56 +0000 (22:19 +0000)]
Add a new hash key flag HVhek_UNSHARED, to mark all unshared hash keys.
Otherwise Perl_newSVhek(), called by Perl_hv_iterkeysv(), naively
assumes that it can share any hash key directly.

p4raw-id: //depot/perl@28069

17 years agocumulative totals and list reverse for checkAUTHORS.pl
Nicholas Clark [Tue, 2 May 2006 22:16:25 +0000 (22:16 +0000)]
cumulative totals and list reverse for checkAUTHORS.pl

p4raw-id: //depot/perl@28068

17 years agoAnother place where Intel C++ pretending to be gcc is a really
Steve Peters [Tue, 2 May 2006 18:03:57 +0000 (18:03 +0000)]
Another place where Intel C++ pretending to be gcc is a really
bad thing.

p4raw-id: //depot/perl@28067

17 years ago*static* pointers to newXSUB(), dammit!
Nicholas Clark [Tue, 2 May 2006 17:46:38 +0000 (17:46 +0000)]
*static* pointers to newXSUB(), dammit!

p4raw-id: //depot/perl@28066

17 years agoAssert that SvMAGIC() isn't being called on PVMGs which are using the
Nicholas Clark [Tue, 2 May 2006 17:00:56 +0000 (17:00 +0000)]
Assert that SvMAGIC() isn't being called on PVMGs which are using the
same union to store the stash for our.

p4raw-id: //depot/perl@28065

17 years agoChange 28063 forgot 1 key line - acutally use the correct filename
Nicholas Clark [Tue, 2 May 2006 16:24:14 +0000 (16:24 +0000)]
Change 28063 forgot 1 key line - acutally use the correct filename
storage.

p4raw-id: //depot/perl@28064

17 years agoFix bug in DynaLoader, which has been passing a filename in dynamic
Nicholas Clark [Tue, 2 May 2006 15:55:25 +0000 (15:55 +0000)]
Fix bug in DynaLoader, which has been passing a filename in dynamic
storage to newXS() seemingly forever. This involves creating
newXS_flags(), with the first flag being "arrange to copy the
filename and free it at the right time".

p4raw-id: //depot/perl@28063

17 years agoMove some scripts under win32/ce-helpers.
Vadim Konovalov [Tue, 2 May 2006 17:30:59 +0000 (19:30 +0200)]
Move some scripts under win32/ce-helpers.

Subject: RE: Merge WinCE into Win32 directory and remove the the WinCE dir ectory
From: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **" <vkonovalov@Lucent.com>
Message-ID: <E3FB32585BF1D411B9E900805FF51A0801BB3F03@ru0022exch001u.ru.lucent.com>

p4raw-id: //depot/perl@28062

17 years agoRe: Merge WinCE into Win32 directory and remove the the WinCE directory
Yves Orton [Mon, 1 May 2006 19:02:09 +0000 (21:02 +0200)]
Re: Merge WinCE into Win32 directory and remove the the WinCE directory
Message-ID: <9b18b3110605011002m56c0db99n169ae677efb6d059@mail.gmail.com>

Plus adjustements to MANIFEST. Also, perlmain.c seemed to be missing
from the patch.

p4raw-id: //depot/perl@28061

17 years agoGvFILE() cannot be a pointer to the memory owned by the COP, because
Nicholas Clark [Tue, 2 May 2006 12:41:43 +0000 (12:41 +0000)]
GvFILE() cannot be a pointer to the memory owned by the COP, because
COPs created by use can be freed along this memory, but the GP
remains. Given that several GVs may refer to the same file, use a
shared string rather than an individual allocation per GP.

p4raw-id: //depot/perl@28060

17 years agoChange 28037 broke t/op/each.t when running with TEST.
Nicholas Clark [Tue, 2 May 2006 12:02:32 +0000 (12:02 +0000)]
Change 28037 broke t/op/each.t when running with TEST.

p4raw-id: //depot/perl@28059

17 years agoDe-duplicate the code that creates new GPs into Perl_newGP().
Nicholas Clark [Tue, 2 May 2006 11:15:26 +0000 (11:15 +0000)]
De-duplicate the code that creates new GPs into Perl_newGP().

p4raw-id: //depot/perl@28058

17 years agoRe: [PATCH] t/op/glob.t using test.pl
David Landgren [Sat, 29 Apr 2006 15:32:07 +0000 (17:32 +0200)]
Re: [PATCH] t/op/glob.t using test.pl
Message-ID: <44536AD7.4060608@landgren.net>

p4raw-id: //depot/perl@28057

17 years agot/op/hashwarn.t using test.pl
David Landgren [Sat, 29 Apr 2006 17:51:28 +0000 (19:51 +0200)]
t/op/hashwarn.t using test.pl
Message-ID: <44538B80.2060503@landgren.net>

p4raw-id: //depot/perl@28056

17 years agotoke.c: function pointer to data pointer
Jarkko Hietaniemi [Tue, 2 May 2006 08:25:55 +0000 (11:25 +0300)]
toke.c: function pointer to data pointer
Message-Id: <200605020525.k425Ptik165705@kosh.hut.fi>

p4raw-id: //depot/perl@28055

17 years ago[DOC PATCH] chop warning in perlport
Xavier Noria [Tue, 2 May 2006 12:08:34 +0000 (14:08 +0200)]
[DOC PATCH] chop warning in perlport
Message-Id: <E06C0594-CAF6-4822-8EB4-8E06EAD4A889@hashref.com>

p4raw-id: //depot/perl@28054

17 years agoSigh. Third time lucky.
Steve Hay [Tue, 2 May 2006 09:59:23 +0000 (09:59 +0000)]
Sigh. Third time lucky.

p4raw-id: //depot/perl@28053

17 years agoAhem. And here's the rest of #28051...
Steve Hay [Tue, 2 May 2006 09:46:41 +0000 (09:46 +0000)]
Ahem. And here's the rest of #28051...

p4raw-id: //depot/perl@28052

17 years agoRE: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000...
Steve Hay [Tue, 2 May 2006 09:39:01 +0000 (09:39 +0000)]
RE: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 1 May 2006 18:55:11 -0700
Message-ID: <08ff01c66d8b$7282e320$2217a8c0@candy>

Subject: Re: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m)
From: "H.Merijn Brand" <h.m.brand@xs4all.nl>
Date: Tue, 2 May 2006 09:23:51 +0200
Message-ID: <20060502092351.7bae0896@pc09>

p4raw-id: //depot/perl@28051

17 years agopp.c casting, take two
Andy Lester [Sun, 30 Apr 2006 19:48:26 +0000 (14:48 -0500)]
pp.c casting, take two
Message-ID: <20060501004826.GA4744@petdance.com>

(with adjustements, some of the code has already
been touched since)

p4raw-id: //depot/perl@28050

17 years agoSome more SvREFCNT_inc updates
Andy Lester [Sun, 30 Apr 2006 13:24:14 +0000 (08:24 -0500)]
Some more SvREFCNT_inc updates
Message-ID: <20060430182414.GA18094@petdance.com>

p4raw-id: //depot/perl@28049

17 years agoquiet some perlio.c warnings
Andy Lester [Sun, 30 Apr 2006 13:23:22 +0000 (08:23 -0500)]
quiet some perlio.c warnings
Message-ID: <20060430182322.GA18064@petdance.com>

p4raw-id: //depot/perl@28048

17 years agoMore tweaking of SvREFCNT_inc calls
Andy Lester [Sun, 30 Apr 2006 12:06:21 +0000 (07:06 -0500)]
More tweaking of SvREFCNT_inc calls
Message-ID: <20060430170621.GA4054@petdance.com>

p4raw-id: //depot/perl@28047

17 years agoOne too many ('s in change #28043.
Steve Peters [Tue, 2 May 2006 02:50:33 +0000 (02:50 +0000)]
One too many ('s in change #28043.
p4raw-link: @28043 on //depot/perl: e9014798f4f634151d92887db69bde2b6ef69071

p4raw-id: //depot/perl@28046

17 years agoEscape prompts with #'s to avoid causing tests to fail from
Steve Peters [Tue, 2 May 2006 02:47:43 +0000 (02:47 +0000)]
Escape prompts with #'s to avoid causing tests to fail from
the unexpected output.

p4raw-id: //depot/perl@28045

17 years agoFix for RT #25366: h2xs 1.23 from "Aaron Kaplan".
Steve Peters [Tue, 2 May 2006 01:55:53 +0000 (01:55 +0000)]
Fix for RT #25366: h2xs 1.23 from "Aaron Kaplan".

p4raw-id: //depot/perl@28044

17 years agoFix for RT #7916: perl 5.6.1 with Intel's icc on RedHat
Steve Peters [Tue, 2 May 2006 00:23:05 +0000 (00:23 +0000)]
Fix for RT #7916: perl 5.6.1 with Intel's icc on RedHat
Linux 7.2.  The original fix, change #13053, added a check
for $Config{gccversion} which is now populated by newer
Intel compilers.  This additional change checks to see
if Intel is in $Config{gccversion}.  If it is, its not
a gcc.
p4raw-link: @13053 on //depot/perl: 022394cfaaa8ec20e603e5da621b1778fd79e4ad

p4raw-id: //depot/perl@28043

17 years agosigned vs unsigned char * nit
Jarkko Hietaniemi [Sat, 29 Apr 2006 20:59:29 +0000 (23:59 +0300)]
signed vs unsigned char * nit
Message-Id: <200604291759.k3THxTji032009@kosh.hut.fi>

p4raw-id: //depot/perl@28042

17 years agoReverting context removal from change #27992. This should
Steve Peters [Mon, 1 May 2006 23:25:30 +0000 (23:25 +0000)]
Reverting context removal from change #27992.  This should
clear up threaded builds on Win32 and VMS.
p4raw-link: @27992 on //depot/perl: df528165173896ed88fc3da7e1aa8bc3ef3b2416

p4raw-id: //depot/perl@28041

17 years agoAdd a BUGS section to Fatal.pm, see bug #38790
Rafael Garcia-Suarez [Mon, 1 May 2006 20:25:17 +0000 (20:25 +0000)]
Add a BUGS section to Fatal.pm, see bug #38790

p4raw-id: //depot/perl@28040

17 years agoDisable SIGRTMAX and SIGRTMIN in POSIX if Configure's probes found that
Nicholas Clark [Mon, 1 May 2006 19:07:06 +0000 (19:07 +0000)]
Disable SIGRTMAX and SIGRTMIN in POSIX if Configure's probes found that
they aren't viable. (Certain glibcs are "interesting")

p4raw-id: //depot/perl@28039

17 years agoAllow a macro of "0" to mean "#if 0" for convenient elimination of
Nicholas Clark [Mon, 1 May 2006 17:28:43 +0000 (17:28 +0000)]
Allow a macro of "0" to mean "#if 0" for convenient elimination of
constants.

p4raw-id: //depot/perl@28038

17 years agoRe: [PATCH] provide diag() and don't use ++ in test.pl
David Landgren [Mon, 1 May 2006 15:50:03 +0000 (17:50 +0200)]
Re: [PATCH] provide diag() and don't use ++ in test.pl
Message-ID: <4456120B.3000302@landgren.net>

Plus some additional comment (also from David) about WHY not to
use ++ in test.pl

p4raw-id: //depot/perl@28037

17 years agoRe: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000...
SADAHIRO Tomoyuki [Mon, 1 May 2006 21:34:33 +0000 (06:34 +0900)]
Re: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
Message-Id: <20060501213249.814E.BQW10602@nifty.com>

p4raw-id: //depot/perl@28036

17 years agoRe-order one DO_UTF8 to be after the SvPV.
Nicholas Clark [Mon, 1 May 2006 11:16:13 +0000 (11:16 +0000)]
Re-order one DO_UTF8 to be after the SvPV.

p4raw-id: //depot/perl@28035

17 years agoFix two errors found by Coverity.
Nicholas Clark [Sun, 30 Apr 2006 23:08:17 +0000 (23:08 +0000)]
Fix two errors found by Coverity.

p4raw-id: //depot/perl@28034

17 years agoAdd a --percentage option to checkAUTHORS.pl to show rankings as
Nicholas Clark [Sun, 30 Apr 2006 23:02:46 +0000 (23:02 +0000)]
Add a --percentage option to checkAUTHORS.pl to show rankings as
percentages.

p4raw-id: //depot/perl@28033

17 years agoReplace a STRLEN no_len; with a _nolen macro call.
Nicholas Clark [Sun, 30 Apr 2006 22:00:34 +0000 (22:00 +0000)]
Replace a STRLEN no_len; with a _nolen macro call.

p4raw-id: //depot/perl@28032

17 years agoPerl_pack_cat() is a mathom too!
Nicholas Clark [Sun, 30 Apr 2006 21:27:20 +0000 (21:27 +0000)]
Perl_pack_cat() is a mathom too!

p4raw-id: //depot/perl@28031

17 years agoOne part of pp_pack couldn't correctly handle surprises from UTF-8
Nicholas Clark [Sun, 30 Apr 2006 20:41:29 +0000 (20:41 +0000)]
One part of pp_pack couldn't correctly handle surprises from UTF-8
overloading.

p4raw-id: //depot/perl@28030

17 years agodo_vop() couldn't correctly handle surprises from UTF-8 overloading.
Nicholas Clark [Sun, 30 Apr 2006 19:07:43 +0000 (19:07 +0000)]
do_vop() couldn't correctly handle surprises from UTF-8 overloading.

p4raw-id: //depot/perl@28029

17 years agoWe had no tests that covered the grow paths in pp_uc and pp_lc.
Nicholas Clark [Sun, 30 Apr 2006 17:58:53 +0000 (17:58 +0000)]
We had no tests that covered the grow paths in pp_uc and pp_lc.

p4raw-id: //depot/perl@28028

17 years agoDave noticed that change 28022 was wrong - should read is_index
Nicholas Clark [Sun, 30 Apr 2006 17:23:44 +0000 (17:23 +0000)]
Dave noticed that change 28022 was wrong - should read is_index
rather than just index.

p4raw-id: //depot/perl@28027

17 years agofix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86...
Abe Timmerman [Sun, 30 Apr 2006 15:15:24 +0000 (17:15 +0200)]
fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
Message-Id: <200604301515.24580.abe@ztreet.demon.nl>

p4raw-id: //depot/perl@28026

17 years agoI was mistaken. Borland and gcc do have snprintf() and vsnprintf()
Steve Peters [Sun, 30 Apr 2006 14:27:08 +0000 (14:27 +0000)]
I was mistaken.  Borland and gcc do have snprintf() and vsnprintf()
on Win32.

p4raw-id: //depot/perl@28025

17 years agoOK, Win32 must no have snprintf()/vsnprintf
Steve Peters [Sun, 30 Apr 2006 13:14:25 +0000 (13:14 +0000)]
OK, Win32 must no have snprintf()/vsnprintf

p4raw-id: //depot/perl@28024

17 years agoremove a compiler warning by making HOPBACKc only hop *back*
Dave Mitchell [Sun, 30 Apr 2006 12:32:09 +0000 (12:32 +0000)]
remove a compiler warning by making HOPBACKc only hop *back*

p4raw-id: //depot/perl@28023

17 years agoindex and rindex couldn't correctly handle surprises from UTF-8
Nicholas Clark [Sun, 30 Apr 2006 11:14:04 +0000 (11:14 +0000)]
index and rindex couldn't correctly handle surprises from UTF-8
overloading.

p4raw-id: //depot/perl@28022

17 years agoDocument SvGAMAGIC(), and its significance w.r.t. the side effects of
Nicholas Clark [Sun, 30 Apr 2006 10:58:11 +0000 (10:58 +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

17 years agoCoverity disliked us passing a negative length to vsnprintf().
Nicholas Clark [Sat, 29 Apr 2006 23:35:52 +0000 (23:35 +0000)]
Coverity disliked us passing a negative length to vsnprintf().

p4raw-id: //depot/perl@28020

17 years agosyswrite couldn't correctly handle surprises from UTF-8 overloading.
Nicholas Clark [Sat, 29 Apr 2006 23:33:36 +0000 (23:33 +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

17 years agoMore tests for syswrite with UTF-8 data.
Nicholas Clark [Sat, 29 Apr 2006 23:32:06 +0000 (23:32 +0000)]
More tests for syswrite with UTF-8 data.

p4raw-id: //depot/perl@28018

17 years agoIt should never be possible for SvGMAGICAL() to be true on SVt_IV.
Nicholas Clark [Sat, 29 Apr 2006 21:54:38 +0000 (21:54 +0000)]
It should never be possible for SvGMAGICAL() to be true on SVt_IV.

p4raw-id: //depot/perl@28017

17 years agoprint couldn't correctly handle surprises from UTF-8 overloading.
Nicholas Clark [Sat, 29 Apr 2006 17:38:08 +0000 (17:38 +0000)]
print couldn't correctly handle surprises from UTF-8 overloading.

p4raw-id: //depot/perl@28016

17 years agoAdd a cross reference to bytes_from_utf8() in the documentation for
Nicholas Clark [Sat, 29 Apr 2006 17:31:27 +0000 (17:31 +0000)]
Add a cross reference to bytes_from_utf8() in the documentation for
utf8_to_bytes(). Regenerate perlapi.pod.

p4raw-id: //depot/perl@28015

17 years agoThere were more ways to break uc/lc/ucfirst/lcfirst even without
Nicholas Clark [Sat, 29 Apr 2006 16:07:31 +0000 (16:07 +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

17 years agolcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
Nicholas Clark [Sat, 29 Apr 2006 15:55:51 +0000 (15:55 +0000)]
lcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
returned by overloaded stringification.

p4raw-id: //depot/perl@28013

17 years agouc plus an 8 bit locale could get confused by UTF-8 values returned by
Nicholas Clark [Sat, 29 Apr 2006 14:05:55 +0000 (14:05 +0000)]
uc plus an 8 bit locale could get confused by UTF-8 values returned by
overloaded stringification.

p4raw-id: //depot/perl@28012

17 years agolc plus an 8 bit locale could mangle UTF-8 values returned by
Nicholas Clark [Sat, 29 Apr 2006 13:43:26 +0000 (13:43 +0000)]
lc plus an 8 bit locale could mangle UTF-8 values returned by
overloaded stringification.

p4raw-id: //depot/perl@28011

17 years agomore -ansi -pedantic cleanliness
Jarkko Hietaniemi [Sat, 29 Apr 2006 11:13:24 +0000 (14:13 +0300)]
more -ansi -pedantic cleanliness
Message-ID: <44532024.9070303@gmail.com>

p4raw-id: //depot/perl@28010

17 years agoRe: [ANNOUNCE] Module::Build 0.28 -> CPAN
Randy W. Sims [Fri, 28 Apr 2006 15:31:55 +0000 (11:31 -0400)]
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

17 years agoreduce gcc -ansi -pedantic noise plus a suggestion
Jarkko Hietaniemi [Fri, 28 Apr 2006 22:58:58 +0000 (01:58 +0300)]
reduce gcc -ansi -pedantic noise plus a suggestion
Message-ID: <44527402.8000506@gmail.com>

p4raw-id: //depot/perl@28008

17 years agotwo [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
Jarkko Hietaniemi [Fri, 28 Apr 2006 21:04:59 +0000 (00:04 +0300)]
two [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
Message-ID: <4452594B.4040609@gmail.com>

p4raw-id: //depot/perl@28007

17 years agoFix bug 34297 (length of overloaded UTF-8 strings)
Nicholas Clark [Fri, 28 Apr 2006 16:34:14 +0000 (16:34 +0000)]
Fix bug 34297 (length of overloaded UTF-8 strings)

p4raw-id: //depot/perl@28006

17 years agoTypo in MANIFEST from change #27997. Mustn't touch Perl before coffee.
Steve Peters [Fri, 28 Apr 2006 16:15:25 +0000 (16:15 +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

17 years agoAdded Changes file left out from change #28001.
Steve Peters [Fri, 28 Apr 2006 15:35:37 +0000 (15:35 +0000)]
Added Changes file left out from change #28001.
p4raw-link: @28001 on //depot/perl: ff235dd6d6f5e19e11c9202d4a82fb8e5fbadadd

p4raw-id: //depot/perl@28004

17 years agoMerge WinCE and Win32 directories -- Initial patch
Yves Orton [Thu, 27 Apr 2006 23:30:00 +0000 (23:30 +0000)]
Merge WinCE and Win32 directories -- Initial patch
Message-ID: <9b18b3110604271430k4de84685jec6535ded195ed94@mail.gmail.com>

p4raw-id: //depot/perl@28003

17 years agoUpgrade to Pathtools-3.18
Steve Peters [Fri, 28 Apr 2006 13:34:39 +0000 (13:34 +0000)]
Upgrade to Pathtools-3.18

p4raw-id: //depot/perl@28001

17 years agot/op/defins.pl using test.pl
David Landgren [Fri, 28 Apr 2006 14:27:39 +0000 (16:27 +0200)]
t/op/defins.pl using test.pl
Message-ID: <44520A3B.1080707@landgren.net>

p4raw-id: //depot/perl@28000

17 years agot/op/delete.t using test.pl
David Landgren [Fri, 28 Apr 2006 15:03:39 +0000 (17:03 +0200)]
t/op/delete.t using test.pl
Message-ID: <445212AB.4080404@landgren.net>

p4raw-id: //depot/perl@27999

17 years agot/op/auto.pl using test.pl
David Landgren [Fri, 28 Apr 2006 13:56:30 +0000 (15:56 +0200)]
t/op/auto.pl using test.pl
Message-ID: <445202EE.6000604@landgren.net>

p4raw-id: //depot/perl@27998

17 years agoUpgrade to Module-Build-0.28
Steve Peters [Fri, 28 Apr 2006 13:29:41 +0000 (13:29 +0000)]
Upgrade to Module-Build-0.28

p4raw-id: //depot/perl@27997

17 years agoAnton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
Nicholas Clark [Fri, 28 Apr 2006 12:48:27 +0000 (12:48 +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

17 years agothreads - miscellaneous
Jerry D. Hedden [Wed, 26 Apr 2006 11:24:05 +0000 (04:24 -0700)]
threads - miscellaneous
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060426112405.fb30e530d17747c2b054d625b8945d88.4331e666e7.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27994

17 years agot/op/sort.t using test.pl
David Landgren [Thu, 27 Apr 2006 18:25:56 +0000 (20:25 +0200)]
t/op/sort.t using test.pl
Message-ID: <4450F094.2010907@landgren.net>

p4raw-id: //depot/perl@27993

17 years agoRemoving another context parm
Andy Lester [Thu, 27 Apr 2006 10:31:56 +0000 (05:31 -0500)]
Removing another context parm
Message-ID: <20060427153156.GA11445@petdance.com>

p4raw-id: //depot/perl@27992