summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* workaround for Tru64 compiler bug (cleaner fix will haveJarkko Hietaniemi2000-03-021-0/+15
| | | | | to wait until 5.6.1), from Spider Boardman p4raw-id: //depot/cfgperl@5448
* Couple of math functions need to be Perl_ so thatJarkko Hietaniemi2000-03-011-3/+3
| | | | | | they are correctly long double, especially the frexp() in sv_vcatpvfn() (spotted by Spider Boardman). p4raw-id: //depot/cfgperl@5390
* Lift the 32-bit straightjacket from bit ops;Jarkko Hietaniemi2000-02-281-65/+26
| | | | | prefer IV/UV over NV in sv_2pv(). p4raw-id: //depot/cfgperl@5329
* More UTF8_MAXLEN fixesGisle Aas2000-02-241-3/+3
| | | | | | To: perl5-porters@perl.org Message-ID: <m3ema2tc8q.fsf@eik.g.aas.no> p4raw-id: //depot/cfgperl@5247
* lexical warnings update, ability to inspect bitmask in callingGurusamy Sarathy2000-02-201-13/+15
| | | | | scope, among other things (from Paul Marquess) p4raw-id: //depot/perl@5170
* allocate sufficient buffer sizes for 64-bit wide utf8 charactersGurusamy Sarathy2000-02-191-2/+2
| | | | | | | permitted by change#5011 (from Gisle Aas) p4raw-link: @5011 on //depot/perl: 3c77ea2bace63b1ad27d15a6366cb938bdd158cb p4raw-id: //depot/perl@5136
* remove $^U dependent behaviors in runtime; chr() and sprintf('%c',...)Gurusamy Sarathy2000-02-071-2/+2
| | | | | | | now return bytes all the way to 255, they will be transparently coerced (in future) to UTF-8 when they are used in operations involving other UTF-8 strings; C<use utf8> doesn't set $^U anymore p4raw-id: //depot/perl@5013
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-1/+1
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* introduce $^U, a global bit to indicate whether systemGurusamy Sarathy2000-01-311-1/+1
| | | | | | | calls should using widechar APIs; chr and sprintf "%c" also follow this flag in the absense of "use byte"; "use utf8" sets $^U=1 (this appears kludgey) p4raw-id: //depot/perl@4937
* runtime now looks at the SVf_UTF8 bit on the SV to decideGurusamy Sarathy2000-01-311-24/+41
| | | | | | | | | whether to use widechar semantics; lexer and RE engine continue to need "use utf8" to enable unicode awareness in literals and patterns (TODO: this needs to be fixed); $1 et al are marked SvUTF8 if the pattern was compiled for utf8 (TODO: propagating it from the data is probably better) p4raw-id: //depot/perl@4930
* Misedit in #4888.Jarkko Hietaniemi2000-01-251-1/+1
| | | p4raw-id: //depot/cfgperl@4889
* UNICOS/mk patches. Removing the _CRAYMPP test may beJarkko Hietaniemi2000-01-251-2/+2
| | | | | | | | rash but it's the best move I can think of right now. Removing the _CRAYMPP test fixes a legion of pack/unpack failures (hint: shortsize=4,intsize=8,longsize=8). One subtest, t/lib/io_sock.t #14, is still failing. p4raw-id: //depot/cfgperl@4888
* support for C<exists &func> (from Spider Boardman)Gurusamy Sarathy2000-01-211-2/+16
| | | p4raw-id: //depot/perl@4827
* support delete() and exists() on array, tied array, and pseudo-hashGurusamy Sarathy2000-01-131-6/+31
| | | | | elements or slices p4raw-id: //depot/perl@4796
* fix 4-arg substr() when used as argument to subroutineGurusamy Sarathy2000-01-021-3/+3
| | | p4raw-id: //depot/perl@4747
* avoid initializing GvCV slot for autovivified filehandlesGurusamy Sarathy1999-12-091-1/+1
| | | p4raw-id: //depot/perl@4670
* tweaks for building with -DUSE_ITHREADS on !WIN32 platforms;Gurusamy Sarathy1999-12-061-7/+11
| | | | | fix bug where lc($readonly) could result in bogus errors p4raw-id: //depot/perl@4660
* readability tweak suggested by GRommel@sears.comGurusamy Sarathy1999-12-041-32/+25
| | | p4raw-id: //depot/perl@4645
* make uninitialized value warnings report opcodeGurusamy Sarathy1999-12-041-2/+2
| | | p4raw-id: //depot/perl@4641
* better implementation of change#3326; open(local $foo,...) nowGurusamy Sarathy1999-12-041-15/+14
| | | | | | | | | | allowed in addition to any uninitialized variable, for consistency with how autovivification works elsewhere; add code to use the variable name as the name of the handle for simple variables, so that diagnostics report the handle: "... at - line 1, <$foo> line 10." p4raw-link: @3326 on //depot/perl: 853846ea710f8feaed8c98b358bdc8967dd522d2 p4raw-id: //depot/perl@4639
* avoid potential stack extension bug in pp_unpack() (spotted by Ilya)Gurusamy Sarathy1999-12-021-3/+4
| | | p4raw-id: //depot/perl@4612
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-12-011-1/+1
|\ | | | | p4raw-id: //depot/perl@4606
| * Regen Configure.Jarkko Hietaniemi1999-11-161-1/+1
| | | | | | p4raw-id: //depot/cfgperl@4592
* | more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-1/+1
|/ | | p4raw-id: //depot/perl@4602
* Integrate with Sarathy.Jarkko Hietaniemi1999-11-131-1/+6
|\ | | | | p4raw-id: //depot/cfgperl@4555
| * cloned interpreters now actually run and pass all but 55/10386Gurusamy Sarathy1999-11-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subtests; various subtle bugs, new and old, observed when running cloned interpreters have been fixed still to do: | * dup psig_ptr table | * merge PADOP GVs support with "our" SVs (existing PADOPs are too | simple-minded and grab one pad entry each, heavily bloating | the pad by not avoiding dups) | * overloaded constants are not really immutable--they need to | be PADOPs | * allocator for constants and OPs need to be spelled differently | (shared vs interpreter-local allocations) | * optree refcounting is still missing locking (macros are in place) | * curstackinfo, {mark,scope,save,ret}stack need to be cloned so | perl_clone() can be called from within runops*() p4raw-id: //depot/perl@4553