| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix memory leak in C<sub X { sub {} }> arising from a refcount
loop between the outer sub and the inner prototype anonsub
this also enables closures returned by subroutines that
subsequently get redefined to work without generating coredumps :)
completely removed the free_closures() hack--it shouldn't be
needed anymore
p4raw-link: @9108 on //depot/maint-5.6/perl: 1cf1f64f42eb50a67f2427ff9d6d24023a2b9997
p4raw-id: //depot/perl@9109
p4raw-branched: from //depot/maint-5.6/perl@9107 'branch in'
t/op/anonsub.t
p4raw-integrated: from //depot/maint-5.6/perl@9107 'merge in' sv.c
(@8871..) embed.h (@8886..) pod/perlapi.pod proto.h (@8993..)
embed.pl (@8995..) MANIFEST (@9030..) op.c op.h (@9055..)
pp_ctl.c (@9076..)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- rename utf8/uv functions to indicate what sort of uv they provide (uvuni/uvchr)
- use utf8n_xxxx (c.f. pvn) for forms which take length.
- back out vN.N and $^V exceptions to e2a/a2e
- make "locale" isxxx macros be uvchr (may be redundant?)
Not clear yet that toUPPER_uni et. al. return being handled correctly.
The tr// and rexexp stuff still needs an audit, assumption is they are working
in Unicode space.
Need to provide v5.6 names for XS modules (decide is uni or chr ?).
p4raw-id: //depot/perlio@9096
|
|
|
|
|
|
|
| |
Minor additions to test.
Tweaks sv_utf8_upgrade() to force SvPV, and always SvUTF8_on and return length.
Adds STRLEN to standard typemap.
p4raw-id: //depot/perlio@8923
|
|
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102222356460.14249-100000@mako.covalent.net>
Gets things running but not complete.
p4raw-id: //depot/perl@8912
|
|
|
| |
p4raw-id: //depot/perl@8870
|
|
|
|
|
| |
the DB_File tie problem.
p4raw-id: //depot/perl@8846
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102181448290.10021-100000@mako.covalent.net>
p4raw-id: //depot/perl@8840
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102161519500.30352-100000@mako.covalent.net>
p4raw-id: //depot/perl@8815
|
|
|
| |
p4raw-id: //depot/perl@8783
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102101047320.15298-100000@mako.covalent.net>
p4raw-id: //depot/perl@8760
|
|
|
| |
p4raw-id: //depot/perl@8716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- canonical UTF-8 hash keys: if a key string for a hash is
UTF8-on, try downgrade the string and use it if
unicode::distinct is not in effect.
For the task, I added a function bytes_from_utf8() to utf8.c.
It might resemble utf8_to_bytes() but it is not convenient
to the task.
Made a test for it and added to t/op/each.t
- Changed do_print in doio.c to apply sv_utf8_(downgrade|upgrade) to
the mortal copy of the argument SV.
And changed t/io/utf8.t test 18 which expects print() to
upgrade its argument.
- re-implement sv_eq with bytes_from_utf8()
- some bug fixes
- tr/// does not handle UTF8 range (\x{}-\x{})
- \ before raw UTF8 character produced
"Malformed UTF-8 character" warning.
- "\x{100}\N{CENT SIGN}" is Malformed.
Added tests for these 3.
- and one silly bug (by me) with qu operator.
p4raw-id: //depot/perl@8583
|
|
|
|
|
| |
Message-ID: <20010122021722.A9334@pembro26.pmb.ox.ac.uk>
p4raw-id: //depot/perl@8562
|
|
|
|
|
|
|
| |
parser as Bison)
Message-ID: <5930DC161690D21196670090271575470397E915@madt009a.siemens.es>
p4raw-id: //depot/perl@8532
|
|\
| |
| | |
p4raw-id: //depot/perlio@8495
|
| |
| |
| | |
p4raw-id: //depot/perl@8494
|
|/
|
|
|
|
|
|
|
|
| |
open($fh,"|-",@array);
to be implemented
i.e. mark pp_open as needing a stack mark, and make pp_open
process its args in that style (and pass them _all_ to tied handles OPEN).
Invent do_openn() which takes SV ** at allow it to see multiple args.
Note this does not _do_ anything yet.
p4raw-id: //depot/perlio@8484
|
|
|
|
|
|
| |
Provides all the "cost" but no benefit yet - it is to allow cost
to be measured, and implementation experiments (just in mg.c?).
p4raw-id: //depot/perlio@8457
|
|
|
|
|
| |
Message-ID: <14941.16925.736415.785818@soda.csua.berkeley.edu>
p4raw-id: //depot/perl@8417
|
|
|
|
|
|
|
| |
Message-ID: <3A59E510.52BAB5B9@st.rim.or.jp>
UTF-8 fixes for 'x' and tr///.
p4raw-id: //depot/perl@8378
|
|
|
|
|
| |
(Highlighted by Ilya's DESTROY optimization.)
p4raw-id: //depot/perlio@8371
|
|
|
| |
p4raw-id: //depot/perlio@8271
|
|
|
| |
p4raw-id: //depot/perlio@8202
|
|
|
|
|
|
| |
in Digital UNIX (the broken strtoul brokenness detection
seems to have been the fly in the ointment).
p4raw-id: //depot/perl@8138
|
|
|
|
|
| |
Message-ID: <20001215052657.A8319@math.mps.ohio-state.edu>
p4raw-id: //depot/perl@8131
|
|
|
|
|
| |
(it basically is 8102..8118+8122 but no 8120, 8121, 8123, 8124)
p4raw-id: //depot/perl@8125
|
|
|
|
|
| |
Message-ID: <20001213200849.B71166@plum.flirble.org>
p4raw-id: //depot/perl@8119
|
|
|
| |
p4raw-id: //depot/perl@8101
|
|
|
|
|
| |
Message-ID: <20001211231638.A55550@plum.flirble.org>
p4raw-id: //depot/perl@8097
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Date: Tue, 5 Dec 2000 00:40:25 -0500
Message-ID: <20001205004025.A4050@monk.mps.ohio-state.edu>
Subject: Re: [PATCH] The largest hoax of all times?
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Date: Mon, 4 Dec 2000 23:55:53 -0500
Message-ID: <20001204235553.A1140@monk.mps.ohio-state.edu>
Subject: Re: [PATCH] The largest hoax of all times?
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Date: Tue, 5 Dec 2000 01:28:45 -0500
Message-ID: <20001205012844.A4227@monk.mps.ohio-state.edu>
Fix the unpredictable order of DESTROYs.
p4raw-id: //depot/perl@7991
|
|
|
| |
p4raw-id: //depot/perl@7980
|
|
|
|
|
| |
is unused at the moment) to be less forgiving about bad UTF-8.
p4raw-id: //depot/perl@7869
|
|
|
|
|
|
|
|
|
|
| |
parent's memory; fix it by keeping track of the actual pad
offset rather than a raw pointer (this change is probably also
relevant to non-ithreads case to avoid fallout from reallocs of
the pad array, but is currently only enabled for the ithreads
case in the interests of minimal disruption to existing "well
tested" code)
p4raw-id: //depot/perl@7858
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if SOCKS is selected.
Subject: perl@7847, [ID 20001030.005], close-patch, perlio - The big cleanup
Date: Fri, 24 Nov 2000 18:31:30 +0100
Message-ID: <20001124183130.E28337@Strawberry.COM>
Subject: Re: perl@7847, [ID 20001030.005], close-patch, perlio - Patch the patch ...
From: Jens Hamisch <jens@Strawberry.COM>
Date: Fri, 24 Nov 2000 19:11:51 +0100
Message-ID: <20001124191151.A28753@Strawberry.COM>
p4raw-id: //depot/perl@7855
|
|
|
| |
p4raw-id: //depot/perl@7840
|
|
|
| |
p4raw-id: //depot/perl@7818
|
|
|
| |
p4raw-id: //depot/perl@7791
|
|
|
| |
p4raw-id: //depot/perl@7774
|
|
|
| |
p4raw-id: //depot/perl@7744
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Date: Fri, 17 Nov 2000 20:35:11 -0500
Message-ID: <20001117203511.A13121@monk.mps.ohio-state.edu>
Subject: Re: [PATCH 5.7.0] make regcomp reenterable
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Date: Fri, 17 Nov 2000 21:03:47 -0500
Message-ID: <20001117210347.A16570@monk.mps.ohio-state.edu>
Plus a little bit of tweaking in pregcomp().
p4raw-id: //depot/perl@7741
|
|
|
|
|
|
|
|
| |
From: "Konovalov, Vadim" <vkonovalov@lucent.com>
Message-ID: <402099F49BEED211999700805FC7359F82511F@ru0028exch01.spb.lucent.com>
Modified quite a bit to be more portable.
p4raw-id: //depot/perl@7545
|
|
|
| |
p4raw-id: //depot/perl@7465
|
|
|
|
|
|
|
|
| |
Rename utf8_to_uv_chk() back to utf8_to_uv() because it's
used much more than the simpler API, now called utf8_to_uv_simple().
Still not quite happy with API, too much partial duplication
of functionality.
p4raw-id: //depot/perl@7439
|
|
|
| |
p4raw-id: //depot/perl@7438
|
|
|
| |
p4raw-id: //depot/perl@7426
|
|
|
|
|
|
|
|
|
|
|
|
| |
malformation happens. This involved adding an argument
to utf8_to_uv_chk(), which involved changing its prototype,
and prefer STRLEN over I32 for the UTF-8 length, which as
a domino effect necessitated changing the prototypes of
scan_bin(), scan_oct(), scan_hex(), and reg_uni().
The stricter UTF-8 decoding checking uses Markus Kuhn's
UTF-8 Decode Stress Tester from
http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
p4raw-id: //depot/perl@7416
|
|
|
|
|
| |
Message-Id: <m13mo0N-000FObC@feynman.localnet>
p4raw-id: //depot/perl@7389
|
|
|
|
|
|
| |
Subject: [PATCH perl@7229] Rentrant parser and yylex()
Message-ID: <5930DC161690D211966700902715754702DA09CD@madt009a.siemens.es>
p4raw-id: //depot/perl@7382
|
|
|
|
|
|
| |
Subject: [PATCH perl@7229] Rentrant parser and yylex()
Message-ID: <5930DC161690D211966700902715754702DA09CD@madt009a.siemens.es>
p4raw-id: //depot/perl@7381
|