summaryrefslogtreecommitdiff
path: root/doop.c
Commit message (Collapse)AuthorAgeFilesLines
* More -Wall silencing from Michael Schwern and Jarkko Hietaniemi.Jarkko Hietaniemi2001-05-301-5/+5
| | | p4raw-id: //depot/perl@10335
* Re: [PATCH doop.c] unused variable in Perl_do_joinNicholas Clark2001-05-301-1/+2
| | | | | Message-ID: <20010530232058.B86445@plum.flirble.org> p4raw-id: //depot/perl@10332
* Medley of -Wall cleanups from Michael Schwen, Hugo van der Sanden,Jarkko Hietaniemi2001-05-301-1/+2
| | | | | and Abhijit Menon-Sen. p4raw-id: //depot/perl@10321
* Re: 5.6.*, bleadperl: bugs in pp_concatHugo van der Sanden2001-05-261-3/+5
| | | | | Message-Id: <200105261605.RAA12295@crypt.compulink.co.uk> p4raw-id: //depot/perl@10223
* [LARGE!] symbolic magicDave Mitchell2001-05-201-2/+2
| | | | | Message-Id: <200105191912.UAA23925@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10168
* Chomp should not always stringifyGisle Aas2001-05-201-4/+4
| | | | | Message-ID: <lrk83eogf6.fsf@caliper.ActiveState.com> p4raw-id: //depot/perl@10161
* In character classes one couldn't have 0x80..0xff charactersJarkko Hietaniemi2001-04-291-4/+4
| | | | | | at the left hand side if there were 0x100.. characters in the character class. p4raw-id: //depot/perl@9901
* Integrate changes #9544,9547,9549(perlio),9550,9551 fromJarkko Hietaniemi2001-04-051-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maintperl into mainline. "double" should be "NV"; standard typemap is missing entry for NV s/djSP/dSP/ Downgrade "Wide character in print" to a warning. B::Deparse fix for ${^FOO} and documentation for PVX() method (from Robin Houston) tr/// doesn't null-terminate the result in some situations (from Gisle Aas) p4raw-link: @9549 on //depot/perlio: ae79846703a543a04b4fe449abfd6b1e08a9e149 p4raw-link: @9547 on //depot/maint-5.6/perl: 5976aebc9f997fdf4f4889f497e528a90c8a7dc3 p4raw-link: @9544 on //depot/maint-5.6/perl: 405f61b82790e3c0b3cb02962f34aa8522c5a18e p4raw-id: //depot/perl@9553 p4raw-integrated: from //depot/maint-5.6/perl@9552 'copy in' ext/B/B/C.pm (@9235..) 'merge in' lib/ExtUtils/typemap (@8151..) ext/Thread/Thread.xs (@8606..) t/op/tr.t (@9152..) doop.c (@9288..) ext/B/B.pm ext/B/B/Deparse.pm (@9548..) p4raw-integrated: from //depot/maint-5.6/perl@9544 'merge in' ext/B/B.xs (@8621..)
| * Various EBCDIC fixes:Nick Ing-Simmons2001-03-271-13/+13
| | | | | | | | | | | | | | | | | | | | - major revelation that swash code is encoding aware, (or thought it was) - now it is ;-) - With that out of the way fix a slab of tr/// cases. - Fix Encode 'Unicode' to be true Unicode so tests pass. - As anticipated Base64.xs needed tweaks. - Until tr/// works right avoid old_encode64 in MIME tests. p4raw-id: //depot/perlio@9384
* | Integrate perlio:Jarkko Hietaniemi2001-03-271-13/+13
|/ | | | | | | | | | | | | | [ 9384] Various EBCDIC fixes: - major revelation that swash code is encoding aware, (or thought it was) - now it is ;-) - With that out of the way fix a slab of tr/// cases. - Fix Encode 'Unicode' to be true Unicode so tests pass. - As anticipated Base64.xs needed tweaks. - Until tr/// works right avoid old_encode64 in MIME tests. p4raw-link: @9384 on //depot/perlio: 5ad8ef521b3ffc4e6bbbb9941bc4940d442b56b2 p4raw-id: //depot/perl@9389
* 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