summaryrefslogtreecommitdiff
path: root/pp_ctl.c
Commit message (Collapse)AuthorAgeFilesLines
* the PAD_SET_CUR macro expanded too much for AIX compilersDave Mitchell2005-07-011-2/+4
| | | p4raw-id: //depot/perl@25042
* silence a warning in Perl_sv_compile_2opDave Mitchell2005-07-011-1/+1
| | | p4raw-id: //depot/perl@25035
* We're going round in circles with pp_sys.cAndy Lester2005-06-271-12/+17
| | | | | | | Message-ID: <20050627180659.GB29744@petdance.com> (edited) p4raw-id: //depot/perl@24997
* Pre-YAPC consting funAndy Lester2005-06-231-1/+2
| | | | | Message-ID: <20050623190423.GA13835@petdance.com> p4raw-id: //depot/perl@24965
* Add a define PERL_POISON which tries to trip up anything accessingNicholas Clark2005-06-231-0/+7
| | | | | | freed or uninitialised memory. Currently only Poison()s freed pointers. p4raw-id: //depot/perl@24959
* Silence bcc32 compiler warnings following change 24945Steve Hay2005-06-231-1/+1
| | | | | ("Possible use of '%s' before definition") p4raw-id: //depot/perl@24953
* Const Boy II: The LocalizingAndy Lester2005-06-231-1/+6
| | | | | Message-ID: <20050622144059.GA19598@petdance.com> p4raw-id: //depot/perl@24945
* Silence yet more bcc32 compiler warningsSteve Hay2005-06-221-1/+1
| | | | | ("Code has no effect") p4raw-id: //depot/perl@24939
* More random cleanupsAndy Lester2005-06-201-28/+26
| | | | | Message-ID: <20050617145029.GC11769@petdance.com> p4raw-id: //depot/perl@24906
* Bring bleadperl up to version.pmJohn Peacock2005-06-131-2/+2
| | | | | Message-ID: <42A414DD.8090504@rowman.com> p4raw-id: //depot/perl@24823
* More SvPV consting, including some code cleanup and living dangerouslyNicholas Clark2005-06-101-8/+8
| | | | | with socket API calls. p4raw-id: //depot/perl@24799
* const-ize pp_formlineNicholas Clark2005-06-081-221/+234
| | | p4raw-id: //depot/perl@24765
* Allow a null length pointer to sv_pvn_force_flags.Nicholas Clark2005-06-081-4/+3
| | | | | Add SvPV_force_nolen and use it to remove some C<n_a>s p4raw-id: //depot/perl@24759
* n_a no moreNicholas Clark2005-06-081-16/+11
| | | p4raw-id: //depot/perl@24758
* s/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/gNicholas Clark2005-06-081-5/+5
| | | p4raw-id: //depot/perl@24755
* Convert POPpx POPpconstx and POPpbytex to use nolen macros.Nicholas Clark2005-06-081-1/+0
| | | | | Elminate a lot of C<n_a>s p4raw-id: //depot/perl@24748
* More SvPV constingNicholas Clark2005-06-071-1/+1
| | | p4raw-id: //depot/perl@24743
* More consting of SvPVNicholas Clark2005-06-071-8/+6
| | | p4raw-id: //depot/perl@24742
* More SvPV consting.Nicholas Clark2005-06-071-5/+4
| | | p4raw-id: //depot/perl@24740
* Random cleanups #47Andy Lester2005-06-071-2/+2
| | | | | Message-ID: <20050606151107.GC7022@petdance.com> p4raw-id: //depot/perl@24735
* Lots of constingNicholas Clark2005-06-071-5/+5
| | | p4raw-id: //depot/perl@24726
* Unvoid SvUPGRADEAndy Lester2005-06-071-1/+1
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* Random constingAndy Lester2005-06-031-2/+2
| | | | | Message-ID: <20050602171943.GA16553@petdance.com> p4raw-id: //depot/perl@24689
* add pointer to email explaining why eval {goto &foo} is bannedDave Mitchell2005-05-301-0/+1
| | | p4raw-id: //depot/perl@24642
* embed.fnc cleanup + SvPVX_const usageAndy Lester2005-05-241-7/+7
| | | | | Message-ID: <20050521140640.GB875@petdance.com> p4raw-id: //depot/perl@24561
* [perl #35878] goto &xsub that croaks corrupts memoryDave Mitchell2005-05-211-5/+4
| | | | | | When an XS sub is called, a CxSUB context shouldn't be pushed. Make goto &xs_sub mimic this behaviour by first popping the old CxSUB p4raw-id: //depot/perl@24535
* stop goto &foo wasting stack spaceDave Mitchell2005-05-211-1/+3
| | | | | | it used to push @_ onto the end of the stack; now it pops the stack back to the old watermark first. p4raw-id: //depot/perl@24534
* disallow eval { goto &foo }Dave Mitchell2005-05-211-2/+5
| | | | | | | | eval 'goto &foo' is already banned, and the try-version usually coredumps due to the code assuming the CxEVAL is actually a CxSUB. Anyway exiting an eval but preserving "it's" @_ doesn't make much sense. p4raw-id: //depot/perl@24532
* SvPVX_const - patch #2Steve Peters2005-05-211-19/+19
| | | | | Message-Id: <20050521024210.GA29036@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24523
* Goodbye AvFLAGSNicholas Clark2005-05-201-1/+1
| | | p4raw-id: //depot/perl@24518
* consting-eleventy.patch: More consts, plus actual bug fixAndy Lester2005-05-161-1/+1
| | | | | Message-ID: <20050516151353.GA25387@petdance.com> p4raw-id: //depot/perl@24489
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-1/+1
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* s/sv_setpv(sv,"")/sv_setpvn(sv,"",0)/Nicholas Clark2005-05-101-7/+7
| | | | | plus a couple of 1 byte sv_setpv()s too. p4raw-id: //depot/perl@24439
* attributes-two.patch, the next batchAndy Lester2005-05-091-18/+17
| | | | | Message-ID: <20050509154518.GA18273@petdance.com> p4raw-id: //depot/perl@24431
* while (my $x ...) { ...; redo } shouldn't undef $x.Dave Mitchell2005-05-071-1/+10
| | | | | | | In the presence of 'my' in the conditional of a while(), until(), or for(;;) loop, add an extra scope to the body so that redo doesn't undef the lexical p4raw-id: //depot/perl@24412
* [perl #35214] SEGV when next is followed by a gotoDave Mitchell2005-05-041-0/+3
| | | | | next and redo didn't restore PL_curcop p4raw-id: //depot/perl@24384
* Better fix for #8738 (Core dump in 'leavetry')Dave Mitchell2005-05-021-2/+14
| | | | | | | | | | | | | | | | When in an inner runops loop (eg via a tie or sort), an eval needs a new JMPENV pushing by S_docatch. If an exception is raised, control is returned to S_docatch, and it must determine whether the eval that trapped the exception is an inner eval or an outer one. In the former case, restart the loop, in the latter case, rethrow the exception. This is determined by whether we are still at the same PL_curstackinfo level. This fails in the case of SPLICE(), which pushes a new SETJMP and runops level, but not a new stackinfo level. There may be other code which does similar. The solution is to store the current value of PL_top_env in each pushed CxEVAL, and see if it's still the same as PL_top_env when the exception is handled. p4raw-id: //depot/perl@24363
* Revert change #15705 (Core dump in 'leavetry')Dave Mitchell2005-05-021-18/+2
| | | | | | | This fixes bug #34682, reintroduces bug #8738 (ID 20020301.011), and reintroduces an eval optimisation for innter runops levels p4raw-link: @15705 on //depot/perl: 8bffa5f8f4dd0cd203052722c9fcfd899f51d033 p4raw-id: //depot/perl@24362
* Add a new macro SvPV_free() which undoes OOK and free()s the PVX(),Nicholas Clark2005-04-281-3/+1
| | | | | | becase there's a lot of code around that calls SvOOK_off(), memmov()s the buffer, then promptly free()s it. So avoid the needless memmov(). p4raw-id: //depot/perl@24348
* Symbian port of PerlJarkko Hietaniemi2005-04-211-19/+38
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* [perl #35059] [PATCH] caller() skips frames (such as eval() frames) if $^P set glasser@tang-eleven-seventy-nine.mit.edu2005-04-201-2/+4
| | | | | | | | | From: glasser@tang-eleven-seventy-nine.mit.edu (via RT) <perlbug-followup@perl.org> Message-Id: <rt-3.0.11-35059-111134.0.304511316819145@perl.org> improved version of change 21842 that copes with glob DB::sub existing but &DB::sub not existing. p4raw-id: //depot/perl@24265
* Refactoring to Sv*_set() macros - patch #4Steve Peters2005-04-181-4/+4
| | | | | | | Message-ID: <20050416160502.GA26957@mccoy.peters.homeunix.org> plus fix to Perl_rvpv_dup assigning to an RV with SvPVX p4raw-id: //depot/perl@24239
* Avoid taking a reference to SvIVX and putting that address on theNicholas Clark2005-04-111-3/+4
| | | | | save stack p4raw-id: //depot/perl@24228
* Refactoring to Sv*_set() macros - patch #2Steve Peters2005-04-081-1/+1
| | | | | Message-ID: <20050407185149.GA4418@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24204
* The core part of :Andy Lester2005-03-291-39/+25
| | | | | | Subject: [PATCH] Consting seven Message-ID: <20050327215722.GC20451@petdance.com> p4raw-id: //depot/perl@24094
* More consting goodnessAndy Lester2005-03-211-31/+30
| | | | | Message-ID: <20050319072830.GA7721@petdance.com> p4raw-id: //depot/perl@24049
* More const parmsAndy Lester2005-03-181-3/+3
| | | | | Message-ID: <20050314195954.GB7141@petdance.com> p4raw-id: //depot/perl@24042
* Adding const qualifiersAndy Lester2005-03-141-5/+5
| | | | | Message-ID: <20050313202005.GA23535@petdance.com> p4raw-id: //depot/perl@24037
* pad_push numero three-oAndy Lester2005-03-111-1/+1
| | | | | Message-ID: <20050310211728.GC32386@petdance.com> p4raw-id: //depot/perl@24023