summaryrefslogtreecommitdiff
path: root/doop.c
Commit message (Collapse)AuthorAgeFilesLines
* Integrate mainline.Nick Ing-Simmons2001-03-191-6/+22
|\ | | | | p4raw-id: //depot/perlio@9249
| * UTF-8 tr/// battle continues, ammunition from Inaba Hiroto.Jarkko Hietaniemi2001-03-191-6/+22
| | | | | | | | | | TODO: tests. p4raw-id: //depot/perl@9242
* | More EBCDIC fixes.Nick Ing-Simmons2001-03-191-6/+12
|/ | | p4raw-id: //depot/perlio@9246
* Prefer !UTF8_IS_INVARIANT() over UTF8_IS_CONTINUED() when thatNick Ing-Simmons2001-03-181-1/+1
| | | | | | is the sense of the test being done. Avoid some magical 127 and 128 values by using macros. p4raw-id: //depot/perlio@9199
* tr/// UTF-8 patches from Inaba Hiroto.Jarkko Hietaniemi2001-03-181-1/+3
| | | p4raw-id: //depot/perl@9192
* Minor naming change UTF8_IS_ASCII => UTF8_IS_INVARIANTNick Ing-Simmons2001-03-171-2/+2
| | | p4raw-id: //depot/perlio@9184
* EBCDIC sanity - phase INick Ing-Simmons2001-03-101-28/+29
| | | | | | | | | | | | | | - 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
* More tr/// UTF-8 fixes from Inaba Hiroto.Jarkko Hietaniemi2001-03-041-3/+3
| | | p4raw-id: //depot/perl@9015
* UTF8 tr/// fixes from Inaba Hiroto.Jarkko Hietaniemi2001-03-031-9/+43
| | | p4raw-id: //depot/perl@9008
* Re: sync sync sync: have I missed any patches?Tim Jenness2001-02-281-1/+1
| | | | | | | | In-Reply-To: <20010227140737.Y10633@chaos.wustl.edu> Message-ID: <Pine.LNX.4.30.0102271322070.8623-100000@lapaki.jach.hawaii.edu> Replace djSP with dSP. p4raw-id: //depot/perl@8963
* [patch] -WallDoug MacEachern2001-02-171-1/+0
| | | | | Message-ID: <Pine.LNX.4.21.0102161519500.30352-100000@mako.covalent.net> p4raw-id: //depot/perl@8815
* More MacOS Classic fixes from Chris Nandor.Jarkko Hietaniemi2001-02-141-0/+4
| | | p4raw-id: //depot/perl@8805
* Consolidated lvalue sub changesStephen McCamant2001-01-121-2/+2
| | | | | Message-ID: <14941.16925.736415.785818@soda.csua.berkeley.edu> p4raw-id: //depot/perl@8417
* Re: more UTF8 test suites and an UTF8 patchInaba Hiroto2001-01-101-6/+6
| | | | | | | Message-Id: <10101100239.AA10002@tux0017.sdd.tokyo-sc.toshiba.co.jp> Some more UTF-8 tr cases fixed. p4raw-id: //depot/perl@8385
* One more patch for UTF8 Inaba Hiroto2001-01-091-40/+105
| | | | | | | Message-ID: <3A59E510.52BAB5B9@st.rim.or.jp> UTF-8 fixes for 'x' and tr///. p4raw-id: //depot/perl@8378
* Re: ebcdic <-> ascii tables interjected in uv <-> utf8 considered harmful Simon Cozens2001-01-051-4/+1
| | | | | | | Message-ID: <20001208133331.A11535@deep-dark-truthful-mirror.perlhacker.org> A lost patch fragment. p4raw-id: //depot/perl@8333
* UTF-8 cleanup.Jarkko Hietaniemi2001-01-051-4/+4
| | | p4raw-id: //depot/perl@8328
* Unify UTF-8 malformedness handling.Jarkko Hietaniemi2001-01-051-9/+9
| | | p4raw-id: //depot/perl@8323
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* more UTF8 test suites and an UTF8 patchInaba Hiroto2000-12-301-147/+186
| | | | | | | | Message-ID: <3A4D722D.243AFD88@st.rim.or.jp> Just the patch part for now, and the pragma renamed as unicode::distinct. p4raw-id: //depot/perl@8267
* (Retracted by #8264) Externally: join() was still quite UTF-8-unaware.Jarkko Hietaniemi2000-12-291-5/+2
| | | | | | | | | Internally: sv_catsv() wasn't quite okay on UTF-8, it assumed that the only cases to care about are byte+byte and byte+character. TODO: See how well pp_concat() could be implemented in terms of sv_catsv(). p4raw-id: //depot/perl@8248
* Make some panic messages a bit more logical.Jarkko Hietaniemi2000-12-281-3/+3
| | | p4raw-id: //depot/perl@8244
* Re: ebcdic <-> ascii tables interjected in uv <-> utf8 considered harmfulSimon Cozens2000-12-081-10/+4
| | | | | | | Message-ID: <20001208133331.A11535@deep-dark-truthful-mirror.perlhacker.org> (The pp_hot part needed a rewrite.) p4raw-id: //depot/perl@8039
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-13/+0
| | | p4raw-id: //depot/perl@7984
* Retract #7977, still too volatile (the euphemism of the dayJarkko Hietaniemi2000-12-041-4/+1
| | | | | for unfinished and buggy :-) p4raw-id: //depot/perl@7978
* (Retracted by #7978, too shaky yet.)Simon Cozens2000-12-041-1/+4
| | | | | | | | Subject: Re: utf8 in hash keys, implementor missing Message-ID: <20001202194935.A25673@pembro33.pmb.ox.ac.uk> The first step at UTF-8 hash keys. p4raw-id: //depot/perl@7977
* [PATCH] doop.c - UTF8 tr/// Simon Cozens2000-11-201-18/+34
| | | | | | | | | | | | | Date: Sat, 18 Nov 2000 18:49:30 +0000 Message-ID: <20001118184930.A31687@pembro4.pmb.ox.ac.uk> Subject: Re: [PATCH] doop.c - UTF8 tr/// From: Simon Cozens <simon@cozens.net> Date: Mon, 20 Nov 2000 20:45:22 +0000 Message-ID: <20001120204522.A26042@pembro4.pmb.ox.ac.uk> Make tr on UTF-8 better but still not correct. p4raw-id: //depot/perl@7783
* [ID 20001113.003] utf8_to_uv on malformed utf returns wrong valuesYitzchak Scott-Thoennes2000-11-141-6/+6
| | | | | Message-Id: <200011132249.eADMnek09679@garcia.efn.org> p4raw-id: //depot/perl@7677
* Tweak the definition of the bit complement on UTF-8 data:Yitzchak Scott-Thoennes2000-11-131-1/+1
| | | | | | | | | | | | | | | if none of the characters in the string are > 0xff, the result is a complemented byte string, not a (UTF-8) char string. Based on the summary in Subject: Re: [ID 20000918.005] ~ on wide chars Message-ID: <jSDD6gzkgi/T092yn@efn.org> This should give us the maximum backward (pre-char string) compatibility and utf8 compatibility. The other alternative would be to limit the bit complement to be always byte only, taking the least significant byte of the chars. p4raw-id: //depot/perl@7665
* Be more lenient on bad UTF-8 when doing bit arithmetics.Yitzchak Scott-Thoennes2000-10-311-6/+6
| | | | | | | | Subject: Re: [ID 20000918.005] ~ on wide chars Message-ID: <jQl/5gzkgWYL092yn@efn.org> (The ord() part of the patch skipped.) p4raw-id: //depot/perl@7500
* Continue the internal UTF-8 API tweaking.Jarkko Hietaniemi2000-10-251-12/+11
| | | | | | | | 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
* Make the UTF-8 decoding stricter and more verbose whenJarkko Hietaniemi2000-10-241-15/+15
| | | | | | | | | | | | 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
* Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.Nick Ing-Simmons2000-09-301-27/+27
| | | | | | | i.e. rename Simon's function to Perl_utf8_to_uv_chk, change all calls to it to use new name and add Perl_utf8_to_uv() as a wrapper which calls it passing 0 to checking to get the warning. p4raw-id: //depot/perl@7096
* Batch of UTF-8 patches from Simon Cozens.Jarkko Hietaniemi2000-09-141-10/+10
| | | p4raw-id: //depot/perl@7075
* Re-allow vec() for characters > 255.Spider Boardman2000-09-081-16/+11
| | | | | | Subject: [PATCH] Re: [ID 20000907.005] Not OK: perl v5.7.0 +devel-7030 on alpha-dec_osf-perlio 4.0f (UNINSTALLED) Message-Id: <200009080621.CAA03409@leggy.zk3.dec.com> p4raw-id: //depot/perl@7039
* Fix vec() / utf8 (was Re: bitvec ops still broken with utf8 -- or not?)Mike Guy2000-09-011-2/+23
| | | | | Message-Id: <E13Utuf-0004Bw-00@draco.cus.cam.ac.uk> p4raw-id: //depot/perl@6988
* Re: [ID 20000821.008] Negitive numbers with vec dumps coreMike Guy2000-08-231-0/+2
| | | | | Message-Id: <E13ReUA-0000vC-00@virgo.cus.cam.ac.uk> p4raw-id: //depot/perl@6790
* Re: [ID 20000807.008] Double reads considered evil? (deja vu)Mike Guy2000-08-081-1/+1
| | | | | Message-Id: <E13MAj1-00038W-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6552
* tr memory corruption fix from Simon Cozens.Jarkko Hietaniemi2000-08-071-1/+1
| | | p4raw-id: //depot/perl@6535
* The tr utf8 patching continues.Simon Cozens2000-08-021-0/+2
| | | | | | | | Subject: Re: #6469, too many tests claimed in require.t Message-ID: <slrn8of2at.81o.simon@justanother.perlhacker.org> (the logic of the test was the wrong way round in the patch) p4raw-id: //depot/perl@6491
* Fix the HALF_UPGRADE() macro introduced in #6263.Jarkko Hietaniemi2000-07-301-10/+10
| | | p4raw-id: //depot/perl@6467
* Fix the bitvector ops for utf8 (tricky since past 7 bitsJarkko Hietaniemi2000-07-151-11/+17
| | | | | | | | | | | | | | | | | the utf8 'characters' can be more than one octet). Date: Sat, 15 Jul 2000 00:21:56 +0100 From: Tom Hughes <tom@compton.nu> Subject: Re: [ID 20000714.002] Message-ID: <db2334de49.tom@compton.compton.nu> Reported in Subject: [ID 20000714.002] From: "Simon Cozens" <simon@othersideofthe.earth.li> Date: 14 Jul 2000 15:13:09 -0000 Message-Id: <20000714151309.7170.qmail@othersideofthe.earth.li> p4raw-id: //depot/perl@6415
* typos in change#6399, regen headersGurusamy Sarathy2000-07-141-2/+2
| | | | | p4raw-link: @6399 on //depot/perl: 01ec43d06089361423d61a40521883bf73e1944a p4raw-id: //depot/perl@6402
* enable UTF-16 filter by default if relevant BOM is seen; variousGurusamy Sarathy2000-07-141-55/+56
| | | | | cleanups (typos, misformatted code, and small bugs) p4raw-id: //depot/perl@6399
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6324 on //depot/cfgperl: 81bf48a6dbba4b295dfa172a17ca70b654dbf225 p4raw-link: @6293 on //depot/cfgperl: 6e37ea6052902cde1aeb08a2129ffc7c8ea53736 p4raw-id: //depot/perl@6369 p4raw-branched: from //depot/cfgperl@6368 'branch in' lib/Win32.pod lib/lib_pm.PL p4raw-deleted: from //depot/cfgperl@6368 'delete in' pod/Win32.pod (@5937..) pod/buildtoc (@6091..) lib/lib.pm.PL (@6227..) pod/Makefile (@6232..) p4raw-integrated: from //depot/cfgperl@6368 'copy in' thread.h (@5656..) lib/warnings/register.pm (@5704..) ext/B/B/Stash.pm (@5972..) lib/CGI/Util.pm (@6034..) util.c (@6217..) gv.c (@6244..) pp.c (@6260..) doop.c (@6269..) pod/perlfunc.pod (@6277..) pp_ctl.c (@6293..) makedef.pl (@6301..) embed.h global.sym objXSUB.h perlapi.c proto.h (@6305..) win32/Makefile (@6307..) Makefile.SH (@6309..) t/op/method.t (@6312..) sv.h (@6315..) 'ignore' op.c (@6273..) 'merge in' embed.pl win32/win32.c (@6305..) p4raw-integrated: from //depot/cfgperl@6324 'merge in' toke.c (@6307..) p4raw-branched: from //depot/cfgperl@6323 'branch in' pod/buildtoc.PL (@6319..) p4raw-integrated: from //depot/cfgperl@6323 'copy in' pod/perl.pod (@6319..) pod/perltoc.pod (@6322..) 'merge in' MANIFEST (@6319..) p4raw-branched: from //depot/cfgperl@6319 'branch in' pod/Makefile.SH p4raw-integrated: from //depot/cfgperl@6315 'ignore' pp_hot.c (@6313..) p4raw-integrated: from //depot/cfgperl@6311 'copy in' ext/POSIX/POSIX.pod (@6296..) p4raw-integrated: from //depot/cfgperl@6307 'merge in' doio.c (@6223..)
* integrate cfgperl changes#6268..6282 into mainlineGurusamy Sarathy2000-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6282 on //depot/cfgperl: d4817f5b97d4072a6efac47844b617245b179f2c p4raw-link: @6268 on //depot/cfgperl: 22e04bdb3a09a4c369fd1666143349eab2eba9d4 p4raw-id: //depot/perl@6366 p4raw-integrated: from //depot/cfgperl@6365 'copy in' lib/Net/Ping.pm lib/Text/Wrap.pm t/lib/dprof.t t/lib/dumper-ovl.t t/lib/hostname.t (@5586..) lib/Pod/Html.pm (@5608..) t/lib/ipc_sysv.t (@5812..) t/lib/dumper.t (@5972..) ext/File/Glob/Glob.pm (@6026..) lib/Pod/Man.pm lib/Pod/Text.pm (@6034..) t/lib/anydbm.t (@6072..) lib/ExtUtils/xsubpp (@6156..) pod/perlsub.pod pod/perltie.pod (@6206..) utils/h2xs.PL (@6280..) p4raw-integrated: from //depot/cfgperl@6282 'merge in' vms/vms.c (@6238..) p4raw-integrated: from //depot/cfgperl@6277 'copy in' pod/perlfunc.pod (@6276..) p4raw-integrated: from //depot/cfgperl@6273 'ignore' perlapi.h (@6243..) embedvar.h (@6254..) 'merge in' perlapi.c (@6243..) embed.h (@6254..) embed.pl objXSUB.h op.c proto.h (@6269..) p4raw-integrated: from //depot/cfgperl@6270 'copy in' t/op/taint.t (@5857..) p4raw-integrated: from //depot/cfgperl@6269 'copy in' doop.c (@6263..) 'ignore' toke.c (@6261..) p4raw-integrated: from //depot/cfgperl@6268 'copy in' t/op/sprintf.t (@6267..)
* integrate cfgperl changes#6261..6266 into mainlineGurusamy Sarathy2000-07-111-106/+72
| | | | | | | | | | | | | | | | p4raw-link: @6266 on //depot/cfgperl: a009ce76c9b4ddbde44a58eab3fe27d331cf27fe p4raw-link: @6261 on //depot/cfgperl: 27d76ecff97d0a9449f569d789504cc8b69a6d01 p4raw-id: //depot/perl@6363 p4raw-integrated: from //depot/cfgperl@6362 'copy in' README.epoc epoc/createpkg.pl epoc/epocish.c (@5586..) epoc/epocish.h t/comp/require.t (@5639..) cygwin/Makefile.SHs (@6096..) ext/POSIX/POSIX.pm (@6140..) hints/bsdos.sh (@6156..) epoc/config.sh (@6168..) ext/POSIX/POSIX.xs (@6198..) p4raw-integrated: from //depot/cfgperl@6265 'copy in' ext/POSIX/POSIX.pod (@5586..) p4raw-integrated: from //depot/cfgperl@6263 'copy in' doop.c (@6256..) p4raw-integrated: from //depot/cfgperl@6261 'merge in' pod/perldiag.pod (@6206..) toke.c (@6250..)
* integrate cfgperl changes#6252..6260 into mainlineGurusamy Sarathy2000-07-111-47/+112
| | | | | | | | | | | | | | | | | | | | | p4raw-link: @6260 on //depot/cfgperl: fc865a0069737312ca5ef9762fe8a9be7aa37747 p4raw-link: @6252 on //depot/cfgperl: 0e4dedf1581344244dfa297db1d00c01c5f821aa p4raw-id: //depot/perl@6362 p4raw-integrated: from //depot/cfgperl@6361 'copy in' t/pragma/constant.t (@5717..) t/op/pack.t t/pragma/warn/op (@5996..) pp_proto.h (@6243..) t/op/my_stash.t (@6250..) lib/IPC/Open3.pm (@6253..) 'ignore' t/pragma/warn/regcomp (@6241..) lib/Exporter.pm (@6251..) p4raw-integrated: from //depot/cfgperl@6260 'copy in' pp.c (@6217..) pod/perlfunc.pod (@6248..) p4raw-integrated: from //depot/cfgperl@6259 'copy in' MANIFEST (@6250..) p4raw-integrated: from //depot/cfgperl@6257 'copy in' op.c (@6228..) 'merge in' sv.c (@6244..) p4raw-integrated: from //depot/cfgperl@6256 'copy in' doop.c (@6254..) p4raw-integrated: from //depot/cfgperl@6254 'copy in' t/op/tr.t (@6192..) 'ignore' embedvar.h objXSUB.h (@6243..) 'merge in' embed.h (@6243..) embed.pl proto.h (@6250..)
* integrate cfgperl changes#6220..6222 into mainlineGurusamy Sarathy2000-07-111-203/+9
| | | | | | | | | | | | p4raw-link: @6222 on //depot/cfgperl: cb6e01d9fd93f1025bb60ed9c000931b2c8542a3 p4raw-link: @6220 on //depot/cfgperl: 94414bfbc497e71da32f6edca513d34725e3cae6 p4raw-id: //depot/perl@6350 p4raw-integrated: from //depot/cfgperl@6349 'copy in' lib/Pod/Usage.pm (@5717..) win32/win32.h (@6026..) pod/perlop.pod (@6206..) p4raw-integrated: from //depot/cfgperl@6221 'copy in' utf8.c (@6174..) doop.c (@6193..) toke.c (@6196..) 'merge in' embed.pl (@6217..) p4raw-integrated: from //depot/cfgperl@6220 'merge in' makedef.pl (@6156..)
* Signals-be-gone for microperl.Jarkko Hietaniemi2000-06-011-0/+2
| | | p4raw-id: //depot/cfgperl@6193