summaryrefslogtreecommitdiff
path: root/perlvars.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo in the PL_keyword_plugin docsFlorian Ragwitz2010-08-281-1/+1
|
* lexer APIZefram2009-11-151-8/+1
| | | | | | | | | Attached is a patch that adds a public API for the lowest layers of lexing. This is meant to provide a solid foundation for the parsing that Devel::Declare and similar modules do, and it complements the pluggable keyword mechanism. The API consists of some existing variables combined with some new functions, all marked as experimental (which making them public certainly is).
* Implement facility to plug in syntax triggered by keywordsJesse Vincent2009-11-051-3/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Tue, 27 Oct 2009 01:29:40 +0000 From: Zefram <zefram@fysh.org> To: perl5-porters@perl.org Subject: bareword sub lookups Attached is a patch that changes how the tokeniser looks up subroutines, when they're referenced by a bareword, for prototype and const-sub purposes. Formerly, it has looked up bareword subs directly in the package, which is contrary to the way the generated op tree looks up the sub, via an rv2cv op. The patch makes the tokeniser generate the rv2cv op earlier, and dig around in that. The motivation for this is to allow modules to hook the rv2cv op creation, to affect the name->subroutine lookup process. Currently, such hooking affects op execution as intended, but everything goes wrong with a bareword ref where the tokeniser looks at some unrelated CV, or a blank space, in the package. With the patch in place, an rv2cv hook correctly affects the tokeniser and therefore the prototype-based aspects of parsing. The patch also changes ck_subr (which applies the argument context and checking parts of prototype behaviour) to handle subs referenced by an RV const op inside the rv2cv, where formerly it would only handle a gv op inside the rv2cv. This is to support the most likely kind of modified rv2cv op. [This commit includes the Makefile.PL for XS-APITest-KeywordRPN missing from the original patch, as well as updates to perldiag.pod and a MANIFEST sort]
* Following 32238, change "interpreter_size" to "interp_size" in the new Craig A. Berry2007-11-111-2/+2
| | | | | | global symbols to keep overall symbol length within 31 characters, which is what the VMS C compiler with default flags can handle. p4raw-id: //depot/perl@32275
* "Bake" the values of PERL_REVISION, PERL_VERSION and PERL_SUBVERSIONNicholas Clark2007-11-071-0/+26
| | | | | | | | | | | into global variables (and hence a shared perl library). Additionally under MULTIPLICITY record the size of the interpreter structure (total, and for this version) and under PERL_GLOBAL_STRUCT the size of the global variables structure. Coupled with PL_bincompat_options this will allow 5.10.1 (and later), when compiled with a shared perl library, to perform sanity checks in main() to verify that the shared library is indeed binary compatible. p4raw-id: //depot/perl@32238
* Fix up copyright years for files modified in 2007.Nicholas Clark2007-11-071-1/+1
| | | p4raw-id: //depot/perl@32237
* delete PL_hash_seed_set, PL_lineary; move PL_runops_std/dbgDave Mitchell2007-05-251-0/+6
| | | | | | | the first two aren't used, and the last two are just place holders to ensure that both runops functions get linked in; so make them global rather than per-interpeter p4raw-id: //depot/perl@31280
* delete unused vars PL_av_fetch_sv, PL_hv_fetch_svDave Mitchell2007-05-201-2/+5
| | | | | | and fix 'duplicate symbol' warnings from embed.pl for utf8cache and sh_path p4raw-id: //depot/perl@31246
* extend threads 'veto cleanup' to perl_free and system stuffDave Mitchell2007-01-151-0/+5
| | | p4raw-id: //depot/perl@29827
* OS/2 compilation fixes by IlyaIlya Zakharevich2006-11-281-0/+4
| | | | | | Subject: [PATCH 5.8.8] Build on OS/2 Message-ID: <20061128113629.GA18108@powdermilk.math.berkeley.edu> p4raw-id: //depot/perl@29407
* Enable perlio mutexes under threads (by Jarkko)Rafael Garcia-Suarez2006-10-201-1/+1
| | | p4raw-id: //depot/perl@29065
* More leak fixes, by JarkkoRafael Garcia-Suarez2006-10-201-0/+4
| | | p4raw-id: //depot/perl@29060
* Need to migrate the refcounted_he structure to be properly shared.Nicholas Clark2006-04-111-0/+4
| | | | | | Add a mutex for manipulated their reference counts. Unwrap the structure, so that for ithreads it can store SVs in pads. p4raw-id: //depot/perl@27764
* Change PL_perlio_fd_refcnt from a fixed size static array to a pointerNicholas Clark2006-02-031-1/+2
| | | | | to a dynamic array. p4raw-id: //depot/perl@27059
* Update copyright years (including some years where we made changes butNicholas Clark2006-01-081-1/+2
| | | | | did not update) p4raw-id: //depot/perl@26732
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+2
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* re-implement MY_CXT API more efficiently, and add explicitDave Mitchell2005-12-291-0/+5
| | | | | interpeter arg variant p4raw-id: //depot/perl@26523
* Silence some bcc32 compiler warningsSteve Hay2005-06-221-1/+1
| | | | | ("Superfluous & with function") p4raw-id: //depot/perl@24937
* combopatchJarkko Hietaniemi2005-04-251-1/+1
| | | | | Message-ID: <426BFA57.9060105@iki.fi> p4raw-id: //depot/perl@24318
* Symbian port of PerlJarkko Hietaniemi2005-04-211-5/+58
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Third consting batchAndy Lester2005-03-241-1/+1
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* SuSE's perl safe_putenf diffMichael Schroeder2004-11-171-0/+3
| | | | | | | | | Message-ID: <20041111145443.GA1854@immd4.informatik.uni-erlangen.de> slightly reworked to make the PL_use_safe_putenv variable fit in the current framework. This patch turns on the use of safe putenv for any application that embeds a perl interpreter. p4raw-id: //depot/perl@23507
* Apply much of Ilya's microperl patch, but instead ofJarkko Hietaniemi2003-08-121-0/+4
| | | | | | | | | implementing the opendir()/readdir()/closedir() using external commands give up "ANSI-pureness" and define them in uconfig.sh, also define other stuff like rename() and putenv(). Leave out the $| emulation in my_fork() since we are not supposed to have fork() under microperl. p4raw-id: //depot/perl@20646
* Move the csighandler to be a data variable so thatJarkko Hietaniemi2003-08-081-0/+2
| | | | | | | | things like DLL trampolines can't mess up the code variables the Perl_csighandler (seen in Cygwin: Perl_csighandler in POSIX extension was different than in main executable). p4raw-id: //depot/perl@20565
* Make Storable work with blead/maint by making PL_sv_placeholderJarkko Hietaniemi2003-07-281-0/+4
| | | | | | a true global, bump $VERSION to 2.08. Will take a look at the portability issue of placeholders soon. p4raw-id: //depot/perl@20263
* Restore SIGFPE on exec()Chip Salzenberg2003-07-101-0/+4
| | | | | Message-ID: <20030710171319.GA21588@perlsupport.com> p4raw-id: //depot/perl@20117
* Remove PL_earlytaint since the hash seed codeJarkko Hietaniemi2003-07-041-2/+0
| | | | | can be delayed until perl_parse(). p4raw-id: //depot/perl@19979
* Introduce (global) variable PL_earlytaint whichJarkko Hietaniemi2003-06-271-0/+3
| | | | | | | is set very early in main(), before perl_parse() has been called and PL_tainting (or PL_taint_warn) might have been set. p4raw-id: //depot/perl@19863
* More moves to intrpvar.h.Jarkko Hietaniemi2003-05-121-9/+0
| | | p4raw-id: //depot/perl@19499
* Move the thread *hook into interpreter.Jarkko Hietaniemi2003-05-111-6/+0
| | | p4raw-id: //depot/perl@19497
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+1
| | | | | | | (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
* Integrate:Ilya Zakharevich2003-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 19106] Subject: [PATCH 5.8.1 @19053] OS/2-related patches Message-ID: <20030331204337.GA3634@math.berkeley.edu> and regen Configure. p4raw-link: @19106 on //depot/maint-5.8/perl: 8257dec7ed17c0d4d721411d2a781ceadf724da5 p4raw-id: //depot/perl@19120 p4raw-edited: from //depot/maint-5.8/perl@19118 'edit in' embedvar.h (@18804..) p4raw-integrated: from //depot/maint-5.8/perl@19118 'copy in' os2/Makefile.SHs os2/OS2/ExtAttr/Changes os2/OS2/ExtAttr/ExtAttr.pm os2/OS2/PrfDB/Changes os2/OS2/PrfDB/PrfDB.pm os2/OS2/REXX/DLL/DLL.pm os2/OS2/REXX/REXX.pm os2/dl_os2.c os2/os2thread.h (@17645..) ext/threads/threads.xs (@18619..) perlio.c (@18948..) Makefile.SH (@19061..) 'ignore' embed.pl (@18872..) embed.h (@19011..) embed.fnc (@19030..) 'merge in' os2/os2ish.h (@17645..) os2/os2.c (@18347..) perlapi.h (@18804..) perlvars.h (@18808..) makedef.pl (@18896..) intrpvar.h (@18920..) sv.c (@18961..) p4raw-edited: from //depot/maint-5.8/perl@19106 'edit in' Configure (@19040..) p4raw-integrated: from //depot/maint-5.8/perl@19106 'copy in' reentr.h (@18850..) reentr.c reentr.pl (@18922..)
* 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
* Fix up #18229.Jarkko Hietaniemi2002-12-031-0/+4
| | | p4raw-id: //depot/perl@18239
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-2/+2
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* posixify getppid on linux-multithreadRafael Garcia-Suarez2002-08-291-0/+4
| | | | | Message-Id: <20020806215646.3f6852bb.rgarciasuarez@free.fr> p4raw-id: //depot/perl@17798
* Fix segfaults when mainthread exits with other threads running:Nick Ing-Simmons2002-04-031-0/+1
| | | | | | | - track number of running threads - if main thread calls perl_destruct() with other threads running skip most of cleanup (with a warning). p4raw-id: //depot/perlio@15698
* Integrate mainlineNick Ing-Simmons2002-01-251-0/+9
| | | | | All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
* Nearly-working threads re-structuring. Do not integrate,Nick Ing-Simmons2002-01-191-2/+5
| | | | | submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
* Force inclusion of both Perl_runops_* in perl itself,Nick Ing-Simmons2001-11-181-0/+5
| | | | | so they are available for Peek.xs etc. p4raw-id: //depot/perlio@13067
* vmsish fix, ieee rand() cleanupCharles Lane2001-10-191-4/+0
| | | | | Message-Id: <011019174427.d749b@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@12513
* try#2: [proposed PATCH Perl@12401] ieee floats, rand() & old systems Charles Lane2001-10-181-0/+4
| | | | | Message-Id: <011017090944.15ad2e@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@12491
* Add the shared sv space to the global vars.Artur Bergman2001-09-211-0/+2
| | | | | Fix problems compiling on win32. p4raw-id: //depot/perl@12102
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-2/+2
| | | | | | 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
* add missing locks for op refcountsGurusamy Sarathy2000-03-081-0/+4
| | | p4raw-id: //depot/perl@5610
* support fetching current interpreter from TLS under useithreadsGurusamy Sarathy2000-02-291-1/+5
| | | p4raw-id: //depot/perl@5342
* make change#3386 a build-time option (avoids problems due toGurusamy Sarathy2000-02-201-5/+1
| | | | | | | perl_run() longjmping out) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@5162
* bring in basic threads stuff under USE_ITHREADSGurusamy Sarathy1999-12-231-1/+1
| | | p4raw-id: //depot/perl@4704
* perl_mutex n/a if !USE_THREADSGurusamy Sarathy1999-10-191-1/+1
| | | p4raw-id: //depot/perl@4409