summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-2/+2
| | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* fix buggy popping of subroutine contexts in the lvalueGurusamy Sarathy1999-09-261-17/+18
| | | | | | | | | subroutines implementation (change#4081); correct the plethora of cases where DIE() was more appropriate than croak() p4raw-link: @4081 on //depot/perl: cd06dffe59d60ee6a2fdd7c81f8cef42c7026b36 p4raw-id: //depot/perl@4235
* change "#" to a comment starter in pack templates; "/" nowIlya Zakharevich1999-09-231-6/+16
| | | | | | | used for specifying counted types Message-ID: <19990922194130.A864@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_61] Enable comments in pack()/unpack() templates p4raw-id: //depot/perl@4222
* avoid clearing @_ at all for faster subroutine calls; fix bugsGurusamy Sarathy1999-09-191-0/+6
| | | | | | in passing around references to @_, eg C<sub foo { \@_ }>; add tests for the same p4raw-id: //depot/perl@4195
* Replace change #4100 withRobin Barker1999-09-131-2/+2
| | | | | | | | | | To: gsar@activestate.com Cc: perl5-porters@perl.org Subject: Re: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909131315.OAA24012@tempest.npl.co.uk> p4raw-link: @4100 on //depot/cfgperl: 427181846486e3aa5034a647dc1922377185f4c0 p4raw-id: //depot/cfgperl@4136
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-09-081-28/+87
|\ | | | | p4raw-id: //depot/perl@4106
| * Fix pointer casts.Robin Barker1999-09-071-2/+2
| | | | | | | | | | | | | | | | To: perl5-porters@perl.org Subject: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909071130.MAA11435@tempest.npl.co.uk> p4raw-id: //depot/cfgperl@4100
| * Integrate with Sarathy.Jarkko Hietaniemi1999-09-061-0/+2
| |\ | | | | | | p4raw-id: //depot/cfgperl@4091
| * | Time is not yet ripe.Jarkko Hietaniemi1999-09-051-26/+85
| | | | | | | | | p4raw-id: //depot/cfgperl@4079
* | | fix memory leak in C<sub f { split ' ', "a b" } f() while 1>Gurusamy Sarathy1999-09-081-0/+1
| |/ |/| | | p4raw-id: //depot/perl@4103
* | initial implementation of lvalue subroutines (slightly fixedGurusamy Sarathy1999-09-051-0/+2
|/ | | | | | version of patch suggested by Ilya Zakharevich, which in turn is based on the one suggested by Tuomas J. Lukka <lukka@iki.fi>) p4raw-id: //depot/perl@4081
* Enable 64-bit clean bit ops.Jarkko Hietaniemi1999-09-041-85/+26
| | | | | (Disables the t/op/misc.t substest 3 in 64-bit platforms.) p4raw-id: //depot/cfgperl@4070
* For some odd reason #4056 didn't undo #3922 completely.Jarkko Hietaniemi1999-08-311-8/+1
| | | p4raw-id: //depot/cfgperl@4058
* Removed duplicated code (in pp.c and mg.c) by introducingJarkko Hietaniemi1999-08-191-63/+13
| | | | | | | | | | | | do_vecget(). NOTE: the calling convention of do_vecset() changes, too: the `offset' that is assigned to LvTARGOFF(TARG) in pp_vec() is no more multiplied by `size' in pp_vec(), the multiplication is now done in do_vecset(). Also fix a cpp thinko in change #4002. p4raw-link: @4002 on //depot/cfgperl: 24db6c0d56fddf85ee587fc1cb1dbce678fa6a8c p4raw-id: //depot/cfgperl@4004