summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* Purge all references to 5005 threads variables in the code.Nicholas Clark2007-02-031-1/+0
| | | | | (Retain the aides memoire in makedef.pl) p4raw-id: //depot/perl@30105
* A few more places where we know the length for sv_setpv() or sv_catpv()Nicholas Clark2007-02-021-1/+1
| | | p4raw-id: //depot/perl@30101
* You can't have special blocks if the subroutine has an "anonymous"Nicholas Clark2007-01-311-4/+2
| | | | | name for the debugger, so don't bother checking. p4raw-id: //depot/perl@30085
* Improve regex stringification codeYves Orton2007-01-311-2/+3
| | | | | Message-ID: <9b18b3110701301458k2f6a8254hea6c6db28489c38b@mail.gmail.com> p4raw-id: //depot/perl@30084
* Refactor the code used to check/execute BEGIN/UNITCHECK/CHECK/INIT/ENDNicholas Clark2007-01-301-85/+57
| | | | | | duplicated in newATTRSUB and newXS into a new static function process_special_blocks() p4raw-id: //depot/perl@30080
* UNITCHECK for XS code. Turned out to be harder that expected.Nicholas Clark2007-01-291-1/+6
| | | | | We need to get the XS BOOT section to run any UNITCHECK blocks for us. p4raw-id: //depot/perl@30072
* BEGIN blocks in XS should work. (Given that CHECK, INIT and END all do)Nicholas Clark2007-01-291-0/+10
| | | p4raw-id: //depot/perl@30067
* Add av_create_and_push() and av_create_and_unshift_one() to refactorNicholas Clark2007-01-291-32/+9
| | | | | out two repeated idioms. p4raw-id: //depot/perl@30064
* Change 30034 wasn't enough to silence the warnings - also need toNicholas Clark2007-01-271-2/+2
| | | | | pass a never-NULL parameter to newPADOP from newGVOP p4raw-id: //depot/perl@30043
* newPADOP()'s sv parameter is never NULL, so mark it as so.Nicholas Clark2007-01-271-4/+4
| | | | | | | | (Well, in theory it could be NULL if someone is creating ops during symbol table destruction, but snowballs in hell, etc. This is usually the point where Jarkko observes that the aliens are looking for a free slot in their diaries...) p4raw-id: //depot/perl@30034
* newPADOP is only used under ithreads, so don't waste space by compilingNicholas Clark2007-01-271-0/+2
| | | | | it for non-threaded builds. p4raw-id: //depot/perl@30032
* Using gv_stashsv() and sv_setsv() in Perl_package reduces source andNicholas Clark2007-01-271-5/+3
| | | | | object code size. p4raw-id: //depot/perl@30028
* The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmaskNicholas Clark2007-01-251-1/+1
| | | | | of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
* split by " \0" (const string staring with a SPACE followed by NULL)SADAHIRO Tomoyuki2007-01-251-1/+1
| | | | | Message-Id: <20070119221905.D162.BQW10602@nifty.com> p4raw-id: //depot/perl@29975
* Add get_cvn_flags(), which is like get_cv() but takes a length. ThisNicholas Clark2007-01-151-1/+2
| | | | | allows symbolic code references with embeded NULs to work. p4raw-id: //depot/perl@29830
* g++ fixesJarkko Hietaniemi2007-01-151-2/+4
| | | | | Message-Id: <20070115040930.8685843A67@anubis.hut.fi> p4raw-id: //depot/perl@29812
* make tr/// threadsafe by moving swash into padDave Mitchell2007-01-121-2/+19
| | | p4raw-id: //depot/perl@29765
* Change #29711 broke tr//c on Win32.Yves Orton2007-01-091-2/+4
| | | | | Message-ID: <9b18b3110701081131v392597c6veed493407c1eede7@mail.gmail.com> p4raw-id: //depot/perl@29731
* Let the regex parser decide if we have a special pattern or not.Yves Orton2007-01-091-1/+3
| | | | | Message-ID: <9b18b3110701081546n2c3f19acy29adc0d233bb848c@mail.gmail.com> p4raw-id: //depot/perl@29730
* Eliminate pp_threadsv, as it was only ever used by 5005 threads.Nicholas Clark2007-01-081-21/+1
| | | p4raw-id: //depot/perl@29727
* allocate op_pv strings from shared mem poolDave Mitchell2007-01-081-4/+5
| | | p4raw-id: //depot/perl@29711
* 4th patch from: Marcus Holland-Moritz2007-01-041-11/+11
| | | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Introduce an SVfARG() macro for %SVf (%-p here) arguments to perl's printf p4raw-id: //depot/perl@29687
* Update copyright years to include 2007. (Plus a couple of 2006s andNicholas Clark2007-01-021-1/+1
| | | | | earlier we missed in av.h and hv.h) p4raw-id: //depot/perl@29670
* further fix for #29543: fix parser leaks caused by croakingDave Mitchell2006-12-291-0/+4
| | | p4raw-id: //depot/perl@29636
* With PAD_COMPNAME_GEN in SvUVX, SvCUR is trustworthy once more.Nicholas Clark2006-12-281-9/+11
| | | p4raw-id: //depot/perl@29633
* Move PAD_COMPNAME_GEN from SvCUR to SvUVX.Nicholas Clark2006-12-281-1/+1
| | | p4raw-id: //depot/perl@29632
* Fix #6006 for taint mode too.Rafael Garcia-Suarez2006-12-231-0/+1
| | | p4raw-id: //depot/perl@29619
* A better fix for RT #6006: revert change 29616, which was bogus,Rafael Garcia-Suarez2006-12-231-6/+7
| | | | | | | | and add OP_SCOPE to the list of "dangerous" ops that might appear on the right side of s///. However, this fix does not work under taint mode, and op/subst.t has -T. p4raw-id: //depot/perl@29617
* Fix RT #6006: Regexp replaces using large replacement variables failRafael Garcia-Suarez2006-12-231-4/+6
| | | | | | | | some of the time (i.e. when the substitution contains something like ${10}). Patch derived from a patch by Hugo van der Sanden; added also a second test (Yves Orton already added a TODO test for this.) p4raw-id: //depot/perl@29616
* Re: [PATCH] do not meddle in the affairs of PERL_TRACK_MEMPOOLJarkko Hietaniemi2006-12-181-14/+2
| | | | | | | Message-ID: <4586084E.8040706@iki.fi> Introduce CopLABEL() macro to deal with labels attached to COPs. p4raw-id: //depot/perl@29585
* don't include MAD code when its not neededDave Mitchell2006-12-161-3/+6
| | | p4raw-id: //depot/perl@29561
* Silence a VC compiler warningSteve Hay2006-12-141-1/+1
| | | p4raw-id: //depot/perl@29553
* misc MAD coredump fixes and parser leak fixesDave Mitchell2006-12-131-1/+3
| | | | | | | | | - fix MAD coredump in tr/// - fix mad coredump in multi-line string literals - kill some MAD uninit value warnings - don't allow assignment to $n in perly.y - make op_dump handle op_latefree flags p4raw-id: //depot/perl@29548
* fix double free introduced by #29543 (spotted by Nicholas)Dave Mitchell2006-12-131-3/+17
| | | p4raw-id: //depot/perl@29547
* fix parser leaks caused by croaking while shifting or reducingDave Mitchell2006-12-131-0/+12
| | | | | | | e.g. these no longer leak: eval q[my $x; local $x] while 1; eval q[$s = sub <> {}] while 1; p4raw-id: //depot/perl@29543
* Verify that the debugger has an array where to store lines beforeRafael Garcia-Suarez2006-12-011-4/+7
| | | | | | | doing so. This fixes an assertion failure when parsing a script that begins with '#!perl -d'. Also, code factorization in toke.c. p4raw-id: //depot/perl@29429
* Cleanup regexp flags and structureYves Orton2006-11-231-1/+1
| | | | | Message-ID: <9b18b3110611230336p3ce3b16du47cd5398dea8d873@mail.gmail.com> p4raw-id: //depot/perl@29360
* More safety in free()sRafael Garcia-Suarez2006-11-231-1/+5
| | | p4raw-id: //depot/perl@29359
* Unify the two warnings "Can't declare %s in %s", in line with what'sRafael Garcia-Suarez2006-11-201-1/+1
| | | | | documented in perldiag. p4raw-id: //depot/perl@29330
* Re: thread free problemJerry D. Hedden2006-11-201-1/+10
| | | | | | From: "Jerry D. Hedden" <jdhedden@yahoo.com> Message-ID: <696736.39963.qm@web30204.mail.mud.yahoo.com> p4raw-id: //depot/perl@29329
* This volatile modifier is not on the referent, but on the pointerRafael Garcia-Suarez2006-11-021-1/+1
| | | | | (see change 28606) p4raw-id: //depot/perl@29190
* Re: $, and sayGisle Aas2006-11-021-10/+0
| | | | | | | | Message-ID: <lrek2t1e8n.fsf@caliper.activestate.com> with tweaks so "say;" continues to default to $_ plus a regression test p4raw-id: //depot/perl@29187
* VOL should be used instead of volatile in the core.Steve Peters2006-10-301-2/+2
| | | p4raw-id: //depot/perl@29157
* Plug a memory leak in newCONSTSUBRafael Garcia-Suarez2006-10-251-0/+1
| | | p4raw-id: //depot/perl@29107
* stab at UNITCHECK blocksAlexander Gough2006-10-191-1/+10
| | | | | Message-ID: <20061019120412.GA12290@the.earth.li> p4raw-id: //depot/perl@29053
* Allow the _ prototype character to be followed by optional argumentsRafael Garcia-Suarez2006-10-191-1/+1
| | | p4raw-id: //depot/perl@29048
* The _ character is only allowed to be at the end of prototypesRafael Garcia-Suarez2006-10-181-0/+3
| | | p4raw-id: //depot/perl@29036
* Improvements and fixes to the _ prototypeRafael Garcia-Suarez2006-10-181-7/+7
| | | p4raw-id: //depot/perl@29035
* First attempt at implementing the _ prototypeRafael Garcia-Suarez2006-10-171-0/+7
| | | p4raw-id: //depot/perl@29032
* Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re ↵Yves Orton2006-09-291-1/+1
| | | | | | | pluggable under threads) Message-ID: <9b18b3110609290341p11767110sec20a6fee2038a00@mail.gmail.com> p4raw-id: //depot/perl@28900