summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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#6252..6260 into mainlineGurusamy Sarathy2000-07-111-1/+7
| | | | | | | | | | | | | | | | | | | | | 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#6207..6210 into mainlineGurusamy Sarathy2000-07-111-18/+1
| | | | | | p4raw-link: @6210 on //depot/cfgperl: b8b4c9f3cf6ef09c878a80ff97526a69902a44ca p4raw-link: @6207 on //depot/cfgperl: b37a7757477319a5fcdd5131db15046064f631c4 p4raw-id: //depot/perl@6345
* buggy modulus on UVs introduced by change#3378 (resulted inGurusamy Sarathy2000-05-311-2/+2
| | | | | | | 4063328477 % 65535 amounting to 27406, instead of 27407) p4raw-link: @3378 on //depot/perl: 25da4f389200e19df8aa50bcef9af9506f48ed2e p4raw-id: //depot/perl@6179
* change#2879 broke rvalue autovivification of magicals such as ${$num}Gurusamy Sarathy2000-05-281-6/+14
| | | | | | | (reworked variant of patch suggested by Simon Cozens) p4raw-link: @2879 on //depot/perl: 35cd451c5a1303394968903750cc3b3a1a6bc892 p4raw-id: //depot/perl@6126
* reverse() and quotemeta() weren't preserving utf8-ness; add testsGurusamy Sarathy2000-05-071-4/+3
| | | p4raw-id: //depot/perl@6087
* repeat operator (x) doesn't preserve utf8-nessGurusamy Sarathy2000-05-071-3/+6
| | | p4raw-id: //depot/perl@6085
* substr() does not preserve utf8-ness (from Stefan EissingGurusamy Sarathy2000-05-071-4/+4
| | | | | <Eissing@medicaldataservice.de>); added tests p4raw-id: //depot/perl@6084
* change#3798 broke the meaning of "\0_7_7", tr/\0_// etc.; fix itGurusamy Sarathy2000-05-021-0/+2
| | | | | | | | such that underscores are only ignored in literal numbers, "\x{...}", and hex/oct argument p4raw-link: @3798 on //depot/cfgperl: 252aa0820e6bce274b33bd342cfc65e18a59a165 p4raw-id: //depot/perl@6044
* fix for missed accounting for null byte in pack("Z",...) (fromGurusamy Sarathy2000-04-281-1/+2
| | | | | M.J.T. Guy) p4raw-id: //depot/perl@5994
* Add HAS_FREXPL, HAS_ISNAN, HAS_ISNANL, and HAS_MODFL.Jarkko Hietaniemi2000-04-241-8/+1
| | | | | Now pp_ncmp() returns undef is either operand is a NaN. p4raw-id: //depot/cfgperl@5943
* Various Unicos 10.0.0.6 fixes.Mark P Lutz2000-04-241-2/+6
| | | | | | | | Subject: [ID 20000414.007] Test suite failures in perl 5.6 on Cray T90 Reply-To: tecmpl1@triton.ca.boeing.com To: perl5-porters@perl.org Message-Id: <200004142021.UAA36232@triton.ca.boeing.com> p4raw-id: //depot/cfgperl@5940
* autovivify open($fh[0],...) properlyGurusamy Sarathy2000-03-201-1/+1
| | | p4raw-id: //depot/perl@5836
* Solaris long double fixes from Alan Burlison.Jarkko Hietaniemi2000-03-131-1/+1
| | | p4raw-id: //depot/cfgperl@5687
* avoid warningGurusamy Sarathy2000-03-061-1/+1
| | | p4raw-id: //depot/perl@5563
* prototype changes for eventually supporting C<binmode(F, ":raw")>Gurusamy Sarathy2000-03-051-1/+1
| | | | | and C<open F, "-|", 'cat', '-v'> p4raw-id: //depot/perl@5554
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-12/+12
| | | p4raw-id: //depot/perl@5540
* scan_num() sticks to UVs rather than IVs (now -2147483648 doesn'tGurusamy Sarathy2000-03-051-3/+17
| | | | | end up being promoted to an NV) p4raw-id: //depot/perl@5533