summaryrefslogtreecommitdiff
path: root/ext/Opcode/Opcode.xs
Commit message (Collapse)AuthorAgeFilesLines
* Opcode.xs/RC2 compile nit on VMSCraig A. Berry2003-11-051-1/+1
| | | | | Message-ID: <2097592.1068056194261.JavaMail.craigberry@mac.com> p4raw-id: //depot/perl@21667
* Fix for [perl #24347] segfault with SafeRafael Garcia-Suarez2003-11-021-2/+3
| | | | | | The empty %INC created for safe compartements was freed too early. p4raw-id: //depot/perl@21628
* various signed/unsigned mismatch nitsGurusamy Sarathy2002-04-261-3/+3
| | | p4raw-id: //depot/perl@16173
* No more warnings from Opcode.cNikola Knezevic2002-01-171-1/+1
| | | | | Message-ID: <595405346.20020115212330@tesla.rcub.bg.ac.yu> p4raw-id: //depot/perl@14305
* Extension nits found by -Wall (several from threadsJarkko Hietaniemi2002-01-071-1/+0
| | | | | and threads::shared, but leaving them to Arthur). p4raw-id: //depot/perl@14128
* Integrate maintperl changes #12268 and #12669;Jarkko Hietaniemi2001-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | final touches to the audit for statics and thread-unsafe code * make DB_File, ODBM_File thread-safe * remove unnecessary/dangerous statics and protect others from not getting accidentally enabled under threaded perls windows support functions get_childdir() et al aren't exported correctly under vanilla build Testing under win32 appreciated since changes there had to be manually merged and I cannot test how badly did I do. p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22 p4raw-id: //depot/perl@12678 p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in' win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs (@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs (@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl (@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..) toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c (@12668..)
* Integrate changes #12652 and #12653 from maintperl;Jarkko Hietaniemi2001-10-251-4/+43
| | | | | | | | | | | | | | | | | | | | | | more tweaks to change#12626 * move the boilerplate code over to perl.h and make DynaLoader use it * make re, Opcode, File::Glob and B threadsafe * re.xs needed s/deinstall/uninstall/ (guess nobody uses C<no re;> anywhere) include XS_VERSION in MY_CXT_KEY (tweak for change#12652) File::Glob required a bit more work in bleadperl because of ExtUtils::Constant (see the Makefile.PL change) p4raw-link: @12652 on //depot/maint-5.6/perl: 3bc8871b91a24662eada2114d9a016153718b1c4 p4raw-link: @12626 on //depot/maint-5.6/perl: 512dcce54ea4db665708f91609bdd0a6126d1acd p4raw-id: //depot/perl@12654 p4raw-integrated: from //depot/maint-5.6/perl@12650 'edit in' ext/B/B.xs ext/DynaLoader/dlutils.c (@12652..) 'merge in' perl.h (@12597..) ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12652..)
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-2/+0
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Retract #11212.Jarkko Hietaniemi2001-07-081-1/+0
| | | p4raw-id: //depot/perl@11223
* (Retracted by #11223.)Graham Barr2001-07-081-0/+1
| | | | | | Subject: [PATCH] Re: Problem with Safe.pm and Perl 5.004 Message-Id: <3460FFBA.6DA51F46@ti.com> p4raw-id: //depot/perl@11212
* [patch] -Wall cleanup round 2Doug MacEachern2001-02-181-1/+1
| | | | | Message-ID: <Pine.LNX.4.21.0102181304520.10021-100000@mako.covalent.net> p4raw-id: //depot/perl@8837
* A bug introduced in #8217 (the undefined variable in theJarkko Hietaniemi2001-01-231-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* 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
* 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
* 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
* 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
* applied patch, fixed one more leak, tweaked whitespace bugsGurusamy Sarathy1998-06-291-17/+21
| | | | | | | | | | 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] 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
* Further ANSI changes now builds and passes (most) testsNick Ing-Simmons1997-10-311-24/+8
| | | | | with gcc -x c++. p4raw-id: //depot/ansiperl@196
* More fixups for thrperl integration.Malcolm Beattie1997-06-051-3/+4
| | | p4raw-id: //depot/perl@27
* Always NUL-terminate opsetsChip Salzenberg1997-04-251-1/+1
|
* [inseparable changes from match from perl-5.003_97f to perl-5.003_97g]Perl 5 Porters1997-04-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | CORE LANGUAGE CHANGES Subject: Improve sysseek(), remove systell(), fix Opcode From: Chip Salzenberg <chip@perl.com> Files: doio.c ext/Opcode/Makefile.PL ext/Opcode/Opcode.pm ext/Opcode/Opcode.xs global.sym keywords.pl opcode.pl pod/perldelta.pod pod/perldiag.pod pod/perlfunc.pod pp_sys.c proto.h t/op/sysio.t toke.c DOCUMENTATION Subject: Document {,un}pack changes Date: Fri, 18 Apr 97 13:49:39 BST From: Paul Marquess <pmarquess@bfsec.bt.co.uk> Files: pod/perldelta.pod pod/perldiag.pod Msg-ID: 9704181249.AA11733@claudius.bfsec.bt.co.uk (applied based on p5p patch as commit 7f505e5d2748dc2677688b22967678392a186b16) OTHER CORE CHANGES Subject: SECURITY FIX: 'Identifier too long' From: Chip Salzenberg <chip@perl.com> Files: pod/perldelta.pod pod/perldiag.pod toke.c
* [inseparable changes from match from perl-5.003_97e to perl-5.003_97f]Perl 5 Porters1997-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CORE LANGUAGE CHANGES Subject: New operator systell() From: Chip Salzenberg <chip@perl.com> Files: doio.c ext/Opcode/Opcode.pm keywords.pl opcode.pl pod/perldelta.pod pod/perldiag.pod pod/perlfunc.pod pp_sys.c t/op/sysio.t toke.c Subject: Allow constant sub to be optimized when called with parens From: Chip Salzenberg <chip@perl.com> Files: toke.c Subject: Make {,un}pack fail on invalid pack types From: Chip Salzenberg <chip@perl.com> Files: pod/perldiag.pod pp.c CORE PORTABILITY Subject: Fix bitwise ops and {,un}pack() on Cray CPUs From: Chip Salzenberg <chip@perl.com> Files: pp.c Subject: VMS update From: Charles Bailey <bailey@hmivax.humgen.upenn.edu> Files: lib/Cwd.pm lib/File/Path.pm lib/FindBin.pm vms/perly_c.vms vms/vms.c vms/writemain.pl Subject: Win32 update (three patches) From: Gurusamy Sarathy <gsar@engin.umich.edu> Files: lib/Cwd.pm lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MM_Win32.pm lib/File/Basename.pm win32/Makefile win32/makedef.pl win32/perllib.c win32/win32.c win32/win32iop.h DOCUMENTATION Subject: Document size restrictions for packed integers From: Jarkko Hietaniemi <Jarkko.Hietaniemi@cc.hut.fi> Files: pod/perlfunc.pod LIBRARY AND EXTENSIONS Subject: Fix bug in Opcode when (maxo & 15) > 8 From: Chip Salzenberg <chip@perl.com> Files: ext/Opcode/Makefile.PL ext/Opcode/Opcode.pm ext/Opcode/Opcode.xs
* [inseparable changes from patch from perl5.003_26 to perl5.003_27]Perl 5 Porters1997-02-181-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD PROCESS Subject: Fix eval "" in Configure Date: Fri, 14 Feb 1997 13:09:53 -0500 From: John L. Allen <allen@gateway.grumman.com> Files: Configure Subject: Re: Configure problem on IRIX - me dumb p5p-msgid: <9702141809.AA17001@gateway.grumman.com> Subject: Don't link with -lsfio if sfio is not requested From: Chip Salzenberg <chip@perl.com> Files: Configure Subject: perl5.003_26 Configure change "win" for AIX 4 Date: Fri, 14 Feb 1997 13:59:02 -0600 (CST) From: Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> Files: Configure p5p-msgid: <Pine.OSF.3.95.970214135751.32654A-100000@dogbert.cc.ndsu.NoDak.edu> private-msgid: <Pine.OSF.3.95.970214135751.32654A-100000@dogbert.cc.ndsu.NoD CORE LANGUAGE CHANGES Subject: Better looks_like_number() function [sv.c] Date: Fri, 14 Feb 1997 18:08:52 +0100 From: Gisle Aas <aas@bergen.sn.no> Files: sv.c Msg-ID: <199702141708.SAA17546@bergen.sn.no> (applied based on p5p patch as commit 8dbaa58ee2aba7cc22d84199a674c58bbf108b46) Subject: Remove redundant functions UNIVERSAL::{class,is_instance} Date: 14 Feb 1997 15:52:21 +0000 From: Gisle Aas <aas@bergen.sn.no> Files: pod/perldelta.pod pod/perlobj.pod t/op/universal.t universal.c Msg-ID: <hwwsbpeq2.fsf@bergen.sn.no> (applied based on p5p patch as commit 77bb9b23081b62119e8fbe9f5655b8802e4537ae) Subject: Allow C<setpgrp $$> Date: 16 Feb 1997 23:19:12 -0500 From: Roderick Schertler <roderick@gate.net> Files: pp_sys.c Msg-ID: <pzraigyshr.fsf@eeyore.ibcinc.com> (applied based on p5p patch as commit 3d2573a84a1aa655d5da58c57b3fc20e04d40f9f) Subject: Fix syntax error on C<&$1> From: Chip Salzenberg <chip@perl.com> Files: toke.c Subject: Fix grep() with refs in array context From: Chip Salzenberg <chip@perl.com> Files: pp.c CORE PORTABILITY Subject: Eliminate $^S; add C<use vmsish qw(status exit time)> Date: Mon, 17 Feb 1997 02:45:26 -0500 (EST) From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU> Files: MANIFEST gv.c lib/English.pm lib/ExtUtils/MM_VMS.pm lib/ExtUtils/Mksymlists.pm lib/ExtUtils/xsubpp mg.c op.c perl.c perl.h pod/perldelta.pod pod/perlmod.pod pod/perlvar.pod pp_ctl.c pp_sys.c utils/perldoc.PL vms/Makefile vms/config.vms vms/descrip.mms vms/ext/Stdio/Stdio.pm vms/ext/Stdio/Stdio.xs vms/ext/XSSymSet.pm vms/ext/vmsish.pm vms/vms.c vms/vmsish.h win32/makedef.pl private-msgid: <01IFI9CFKL0S004R2V@hmivax.humgen.upenn.edu> LIBRARY AND EXTENSIONS Subject: Remove Fatal.pm From: Chip Salzenberg <chip@perl.com> Files: MANIFEST lib/Fatal.pm pod/perldelta.pod pod/perlmod.pod pod/roffitall t/lib/fatal.t Subject: Refresh MakeMaker to 5.40 From: Andy Dougherty <doughera@lafcol.lafayette.edu> Files: lib/ExtUtils/Liblist.pm lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MakeMaker.pm lib/ExtUtils/Mksymlists.pm OTHER CORE CHANGES Subject: Fix core dump when embedding From: Chip Salzenberg <chip@perl.com> Files: perl.c Subject: Re: Fragile signals Date: Thu, 13 Feb 1997 01:44:39 -0500 (EST) From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: mg.c Msg-ID: <199702130644.BAA07572@monk.mps.ohio-state.edu> (applied based on p5p patch as commit 09df8c7df7dfc9853902f1fdd8a6d95f53be66fc) Subject: Make format strings correspond exactly to parameters Date: 13 Feb 1997 17:24:31 -0500 From: Roderick Schertler <roderick@gate.net> Files: doio.c ext/DB_File/DB_File.xs ext/Opcode/Opcode.xs gv.c op.c perl.c pp_ctl.c pp_sys.c regcomp.c toke.c Msg-ID: <pz7mkc1h0g.fsf@eeyore.ibcinc.com> (applied based on p5p patch as commit bf81aadd817bdea29720b072eef945df2da8463b) Subject: Don't try to attach 'o' magic to read-only values From: Chip Salzenberg <chip@perl.com> Files: sv.c Subject: Fix carriage-return message From: Chip Salzenberg <chip@perl.com> Files: toke.c Subject: In <=>, test for equality first From: Chip Salzenberg <chip@perl.com> Files: pp.c Subject: Don't mark sv_{true,false} PADTMP From: Chip Salzenberg <chip@perl.com> Files: op.c
* Add support for tied filehandles.Perl 5 Porters1996-08-251-1/+1
|
* perl 5.003_02: [no incremental changelog available]Larry Wall1996-08-101-1/+1
|
* Add Opcode extensionPerl 5 Porters1996-06-181-0/+471