summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Turn on largefileness always if available andJarkko Hietaniemi1999-11-111-5/+5
|/ | | | | continue 64-bit fixes. p4raw-id: //depot/cfgperl@4552
* avoid stash pointers in optree under USE_ITHREADSGurusamy Sarathy1999-11-111-2/+2
| | | p4raw-id: //depot/perl@4546
* another change towards a shareable optree: avoid pointer to filegvGurusamy Sarathy1999-11-111-1/+1
| | | | | | | | | in COP; revert parts of change#4485 and s/xcv_filegv/xcv_file/ (CvFILE() may yet come in handy somewhere); adjust compiler doodads to suit p4raw-link: @4485 on //depot/perl: b195d4879f55e1610299cb9b1b55356940c2a577 p4raw-id: //depot/perl@4545
* Remove quad logic from perl.h; regen Configure;Jarkko Hietaniemi1999-10-291-6/+6
| | | | | add -DUSE_LONG_LONG to ccflags if not already there. p4raw-id: //depot/cfgperl@4487
* Integrate with Sarathy; manual resolve on regcomp.c conflictsJarkko Hietaniemi1999-10-271-2/+8
|\ | | | | | | | | (Ilya's changes won). p4raw-id: //depot/cfgperl@4468
| * Avoid creating GV with NULL name when vivifying nameless scalars.Nick Ing-Simmons1999-10-241-2/+8
| | | | | | | | | | (Fix/workround for [ID19991024.001]) p4raw-id: //depot/perl@4444
* | More printf-fixes (see also #4426).Jarkko Hietaniemi1999-10-231-4/+4
|/ | | p4raw-id: //depot/cfgperl@4429
* allow any unpack specifier to take a count via '/'Gurusamy Sarathy1999-10-121-5/+8
| | | | | (from Ilya Zakharevich) p4raw-id: //depot/perl@4352
* more pack/unpack documentation (from Ilya Zakharevich); changedGurusamy Sarathy1999-10-111-2/+8
| | | | | | the behavior of 'Z*' and 'Z3' to always pack a trailing null byte; changed documentation to suit; added test p4raw-id: //depot/perl@4346
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-1/+1
| | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339