This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
19 years agoAdd weights to ExtUtils::Constant to allow sorting by expected
Nicholas Clark [Mon, 24 Jan 2005 22:05:29 +0000 (22:05 +0000)]
Add weights to ExtUtils::Constant to allow sorting by expected
frequency. This makes the Perl_keyword() replacement 20% faster,
rather than just 12%

p4raw-id: //depot/perl@23876

19 years agoReplace Perl_keyword() with a version that's 20% faster on typical
Nicholas Clark [Mon, 24 Jan 2005 21:43:52 +0000 (21:43 +0000)]
Replace Perl_keyword() with a version that's 20% faster on typical
input, generated by subclassing ExtUtils::Constant. (Typical input
being about 135M of input from running a lot of perl scripts)

p4raw-id: //depot/perl@23875

19 years agoassorted tempfile clean-up in the test suite
Craig A. Berry [Sun, 23 Jan 2005 14:23:17 +0000 (08:23 -0600)]
assorted tempfile clean-up in the test suite
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41F407B5.7020106@mac.com>

p4raw-id: //depot/perl@23874

19 years agoRevert change 23843.
Rafael Garcia-Suarez [Mon, 24 Jan 2005 13:14:21 +0000 (13:14 +0000)]
Revert change 23843.
(See discussion for bug [perl #31924])

p4raw-id: //depot/perl@23873

19 years ago[perl #33906] Missing \\ in perlre
Andrew [Sun, 23 Jan 2005 20:52:51 +0000 (20:52 +0000)]
[perl #33906] Missing \\ in perlre
From: Andrew (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33906-106339.17.5527961922343@perl.org>

p4raw-id: //depot/perl@23872

19 years agoTest::Harness::Straps::_default_inc shell problem
Craig A. Berry [Sun, 23 Jan 2005 13:44:49 +0000 (07:44 -0600)]
Test::Harness::Straps::_default_inc shell problem
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41F3FEB1.9020102@mac.com>

p4raw-id: //depot/perl@23871

19 years agoRe: [perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 15:16:16 +0000 (10:16 -0500)]
Re: [perl #33892] Add Interix support
Message-ID: <Pine.NEB.4.61.0501211424350.13373@duh.net.dhis.org>

p4raw-id: //depot/perl@23870

19 years agoRe: Smoke [5.9.2] 23863 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Jarkko Hietaniemi [Sun, 23 Jan 2005 21:25:01 +0000 (23:25 +0200)]
Re: Smoke [5.9.2] 23863 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Message-Id:  <41F3FA0D.4010301@iki.fi>

The uc() memory reduction patch had a memory leak...

p4raw-id: //depot/perl@23869

19 years agoTidy up 2 comments
Nicholas Clark [Sun, 23 Jan 2005 22:06:01 +0000 (22:06 +0000)]
Tidy up 2 comments

p4raw-id: //depot/perl@23868

19 years agoAssimilate ExtUtils::Constant 0.16
Nicholas Clark [Sun, 23 Jan 2005 22:05:12 +0000 (22:05 +0000)]
Assimilate ExtUtils::Constant 0.16

p4raw-id: //depot/perl@23867

19 years agoSlightly terser code in S_regpposixcc (names inside [:*here*:])
Nicholas Clark [Sun, 23 Jan 2005 21:43:17 +0000 (21:43 +0000)]
Slightly terser code in S_regpposixcc (names inside [:*here*:])

p4raw-id: //depot/perl@23866

19 years agoRe: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Jarkko Hietaniemi [Sat, 22 Jan 2005 23:22:47 +0000 (01:22 +0200)]
Re: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Message-ID: <41F2C427.7020003@iki.fi>
Date: Sat, 22 Jan 2005 23:22:47 +0200

p4raw-id: //depot/perl@23864

19 years agoRe: uc($long_utf8_string) exhausts memory
Jarkko Hietaniemi [Sat, 22 Jan 2005 11:33:12 +0000 (13:33 +0200)]
Re: uc($long_utf8_string) exhausts memory
Message-Id:  <41F21DD8.3050500@iki.fi>

change #23857 miscalculated the SvGROW size
p4raw-link: @23857 on //depot/perl: 89ebb4a3f2a55825eeed13aaf58db5c73d2140ef

p4raw-id: //depot/perl@23863

19 years agoRe: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Jarkko Hietaniemi [Sat, 22 Jan 2005 19:45:02 +0000 (21:45 +0200)]
Re: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Message-ID: <41F2911E.8090204@iki.fi>

(drop optimisation on pp_pack.c for gcc on osf1 to -O1)

p4raw-id: //depot/perl@23862

19 years agoUpdate copyright years and add editor blocks
Nicholas Clark [Sat, 22 Jan 2005 14:15:58 +0000 (14:15 +0000)]
Update copyright years and add editor blocks

p4raw-id: //depot/perl@23861

19 years agoRe: [PATCH] do not assume quads or long doubles
Jarkko Hietaniemi [Sat, 22 Jan 2005 11:21:14 +0000 (13:21 +0200)]
Re: [PATCH] do not assume quads or long doubles
Message-ID: <41F21B0A.2050301@iki.fi>
Date: Sat, 22 Jan 2005 11:21:14 +0200

p4raw-id: //depot/perl@23860

19 years agoRemove now-unnecessary check. (It's done earlier)
Nicholas Clark [Sat, 22 Jan 2005 00:39:41 +0000 (00:39 +0000)]
Remove now-unnecessary check. (It's done earlier)

p4raw-id: //depot/perl@23858

19 years agoRe: uc($long_utf8_string) exhausts memory
Jarkko Hietaniemi [Sat, 22 Jan 2005 00:20:12 +0000 (02:20 +0200)]
Re: uc($long_utf8_string) exhausts memory
Message-Id:  <41F1801C.3080201@iki.fi>

Make buffer size estimates for utf8 case conversion less maximally
pessimistic

p4raw-id: //depot/perl@23857

19 years agoShrink a switch() statment by driving the size calculations from the
Nicholas Clark [Fri, 21 Jan 2005 22:15:43 +0000 (22:15 +0000)]
Shrink a switch() statment by driving the size calculations from the
size table. This requires #ifdef()s in the size table initialiser.
Astoundingly this shaves over 6K of the object size with -Os on OS X.
I was expecting about 1K (due to shrinking a branch table). Mind you,
I'm not going to argue with what I got. :-)

p4raw-id: //depot/perl@23854

19 years agoMake the length overrun checking and stack extension table driven.
Nicholas Clark [Fri, 21 Jan 2005 16:46:49 +0000 (16:46 +0000)]
Make the length overrun checking and stack extension table driven.
(Shaves about 3k off pp_pack.o)

p4raw-id: //depot/perl@23853

19 years ago[perl #32503] Fix for Storable module
Steven N. Hirsch [Fri, 19 Nov 2004 13:06:57 +0000 (13:06 +0000)]
[perl #32503] Fix for Storable module
From: "Steven N. Hirsch" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-32503-100597.6.46123979926323@perl.org>

p4raw-id: //depot/perl@23852

19 years agoFix spurious warnings emitted by XSLoader via Data::Dumper
Rafael Garcia-Suarez [Fri, 21 Jan 2005 15:51:54 +0000 (15:51 +0000)]
Fix spurious warnings emitted by XSLoader via Data::Dumper

p4raw-id: //depot/perl@23851

19 years agoName another pack test
Nicholas Clark [Fri, 21 Jan 2005 15:43:24 +0000 (15:43 +0000)]
Name another pack test

p4raw-id: //depot/perl@23850

19 years ago[perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 14:36:31 +0000 (14:36 +0000)]
[perl #33892] Add Interix support
From: Todd Vierling (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33892-106280.17.6407478352545@perl.org>

(except the Configure chunk)
(and bump version numbers of modules)

p4raw-id: //depot/perl@23849

19 years ago[perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 14:36:31 +0000 (14:36 +0000)]
[perl #33892] Add Interix support
From: Todd Vierling (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33892-106280.17.6407478352545@perl.org>

p4raw-id: //depot/perl@23848

19 years agoUpgrade to Test::Harness 2.46
Rafael Garcia-Suarez [Fri, 21 Jan 2005 14:46:38 +0000 (14:46 +0000)]
Upgrade to Test::Harness 2.46

p4raw-id: //depot/perl@23847

19 years ago[perl #32967] [PATCH] Re: More B bugs: svref_2object
Stephen McCamant [Tue, 28 Dec 2004 16:01:49 +0000 (08:01 -0800)]
[perl #32967] [PATCH] Re: More B bugs: svref_2object
Message-ID: <16849.62445.116153.489478@apocalypse.OCF.Berkeley.EDU>

p4raw-id: //depot/perl@23845

19 years ago[Patch] [perl #32446] close leaves fd open
Steffen Ullrich [Wed, 1 Dec 2004 15:22:34 +0000 (16:22 +0100)]
[Patch] [perl #32446]  close leaves fd open
Message-ID: <20041201142236.4273.qmail@lists.develooper.com>

p4raw-id: //depot/perl@23844

19 years agoRe: [perl #31924] %INC caching failure-case problem
Rick Delaney [Wed, 13 Oct 2004 12:40:18 +0000 (08:40 -0400)]
Re: [perl #31924] %INC caching failure-case problem
Message-ID: <20041013164018.GA32174@biff.bort.ca>

p4raw-id: //depot/perl@23843

19 years agoRe: [PATCH] File::Find dies on find({follow=>1, ...}) on Win32
Yitzchak Scott-Thoennes [Mon, 20 Dec 2004 16:08:56 +0000 (08:08 -0800)]
Re: [PATCH] File::Find dies on find({follow=>1, ...}) on Win32
Message-ID: <20041221000856.GA2924@efn.org>

p4raw-id: //depot/perl@23842

19 years agodoc SVt_PVLV <=> SVt_PVGV change version in B.pm
Yitzchak Scott-Thoennes [Sun, 19 Dec 2004 23:57:56 +0000 (15:57 -0800)]
doc SVt_PVLV <=> SVt_PVGV change version in B.pm
Message-ID: <20041220075754.GA800@efn.org>

p4raw-id: //depot/perl@23841

19 years ago[patch] cleanup perlsfio.h
Stas Bekman [Thu, 13 Jan 2005 16:14:23 +0000 (11:14 -0500)]
[patch] cleanup perlsfio.h
Message-ID: <41E6E4AF.8070303@stason.org>

p4raw-id: //depot/perl@23840

19 years agoVERSION++
Rafael Garcia-Suarez [Thu, 20 Jan 2005 18:33:00 +0000 (18:33 +0000)]
VERSION++

p4raw-id: //depot/perl@23839

19 years agoRe: [perl #33173] shellwords.pl and tainting
Alexey Tourbin [Tue, 28 Dec 2004 22:29:37 +0000 (01:29 +0300)]
Re: [perl #33173] shellwords.pl and tainting
Message-ID: <20041228192937.GB7824@solemn.turbinal.org>

p4raw-id: //depot/perl@23838

19 years agoRun regen.pl and pod/buildtoc --build-all
Nicholas Clark [Thu, 20 Jan 2005 13:21:14 +0000 (13:21 +0000)]
Run regen.pl and pod/buildtoc --build-all

p4raw-id: //depot/perl@23836

19 years agoA little more determinacy in our sorting
Nicholas Clark [Thu, 20 Jan 2005 13:20:50 +0000 (13:20 +0000)]
A little more determinacy in our sorting

p4raw-id: //depot/perl@23835

19 years agoMake "assertion" attribute code and test conditional
Nicholas Clark [Wed, 19 Jan 2005 21:22:30 +0000 (21:22 +0000)]
Make "assertion" attribute code and test conditional

p4raw-id: //depot/perl@23827

19 years agoFurther follow-up to 23767
Robin Barker [Wed, 19 Jan 2005 18:30:31 +0000 (18:30 +0000)]
Further follow-up to 23767
Message-ID: <533D273D4014D411AB1D00062938C4D90849C57D@hotel.npl.co.uk>

p4raw-id: //depot/perl@23824

19 years agoRe: [perl #32498] h2xs generates incorrect code for Makefile.PL for enums
Noah [Wed, 19 Jan 2005 12:33:52 +0000 (07:33 -0500)]
Re: [perl #32498] h2xs generates incorrect code for Makefile.PL for enums
Message-ID: <20050119173352.GA15592@radu.onastick.net>

p4raw-id: //depot/perl@23822

19 years agoop/stat.t test 9 failing on recent cygwin snapshots
Yitzchak Scott-Thoennes [Sun, 16 Jan 2005 10:30:45 +0000 (02:30 -0800)]
op/stat.t test 9 failing on recent cygwin snapshots
Message-ID: <20050116183045.GA2768@efn.org>

p4raw-id: //depot/perl@23821

19 years agoMake Data::Dumper work when dynamic extensions are not available
Jos I. Boumans [Tue, 18 Jan 2005 15:12:03 +0000 (16:12 +0100)]
Make Data::Dumper work when dynamic extensions are not available
From: "Jos I. Boumans" <kane@xs4all.net>
Message-Id: <ED6BA2C4-695A-11D9-B09C-000A95EF62E2@xs4all.net>

p4raw-id: //depot/perl@23820

19 years agoFix dependencies in ext/B/Makefile.PL
Rafael Garcia-Suarez [Wed, 19 Jan 2005 11:15:14 +0000 (11:15 +0000)]
Fix dependencies in ext/B/Makefile.PL
(bug #8254, fix by Alan Burlison)

p4raw-id: //depot/perl@23819

19 years agoExclude "Thread" from $Config{extensions}
Steve Hay [Wed, 19 Jan 2005 09:33:27 +0000 (09:33 +0000)]
Exclude "Thread" from $Config{extensions}

It is already excluded from $Config{dynamic_ext}, so should not be
in $Config{extensions} either. (Note that Thread is actually still
built, though. This is just for consistency with Unix builds.)

p4raw-id: //depot/perl@23817

19 years agoExclude "Thread" from $Config{dynamic_ext}
Steve Hay [Wed, 19 Jan 2005 08:55:06 +0000 (08:55 +0000)]
Exclude "Thread" from $Config{dynamic_ext}

This was accidentally broken by change 23757.  It has already been
fixed in maint-5.8 when resolving conflicts during integration of
23757, so this one does NOT need integrating itself!

For more details see:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-01/msg00477.html

p4raw-id: //depot/perl@23816

19 years agoFix for building with MinGW under Cygwin
Yitzchak Scott-Thoennes [Thu, 13 Jan 2005 16:11:36 +0000 (08:11 -0800)]
Fix for building with MinGW under Cygwin

Subject: [PATCH] building win32 perl with cygwin's mingw (was: Re: [PATCH] Re: lib/Config/Extensions.t fails on Win32)
Message-ID: <20050114001136.GC2516@efn.org>

p4raw-id: //depot/perl@23807

19 years agoGet $Config{ccversion} or $Config{gccversion} filled in on Win32
Steve Hay [Mon, 17 Jan 2005 16:57:10 +0000 (16:57 +0000)]
Get $Config{ccversion} or $Config{gccversion} filled in on Win32

p4raw-id: //depot/perl@23806

19 years agoBetter test diagnostics for the numbers tests.
Nicholas Clark [Fri, 14 Jan 2005 19:56:42 +0000 (19:56 +0000)]
Better test diagnostics for the numbers tests.
(Failure diagnostics were always good, but now the tests have names,
which show even when they pass)

p4raw-id: //depot/perl@23805

19 years agoCorrect the editor block to match the perl 5 policy on tabs
Nicholas Clark [Fri, 14 Jan 2005 12:06:31 +0000 (12:06 +0000)]
Correct the editor block to match the perl 5 policy on tabs

p4raw-id: //depot/perl@23803

19 years agoRefactor S_regclass to generate slightly smaller object code
Nicholas Clark [Fri, 14 Jan 2005 10:58:47 +0000 (10:58 +0000)]
Refactor S_regclass to generate slightly smaller object code

p4raw-id: //depot/perl@23802

19 years agoA terser way to write the \-ing code in pv_uni_display
Nicholas Clark [Fri, 14 Jan 2005 10:32:08 +0000 (10:32 +0000)]
A terser way to write the \-ing code in pv_uni_display
Plus drive-by insert of a more correct editor block. (thanks Dave)

p4raw-id: //depot/perl@23801

19 years agoImprove documentation for sv_catpvf, to note that pattern's UTF-8ness
Nicholas Clark [Fri, 14 Jan 2005 09:55:16 +0000 (09:55 +0000)]
Improve documentation for sv_catpvf, to note that pattern's UTF-8ness
is taken from the SV's UTF-8ness

p4raw-id: //depot/perl@23800

19 years agoSvUTF8_off() in do_join can be unconditional.
Nicholas Clark [Fri, 14 Jan 2005 09:52:51 +0000 (09:52 +0000)]
SvUTF8_off() in do_join can be unconditional.

p4raw-id: //depot/perl@23799

19 years agosv_catpvf holds no advantage over sv_catpv when the "pattern" isn't.
Nicholas Clark [Fri, 14 Jan 2005 09:28:14 +0000 (09:28 +0000)]
sv_catpvf holds no advantage over sv_catpv when the "pattern" isn't.

p4raw-id: //depot/perl@23798

19 years agoUse the new SV_NOSTEAL flag to avoid the SvTEMP dance in newSVsv
Nicholas Clark [Thu, 13 Jan 2005 23:13:05 +0000 (23:13 +0000)]
Use the new SV_NOSTEAL flag to avoid the SvTEMP dance in newSVsv

p4raw-id: //depot/perl@23797

19 years agosv_2mortal(NEWSV(0,0)) better written as sv_newmortal()
Nicholas Clark [Thu, 13 Jan 2005 23:10:38 +0000 (23:10 +0000)]
sv_2mortal(NEWSV(0,0)) better written as sv_newmortal()

p4raw-id: //depot/perl@23796

19 years agoreplace NEWSV(), SvSetSV() with newSVsv()
Nicholas Clark [Thu, 13 Jan 2005 22:54:10 +0000 (22:54 +0000)]
replace NEWSV(), SvSetSV() with newSVsv()

p4raw-id: //depot/perl@23795

19 years agoTurn the unreachable code into assertions. (So prove me wrong...)
Nicholas Clark [Thu, 13 Jan 2005 22:39:58 +0000 (22:39 +0000)]
Turn the unreachable code into assertions. (So prove me wrong...)

p4raw-id: //depot/perl@23794

19 years agoSource code tidy up - avoid assigning to sv.
Nicholas Clark [Thu, 13 Jan 2005 22:07:20 +0000 (22:07 +0000)]
Source code tidy up - avoid assigning to sv.

p4raw-id: //depot/perl@23793

19 years agoAvoid dogfood problems when an empty string accidentally ends up
Nicholas Clark [Thu, 13 Jan 2005 21:54:21 +0000 (21:54 +0000)]
Avoid dogfood problems when an empty string accidentally ends up
as a constant name. [They don't work in qw(), strangely]

p4raw-id: //depot/perl@23792

19 years agoThe leaktesting of NEWSV() is long dead, so create and initialise
Nicholas Clark [Thu, 13 Jan 2005 21:44:53 +0000 (21:44 +0000)]
The leaktesting of NEWSV() is long dead, so create and initialise
SV values in one, to simplify source code and shrink object code
by about 1%

p4raw-id: //depot/perl@23791

19 years agoNot a good idea to use unpack "H*" to peek at a scalar's internal
Nicholas Clark [Thu, 13 Jan 2005 20:55:37 +0000 (20:55 +0000)]
Not a good idea to use unpack "H*" to peek at a scalar's internal
representation.

p4raw-id: //depot/perl@23790

19 years agoUpdate copyright years. Add an editor block while passing by.
Nicholas Clark [Thu, 13 Jan 2005 14:05:08 +0000 (14:05 +0000)]
Update copyright years. Add an editor block while passing by.

p4raw-id: //depot/perl@23789

19 years agoutf.pm needs to require Carp before croak()ing
Nicholas Clark [Thu, 13 Jan 2005 13:50:40 +0000 (13:50 +0000)]
utf.pm needs to require Carp before croak()ing

p4raw-id: //depot/perl@23788

19 years agoRefactor all the unpack checksum-or-not logic to avoid massive
Nicholas Clark [Thu, 13 Jan 2005 13:21:11 +0000 (13:21 +0000)]
Refactor all the unpack checksum-or-not logic to avoid massive
duplication.

p4raw-id: //depot/perl@23787

19 years agoRe: killing USE_5005THREADS in blead?
Stas Bekman [Wed, 12 Jan 2005 16:32:42 +0000 (11:32 -0500)]
Re: killing USE_5005THREADS in blead?
Message-ID: <41E5977A.3060306@stason.org>

p4raw-id: //depot/perl@23786

19 years agoFix Win32 build problem caused by change 23757
Steve Hay [Thu, 13 Jan 2005 10:24:13 +0000 (10:24 +0000)]
Fix Win32 build problem caused by change 23757

Change 23757 added a glob() call to win32/FindExt.pm.  That code is
run by miniperl.exe when making the ..\config.sh target, but
miniperl.exe is built with -D PERL_EXTERNAL_GLOB so it requires
perlglob.exe to do the glob().  perlglob.exe has been built, but is
in the top-level of the source tree so is not found when miniperl.exe
is executed from within the win32/ sub-directory.

This was causing smokes to fail on t/lib/commonsense.t because the
"extensions" field in lib/Config_heavy.pl only contained
"threads/shared" as a result of the glob() not finding anything.

Manual builds had been working fine for me because I had an installed
perl in my PATH so perlglob.exe was being found there instead!

p4raw-id: //depot/perl@23785

19 years agofollow-up to #23765
Craig A. Berry [Tue, 11 Jan 2005 21:01:27 +0000 (15:01 -0600)]
follow-up to #23765
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41E49307.7080900@mac.com>

p4raw-id: //depot/perl@23783

19 years agoFix bug 32294 - index()/rindex() ignore UTF8 flag
Nicholas Clark [Tue, 11 Jan 2005 19:10:20 +0000 (19:10 +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

19 years agofollow-up to 23767
Robin Barker [Tue, 11 Jan 2005 15:48:49 +0000 (15:48 +0000)]
follow-up to 23767
Message-ID: <533D273D4014D411AB1D00062938C4D90849C56A@hotel.npl.co.uk>

p4raw-id: //depot/perl@23781

19 years agoRemove PERL_FLEXIBLE_EXCEPTIONS code.
Marcus Holland-Moritz [Mon, 10 Jan 2005 19:25:27 +0000 (19:25 +0000)]
Remove PERL_FLEXIBLE_EXCEPTIONS code.

p4raw-id: //depot/perl@23780

19 years agot/op/split.t #11 nit on VMS
Craig A. Berry [Sun, 9 Jan 2005 17:46:41 +0000 (11:46 -0600)]
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

19 years agoNeed to close files before unlinking them on Win32
Steve Hay [Mon, 10 Jan 2005 11:53:10 +0000 (11:53 +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

19 years agoMake Win32's distclean target clean up properly
Steve Hay [Mon, 10 Jan 2005 10:28:00 +0000 (10:28 +0000)]
Make Win32's distclean target clean up properly

p4raw-id: //depot/perl@23777

19 years agoGet $Config{osvers} filled in on Win32
Steve Hay [Mon, 10 Jan 2005 09:45:50 +0000 (09:45 +0000)]
Get $Config{osvers} filled in on Win32

p4raw-id: //depot/perl@23776

19 years agofollow-up to #23748, -Duselargefiles on VMS
Craig A. Berry [Sun, 9 Jan 2005 17:52:09 +0000 (11:52 -0600)]
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

19 years agoShorter source code in pp_gelem. (But it compiles to the same size)
Nicholas Clark [Sun, 9 Jan 2005 23:42:25 +0000 (23:42 +0000)]
Shorter source code in pp_gelem. (But it compiles to the same size)

p4raw-id: //depot/perl@23774

19 years agoIf we know the length of the string constant, save a strlen()
Nicholas Clark [Sun, 9 Jan 2005 21:50:28 +0000 (21:50 +0000)]
If we know the length of the string constant, save a strlen()

p4raw-id: //depot/perl@23773

19 years agosavepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
Nicholas Clark [Sun, 9 Jan 2005 21:26:40 +0000 (21:26 +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

19 years agoCan pass in a length here without introducing a bug. Might save
Nicholas Clark [Sun, 9 Jan 2005 19:42:30 +0000 (19:42 +0000)]
Can pass in a length here without introducing a bug. Might save
a strlen()

p4raw-id: //depot/perl@23771

19 years agoPull the am-I-utf8-or-not logic into one place (S_newSV_maybe_utf8)
Nicholas Clark [Sun, 9 Jan 2005 15:05:33 +0000 (15:05 +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

19 years agoDisable PERL_MALLOC and DEBUG_MSTATS in win32/makefile.mk by default
Steve Hay [Fri, 7 Jan 2005 17:25:35 +0000 (17:25 +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

19 years agoRe: [PATCH] Remove Carp from warnings.pm
Jim Cromie [Mon, 3 Jan 2005 06:36:16 +0000 (23:36 -0700)]
Re: [PATCH] Remove Carp from warnings.pm
Message-ID: <cfe85dfa05010305367445dee6@mail.gmail.com>

p4raw-id: //depot/perl@23768

19 years agoto improve -DCHECK_FORMAT
Robin Barker [Wed, 5 Jan 2005 11:55:09 +0000 (11:55 +0000)]
to improve -DCHECK_FORMAT
Message-ID: <533D273D4014D411AB1D00062938C4D90849C55A@hotel.npl.co.uk>

p4raw-id: //depot/perl@23767

19 years agoStage 1 of utf8 support for soft references.
Nicholas Clark [Fri, 7 Jan 2005 12:46:07 +0000 (12:46 +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

19 years agomake lib/warnings.t use t/test.pl
Craig A. Berry [Thu, 6 Jan 2005 17:32:01 +0000 (11:32 -0600)]
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

19 years agoFix win32/config.*'s cc, ld and other related values
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000 (02:01 -0800)]
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

19 years agoAdd TODO tests for UTF8 encoded soft references
Nicholas Clark [Thu, 6 Jan 2005 17:42:59 +0000 (17:42 +0000)]
Add TODO tests for UTF8 encoded soft references

p4raw-id: //depot/perl@23763

19 years agoAllow static linking core extensions on Win32 with MinGW
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000 (02:01 -0800)]
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

19 years agoSilence a compilation warning
Rafael Garcia-Suarez [Thu, 6 Jan 2005 15:49:39 +0000 (15:49 +0000)]
Silence a compilation warning

p4raw-id: //depot/perl@23761

19 years agoTurn barewords into strings to run under strict subs.
Nicholas Clark [Thu, 6 Jan 2005 14:59:17 +0000 (14:59 +0000)]
Turn barewords into strings to run under strict subs.
Run under strict refs outside the soft reference tests.

p4raw-id: //depot/perl@23760

19 years agoAll tests now use test.pl
Nicholas Clark [Thu, 6 Jan 2005 14:34:24 +0000 (14:34 +0000)]
All tests now use test.pl

p4raw-id: //depot/perl@23759

19 years agoStart converting t/op/ref.t to use test.pl
Nicholas Clark [Thu, 6 Jan 2005 11:44:08 +0000 (11:44 +0000)]
Start converting t/op/ref.t to use test.pl

p4raw-id: //depot/perl@23758

19 years agoFix extensions config fields on Win32 to be as they are on Unix
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000 (02:01 -0800)]
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

19 years agoCorrect a Greengrocer's apostrophe.
Nicholas Clark [Wed, 5 Jan 2005 21:58:15 +0000 (21:58 +0000)]
Correct a Greengrocer's apostrophe.

p4raw-id: //depot/perl@23756

19 years agoFoolishly I committed change 23753 before remembering to test without
Nicholas Clark [Wed, 5 Jan 2005 21:36:26 +0000 (21:36 +0000)]
Foolishly I committed change 23753 before remembering to test without
ithreads. No tests => bugs. This should fix them.

p4raw-id: //depot/perl@23755

19 years agoError-free constant folding is a TODO
Nicholas Clark [Wed, 5 Jan 2005 20:14:02 +0000 (20:14 +0000)]
Error-free constant folding is a TODO

p4raw-id: //depot/perl@23754

19 years agoTurn INIT_TLS_AND_INTERP into a static function
Nicholas Clark [Wed, 5 Jan 2005 19:44:28 +0000 (19:44 +0000)]
Turn INIT_TLS_AND_INTERP into a static function

p4raw-id: //depot/perl@23753

19 years agoShave off the explict 1; from the end of lib/Config.pm
Nicholas Clark [Wed, 5 Jan 2005 16:27:19 +0000 (16:27 +0000)]
Shave off the explict 1; from the end of lib/Config.pm

p4raw-id: //depot/perl@23752

19 years agounnecessary rmdir in Makefile
Robin Barker [Wed, 5 Jan 2005 11:58:54 +0000 (11:58 +0000)]
unnecessary rmdir in Makefile
Message-ID: <533D273D4014D411AB1D00062938C4D90849C55C@hotel.npl.co.uk>

p4raw-id: //depot/perl@23751

19 years agogcc and ld in Configure
Robin Barker [Wed, 5 Jan 2005 12:04:25 +0000 (12:04 +0000)]
gcc and ld in Configure
Message-ID: <533D273D4014D411AB1D00062938C4D90849C55D@hotel.npl.co.uk>

p4raw-id: //depot/perl@23750