summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* Consolidated lvalue sub changesStephen McCamant2001-01-121-9/+20
| | | | | Message-ID: <14941.16925.736415.785818@soda.csua.berkeley.edu> p4raw-id: //depot/perl@8417
* One more UTF-8 fix from Inaba Hiroto.Jarkko Hietaniemi2001-01-121-1/+2
| | | p4raw-id: //depot/perl@8415
* save_delete(), err, SAVEDELETE() fixes from Charles Lane.Jarkko Hietaniemi2001-01-091-1/+1
| | | | | Should finish up the bug id 20001205.022. p4raw-id: //depot/perl@8382
* One more patch for UTF8 Inaba Hiroto2001-01-091-1/+2
| | | | | | | Message-ID: <3A59E510.52BAB5B9@st.rim.or.jp> UTF-8 fixes for 'x' and tr///. p4raw-id: //depot/perl@8378
* UTF-8 cleanup.Jarkko Hietaniemi2001-01-051-6/+7
| | | p4raw-id: //depot/perl@8328
* Unify UTF-8 malformedness handling.Jarkko Hietaniemi2001-01-051-7/+4
| | | p4raw-id: //depot/perl@8323
* Turn SvUTF8 off if not required in pp_chr and pp_stringify.Nick Ing-Simmons2001-01-021-10/+13
| | | p4raw-id: //depot/perlio@8298
* 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-4/+10
| | | | | | | | 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) More join() testing which was good becauseJarkko Hietaniemi2000-12-291-9/+3
| | | | | it revealed a bug in #8248 (the UTF8_EIGHT_BIT_LO() was wrong). p4raw-id: //depot/perl@8249
* The maxiters upper limit sanity check (guarding againstJarkko Hietaniemi2000-12-281-12/+13
| | | | | | non-progress) assumed bytes instead of characters in s/// and split(). p4raw-id: //depot/perl@8245
* Make some panic messages a bit more logical.Jarkko Hietaniemi2000-12-281-1/+1
| | | p4raw-id: //depot/perl@8244
* lvalue AUTOLOAD. No, really.Simon Cozens2000-12-281-2/+6
| | | | | Message-ID: <20001227023003.A7677@deep-dark-truthful-mirror.perlhacker.org> p4raw-id: //depot/perl@8243
* Return of the IVUV-preservation, now seems to be happy evenJarkko Hietaniemi2000-12-151-42/+732
| | | | | | in Digital UNIX (the broken strtoul brokenness detection seems to have been the fly in the ointment). p4raw-id: //depot/perl@8138
* This seems to be a stage sane and stable enough to checkin.Jarkko Hietaniemi2000-12-151-732/+42
| | | | | (it basically is 8102..8118+8122 but no 8120, 8121, 8123, 8124) p4raw-id: //depot/perl@8125
* faster and 64 bit preserving arithmeticNicholas Clark2000-12-141-42/+732
| | | | | Message-ID: <20001213200849.B71166@plum.flirble.org> p4raw-id: //depot/perl@8119
* Re: [Fwd: BUG 20001205.022] Local on Hash elementsSimon Cozens2000-12-111-2/+10
| | | | | Message-ID: <20001211012144.A23467@deep-dark-truthful-mirror.perlhacker.org> p4raw-id: //depot/perl@8077
* Re: prototype of substrSimon Cozens2000-12-101-1/+1
| | | | | | | | | | 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
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-2/+0
| | | p4raw-id: //depot/perl@7984
* Retract #7977, still too volatile (the euphemism of the dayJarkko Hietaniemi2000-12-041-2/+0
| | | | | for unfinished and buggy :-) p4raw-id: //depot/perl@7978
* (Retracted by #7978, too shaky yet.)Simon Cozens2000-12-041-0/+2
| | | | | | | | 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
* Make uv_to_utf8() to zero-terminate its output buffer,Jarkko Hietaniemi2000-12-031-3/+3
| | | | | always use (at least) UTF8_MAXLEN + 1 U8s deep buffer. p4raw-id: //depot/perl@7967
* Go ahead and #include <unistd.h> in perl.h.Jarkko Hietaniemi2000-11-221-4/+0
| | | p4raw-id: //depot/perl@7816
* Integrate mainlineNick Ing-Simmons2000-11-181-2/+6
|\ | | | | p4raw-id: //depot/perlio@7735
| * Sparc 64-bit pack() fix from Jens Hamisch.Jarkko Hietaniemi2000-11-181-2/+6
| | | | | | p4raw-id: //depot/perl@7732
* | Experiment on use of attributes.pm interface.Nick Ing-Simmons2000-11-171-15/+16
|/ | | | | | | Valid generic fix to auto-vivify code in rv2gv - only "upgrade" to SVt_PVRV if not already something better (else vivify of say magic gets core dump). p4raw-id: //depot/perlio@7727
* [ID 20001113.003] utf8_to_uv on malformed utf returns wrong valuesYitzchak Scott-Thoennes2000-11-141-2/+2
| | | | | 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-10/+29
| | | | | | | | | | | | | | | 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
* [ID 20001026.006] C<use integer; $x += 1> gives uninitialized warningYitzchak Scott-Thoennes2000-10-271-2/+2
| | | | | Message-Id: <200010262100.e9QL03U06386@garcia.efn.org> p4raw-id: //depot/perl@7454
* Continue the internal UTF-8 API tweaking.Jarkko Hietaniemi2000-10-251-9/+9
| | | | | | | | 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
* Allow poking holes at the UTF-8 decoding strictness.Jarkko Hietaniemi2000-10-251-2/+2
| | | p4raw-id: //depot/perl@7438
* Rename UTF8LEN() to be UNISKIP(), too confusing to haveJarkko Hietaniemi2000-10-251-1/+1
| | | | | UTF8LEN() and UTF8SKIP(). p4raw-id: //depot/perl@7437
* Fix the bug ID 20001024.005, the bug introduced by #7416.Jarkko Hietaniemi2000-10-241-4/+8
| | | p4raw-id: //depot/perl@7422
* Make the UTF-8 decoding stricter and more verbose whenJarkko Hietaniemi2000-10-241-18/+18
| | | | | | | | | | | | 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
* Don't write double values through long double pointers,Jens Hamisch2000-10-201-4/+17
| | | | | | | | based on a part of Subject: [ID 20001016.017] [jens: 5.7.0 Solaris 8, 64 Bit, Workshop 6.0 Compiler] Message-Id: <20001017083936.A11104@Strawberry.COM> p4raw-id: //depot/perl@7380
* Fix a couple of compiler-noted nits in #7235.Jarkko Hietaniemi2000-10-161-15/+15
| | | p4raw-id: //depot/perl@7237
* Fix few quad issues, which for example broke chr(~chr(~0)) for UTF8.Jarkko Hietaniemi2000-10-161-5/+5
| | | p4raw-id: //depot/perl@7236
* Make ~(chr(a).chr(b)) eq chr(~a).chr(~b) on utf8.Simon Cozens2000-10-151-0/+32
| | | | | | Subject: [PATCH] Re: [ID 20000918.005] ~ on wide chars Message-ID: <20001014205213.A9645@pembro4.pmb.ox.ac.uk> p4raw-id: //depot/perl@7235
* split() utf8 fixes. Should fix both 20001014.001 and 20000426.003.Jarkko Hietaniemi2000-10-151-14/+19
| | | | | | The problem was that rx->minlen was in chars while pp_split() thought it would be in bytes. p4raw-id: //depot/perl@7234
* Slight tweak of the code to appease Amdahl UTS cc.Jarkko Hietaniemi2000-10-131-1/+2
| | | p4raw-id: //depot/perl@7218
* UTF8ize split() so that the cloned substrings get the UTF8Jarkko Hietaniemi2000-10-061-0/+15
| | | | | flag of the original scalar. Problem reported by Simon Cozens. p4raw-id: //depot/perl@7164
* Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.Nick Ing-Simmons2000-09-301-7/+7
| | | | | | | 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
* continued -Wformat supportRobin Barker2000-09-141-1/+1
| | | | | Message-Id: <200009141707.SAA13276@tempest.npl.co.uk> p4raw-id: //depot/perl@7081
* Batch of UTF-8 patches from Simon Cozens.Jarkko Hietaniemi2000-09-141-7/+7
| | | p4raw-id: //depot/perl@7075
* The numeric locale was reset to "C" by s?printf and never restored.Christian Kirsch2000-08-161-2/+2
| | | | | | | | | | | | | Subject: [ID 20000809.003] setlocale(LC_NUMERIC...) produces different results in 5.005 and 5.6 Message-Id: <20000809170517.A25389@held> No test since adding the failing example to locale.t does not fail -- probably because the locale settings are so thoroughly tweaked by that time. Running the example standalone does fail, though. UPDATE: test case added at change #7540. p4raw-link: @7540 (not found) p4raw-id: //depot/perl@6648
* Augment #6539 a bit: don't croak if there's magic in the air.Hugo van der Sanden2000-08-081-3/+1
| | | | | | Subject: Re: [PATCH bleadperl-6530] bless, REF, and bless(REF, REF) Message-Id: <200008080202.DAA09147@crypt.compulink.co.uk> p4raw-id: //depot/perl@6545
* Make bless(REF, REF) a fatal error, add bless tests.Hugo van der Sanden2000-08-071-1/+7
| | | | | | Subject: [PATCH bleadperl-6530] bless, REF, and bless(REF, REF) Message-Id: <200008071559.QAA29541@crypt.compulink.co.uk> p4raw-id: //depot/perl@6539
* Make chr() for values >127 to create utf8 when under utf8.Simon Cozens2000-08-011-1/+1
| | | | | | Subject: Re: uft8/chr() Message-ID: <slrn8ocdud.19l.simon@justanother.perlhacker.org> p4raw-id: //depot/perl@6475
* Fix *foo{FORMAT}.Jarkko Hietaniemi2000-07-261-0/+3
| | | | | | | | | | | | | From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Subject: Re: Looking for a starting point (Mark-Jason?, Chip?, Jarkko?) Date: Wed, 26 Jul 2000 19:51:02 +0200 Message-Id: <20000726194952.41DD.H.M.BRAND@hccnet.nl> From: Graham Barr <gbarr@pobox.com> Subject: Re: Looking for a starting point (Mark-Jason?, Chip?, Jarkko?) Date: Wed, 26 Jul 2000 17:38:36 +0100 Message-ID: <20000726173836.L472@pobox.com> p4raw-id: //depot/perl@6445
* enable UTF-16 filter by default if relevant BOM is seen; variousGurusamy Sarathy2000-07-141-1/+1
| | | | | cleanups (typos, misformatted code, and small bugs) p4raw-id: //depot/perl@6399