summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* win32 fixes: fix various syntax errors ("no preprocessor directivesGurusamy Sarathy2001-07-021-2/+2
| | | | | | within macro arguments") and warnings ("unary minus applied to unsigned type", among others) p4raw-id: //depot/perl@11066
* Fixes compile errors in four filesRichard Soderberg2001-06-291-1/+1
| | | | | Message-ID: <Pine.LNX.4.21.0106290333270.9768-100000@oregonnet.com> p4raw-id: //depot/perl@11021
* Step 2: Use the new PM_GETRE/SETRE macros everywhere.Richard Soderberg2001-06-211-1/+1
| | | | | Message-ID: <Pine.LNX.4.21.0106210657400.1693-100000@oregonnet.com> p4raw-id: //depot/perl@10780
* Split off the pack/unpack code, from Nicholas Clark.Jarkko Hietaniemi2001-06-181-1813/+0
| | | p4raw-id: //depot/perl@10685
* Be inspired more by Hugo-- introduce HAS_MODFL_POW32_BUG.Jarkko Hietaniemi2001-06-081-0/+18
| | | p4raw-id: //depot/perl@10479
* Integrate change #10412 from maintperl; locale is nowJarkko Hietaniemi2001-06-031-13/+13
| | | | | | | | | | | | | | | per-cop, not per-op; plus retweak the locale.t to always list the skipped utf8 locales. p4raw-link: @10412 on //depot/maint-5.6/perl: 71d0b827413df9e881d1c54d2d968823ed50c75b p4raw-id: //depot/perl@10413 p4raw-edited: from //depot/maint-5.6/perl@10411 'edit in' t/pragma/locale.t (@8600..) p4raw-integrated: from //depot/maint-5.6/perl@10411 'merge in' lib/locale.pm (@5902..) opcode.h pp.sym pp_proto.h (@8620..) opcode.pl (@8998..) op.h perl.h (@9288..) pp_sys.c (@9524..) util.c (@9538..) embed.h (@9584..) op.c (@9950..) pp.c (@10091..) pp_ctl.c (@10100..)
* Salvage bits and pieces from the experimental 'utf8 everywhere'Jarkko Hietaniemi2001-05-311-1/+1
| | | | | | patch: rename HINT_BYTE and IN_BYTE to HINT_BYTES and IN_BYTES to match the pragma name; various robustness cleanups. p4raw-id: //depot/perl@10339
* More -Wall sweeping.Jarkko Hietaniemi2001-05-301-10/+10
| | | p4raw-id: //depot/perl@10338
* Based onSimon Cozens2001-05-251-3/+20
| | | | | | Subject: [PATCH pp.c] Wrapping pack("C",256) Message-ID: <20010512175841.A6132@netthink.co.uk> p4raw-id: //depot/perl@10209
* [LARGE!] symbolic magicDave Mitchell2001-05-201-14/+17
| | | | | Message-Id: <200105191912.UAA23925@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10168
* Fix for 20010514.037; substr() didn't invalidate the localeJarkko Hietaniemi2001-05-151-0/+3
| | | | | collation magic. p4raw-id: //depot/perl@10106
* Reference cmp'ing should go through the whole stringificationJarkko Hietaniemi2001-05-141-6/+0
| | | | | process shebang, as pointed out by Sarathy in #10091. p4raw-id: //depot/perl@10098
* bug 20010423.002Robin Houston2001-04-231-1/+3
| | | | | Message-ID: <20010423131230.A20074@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9789
* prototype("CORE::recv")Simon Cozens2001-04-111-2/+4
| | | | | Message-ID: <20010411132435.A26169@netthink.co.uk> p4raw-id: //depot/perl@9685
* bleadperl / hex ignores variable length and/or tr doesn't null terminate ( ↵David Dyck2001-04-051-11/+11
| | | | | | | with patch) Message-ID: <Pine.LNX.4.30.0104041325310.25358-100000@dd.tc.fluke.com> p4raw-id: //depot/perl@9573
* pp_ne() needs a CORRECT boolean.Jarkko Hietaniemi2001-03-281-1/+1
| | | p4raw-id: //depot/perl@9405
* pp_ne() needs a boolean, not an integer.Jarkko Hietaniemi2001-03-281-2/+2
| | | p4raw-id: //depot/perl@9404
* (Retracted by #9404.)Jarkko Hietaniemi2001-03-281-1/+1
| | | p4raw-id: //depot/perl@9403
* Extend the SvROK() testing also to pp_ne(), pointed out byJarkko Hietaniemi2001-03-281-0/+6
| | | | | Andreas Schwab. p4raw-id: //depot/perl@9399
* pp_ncmp() and pp_scmp() should return numeric values, not booleans.Jarkko Hietaniemi2001-03-261-2/+2
| | | | | Really need to benchmark this. p4raw-id: //depot/perl@9370
* Treat pp_ncmp() and pp_scmp() as in #9366 (ROK).Jarkko Hietaniemi2001-03-261-0/+12
| | | | | | TODO1: perlbench. TODO2: le, lt, ge, gt? Yech. p4raw-id: //depot/perl@9368
* Re: B::Deparse bug (5.6.0)Robin Houston2001-03-241-0/+10
| | | | | Message-ID: <20010324143309.B17734@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9325
* The #9270 would have leaked a scalar if pp_substr()Jarkko Hietaniemi2001-03-211-7/+11
| | | | | returned early. p4raw-id: //depot/perl@9282
* Continue 4-arg substr() UTF-8 fixage.Jarkko Hietaniemi2001-03-211-13/+29
| | | p4raw-id: //depot/perl@9270
* substr($bytestr, i, n, $charstr)Jarkko Hietaniemi2001-03-191-1/+6
| | | | | TODO: we are still broken if $bytestr needs UTF-8 upgrading. p4raw-id: //depot/perl@9255
* Minor naming change UTF8_IS_ASCII => UTF8_IS_INVARIANTNick Ing-Simmons2001-03-171-2/+3
| | | p4raw-id: //depot/perlio@9184
* #ifdef'ed out code to make packed side of pack/unpackNick Ing-Simmons2001-03-131-1/+4
| | | | | octets. (i.e. pack('U') => encode_utf8). p4raw-id: //depot/perlio@9126
* EBCDIC sanity - phase INick Ing-Simmons2001-03-101-21/+28
| | | | | | | | | | | | | | - 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
* Re: [ID 20010305.012] chop() against list assignment returns char chopped ↵Radu Greab2001-03-071-3/+4
| | | | | | | from el zero Message-ID: <15013.20716.201459.540421@ix.netsoft.ro> p4raw-id: //depot/perl@9068
* Retract #8865 and #8869, un?pack C now again agree with Camel 3Jarkko Hietaniemi2001-02-281-70/+13
| | | | | | by not changing from pre-Unicode days into being Unicode-aware. Sniff. p4raw-id: //depot/perl@8966
* Re: sync sync sync: have I missed any patches?Tim Jenness2001-02-281-112/+112
| | | | | | | | 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
* Retract #8875, cannot let go of the old semantics of unpack UJarkko Hietaniemi2001-02-211-5/+30
| | | | | without rethinking utf8decode.t. p4raw-id: //depot/perl@8880
* Make unpack C and unpack U truly equivalent.Jarkko Hietaniemi2001-02-211-30/+5
| | | p4raw-id: //depot/perl@8875
* unpack("C", ...) was left slightly unfinished by #8865.Jarkko Hietaniemi2001-02-211-2/+4
| | | p4raw-id: //depot/perl@8869
* Make pack("C", 0x100) to create Unicode, unless under theJarkko Hietaniemi2001-02-211-13/+68
| | | | | | evil influence of 'use bytes'. Similarly, unpack("C", ...) will understand Unicode, unless you under know what. p4raw-id: //depot/perl@8865
* Integrate pureperl changes #8844,8845,8850 to mainlineJarkko Hietaniemi2001-02-201-1/+1
| | | | | | | | | | | | | | | | | | (via maintperl #8855). Fixed %^H scoping bug Removed GV <-> CV refcount loop Removed %ENV refcount loop p4raw-link: @8850 on //depot/maint-5.6/pureperl: bae1eca58b94313e4b7677aa241da9fad57bb363 p4raw-link: @8845 on //depot/maint-5.6/pureperl: 4d40626c12bbdd62acfbbe3be104711e58cec2f7 p4raw-link: @8844 on //depot/maint-5.6/pureperl: ea100fc6cfd2f0e23aceb84ac0e804e3c9c3c9a2 p4raw-id: //depot/perl@8858 p4raw-integrated: from //depot/maint-5.6/perl@8857 'merge in' gv.c scope.c (@8606..) pp.c (@8635..) op.c (@8758..) perl.c (@8806..)
* Re: [PATCH] Re: [ID 20010105.023] numeric problems in IRIXNicholas Clark2001-01-311-111/+83
| | | | | | | Message-ID: <20010130195105.R76607@plum.flirble.org> op/inc cure. p4raw-id: //depot/perl@8637
* Forgot from #8545. Oops.Jarkko Hietaniemi2001-01-271-1/+1
| | | p4raw-id: //depot/perl@8561
* lib/tie-substrhash.t FAILED at test 11Roca, Ignasi2001-01-171-0/+1
| | | | | | | | | Message-ID: <5930DC161690D2119667009027157547038C8A85@madt009a.siemens.es> pp_int() was dropping an NV to the floor, int(279964589018079/59) either returned not an integer 4745162525730.15, or one got "Attempt to free unreferenced scalar." p4raw-id: //depot/perl@8464
* More UTF-8 patches from Inaba Hiroto.Jarkko Hietaniemi2001-01-151-10/+7
| | | | | | | | | | | | | | | | | | | | - The substr lval was still not okay. - Now pp_stringify and sv_setsv copies source's UTF8 flag even if IN_BYTE. pp_stringify is called from fold_constants at optimization phase and "\x{100}" was made SvUTF8_off under use bytes (the bytes pragma is for "byte semantics" and not for "do not produce UTF8 data") - New `qu' operator to generate UTF8 string explicitly. Though I agree with the policy "0x00-0xff always produce bytes", sometimes want to such a string to be coded in UTF8. I can use pack"U0a*" but it requires more typing and has runtime overhead. - Fix pp_regcomp bug uncovered by "0x00-0xff always produce bytes" change, the bug appears if a pm has PMdf_UTF8 flag but interpolated string is not UTF8_on and has char 0x80-0xff. TODO: document and test qu. p4raw-id: //depot/perl@8439
* 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