summaryrefslogtreecommitdiff
path: root/scope.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove SOFT_CAST() as it no longer does anything useful.Nicholas Clark2006-02-111-18/+14
| | | p4raw-id: //depot/perl@27161
* Quotes fixed, see also perl #36079Andy Lester2005-06-021-1/+1
| | | | | Message-ID: <20050602050238.GA4001@petdance.com> p4raw-id: //depot/perl@24666
* move the SETJMP exception-handing definitions from scope.h to cop.hDave Mitchell2005-05-021-118/+0
| | | | | so that a JMPENV* entry can be added to struct block_eval p4raw-id: //depot/perl@24361
* Symbian port of PerlJarkko Hietaniemi2005-04-211-0/+1
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Update copyrights.Rafael Garcia-Suarez2005-03-301-1/+1
| | | p4raw-id: //depot/perl@24106
* Remove PERL_FLEXIBLE_EXCEPTIONS code.Marcus Holland-Moritz2005-01-101-111/+27
| | | p4raw-id: //depot/perl@23780
* make -Dl log runops loop entry and exit, and jump level poppingDave Mitchell2004-07-251-1/+5
| | | p4raw-id: //depot/perl@23161
* [perl #30258] utf8 POPSTACK crash on split executionDave Mitchell2004-07-021-0/+11
| | | | | | | | split() does a SWITCHSTACK to directly split to an array, but if it subsequently dies (eg the regex triggers a 'use utf8' which is then denied by Safe), then the switch doesn't get undone. Add a new save type to allow for this. p4raw-id: //depot/perl@23023
* [perl #27040] - hints hash was being double freed on scope exitDave Mitchell2004-03-261-8/+8
| | | p4raw-id: //depot/perl@22594
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* back out change #22167 "freeing a CV reference that was currentlyDave Mitchell2004-01-171-1/+0
| | | | | | | | being executed caused coredumps". The new test case sometimes locks up linux's malloc, and with Perl's malloc the test code still coredumps :-( p4raw-link: @22167 on //depot/perl: b3a3b3a1da8f5142edf3e194532b08316f895282 p4raw-id: //depot/perl@22172
* [perl #24914] freeing a CV reference that was currently beingDave Mitchell2004-01-171-0/+1
| | | | | executed caused coredumps p4raw-id: //depot/perl@22167
* add "$lexical not available" warning in C<for my $lex ()>Dave Mitchell2003-08-091-0/+2
| | | | | Message-ID: <20030809135144.GC4997@fdgroup.com> p4raw-id: //depot/perl@20591
* line numbers are given % 64kJames Jurach2003-07-021-1/+1
| | | | | Message-ID: <20030702183105.GA4837@lebowski> p4raw-id: //depot/perl@19934
* Two debugging patches.Dave Mitchell2003-06-281-4/+2
| | | | | | | | | | | | | | | | 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
* [patch] Re: [perl #21728] regexp SEGVAdrian M. Enache2003-05-051-1/+2
| | | | | | Message-ID: <20030328215309.GA6413@ratsnest.hole> (with minor tweaks) p4raw-id: //depot/perl@19431
* 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
* Reverse copyright update (#18801) for files not changed in 2003.Hugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18807
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* [Fwd: Patch for perl utf8-related bug]Richard Hitt2002-12-171-0/+4
| | | | | [perl #18932] p4raw-id: //depot/perl@18312
* PL_curpad == AvARRAY(PL_comppad) alwaysDave Mitchell2002-10-221-9/+3
| | | | | Message-ID: <20021018133640.A19172@fdgroup.com> p4raw-id: //depot/perl@18048
* Sprinkle some copyrights (use the oldest timestamp toJarkko Hietaniemi2002-01-241-0/+9
| | | | | | be found in the repository, which is most often not right, but at least consistent) p4raw-id: //depot/perl@14400
* Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-2/+4
| | | | | | | | | | | | 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-0/+2
| | | p4raw-id: //depot/perl@14041
* Integrate changes #9584,9587 from maintperl into mainline.Jarkko Hietaniemi2001-04-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | keep eval"" CVs alive until the end of the statement in which they're called add README.macos (from Chris Nandor) tyop in change#9555 p4raw-link: @9587 on //depot/maint-5.6/perl: d72c2fc956b5cb46ede17d06f89a463c78f1cf5f p4raw-link: @9584 on //depot/maint-5.6/perl: e6fbcc36a54a8afd8dbcdcb9a8d8e178df530b97 p4raw-link: @9555 on //depot/perl: 6a0af2f17bcde4767b90a72eff7083c5effff21d p4raw-id: //depot/perl@9588 p4raw-branched: from //depot/maint-5.6/perl@9583 'branch in' README.macos p4raw-integrated: from //depot/maint-5.6/perl@9583 'copy in' pod/perlfaq9.pod (@9585..) 'merge in' scope.h (@8568..) pod/perl.pod (@8986..) MANIFEST (@9227..) win32/Makefile (@9286..) pp_ctl.c scope.c (@9288..) global.sym (@9289..) embed.h embed.pl objXSUB.h perlapi.c proto.h (@9292..) pod/buildtoc.PL (@9312..) win32/makefile.mk (@9495..) sv.c (@9496..) pod/perlguts.pod (@9514..)
* Catch die in %SIG handler and unblock the signal before re-dying.Nick Ing-Simmons2001-01-111-1/+1
| | | | | | | | This make Linux work _without_ sigsetjmp(). Turn off sigsetjmp() to see what else it does. May need Configure probe for sigprocmask() if anything has sigaction() but not sigprocmask(). p4raw-id: //depot/perlio@8407
* Allow control of 2nd arg to segsetjmp() via -DSCOPE_SAVES_SIGNAL_MASK.Nick Ing-Simmons2001-01-101-2/+6
| | | | | | | | | (So Alan and Ilya can try setting via hints.) Verified Linux "works" with it true and fails to re-enable SIGINT if false. Restoring sigmask in Perl_sighandler() if handler dies is not equivalent; doing the save everywhere seems to restart read() correctly, but just doing it once "round" the handler does not. p4raw-id: //depot/perlio@8401
* C<foreach my $x ...> in pseudo-fork()ed process may diddleGurusamy Sarathy2000-11-251-0/+2
| | | | | | | | | | parent's memory; fix it by keeping track of the actual pad offset rather than a raw pointer (this change is probably also relevant to non-ithreads case to avoid fallout from reallocs of the pad array, but is currently only enabled for the ithreads case in the interests of minimal disruption to existing "well tested" code) p4raw-id: //depot/perl@7858
* Integrate scope.h@7790 from perlio, works better with multiplicity.Jarkko Hietaniemi2000-11-211-5/+5
| | | | | | p4raw-link: @7790 on //depot/perlio: efeab7a8047d7136a0235c1cc7329f57d6a8bfdd p4raw-id: //depot/perl@7792 p4raw-integrated: from //depot/perlio@7791 'copy in' scope.h (@7789..)
* The first step in removing recursion from the REx engineIlya Zakharevich2000-11-201-3/+6
| | | | | Message-ID: <20001119223026.A5165@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7760
* fix small eval"" memory leaks under USE_ITHREADSGurusamy Sarathy2000-06-021-5/+11
| | | p4raw-id: //depot/perl@6194
* make change#3386 a build-time option (avoids problems due toGurusamy Sarathy2000-02-201-19/+58
| | | | | | | perl_run() longjmping out) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@5162
* fix pad_alloc panic from C<my $w; sub { my($i) = @_; sub { $w } }>Gurusamy Sarathy2000-02-041-0/+14
| | | p4raw-id: //depot/perl@4970
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-0/+18
| | | | | | | Stuhl <sho_pi@hotmail.com>); fix the markup format to be more flexible for better readability; add missing docs in sv.c; regenerate perltoc p4raw-id: //depot/perl@4915
* introduce save_I8() for saving byte valuesGurusamy Sarathy1999-12-081-0/+2
| | | p4raw-id: //depot/perl@4665
* avoid PTR->IV cast warningsGurusamy Sarathy1999-12-011-1/+1
| | | p4raw-id: //depot/perl@4605
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-0/+2
| | | p4raw-id: //depot/perl@4602
* avoid stash pointers in optree under USE_ITHREADSGurusamy Sarathy1999-11-111-0/+2
| | | p4raw-id: //depot/perl@4546
* another change towards a shareable optree: avoid pointer to filegvGurusamy Sarathy1999-11-111-0/+8
| | | | | | | | | 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
* avoid inefficiency in change#3386 (every longjmp() was followedGurusamy Sarathy1999-10-141-29/+37
| | | | | | | by an avoidable call to setjmp()) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@4372
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-2/+7
| | | | | | 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-1/+1
| | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* fixups for sundry warnings about function pointersGurusamy Sarathy1999-07-121-2/+1
| | | p4raw-id: //depot/perl@3669
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-4/+0
| | | p4raw-id: //depot/perl@3660
* somewhat untested PERL_OBJECT cleanups (C++isms mostlyGurusamy Sarathy1999-06-271-1/+1
| | | | | | | | | gone from the public API); PERL_OBJECT builds again on windows TODO: namespace-clean the typedefs in iperlsys.h and elsewhere; remove C++ remnants from public headers p4raw-id: //depot/perl@3553
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-6/+6
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-7/+4
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* remove _() non-ansismGurusamy Sarathy1999-06-021-3/+3
| | | p4raw-id: //depot/perl@3518
* fixing eval in the compilerVishal Bhatia1999-05-281-10/+22
| | | | | | To: perl5-porters@perl.org Message-ID: <JDIKFDKKLGHHBAAA@my-deja.com> p4raw-id: //depot/cfgperl@3491
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-3/+2
| | | | | | | | | | needed to open myconfig.SH rather than myconfig; sundry adjustments to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it work under win32; getenv_sv() changed to getenv_len() since SVs aren't visible in the lower echelons; remove bogus exports from config.sym; PERL_OBJECT-ness for C++ exception support; null out IoDIRP in filter_del() or sv_free() will attempt to close it p4raw-id: //depot/perl@3387