23 years agoStill buggy findgteprime, fix from Eric Joanis <joanis@cs.toronto.edu>.
Jarkko Hietaniemi [Fri, 15 Dec 2000 15:32:22 +0000]
Still buggy findgteprime, fix from Eric Joanis <joanis@cs.toronto.edu>.

p4raw-id: //depot/perl@8128

23 years agostuff for caller and _ in Safe::
Charles Lane [Thu, 14 Dec 2000 20:04:42 +0000]
stuff for caller and _ in Safe::
Message-Id: <001214200310.49929@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@8127

23 years agos/use vars qw\(/our(/ for OS/390 extension builds
Peter Prymmer [Thu, 14 Dec 2000 15:50:20 +0000]
s/use vars qw\(/our(/ for OS/390 extension builds
Message-ID: <Pine.OSF.4.10.10012141548200.57557-100000@aspara.forte.com>

p4raw-id: //depot/perl@8126

23 years agoThis seems to be a stage sane and stable enough to checkin.
Jarkko Hietaniemi [Fri, 15 Dec 2000 15:11:05 +0000]
This seems to be a stage sane and stable enough to checkin.
(it basically is 8102..8118+8122 but no 8120, 8121, 8123, 8124)

p4raw-id: //depot/perl@8125

23 years agoSomething is really wonky.
Jarkko Hietaniemi [Fri, 15 Dec 2000 04:20:26 +0000]
Something is really wonky.

p4raw-id: //depot/perl@8124

23 years agoFixes for the IV UV patches to compile in Digital UNIX.
Jarkko Hietaniemi [Fri, 15 Dec 2000 04:00:50 +0000]
Fixes for the IV UV patches to compile in Digital UNIX.

p4raw-id: //depot/perl@8123

23 years agoRe: [ID 20001214.011] Unreachable value in a search list logical name
Craig A. Berry [Thu, 14 Dec 2000 19:10:49 +0000]
Re: [ID 20001214.011] Unreachable value in a search list logical name
Message-Id: <p04330100b65efbe32f30@[172.16.52.1]>

p4raw-id: //depot/perl@8122

23 years agostrtoq, strtou(q|ll|l) testing (was [PATCH] faster and 64 bit preserving arithmetic)
Nicholas Clark [Thu, 14 Dec 2000 18:38:57 +0000]
strtoq, strtou(q|ll|l) testing (was [PATCH] faster and 64 bit  preserving arithmetic)
Message-ID: <20001214183857.B97909@plum.flirble.org>

p4raw-id: //depot/perl@8120

23 years agofaster and 64 bit preserving arithmetic
Nicholas Clark [Wed, 13 Dec 2000 20:08:50 +0000]
faster and 64 bit preserving arithmetic
Message-ID: <20001213200849.B71166@plum.flirble.org>

p4raw-id: //depot/perl@8119

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Thu, 14 Dec 2000 22:46:26 +0000]
Integrate perlio:

[  8117]
Win32 tweaks to get Encode to build
- temp hack to makedef.pl till PerlIO is properly "exported".
- MSVC dislikes
static encpage_t foo[];
so make 'em extern for now.

[  8116]
Document the new files

p4raw-link: @8117 on //depot/perlio: 18b7339f76ca9f2454845b454e0d2168c487e8ee
p4raw-link: @8116 on //depot/perlio: 9a5ca08e7f5b67208359eefb1f4b7db6c2880dcb

p4raw-id: //depot/perl@8118

23 years agoWin32 tweaks to get Encode to build
Nick Ing-Simmons [Thu, 14 Dec 2000 22:38:53 +0000]
Win32 tweaks to get Encode to build
 - temp hack to makedef.pl till PerlIO is properly "exported".
 - MSVC dislikes
   static encpage_t foo[];
   so make 'em extern for now.

p4raw-id: //depot/perlio@8117

23 years agoDocument the new files
Nick Ing-Simmons [Thu, 14 Dec 2000 22:00:53 +0000]
Document the new files

p4raw-id: //depot/perlio@8116

23 years agoMANIFEST new files of #8114.
Jarkko Hietaniemi [Thu, 14 Dec 2000 21:58:01 +0000]
MANIFEST new files of #8114.

p4raw-id: //depot/perl@8115

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Thu, 14 Dec 2000 21:50:49 +0000]
Integrate perlio:

[  8106]
"Cold" build correction to Encode's Makefile.PL

[  8105]
"Compiled" encodings.
Correct replacement character in EBCDIC .enc files
Add 0x7F to ASCII repertoire.

[  8103]
Beginings of compiled encodings - checked in as a snapshot of thoughts
so far and so it does not get lost.

p4raw-link: @8106 on //depot/perlio: 311a0942a841b9a310fcf53d05fa79c643b68a12
p4raw-link: @8105 on //depot/perlio: 2f2b4ff2c154a8e461857f2e82cb815c238d0d94
p4raw-link: @8103 on //depot/perlio: 017e2addf6da99b3f648d9518de5a848be394ab8

p4raw-id: //depot/perl@8114

23 years agoThe documentation part of the
Jonathan Stowe [Thu, 14 Dec 2000 08:28:14 +0000]
The documentation part of the

Subject: [ID 20001214.002] Net::Ping patch
Message-Id: <Pine.LNX.4.10.10012140805480.19767-200000@orpheus.gellyfish.com>
since the #7529 had already addressed the same problem.

p4raw-id: //depot/perl@8113

23 years agoRe: [ID 20001013.006] XS subs are not define()ed
Dominic Dunlop [Tue, 12 Dec 2000 10:47:10 +0000]
Re: [ID 20001013.006] XS subs are not define()ed
Message-Id: <p04320402b65ba33a92b2@[192.168.1.4]>

Document how elusive subroutines can be.

p4raw-id: //depot/perl@8112

23 years ago[ID 20001214.003] [PATCH bleadperl] POSIX::tmpnam() is dangerous
Dominic Dunlop [Thu, 14 Dec 2000 10:13:51 +0000]
[ID 20001214.003] [PATCH bleadperl] POSIX::tmpnam() is dangerous
Message-Id: <p04320407b65e3f4853aa@[192.168.1.4]>

p4raw-id: //depot/perl@8111

23 years ago[patch] perlfaq7
Gerrit P. Haase [Thu, 14 Dec 2000 15:31:07 +0000]
[patch] perlfaq7
Message-ID: <3A38E7BB.13178.11C40A8@localhost>

p4raw-id: //depot/perl@8110

23 years ago[8104] Encode
H.Merijn Brand [Thu, 14 Dec 2000 14:49:34 +0000]
[8104] Encode
Message-Id: <20001214142101.B338.H.M.BRAND@hccnet.nl>

Type casting for nervous compilers.

p4raw-id: //depot/perl@8109

23 years ago[8104] DB_File
H.Merijn Brand [Thu, 14 Dec 2000 14:49:35 +0000]
[8104] DB_File
Message-Id: <20001214144439.B33A.H.M.BRAND@hccnet.nl>

Type definition incorrect for DB 2.7.7.  Not known when it
changed, so only changed it for a known revision.

p4raw-id: //depot/perl@8108

23 years agoRe: Encode/cp1047.enc etc.
Peter Prymmer [Thu, 14 Dec 2000 11:11:50 +0000]
Re: Encode/cp1047.enc etc.
Message-ID: <Pine.OSF.4.10.10012141057330.57557-100000@aspara.forte.com>

Use '?' (0x6F in EBCDIC) for the illegal codepoint.

p4raw-id: //depot/perl@8107

23 years ago"Cold" build correction to Encode's Makefile.PL
Nick Ing-Simmons [Thu, 14 Dec 2000 20:36:13 +0000]
"Cold" build correction to Encode's Makefile.PL

p4raw-id: //depot/perlio@8106

23 years ago"Compiled" encodings.
Nick Ing-Simmons [Thu, 14 Dec 2000 20:09:37 +0000]
"Compiled" encodings.
Correct replacement character in EBCDIC .enc files
Add 0x7F to ASCII repertoire.

p4raw-id: //depot/perlio@8105

23 years agoIntegrate mainline
Nick Ing-Simmons [Thu, 14 Dec 2000 00:38:20 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8104

23 years agoBeginings of compiled encodings - checked in as a snapshot of thoughts
Nick Ing-Simmons [Wed, 13 Dec 2000 23:16:13 +0000]
Beginings of compiled encodings - checked in as a snapshot of thoughts
so far and so it does not get lost.

p4raw-id: //depot/perlio@8103

23 years agoUpdate Changes.
Jarkko Hietaniemi [Wed, 13 Dec 2000 17:14:22 +0000]
Update Changes.

p4raw-id: //depot/perl@8102

23 years agoMove the proto of start_glob() to a better place; regen api files.
Jarkko Hietaniemi [Wed, 13 Dec 2000 16:53:41 +0000]
Move the proto of start_glob() to a better place; regen api files.

p4raw-id: //depot/perl@8101

23 years agoRe: [ID 20000328.039] [PATCH] Eliminate Configure use of /tmp
Andy Dougherty [Wed, 13 Dec 2000 10:36:09 +0000]
Re: [ID 20000328.039] [PATCH] Eliminate Configure use of /tmp
Message-ID: <Pine.SOL.4.10.10012131031230.2017-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@8099

23 years ago[20000615.005] [PATCH] Cwd::fastgetcwd broken (or mis-named?) on Unix
Robert Spier [Tue, 12 Dec 2000 21:12:39 +0000]
[20000615.005] [PATCH] Cwd::fastgetcwd broken (or mis-named?) on Unix
Message-ID: <14902.56087.678086.725773@rls.cx>

fastgetcwd is defined using a glob alias on a $^O dependent basis -
and there was no default assignment or perl subroutine.

p4raw-id: //depot/perl@8098

23 years agomove startglob out of pp_hot.c
Nicholas Clark [Mon, 11 Dec 2000 23:16:39 +0000]
move startglob out of pp_hot.c
Message-ID: <20001211231638.A55550@plum.flirble.org>

p4raw-id: //depot/perl@8097

23 years ago[8095] HP-UX 11.00 / cc / 64bitint & 64bitall / perlio
H.Merijn Brand [Wed, 13 Dec 2000 14:01:37 +0000]
[8095] HP-UX 11.00 / cc / 64bitint & 64bitall / perlio
Message-Id: <20001213135318.621A.H.M.BRAND@hccnet.nl>

perl/64/HP-UX wants libdb-3.0 to be shared ELF 64 bit which
in turn requires libpthread in libswanted.

p4raw-id: //depot/perl@8096

23 years agoThe integration wars continue.
Jarkko Hietaniemi [Tue, 12 Dec 2000 19:51:05 +0000]
The integration wars continue.

p4raw-id: //depot/perl@8095

23 years agoDB_File-1.74
Paul Marquess [Mon, 11 Dec 2000 23:07:17 +0000]
DB_File-1.74
Message-ID: <000001c063c7$1b9d28a0$a20a140a@bfs.phone.com>

p4raw-id: //depot/perl@8094

23 years agoIntegrate/merge mainline with further efficiency tweak to sv.c's utf8 stuff.
Nick Ing-Simmons [Tue, 12 Dec 2000 19:42:13 +0000]
Integrate/merge mainline with further efficiency tweak to sv.c's utf8 stuff.

p4raw-id: //depot/perlio@8093

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 12 Dec 2000 19:28:11 +0000]
Integrate perlio:

[  8091]
Fix for Tk, and upgrading shared SVs.

p4raw-link: @8091 on //depot/perlio: 8a8183332d9a42d93d66e4028ccb28fd2bda82d8

p4raw-id: //depot/perl@8092

23 years agoFix for Tk, and upgrading shared SVs.
Nick Ing-Simmons [Tue, 12 Dec 2000 18:49:45 +0000]
Fix for Tk, and upgrading shared SVs.

p4raw-id: //depot/perlio@8091

23 years agoRe: Breadperl & Tk
Nick Ing-Simmons [Tue, 12 Dec 2000 14:48:27 +0000]
Re: Breadperl & Tk
Message-Id: <200012121448.OAA11516@mikado.tiuk.ti.com>

p4raw-id: //depot/perl@8090

23 years agoDosGlob.pm diff for bash style brace expansion.
Mike Mestnik [Fri, 8 Dec 2000 10:45:30 +0000]
DosGlob.pm diff for bash style brace expansion.
Message-ID: <B50C47897E98D3118130009027D3971920F278@EXCHANGE_M1>

p4raw-id: //depot/perl@8089

23 years agoIntegrate mainline
Nick Ing-Simmons [Mon, 11 Dec 2000 23:59:59 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8088

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 11 Dec 2000 23:20:23 +0000]
Integrate perlio:

[  8085]
Finish 1st pass of "encoding" layer e.g. :
open($fh,"<encoding(iso8859-7)",$greek) || die;

[  8082]
Restore mmap function (broken by tweaks to shared buffer
layer for encode(xxxx)).

[  8076]
Not merge worthy...
Allow arg to layers e.g. open($fh,"<:encode(iso8859-15)",$name)
syntax is modelled on attributes.
Untested fix for io/utf8 on Win32 etc.
Very clumsy start to the encode layer.

p4raw-link: @8085 on //depot/perlio: 72e44f29ea535faa4a4afab64f5101668334125d
p4raw-link: @8082 on //depot/perlio: a5262162c2c854ee96768d32ed06a8df25b95505
p4raw-link: @8076 on //depot/perlio: 33af2bc731cf870df7b094c6b3d116322b4b493f

p4raw-id: //depot/perl@8087

23 years agoTune further the OS detection of CGI.
Jarkko Hietaniemi [Mon, 11 Dec 2000 22:50:59 +0000]
Tune further the OS detection of CGI.

p4raw-id: //depot/perl@8086

23 years agoFinish 1st pass of "encoding" layer e.g. :
Nick Ing-Simmons [Mon, 11 Dec 2000 22:50:46 +0000]
Finish 1st pass of "encoding" layer e.g. :
  open($fh,"<encoding(iso8859-7)",$greek) || die;

p4raw-id: //depot/perlio@8085

23 years agoRevert the -f ambiguousity patch, seems to cause
Jarkko Hietaniemi [Mon, 11 Dec 2000 22:32:06 +0000]
Revert the -f ambiguousity patch, seems to cause
too much hassle (the interpret -Q as a function
where Q is not a known filetest part is left in).

p4raw-id: //depot/perl@8084

23 years ago(accidentally empty check-in)
Jarkko Hietaniemi [Mon, 11 Dec 2000 22:27:23 +0000]
(accidentally empty check-in)

p4raw-id: //depot/perl@8083

23 years agoRestore mmap function (broken by tweaks to shared buffer
Nick Ing-Simmons [Mon, 11 Dec 2000 19:09:51 +0000]
Restore mmap function (broken by tweaks to shared buffer
layer for encode(xxxx)).

p4raw-id: //depot/perlio@8082

23 years agoRe: The long awaited feature ...
Simon Cozens [Mon, 11 Dec 2000 15:54:24 +0000]
Re: The long awaited feature ...
Message-ID: <20001211155424.A17680@deep-dark-truthful-mirror.perlhacker.org>

More io/utf8 tests.

p4raw-id: //depot/perl@8081

23 years agoPATCH MakeMaker manpage clarification
Andreas König [Sun, 10 Dec 2000 20:46:13 +0000]
PATCH MakeMaker manpage clarification
Message-ID: <m3aea4kqka.fsf@ak-71.mind.de>

p4raw-id: //depot/perl@8080

23 years agoRe: [ID 20001204.007] -MO=Deparse -we '{234;}' failing
Simon Cozens [Sun, 10 Dec 2000 19:06:19 +0000]
Re: [ID 20001204.007] -MO=Deparse -we '{234;}' failing
Message-ID: <20001210190619.B21402@deep-dark-truthful-mirror.perlhacker.org>

p4raw-id: //depot/perl@8079

23 years agodocs on NaN
Nicholas Clark [Mon, 11 Dec 2000 01:48:38 +0000]
docs on NaN
Message-ID: <20001211014838.B99205@plum.flirble.org>

p4raw-id: //depot/perl@8078

23 years agoRe: [Fwd: BUG 20001205.022] Local on Hash elements
Simon Cozens [Mon, 11 Dec 2000 01:21:45 +0000]
Re: [Fwd: BUG 20001205.022] Local on Hash elements
Message-ID: <20001211012144.A23467@deep-dark-truthful-mirror.perlhacker.org>

p4raw-id: //depot/perl@8077

23 years agoNot merge worthy...
Nick Ing-Simmons [Sun, 10 Dec 2000 20:43:32 +0000]
Not merge worthy...
Allow arg to layers e.g. open($fh,"<:encode(iso8859-15)",$name)
syntax is modelled on attributes.
Untested fix for io/utf8 on Win32 etc.
Very clumsy start to the encode layer.

p4raw-id: //depot/perlio@8076

23 years agoDarwin is not Windows.
Jarkko Hietaniemi [Sun, 10 Dec 2000 18:39:33 +0000]
Darwin is not Windows.

p4raw-id: //depot/perl@8075

23 years agoAmbiguous -%c() resolved as a file test
Paul Marquess [Sun, 10 Dec 2000 15:35:07 +0000]
Ambiguous -%c() resolved as a file test
Message-ID: <002601c062be$c5f749c0$a20a140a@bfs.phone.com>

p4raw-id: //depot/perl@8074

23 years agoPATCH installperl misinformed
Andreas König [Sun, 10 Dec 2000 13:01:32 +0000]
PATCH installperl misinformed
Message-ID: <m3r93glc2r.fsf@ak-71.mind.de>

p4raw-id: //depot/perl@8073

23 years agoThe walkoptree confusion rages; walkoptree() seems to be coming
Jarkko Hietaniemi [Sun, 10 Dec 2000 18:07:55 +0000]
The walkoptree confusion rages; walkoptree() seems to be coming
from B.xs, while walkoptree_slow() comes from B.pm.

p4raw-id: //depot/perl@8072

23 years agoIntegrate mainline
Nick Ing-Simmons [Sun, 10 Dec 2000 11:45:47 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8071

23 years agoUpdate Changes.
Jarkko Hietaniemi [Sun, 10 Dec 2000 04:46:21 +0000]
Update Changes.

p4raw-id: //depot/perl@8070

23 years agoRe: PATCH: Let Test::Harness bail out early (Was: Testing module dependencies)
Andreas König [Sat, 9 Dec 2000 17:14:25 +0000]
Re: PATCH: Let Test::Harness bail out early (Was: Testing module dependencies)
Message-ID: <m3wvd9o9lq.fsf@ak-71.mind.de>

p4raw-id: //depot/perl@8069

23 years agoRE: [ID 20001013.009] DB_File issues warning when setting element to undef
Paul Marquess [Sat, 9 Dec 2000 16:47:22 +0000]
RE: [ID 20001013.009] DB_File issues warning when setting element to    undef
Message-ID: <002001c061ff$b3aba820$a20a140a@bfs.phone.com>

p4raw-id: //depot/perl@8068

23 years agoTest case for #8066.
Jarkko Hietaniemi [Sun, 10 Dec 2000 03:52:02 +0000]
Test case for #8066.

p4raw-id: //depot/perl@8067

23 years agoRe: [ID 20001202.002] [BUG all] 'die qr{pattern}' does not check termination
Simon Cozens [Sun, 10 Dec 2000 00:55:37 +0000]
Re: [ID 20001202.002] [BUG all] 'die qr{pattern}' does not check termination
Message-ID: <20001210005537.B16221@deep-dark-truthful-mirror.perlhacker.org>

p4raw-id: //depot/perl@8066

23 years agoTest case for #8064.
Jarkko Hietaniemi [Sun, 10 Dec 2000 03:44:52 +0000]
Test case for #8064.

p4raw-id: //depot/perl@8065

23 years agoRe: prototype of substr
Simon Cozens [Sun, 10 Dec 2000 00:13:33 +0000]
Re: prototype of substr
Message-ID: <20001210001333.A16221@deep-dark-truthful-mirror.perlhacker.org>

Make CORE::substr to be '$$;$$' instead of '$$;$;$'.
In other words, make the returned prototypes for any function
stop prepending the ';' optionality marker after the first one.
       If they start getting optional, all the rest are optional.

p4raw-id: //depot/perl@8064

23 years agoperlguts.pod
Simon Cozens [Sun, 10 Dec 2000 00:06:47 +0000]
perlguts.pod
Message-ID: <20001210000647.A16203@deep-dark-truthful-mirror.perlhacker.org>

Documentation of the different types of ops,
plus the functions in dump.c

p4raw-id: //depot/perl@8063

23 years ago[ID 20001209.006] Not OK: perl v5.7.0 +DEVEL7978 on armv4l-linux-64int 2.2.17-rmk1...
Nicholas Clark [Sat, 9 Dec 2000 18:57:25 +0000]
[ID 20001209.006] Not OK: perl v5.7.0 +DEVEL7978 on armv4l-linux-64int 2.2.17-rmk1 (UNINSTALLED)
Message-Id: <E144pBV-0002Nv-00@Bagpuss.unfortu.net>

Be more robust in weird hostname setups.

p4raw-id: //depot/perl@8062

23 years agoPacify fussy compiler.
Jarkko Hietaniemi [Sun, 10 Dec 2000 03:28:21 +0000]
Pacify fussy compiler.

p4raw-id: //depot/perl@8061

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 10 Dec 2000 02:52:46 +0000]
Integrate perlio:

[  8059]
read/sysread/recv should now be utf8 aware.
Basic test for utf8 read.

p4raw-link: @8059 on //depot/perlio: eb5c063ad00efba84ec136b0b86cfe12eb4ab14c

p4raw-id: //depot/perl@8060

23 years agoread/sysread/recv should now be utf8 aware.
Nick Ing-Simmons [Sat, 9 Dec 2000 23:40:14 +0000]
read/sysread/recv should now be utf8 aware.
Basic test for utf8 read.

p4raw-id: //depot/perlio@8059

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 9 Dec 2000 21:56:02 +0000]
Integrate perlio:

[  8055]
Make write() (i.e. formats) utf8-aware by calling do_print() rather
than raw PerlIO_write() - does not seem to break any tests.

[  8054]
Make print, syswrite, send, readline, getc honour utf8-ness of PerlIO.
(sysread, recv and write i.e. formats still to do...)
Allow :utf8 or :bytes in PerlIO_apply_layers() so that
open($fh,">:utf8","name")
etc. work. - "applying" those just sets/clears the UTF8 bit of the top layer,
so no extra overhead is involved.
Tweak t/comp/require.t to add a 'use bytes' to permit its dubious writing of BOM
to a non-utf8 stream.
Add initial io/utf8.t
Fix SvPVutf8() - sv_2pv() was not expecting to be called with something
that was already SvPOK() - (we just fossiked with SvUTF8 bit). Fix that
and also just use the SvPV macro in sv_2pvutf8() to avoid the issue/overhead.

[  8053]
Did not get that has_utf8/this_utf8 fix right last time, another spot
was only testing this_utf8.

[  8052]
Typo/thinko in S_scan_const() - seeing high bit sets has_utf8 not this_utf8
i.e. the output string has one, but don't mess with source assumption.

p4raw-link: @8055 on //depot/perlio: d75029d0f4549b2fe0cff3cd80934a1b6bbb54eb
p4raw-link: @8054 on //depot/perlio: 7d59b7e40bca518078f3e97c802950b76d52efa2
p4raw-link: @8053 on //depot/perlio: bbc28b27949817e8e7461c0a92c6108632259a4b
p4raw-link: @8052 on //depot/perlio: 4e553d734e1cb450bb69a562e02eb0c12ecd8995

p4raw-id: //depot/perl@8058

23 years agoRe: Additional patch for UTF8-keys (Re: perl@8016)
Inaba Hiroto [Sun, 10 Dec 2000 05:53:21 +0000]
Re: Additional patch for UTF8-keys (Re: perl@8016)
Message-ID: <3A329BC0.15E8BFF9@st.rim.or.jp>

Tests for #8056.

p4raw-id: //depot/perl@8057

23 years agoAdditional patch for UTF8-keys (Re: perl@8016)
Inaba Hiroto [Sat, 9 Dec 2000 18:02:00 +0000]
Additional patch for UTF8-keys (Re: perl@8016)
Message-ID: <3A31F508.34F4BB23@st.rim.or.jp>

exists() didn't work for UTF-8 keys, and neither did shared hash keys.

p4raw-id: //depot/perl@8056

23 years agoMake write() (i.e. formats) utf8-aware by calling do_print() rather
Nick Ing-Simmons [Sat, 9 Dec 2000 20:11:48 +0000]
Make write() (i.e. formats) utf8-aware by calling do_print() rather
than raw PerlIO_write() - does not seem to break any tests.

p4raw-id: //depot/perlio@8055

23 years agoMake print, syswrite, send, readline, getc honour utf8-ness of PerlIO.
Nick Ing-Simmons [Sat, 9 Dec 2000 19:47:30 +0000]
Make print, syswrite, send, readline, getc honour utf8-ness of PerlIO.
(sysread, recv and write i.e. formats still to do...)
Allow :utf8 or :bytes in PerlIO_apply_layers() so that
   open($fh,">:utf8","name")
etc. work. - "applying" those just sets/clears the UTF8 bit of the top layer,
so no extra overhead is involved.
Tweak t/comp/require.t to add a 'use bytes' to permit its dubious writing of BOM
to a non-utf8 stream.
Add initial io/utf8.t
Fix SvPVutf8() - sv_2pv() was not expecting to be called with something
that was already SvPOK() - (we just fossiked with SvUTF8 bit). Fix that
and also just use the SvPV macro in sv_2pvutf8() to avoid the issue/overhead.

p4raw-id: //depot/perlio@8054

23 years agoDid not get that has_utf8/this_utf8 fix right last time, another spot
Nick Ing-Simmons [Sat, 9 Dec 2000 19:26:37 +0000]
Did not get that has_utf8/this_utf8 fix right last time, another spot
was only testing this_utf8.

p4raw-id: //depot/perlio@8053

23 years agoTypo/thinko in S_scan_const() - seeing high bit sets has_utf8 not this_utf8
Nick Ing-Simmons [Sat, 9 Dec 2000 19:09:41 +0000]
Typo/thinko in S_scan_const() - seeing high bit sets has_utf8 not this_utf8
i.e. the output string has one, but don't mess with source assumption.

p4raw-id: //depot/perlio@8052

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 9 Dec 2000 16:55:17 +0000]
Integrate perlio:

[  8049]
UTF8 output prework.
- Store $\ and $, as SVs so they can have SvUTF8 flag
- use do_print() rather than raw PerlIO_write() to print them.

p4raw-link: @8049 on //depot/perlio: 7889fe52c8bdedf274e4826ad460ef6c3606ca6a

p4raw-id: //depot/perl@8051

23 years agoNits noticed by Peter Prymmer.
Jarkko Hietaniemi [Sat, 9 Dec 2000 16:48:07 +0000]
Nits noticed by Peter Prymmer.

p4raw-id: //depot/perl@8050

23 years agoUTF8 output prework.
Nick Ing-Simmons [Sat, 9 Dec 2000 13:49:40 +0000]
UTF8 output prework.
 - Store $\ and $, as SVs so they can have SvUTF8 flag
 - use do_print() rather than raw PerlIO_write() to print them.

p4raw-id: //depot/perlio@8049

23 years agoIntegrate mainline.
Nick Ing-Simmons [Sat, 9 Dec 2000 12:30:43 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@8048

23 years agoRe: [pvhp@forte.com: [ID 20001208.004] Not OK: perl v5.7.0 +DEVEL8042 on VMS_AXP...
Michael G. Schwern [Fri, 8 Dec 2000 14:43:04 +0000]
Re: [pvhp@forte.com: [ID 20001208.004] Not OK: perl v5.7.0 +DEVEL8042 on VMS_AXP V7.1 (UNINSTALLED)]

p4raw-id: //depot/perl@8047

23 years agoA missed check-in.
Jarkko Hietaniemi [Fri, 8 Dec 2000 23:10:27 +0000]
A missed check-in.

p4raw-id: //depot/perl@8046

23 years ago(null check-in)
Jarkko Hietaniemi [Fri, 8 Dec 2000 21:57:12 +0000]
(null check-in)

p4raw-id: //depot/perl@8045

23 years agoAdd ISO 8859-16 encoding. Not a standard yet but seems to be
Jarkko Hietaniemi [Fri, 8 Dec 2000 21:11:06 +0000]
Add ISO 8859-16 encoding.  Not a standard yet but seems to be
at the final draft stage.

p4raw-id: //depot/perl@8044

23 years agoUpdate Changes.
Jarkko Hietaniemi [Fri, 8 Dec 2000 16:39:04 +0000]
Update Changes.

p4raw-id: //depot/perl@8043

23 years agoDo not return the Unicode replacement character if UTF-8
Jarkko Hietaniemi [Fri, 8 Dec 2000 16:33:39 +0000]
Do not return the Unicode replacement character if UTF-8
decoding goes awry, it should be up to the caller to decide.

p4raw-id: //depot/perl@8042

23 years ago[ID 20001207.009] Not OK: perl v5.7.0 +DEVEL8030 on os2-64int-ld 2.30
Yitzchak Scott-Thoennes [Thu, 7 Dec 2000 21:32:43 +0000]
[ID 20001207.009] Not OK: perl v5.7.0 +DEVEL8030 on os2-64int-ld 2.30
Message-Id: <200012080532.eB85Wh729109@garcia.efn.org>

p4raw-id: //depot/perl@8040

23 years agoRe: ebcdic <-> ascii tables interjected in uv <-> utf8 considered harmful
Simon Cozens [Fri, 8 Dec 2000 13:33:31 +0000]
Re: ebcdic <-> ascii tables interjected in uv <-> utf8 considered harmful
Message-ID: <20001208133331.A11535@deep-dark-truthful-mirror.perlhacker.org>

(The pp_hot part needed a rewrite.)

p4raw-id: //depot/perl@8039

23 years agodjSP
Michael Stevens [Wed, 6 Dec 2000 23:24:01 +0000]
djSP
Message-ID: <20001206232400.A21381@firedrake.org>

Plus a note from Nick Ing-Simmons.

p4raw-id: //depot/perl@8038

23 years agoFiletype is text.
Jarkko Hietaniemi [Fri, 8 Dec 2000 15:18:35 +0000]
Filetype is text.

p4raw-id: //depot/perl@8037

23 years ago[ID 20001207.004] [PATCH 5.6.0 and 5.7.x] add NCR MP-RAS support
Andy Dougherty [Thu, 7 Dec 2000 12:36:45 +0000]
[ID 20001207.004] [PATCH 5.6.0 and 5.7.x] add NCR MP-RAS support
Date: Thu, 7 Dec 2000 12:36:45 -0500 (EST)
Message-Id: <Pine.SOL.4.10.10012071235400.13162-100000@maxwell.phys.lafayette.edu>

Subject: Re: [ID 20001207.004] [PATCH 5.6.0 and 5.7.x] add NCR MP-RAS support
From: Andy Dougherty <doughera@lafayette.edu>
Date: Thu, 7 Dec 2000 13:56:10 -0500 (EST)
Message-ID: <Pine.SOL.4.10.10012071354420.6665-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@8036

23 years ago[ID 20001207.003] [PATCH] t/base/term.t causes abort if Config.pm not built
Andy Dougherty [Thu, 7 Dec 2000 10:50:47 +0000]
[ID 20001207.003] [PATCH] t/base/term.t causes abort if Config.pm not built
Message-Id: <Pine.SOL.4.10.10012071049400.7566-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@8035

23 years agoDOC PATCH 5.6.0: -s return value incompletely documented
Mark-Jason Dominus [Thu, 7 Dec 2000 21:04:20 +0000]
DOC PATCH 5.6.0: -s return value incompletely documented
Message-ID: <20001207210420.22282.qmail@plover.com>

Plus -z doc.

p4raw-id: //depot/perl@8034

23 years agoUse the UTF8 macros a bit. They can't be used with abandon
Jarkko Hietaniemi [Fri, 8 Dec 2000 03:19:03 +0000]
Use the UTF8 macros a bit.  They can't be used with abandon
everywhere because we do generate illegal UTF-8 in some situations.
This is of course naughty.

p4raw-id: //depot/perl@8033

23 years agoOut of sync?
Jarkko Hietaniemi [Fri, 8 Dec 2000 03:00:09 +0000]
Out of sync?

p4raw-id: //depot/perl@8032

23 years agoCnt spl.
Jarkko Hietaniemi [Fri, 8 Dec 2000 02:22:39 +0000]
Cnt spl.

p4raw-id: //depot/perl@8031

23 years agoAdd test for reverse().
Jarkko Hietaniemi [Fri, 8 Dec 2000 01:23:54 +0000]
Add test for reverse().

p4raw-id: //depot/perl@8030

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Fri, 8 Dec 2000 01:21:47 +0000]
Integrate perlio:

[  8026]
Various oddities p4 diff -se showed up
Remove 'our' from warnings.pl

[  8025]
Change PerlIO_(get|set)pos to take SV *
Should fix, OS/2, VMS, (sfio??)

p4raw-link: @8026 on //depot/perlio: 0ca4541c317eb395329cac582e39db540241d553
p4raw-link: @8025 on //depot/perlio: 766a733e849204725c27391cf2992d649af4aba6

p4raw-id: //depot/perl@8029

23 years agoIntroduce macros for UTF8 decoding.
Jarkko Hietaniemi [Fri, 8 Dec 2000 01:19:08 +0000]
Introduce macros for UTF8 decoding.

p4raw-id: //depot/perl@8028

23 years agoIntegrate mainline
Nick Ing-Simmons [Thu, 7 Dec 2000 22:18:19 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8027

23 years agoVarious oddities p4 diff -se showed up
Nick Ing-Simmons [Thu, 7 Dec 2000 21:45:08 +0000]
Various oddities p4 diff -se showed up
Remove 'our' from warnings.pl

p4raw-id: //depot/perlio@8026