summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Unapply an experimental patch that accidentally escapedJarkko Hietaniemi1999-08-111-38/+61
| | | | | | | from the lab by piggybacking with the change #3955. p4raw-link: @3955 on //depot/cfgperl: d28f7c377ae191ca53d9157f124642cf323614a0 p4raw-id: //depot/cfgperl@3957
* Patches needed to get _60 building withDan Sugalski1999-08-101-61/+38
| | | | | | | | To: vmsperl@perl.org, perl5-porters@perl.org, sarathy@activestate.com, bailey@newman.upenn.edu threads on VMS Message-ID: <Pine.LNX.4.10.9908101631030.18266-100000@tuatha.sidhe.org> p4raw-id: //depot/cfgperl@3955
* Integrate with Nick.Jarkko Hietaniemi1999-08-091-1/+15
|\ | | | | p4raw-id: //depot/cfgperl@3941
| * native int pack/unpack fixes (from Spider BoardmanGurusamy Sarathy1999-08-021-1/+15
| | | | | | | | | | <spider@leggy.zk3.dec.com>) p4raw-id: //depot/perl@3903
* | Protect against pack/unpack repeat count overflows,Nathan Torkington1999-08-061-2/+8
| | | | | | | | | | | | | | | | | | based on: To: Brian Keefer <mgomes@cwix.com> Cc: perl5-porters@perl.org Subject: Re: [ID 19990806.001] Core dump with obfuscated code Message-ID: <14250.27711.769942.100675@localhost.frii.com> p4raw-id: //depot/cfgperl@3928
* | split /^/ deprecation warning should not be on by default.Jarkko Hietaniemi1999-08-051-1/+1
| | | | | | p4raw-id: //depot/cfgperl@3925
* | Warning fix to change #3922.Paul Marquess1999-08-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | To: ilya@math.ohio-state.edu, gsar@activestate.com Cc: tchrist@jhereg.perl.com, chaimf@pobox.com, ed@chronos.net, perl5-porters@perl.org Subject: RE: [PATCH 5.00557] split /^/ Message-ID: <5104D4DBC598D211B5FE0000F8FE7EB202D49B23@mbtlipnt02.btlabs.bt.co.uk> p4raw-link: @3922 on //depot/cfgperl: 2cdd06f700e22243a0f92357f562eb4b13b7197a p4raw-id: //depot/cfgperl@3924
* | Deprecate /^/ implictly meaning /^/m.Ilya Zakharevich1999-08-051-1/+7
|/ | | | | | | | | To: Gurusamy Sarathy <gsar@activestate.com> Cc: Tom Christiansen <tchrist@jhereg.perl.com>, chaimf@pobox.com, ed@chronos.net, perl5-porters@perl.org Subject: [PATCH 5.00557] split /^/ Message-ID: <19990804164657.A3776@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@3922
* Repent and make overly large integerishJarkko Hietaniemi1999-07-291-10/+10
| | | | | | | constants non-fatal. They are now promoted to NVs, accompanied by an overflow warning that is by default on. p4raw-id: //depot/cfgperl@3832
* Integer constants (0x, 0[0-7], 0b) now overflow fatally,Jarkko Hietaniemi1999-07-271-8/+8
| | | | | | | they used to be just optional lexical warnings. Also, with warnings turned on, constants > 2**32-1 trigger a non-portability warning. p4raw-id: //depot/cfgperl@3798