summaryrefslogtreecommitdiff
path: root/ext/Opcode
Commit message (Collapse)AuthorAgeFilesLines
* A bug introduced in #8217 (the undefined variable in theJarkko Hietaniemi2001-01-232-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/safe1_t #3) fixed, by Charles Lane: The earlier patch made it so that stuff running in Safe compartments could do a "caller" and see "main". That little change in name is done right before the code in the compartment is run, and apparantly the parser was picking up the stash name before it got changed. (why it was threaded vs. unthreaded Perl that was sensitive to this I still don't know...and it probably doesn't matter). I tryed removing the stash name-change and saw that threaded Perl did indeed pass the lib/safe1.t tests. So here's a patch; a routine (_safe_pkg_prep) is added to Opcode to do the name change (and to connect _ in the compartment to the global _) which is removed from _safe_call_sv. Then Safe.pm is modified to call _safe_pkg_prep when creating a new compartment. Passes all tests with threaded perl on linux; passes all tests with unthreaded perl on VMS. At some point I'll probably want to revisit Safe and Opcode to provide more sensible handling of global variables...and to get formats working in Safe compartments, which they don't do currently. p4raw-id: //depot/perl@8524
* Opcode.XS, fix memory leakCharles Lane2001-01-101-0/+1
| | | | | Message-Id: <010110132245.8129a@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@8390
* stuff for caller and _ in Safe::Charles Lane2000-12-151-0/+6
| | | | | Message-Id: <001214200310.49929@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@8127
* $VERSION crusade, strict, tests, etc... all over lib/Michael G. Schwern2000-12-061-2/+3
| | | | | | | Message-ID: <20001205212328.C6473@blackrider.aocn.com> Carp::Heavy parts not very applicable because of recent changes. p4raw-id: //depot/perl@8013
* Modernize Opcode.pm documentationGisle Aas2000-09-071-2/+2
| | | | | Message-ID: <20000904001855.26128.qmail@eik.g.aas.no> p4raw-id: //depot/perl@7024
* From now on, Gisle is on my list of usual suspects :-)Jarkko Hietaniemi2000-08-301-18/+18
| | | | | Retract #6902. p4raw-id: //depot/perl@6904
* Retry what #6882 attempted.Gisle Aas2000-08-291-18/+18
| | | | | | Subject: Re: [ID 20000829.004] Sharing leak root name into safe compartment Message-ID: <m3pumry9y2.fsf@eik.g.aas.no> p4raw-id: //depot/perl@6902
* Retract #6882, broke the safe tests.Jarkko Hietaniemi2000-08-291-5/+4
| | | p4raw-id: //depot/perl@6888
* [ID 20000829.004] Sharing leak root name into safe compartmentGisle Aas2000-08-291-4/+5
| | | | | Message-Id: <20000829103506.21538.qmail@eik.g.aas.no> p4raw-id: //depot/perl@6882
* localize %INC in a Safe compartment so that use/require workGurusamy Sarathy2000-06-301-1/+5
| | | | | (many other magic globals probably need similar treatment) p4raw-id: //depot/perl@6285
* s/use vars/our/g modules that aren't independently maintained on CPANGurusamy Sarathy2000-01-232-4/+3
| | | p4raw-id: //depot/perl@4860
* applied suggested patch; removed $VERSION = $VERSION hackIlya Zakharevich1999-12-031-3/+3
| | | | | | | | | (change#4043 fixed the need for that) Message-Id: <199911160650.BAA18874@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_62] XSLoader.pm p4raw-link: @4043 on //depot/cfgperl: 09bef84370e90d727656ea11ba5ee8be80e361d3 p4raw-id: //depot/perl@4623
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-1/+1
| | | p4raw-id: //depot/perl@4602
* sundry cleanups for cloned interpreters (only known failure modeGurusamy Sarathy1999-11-141-0/+2
| | | | | | is due to regexps keeping non-constant data in their compiled structures) p4raw-id: //depot/perl@4579
* fix DATA leaks; reword documentation about the DATA filehandleGurusamy Sarathy1999-09-121-1/+1
| | | p4raw-id: //depot/perl@4131
* initial implementation of lvalue subroutines (slightly fixedGurusamy Sarathy1999-09-051-1/+1
| | | | | | 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
* optimize method name lookupChip Salzenberg1999-07-261-1/+1
| | | | | | Message-ID: <19990722134336.Q391@perlsupport.com> Subject: [PATCH] OP_METHOD_NAMED p4raw-id: //depot/perl@3768
* applied suggested patch for tracking line numbers correctly inHugo van der Sanden1999-07-231-1/+1
| | | | | | | | optimized blocks with a single statement; changed setcop to setstate and added code for -Dx dumps Message-Id: <199906231627.RAA24033@crypt.compulink.co.uk> Subject: [PATCH 5.005_57] Line number error in optimised else() p4raw-id: //depot/perl@3728
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-0/+1
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-1/+1
| | | p4raw-id: //depot/perl@3660
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-39/+44
| | | | | | | | | | | | | | | | | | | | | 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
* remove _() non-ansismGurusamy Sarathy1999-06-021-6/+6
| | | p4raw-id: //depot/perl@3518
* correct places that said newSVpv() when they meant newSVpvn()Gurusamy Sarathy1999-04-041-1/+1
| | | p4raw-id: //depot/perl@3217
* add statement-modifier loops to :base_loop classGurusamy Sarathy1999-03-251-2/+2
| | | p4raw-id: //depot/perl@3159
* CPAN update (CPAN-1.44_54) from Andreas andAbigail1999-01-212-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jumbo doc patch from Abigail. To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL 3 lib/AutoLoader.pm] Typos Date: Tue, 19 Jan 1999 19:14:10 -0500 (EST) Message-ID: <19990120001410.19645.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/CGI.pm] Typos Date: Tue, 19 Jan 1999 19:32:42 -0500 (EST) Message-ID: <19990120003242.19938.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/CPAN.pm] Typos Date: Tue, 19 Jan 1999 19:40:41 -0500 (EST) Message-ID: <19990120004041.20052.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/Carp.pm] Typo Date: Tue, 19 Jan 1999 19:43:12 -0500 (EST) Message-ID: <19990120004312.20152.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/Cwd.pm] Typo Date: Tue, 19 Jan 1999 19:44:29 -0500 (EST) Message-ID: <19990120004429.20190.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/Safe.pm] Typo Date: Tue, 19 Jan 1999 19:52:41 -0500 (EST) Message-ID: <19990120005241.20693.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/SelfLoader.pm] Typos Date: Tue, 19 Jan 1999 19:55:25 -0500 (EST) Message-ID: <19990120005525.20788.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/Symbol.pm] Typo Date: Tue, 19 Jan 1999 19:58:21 -0500 (EST) Message-ID: <19990120005821.20926.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/Test.pm] Typo Date: Tue, 19 Jan 1999 20:00:02 -0500 (EST) Message-ID: <19990120010002.20973.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/ops.pm] Typo Date: Tue, 19 Jan 1999 20:39:09 -0500 (EST) Message-ID: <19990120013909.23085.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/diagnostics.pm] Typos (ignore previous patch for this file...) Date: Tue, 19 Jan 1999 20:38:23 -0500 (EST) Message-ID: <19990120013823.23015.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/overload.pm] Typos Date: Tue, 19 Jan 1999 20:58:16 -0500 (EST) Message-ID: <19990120015817.24306.qmail@alexandra.wayne.fnx.com> From: abigail@fnx.com To: perl5-porters@perl.org (Perl Porters) Subject: [PATCH 5.005_03 TRIAL3 lib/re.pm] Typos Date: Tue, 19 Jan 1999 21:03:26 -0500 (EST) Message-ID: <19990120020326.24373.qmail@alexandra.wayne.fnx.com> p4raw-id: //depot/cfgperl@2665
* another threads reliability fix: serialize writes to thr->threadsvGurusamy Sarathy1998-11-291-1/+2
| | | | | | | | avoid most uses of PL_na (which is much more inefficient than a simple local); update docs to suit; PL_na now being thr->Tna may be a minor compatibility issue for extensions--will require dTHR outside of XSUBs (those get automatic dTHR) p4raw-id: //depot/perl@2387
* remaining PL_foo stragglersGurusamy Sarathy1998-10-301-1/+1
| | | p4raw-id: //depot/perl@2145
* correct bugs exposed in MM_Unix.pm by commenting out SelfloaderGurusamy Sarathy1998-10-151-1/+1
| | | | | (MAN3PODS cannot be set to ' '; stray stricture violation) p4raw-id: //depot/perl@1967
* fixes to enable PERL_OBJECT build with mingw32/egcs-1.0.2Gurusamy Sarathy1998-07-211-1/+1
| | | p4raw-id: //depot/perl@1612
* complete s/foo/PL_foo/ changes (all escaped cases identified withGurusamy Sarathy1998-07-201-3/+3
| | | | | | brute force search script). Result builds and passes all tests on Solaris. win32 and PERL_OBJECT are still untested. p4raw-id: //depot/perl@1578
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-35/+35
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* added patch, tweaked PERL_OBJECT thingsGraham Barr1998-07-131-1/+1
| | | | | | Message-Id: <19980712195747.C493@pobox.com> Subject: [ PATCH perl5.004_72] patch to add qr// p4raw-id: //depot/perl@1461
* add patch, along with all the missing bits, and doc tweaksIlya Zakharevich1998-07-111-1/+1
| | | | | | Message-Id: <199807092247.SAA06314@monk.mps.ohio-state.edu> Subject: Re: [PATCH 5.004_71] Secure RE update p4raw-id: //depot/perl@1444
* applied patch, fixed one more leak, tweaked whitespace bugsGurusamy Sarathy1998-06-292-24/+32
| | | | | | | | | | From: Guy Decoux <decoux@moulon.inra.fr> (via) Date: Fri, 26 Jun 1998 09:59:32 -0400 From: "Chunhui Teng" <cteng@nortel.ca> Message-Id: <199806261359.JAA02393@bmers357.nortel.ca> Subject: Memory leak in Perl 5.004 and the fix p4raw-id: //depot/perl@1256
* [asperl] integrate mainline changes (untested)Gurusamy Sarathy1998-05-181-2/+2
|\ | | | | p4raw-id: //depot/asperl@1010
| * [win32] merge change#897 from maintbranchGurusamy Sarathy1998-05-141-2/+2
| | | | | | | | | | p4raw-link: @897 on //depot/maint-5.004/perl: f06f9b6fc5a686f0169ee2a91b32d5e7125a44ae p4raw-id: //depot/win32/perl@974
* | [asperl] various changes to get asperl working under BorlandGurusamy Sarathy1998-03-161-0/+5
| | | | | | | | | | (passes all tests when built under PERL_OBJECT) p4raw-id: //depot/asperl@809
* | [win32] integrate mainline changesGurusamy Sarathy1998-03-071-1/+1
|\ \ | |/ | | p4raw-id: //depot/asperl@799
| * [win32] change all 'sp' to 'SP' in code and in the docs. ExplicitlyGurusamy Sarathy1998-03-071-1/+1
| | | | | | | | | | | | mention that local stack pointer should be called SP. This makes the API safer from source incompatibilities down the line. p4raw-id: //depot/win32/perl@795
* | [asperl] added AS patch#6Douglas Lankshear1998-02-141-4/+4
|/ | | | | | | | | | | Message-Id: <01BD3846.B29FB880.dougl@ActiveState.com> Subject: [PATCH] command line build This patch is for the command line build of perl object. I'll merge the ipfoo.c function with win32_xxx functions next. -- Doug p4raw-id: //depot/asperl@522
* Newer -DLEAKTEST patchIlya Zakharevich1998-02-061-1/+1
| | | p4raw-id: //depot/perl@466
* Builds and passes all tests with gcc on Win32 - phew!Nick Ing-Simmons1997-12-011-3/+5
| | | p4raw-id: //depot/ansiperl@342
* Initial integration of ansi branch into mainline (untested).Malcolm Beattie1997-11-112-25/+9
|\ | | | | p4raw-id: //depot/perl@230
| * Add :base_thread to :default in Opcode.pmNick Ing-Simmons1997-11-081-1/+1
| | | | | | | | | | | | | | | | | | This allows lib/safe.t to pass when threaded. It is unclear if 'lock' should be safe as it allows denial of service attack, but could not figure out how to add just 'specific' (sic) to :default without triggering 'already tagged' warning noise. p4raw-id: //depot/ansiperl@212
| * Raw integrate of latest perlNick Ing-Simmons1997-11-071-2/+2
| |\ | | | | | | p4raw-id: //depot/ansiperl@208
| * | Further ANSI changes now builds and passes (most) testsNick Ing-Simmons1997-10-311-24/+8
| | | | | | | | | | | | | | | with gcc -x c++. p4raw-id: //depot/ansiperl@196
* | | Change name of OP_SPECIFIC to OP_THREADSV. Fixed perl_get_sv whenMalcolm Beattie1997-11-111-1/+1
| |/ |/| | | | | | | getting per-thread magicals. Fixed thr->errsv initialisation. p4raw-id: //depot/perl@229
* | Per-thread magicals mostly working (and localisable). Now gettingMalcolm Beattie1997-11-051-2/+2
|/ | | | | | intermittent occasional "Use of uninitialized value" warnings which may be due to some op flag black magic I've broken. p4raw-id: //depot/perl@204
* Add new keyword "lock" to Opcode.pmMalcolm Beattie1997-09-031-0/+6
| | | p4raw-id: //depot/perl@55
* More fixups for thrperl integration.Malcolm Beattie1997-06-053-5/+6
| | | p4raw-id: //depot/perl@27