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

p4raw-id: //depot/perl@23806

20 years agoBetter test diagnostics for the numbers tests.
Nicholas Clark [Fri, 14 Jan 2005 19:56:42 +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

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

p4raw-id: //depot/perl@23803

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

p4raw-id: //depot/perl@23802

20 years agoA terser way to write the \-ing code in pv_uni_display
Nicholas Clark [Fri, 14 Jan 2005 10:32:08 +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

20 years agoImprove documentation for sv_catpvf, to note that pattern's UTF-8ness
Nicholas Clark [Fri, 14 Jan 2005 09:55:16 +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

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

p4raw-id: //depot/perl@23799

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

p4raw-id: //depot/perl@23798

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

p4raw-id: //depot/perl@23797

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

p4raw-id: //depot/perl@23796

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

p4raw-id: //depot/perl@23795

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

p4raw-id: //depot/perl@23794

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

p4raw-id: //depot/perl@23793

20 years agoAvoid dogfood problems when an empty string accidentally ends up
Nicholas Clark [Thu, 13 Jan 2005 21:54:21 +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

20 years agoThe leaktesting of NEWSV() is long dead, so create and initialise
Nicholas Clark [Thu, 13 Jan 2005 21:44:53 +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

20 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]
Not a good idea to use unpack "H*" to peek at a scalar's internal
representation.

p4raw-id: //depot/perl@23790

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

p4raw-id: //depot/perl@23789

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

p4raw-id: //depot/perl@23788

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

p4raw-id: //depot/perl@23787

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

p4raw-id: //depot/perl@23786

20 years agoFix Win32 build problem caused by change 23757
Steve Hay [Thu, 13 Jan 2005 10:24:13 +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

20 years agofollow-up to #23765
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

20 years agoFix bug 32294 - index()/rindex() ignore UTF8 flag
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

20 years agofollow-up to 23767
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

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

p4raw-id: //depot/perl@23780

20 years agot/op/split.t #11 nit on VMS
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

20 years agoNeed to close files before unlinking them on Win32
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

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

p4raw-id: //depot/perl@23777

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

p4raw-id: //depot/perl@23776

20 years agofollow-up to #23748, -Duselargefiles on VMS
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

20 years agoShorter source code in pp_gelem. (But it compiles to the same size)
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

20 years agoIf we know the length of the string constant, save a strlen()
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

20 years agosavepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
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

20 years agoCan pass in a length here without introducing a bug. Might save
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

20 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]
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

20 years agoDisable PERL_MALLOC and DEBUG_MSTATS in win32/makefile.mk by default
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

20 years agoRe: [PATCH] Remove Carp from warnings.pm
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

20 years agoto improve -DCHECK_FORMAT
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

20 years agoStage 1 of utf8 support for soft references.
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

20 years agomake lib/warnings.t use t/test.pl
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

20 years agoFix win32/config.*'s cc, ld and other related values
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

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

p4raw-id: //depot/perl@23763

20 years agoAllow static linking core extensions on Win32 with MinGW
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

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

p4raw-id: //depot/perl@23761

20 years agoTurn barewords into strings to run under strict subs.
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

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

p4raw-id: //depot/perl@23759

20 years agoStart converting t/op/ref.t to use test.pl
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

20 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]
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

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

p4raw-id: //depot/perl@23756

20 years agoFoolishly I committed change 23753 before remembering to test without
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

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

p4raw-id: //depot/perl@23754

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

p4raw-id: //depot/perl@23753

20 years agoShave off the explict 1; from the end of lib/Config.pm
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

20 years agounnecessary rmdir in Makefile
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

20 years agogcc and ld in Configure
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

20 years agoAvoid segfault when pthread_key_create fails
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

20 years ago-Duselargefiles for VMS
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

20 years agoRafael spotted that my changes caused warnings. So clean up.
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

20 years agoUpdate copyright years.
Nicholas Clark [Tue, 4 Jan 2005 23:07:25 +0000]
Update copyright years.

p4raw-id: //depot/perl@23746

20 years agoMake the switch statement discriminate similar names more
Nicholas Clark [Tue, 4 Jan 2005 19:32:01 +0000]
Make the switch statement discriminate similar names more
efficiently.

p4raw-id: //depot/perl@23745

20 years agoCheck all attributes in modify_SV_attributes are recognised.
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

20 years agoUse the new ${^UTF8LOCALE} to make the test reliable.
Nicholas Clark [Tue, 4 Jan 2005 12:46:56 +0000]
Use the new ${^UTF8LOCALE} to make the test reliable.

p4raw-id: //depot/perl@23743

20 years agoRE: [perl #32660] INT2PTR not mentioned in perlxs(1)
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

20 years agoAdd ${^UTF8LOCALE} to give perl space access to PL_utf8locale
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

20 years agoBring win32/config.* into line with win32/config_H.*
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

20 years agoMath::BigInt v1.74, Math::BigRat v0.14, bignum v0.16
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

20 years agoHappy new year
Rafael Garcia-Suarez [Tue, 4 Jan 2005 08:05:16 +0000]
Happy new year

p4raw-id: //depot/perl@23738

20 years agoReturn an immortal from attributes::_warn_reserved (a private
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

20 years agoChange dXSTARGET to dXSTARG as recommended by Spider Boardman.
Nicholas Clark [Mon, 3 Jan 2005 20:58:09 +0000]
Change dXSTARGET to dXSTARG as recommended by Spider Boardman.

p4raw-id: //depot/perl@23735

20 years agoD'oh! Spurious aTHX_. Here was I thinking that my test build was
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

20 years agoIntegrate a patch from Gentoo for uclibc support.
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

20 years agoRemove compiler warnings.
Nicholas Clark [Sun, 2 Jan 2005 23:18:07 +0000]
Remove compiler warnings.

p4raw-id: //depot/perl@23731

20 years agoChange 23727 broke code that relied on \ being escaped.
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

20 years agoSplitting the -n/-p code and concatenating strings generates
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

20 years agoConcatenate some string constants
Nicholas Clark [Sat, 1 Jan 2005 21:34:52 +0000]
Concatenate some string constants

p4raw-id: //depot/perl@23728

20 years agoUse Rafael's sick trick of ASCII NUL as a q'' delimiter to save a
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

20 years agoProbably should be using *pvn rather than *pv forms for speed in
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

20 years agostrEQ/strNE of 1 character strings seems better hand inlined,
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

20 years agoNot all the world's a VAX, er ASCII, so don't make assumptions.
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

20 years agoChange 23714 accidentally broke t/io/layers.t when testing with
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

20 years agoSkip the switch statement entirely if the pointer is null, rather
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

20 years agoDoing the strnEQ char by char for 2 and 3 character strings
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

20 years agoImprove documentation for is_gv_magical, and split the switch
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

20 years agoBecause name is always NUL terminated we can incorporate length
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

20 years agoGenerate smaller object code by using a single switch statement
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

20 years agoTidy up comments in change 23716
Nicholas Clark [Fri, 31 Dec 2004 18:31:18 +0000]
Tidy up comments in change 23716

p4raw-id: //depot/perl@23717

20 years agoRefactor gv_fetchpv so that the overwhelmingly common case
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

20 years agorandbits and randfunc for VMS
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

20 years agoBug in t/io/layers.t spotted by Ignasi Roca Carrió
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

20 years agoMention ppport.h and its --api-info switch in perlguts.
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

20 years agoAllow Configure's d_attribut to be set from the command line
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

20 years agoThinko in the description of Config::Extensions
Nicholas Clark [Wed, 29 Dec 2004 21:41:04 +0000]
Thinko in the description of Config::Extensions

p4raw-id: //depot/perl@23708

20 years agoExperimental module intended to simplify core regression tests
Nicholas Clark [Wed, 29 Dec 2004 21:25:29 +0000]
Experimental module intended to simplify core regression tests

p4raw-id: //depot/perl@23707

20 years agoSkip tests that binmode :utf8 if there is no perlio
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

20 years agoOoops. Fix unitialised variable
Nicholas Clark [Wed, 29 Dec 2004 21:04:43 +0000]
Ooops. Fix unitialised variable

p4raw-id: //depot/perl@23705

20 years agoOops. Forgot to uncomment the last set of Unicode values for
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

20 years agoread (and presuambly sysread) would expose the UTF8 internals when
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

20 years agoAdd a lot of tests for combinations of values, offsets and lengths
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

20 years agoConvert op/read.t to use test.pl and make it stricture compliant.
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

20 years agoUpgrade to Devel::PPPort 3.04
Marcus Holland-Moritz [Wed, 29 Dec 2004 13:46:36 +0000]
Upgrade to Devel::PPPort 3.04

p4raw-id: //depot/perl@23700