summaryrefslogtreecommitdiff
path: root/cop.h
Commit message (Collapse)AuthorAgeFilesLines
* PVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so movingNicholas Clark2006-02-201-1/+1
| | | | | | | | | xcv_depth into the IV union saves 4(ish) bytes per CV and format. "ish" because it was a long, but has been changed to I32 (along with the corresponding field in struct block_sub) so as not to enlarge the IV union on platforms where sizeof(long) > sizeof(IV), or struct block_sub where sizeof(long) > sizeof(I32) p4raw-id: //depot/perl@27247
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-1/+1
| | | p4raw-id: //depot/perl@27238
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-5/+3
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-9/+9
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* s/Nullcv/NULL/gSteven Schubiger2006-02-031-1/+1
| | | | | | Message-ID: <20060202150241.GF12591@accognoscere.homeunix.org> Date: Thu, 2 Feb 2006 16:02:41 +0100 p4raw-id: //depot/perl@27060
* Re: [PATCH] s/Null(av|ch)/NULL/gSteven Schubiger2006-02-021-5/+5
| | | | | Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org> p4raw-id: //depot/perl@27054
* More copyright updatesRafael Garcia-Suarez2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26652
* Fix release mode builds following change 26598Steve Hay2006-01-031-2/+10
| | | p4raw-id: //depot/perl@26608
* silence some compiler warningsDave Mitchell2006-01-031-0/+3
| | | p4raw-id: //depot/perl@26598
* latest switch/say/~~Robin Houston2005-12-191-1/+21
| | | | | Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26400
* s/Nullhv/NULL/g;Nicholas Clark2005-12-161-1/+1
| | | | | # Although I see that Robin is proposing to add some :-) p4raw-id: //depot/perl@26381
* s/Nullav/NULL/gNicholas Clark2005-12-161-3/+3
| | | p4raw-id: //depot/perl@26380
* Const & local: Special Victims UnitAndy Lester2005-11-111-3/+3
| | | | | Message-ID: <20051111044700.GA24161@petdance.com> p4raw-id: //depot/perl@26082
* Re: [perl #32383] DProf breaks List::Util::shuffleRobin Houston2005-11-091-4/+7
| | | | | Message-ID: <20051108190234.GA25953@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26054
* [perl #24254] Attempt to free unreferenced scalar Chris Heath2005-11-071-3/+8
| | | | | | From: "Chris Heath via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-24254-123984.4.44134155985068@perl.org> p4raw-id: //depot/perl@26027
* sort/multicall patchRobin Houston2005-11-021-0/+66
| | | | | Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@25953
* Etta James presents: More constingAndy Lester2005-10-311-1/+1
| | | | | Message-ID: <20051031054413.GA10767@petdance.com> p4raw-id: //depot/perl@25915
* Re: $^CHILD_ERROR_NATIVE issues (with attachment)Gisle Aas2005-10-041-1/+1
| | | | | Message-ID: <lrd5ml7i8s.fsf@caliper.activestate.com> p4raw-id: //depot/perl@25688
* CopSTASH_eq againAndy Lester2005-06-151-10/+3
| | | | | Message-ID: <20050615044926.GA29087@petdance.com> p4raw-id: //depot/perl@24847
* Replace all uses of HvNAME with the appropriate HvNAME_get orNicholas Clark2005-05-251-5/+5
| | | | | HvNAME_set p4raw-id: //depot/perl@24573
* Goodbye AvFLAGSNicholas Clark2005-05-201-1/+1
| | | p4raw-id: //depot/perl@24518
* Better fix for #8738 (Core dump in 'leavetry')Dave Mitchell2005-05-021-0/+2
| | | | | | | | | | | | | | | | 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
* move the SETJMP exception-handing definitions from scope.h to cop.hDave Mitchell2005-05-021-0/+120
| | | | | so that a JMPENV* entry can be added to struct block_eval p4raw-id: //depot/perl@24361
* Refactoring to Sv*_set() macros - patch #4Steve Peters2005-04-181-1/+1
| | | | | | | 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
* remove binary compat from #23156 (remove PL_retstack)Dave Mitchell2004-07-231-1/+0
| | | p4raw-id: //depot/perl@23157
* remove the return stack PL_retstack, and store return ops in the CXDave Mitchell2004-07-231-5/+6
| | | | | structure directly instead p4raw-id: //depot/perl@23156
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* second attempt to fix [perl #24914] freeing a CV reference that wasDave Mitchell2004-01-201-2/+11
| | | | | | | | currently being executed caused coredumps. The dounwind called by die unwinds all the contexts on the context stack before unwinding the save stack. To stop premature freeing of the CV, hold references to it on both stacks. p4raw-id: //depot/perl@22182
* Put all pre-processor #s on the first column (some compilers are picky)Nicholas Clark2003-10-091-21/+21
| | | | | [perl #24167] `#' comment signs not at the very beginning of a line p4raw-id: //depot/perl@21433
* Macrofy the compile/runtime test.Jarkko Hietaniemi2003-09-211-0/+4
| | | p4raw-id: //depot/perl@21297
* Two debugging patches.Dave Mitchell2003-06-281-1/+3
| | | | | | | | | | | | | | | | The first allows to hold symbolic switches in $^D and more generally fixes assignment to $^D. The second one improves the information given by -Dl. Subject: [PATCH] allow $^D = "flags" Date: Fri, 27 Jun 2003 22:26:24 +0100 Message-ID: <20030627212624.GB12887@fdgroup.com> Subject: [PATCH] make -Dl show more scope info From: Dave Mitchell <davem@fdgroup.com> Date: Fri, 27 Jun 2003 23:00:36 +0100 Message-ID: <20030627220036.GC12887@fdgroup.com> p4raw-id: //depot/perl@19870
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Detypo.Jarkko Hietaniemi2003-02-031-3/+3
| | | p4raw-id: //depot/perl@18643
* Introduce the PUSHSUB_DB macro, equivalent to PUSHSUB, butDave Mitchell2003-01-271-2/+12
| | | | | | | without the lval context tweak. Used in OP_DBSTATE. Subject: Re: [PATCH] Re: change #9754: 5 x slowdown for perl -d Message-ID: <20030126174242.H16182@fdgroup.com> p4raw-id: //depot/perl@18596
* allow evals to see the full lexical scopeDave Mitchell2002-12-021-0/+5
| | | | | Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
* PL_curpad == AvARRAY(PL_comppad) alwaysDave Mitchell2002-10-221-2/+2
| | | | | Message-ID: <20021018133640.A19172@fdgroup.com> p4raw-id: //depot/perl@18048
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-7/+1
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* move all pad-related code to its own src fileDave Mitchell2002-10-021-5/+6
| | | | | Message-ID: <20020925234023.A20044@fdgroup.com> p4raw-id: //depot/perl@17953
* fix coredump after 64k-deep recursionHugo van der Sanden2002-09-041-2/+2
| | | | | | Subject: Re: debugging coredump with -DD Message-Id: <200209031334.g83DYLN09709@crypt.compulink.co.uk> p4raw-id: //depot/perl@17835
* Win32 crash in fork.t (perl@16694)Kevin Chase2002-05-211-2/+6
| | | | | | | | | | From: "Kevin Chase" <kevincha99@hotmail.com> Message-ID: <F53z5b6KZmcK8r6beUz000008f7@hotmail.com> It looks that the Poison() found its first target. The suggested patch is fine. p4raw-id: //depot/perl@16724
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-2/+2
| | | | | | change is from change#12026) p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc p4raw-id: //depot/perl@16048
* NetWare tweaks from C Aditya <caditya@novell.com>Jarkko Hietaniemi2002-03-181-4/+25
| | | p4raw-id: //depot/perl@15292
* CopFILE / MacPerl_MPWFileNameChris Nandor2002-02-081-0/+7
| | | | | Message-ID: <pudge-10FC3D.16314108022002@onion.valueclick.com> p4raw-id: //depot/perl@14608
* Copyright++. (Not all the toplevel *.h have one, it seems.)Jarkko Hietaniemi2002-01-231-1/+1
| | | p4raw-id: //depot/perl@14391
* Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-2/+7
| | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* Missed the =head1 additions.Jarkko Hietaniemi2002-01-031-1/+3
| | | p4raw-id: //depot/perl@14041
* Silence another ITHREAD 64bit INT/32bit PTR warning.Artur Bergman2001-09-101-1/+1
| | | p4raw-id: //depot/perl@11971
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-4/+4
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Integrate change #10448 from maintperl; lexicalsJarkko Hietaniemi2001-06-061-0/+2
| | | | | | | | | | | outside an eval"" weren't resolved correctly inside a subroutine definition inside the eval"" if they were not already referenced in the toplevel of the eval""-ed code p4raw-link: @10448 on //depot/maint-5.6/perl: 332ba4f98bc63c81fd7ba0d06432a7f903d716cf p4raw-id: //depot/perl@10449 p4raw-integrated: from //depot/maint-5.6/perl@10447 'merge in' cop.h (@9288..) t/op/misc.t (@10394..) op.c pp_ctl.c (@10412..)