summaryrefslogtreecommitdiff
path: root/perlapi.h
Commit message (Collapse)AuthorAgeFilesLines
* Allocate pointer table entries (for ithread cloning) from an arenaNicholas Clark2005-05-061-0/+4
| | | p4raw-id: //depot/perl@24404
* Symbian port of PerlJarkko Hietaniemi2005-04-211-2/+49
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Update copyrights.Rafael Garcia-Suarez2005-03-311-1/+2
| | | | | Well, those are generated files anyway. p4raw-id: //depot/perl@24121
* Remove PERL_FLEXIBLE_EXCEPTIONS code.Marcus Holland-Moritz2005-01-101-2/+0
| | | p4raw-id: //depot/perl@23780
* SuSE's perl safe_putenf diffMichael Schroeder2004-11-171-0/+2
| | | | | | | | | 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
* remove binary compat from #23156 (remove PL_retstack)Dave Mitchell2004-07-231-6/+0
| | | p4raw-id: //depot/perl@23157
* 5.9.1 suidperlPaul Szabo2004-03-231-0/+4
| | | | | | | | Message-Id: <200403182117.i2ILHug513080@milan.maths.usyd.edu.au> (which variables renamed as requested, plus tweaks to work on platforms with no ST_NOEXEC) p4raw-id: //depot/perl@22563
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* make the bison-based parser threadsafe and capable of deepDave Mitchell2004-02-281-0/+4
| | | | | recursion by eradicating Perl_yylex_r() p4raw-id: //depot/perl@22408
* Re: op_seq (was: Freeing code)Paul Johnson2004-02-211-14/+0
| | | | | | | | | | Message-ID: <20040221013147.GB6953@pjcj.net> Rework the OP structure to use less space. Remove op_seq (and simulate it in dump.c), replace it by op_opt and op_static, shrink op_type, remove PL_op_seqmax. p4raw-id: //depot/perl@22353
* Switch from byacc to bison and simplify the perly.* regenerationDave Mitchell2004-02-141-12/+12
| | | | | process p4raw-id: //depot/perl@22302
* s/new_hash/rehash/g (Stas suggested a better name)Nicholas Clark2003-11-031-4/+4
| | | p4raw-id: //depot/perl@21638
* Plan C for foiling the algorithmic complexity attackNicholas Clark2003-10-161-0/+4
| | | | | | | | | | | (based on Chip's plan A (binary compatibility with 5.8.0 and 5.8.1), Chip's plan B (do something new inside the hv functions) and introspective sort) Provides infrastructure for hashes to change their hash function if necessary, and code in hsplit to detect pathalogical data and instigate a random rehashing. Needs refinement. Let's see how much smoke it creates. p4raw-id: //depot/perl@21471
* 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-2/+2
| | | | | | a true global, bump $VERSION to 2.08. Will take a look at the portability issue of placeholders soon. p4raw-id: //depot/perl@20263
* Re: [PATCH] Re: Storing &PL_sv_undef as a hash key with perl-5.8.xMarcus Holland-Moritz2003-07-271-0/+2
| | | | | | From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <006801c34efe$8aac1920$0c2f1fac@R2D2> p4raw-id: //depot/perl@20224
* Chicken out: the hash randomisation is not on by default.Jarkko Hietaniemi2003-07-111-0/+2
| | | | | | | | | | We switch over to the explicit mode: in other words, if the $ENV{PERL_HASH_SEED} is on, we randomise. Also, we randomise only if PL_hash_seed_set is FALSE (this means one can use PERL_HASH() before perl_run.) Also, since now PERL_HASH_SEED is okay even under -T, all should be fine. (Ha!) p4raw-id: //depot/perl@20135
* Restore SIGFPE on exec()Chip Salzenberg2003-07-101-0/+2
| | | | | Message-ID: <20030710171319.GA21588@perlsupport.com> p4raw-id: //depot/perl@20117
* Retract #20112.Jarkko Hietaniemi2003-07-101-2/+0
| | | p4raw-id: //depot/perl@20114
* Argh. At least AIX builds choke because of this.Jarkko Hietaniemi2003-07-101-0/+2
| | | p4raw-id: //depot/perl@20112
* 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/+2
| | | | | | | 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
* Bite the bullet and apply the hash randomisation patch.Jarkko Hietaniemi2003-06-261-0/+2
| | | | | [perl #22371] Algorimic Complexity Attack on Perl 5.6.1, 5.8.0 p4raw-id: //depot/perl@19854
* jumbo closure fixDave Mitchell2003-05-291-0/+2
| | | | | Message-ID: <20030226144947.A14444@fdgroup.com> p4raw-id: //depot/perl@19637
* More moves to intrpvar.h.Jarkko Hietaniemi2003-05-121-6/+6
| | | p4raw-id: //depot/perl@19499
* Move the thread *hook into interpreter.Jarkko Hietaniemi2003-05-111-8/+8
| | | p4raw-id: //depot/perl@19497
* Detecting errors of reentrant APIs: getgrgid_r and the likeJarkko Hietaniemi2003-04-281-0/+2
| | | | | | | | | | when returning an int can either return the error in the return value or in the errno. We need a new per-interp variable to store the return value instead of clobbering the errno with it. The new variable, PL_reentrant_retint, is only used within the reentrancy framework, and immediately after it's set, so there should not be similar visibility issues as for the errno. Spotted by Edward Moy. p4raw-id: //depot/perl@19357
* Restore the two variables retired by the change #19268Jarkko Hietaniemi2003-04-191-0/+4
| | | | | | (for binary backward compatibility) p4raw-link: @19268 on //depot/perl: dd28f7bb7eebdb0b562c940b3c4f89457e829ea6 p4raw-id: //depot/perl@19275
* allow recursive FETCHesDave Mitchell2003-04-191-4/+0
| | | | | Message-ID: <20030407100041.A1617@fdgroup.com> p4raw-id: //depot/perl@19268
* 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
* Add packname->stash cache before the check if a packname is aArtur Bergman2003-04-021-0/+2
| | | | | | | | | filehandle or a package, it works because only packnames that have been resolved to stashes are added to the cache, and when a newIO is created we clean the cache. Results in roughly 1.8 speed increase for class->method() calls. p4raw-id: //depot/perl@19133
* Integrate:Ilya Zakharevich2003-04-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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..)
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* regen headersHugo van der Sanden2003-02-261-0/+2
| | | p4raw-id: //depot/perl@18781
* add support for assertions. Updated form of:Salvador FandiƱo2003-02-161-0/+2
| | | | | | Subject: Re: Did the assertion patch/feature submission get overlooked? Message-ID: <3DE8F439.50402@yahoo.com> p4raw-id: //depot/perl@18727
* The new(er) way of controlling Unicode I/O (and other) features;Jarkko Hietaniemi2003-02-151-2/+4
| | | | | -C (or PERL_UNICODE). See perlrun/-C for more details. p4raw-id: //depot/perl@18715
* Make the locale-induced UTF-8-ification of STD fhsJarkko Hietaniemi2003-01-161-2/+2
| | | | | | and the default file open layer explicit (either -C or PERL_UTF8_LOCALE), instead of implicit (and unasked-for). p4raw-id: //depot/perl@18490
* these variables are not in use anywhere since 5.8.0Gurusamy Sarathy2002-12-281-26/+0
| | | p4raw-id: //depot/perl@18355
* Fix up #18229.Jarkko Hietaniemi2002-12-031-0/+2
| | | p4raw-id: //depot/perl@18239
* Re: [perl #18203] Recursive call in PerlIO_find_layerSlaven Rezic2002-11-271-0/+2
| | | | | Message-ID: <877kfvnfcg.fsf@vran.herceg.de> p4raw-id: //depot/perl@18188
* make regen_headers.Rafael Garcia-Suarez2002-11-051-3/+5
| | | | | | Backport change #18078 to warnings.pl. p4raw-link: @18078 on //depot/perl: 92cde64730ac68c05bd8f8990a57fb156d283457 p4raw-id: //depot/perl@18113
* PL_curpad == AvARRAY(PL_comppad) alwaysDave Mitchell2002-10-221-32/+0
| | | | | Message-ID: <20021018133640.A19172@fdgroup.com> p4raw-id: //depot/perl@18048
* move all pad-related code to its own src fileDave Mitchell2002-10-021-2/+0
| | | | | Message-ID: <20020925234023.A20044@fdgroup.com> p4raw-id: //depot/perl@17953
* use sysconf(_SC_CLK_TCK) for times()Jarkko Hietaniemi2002-09-041-0/+2
| | | | | Message-ID: <20020901162355.GH12536@lyta.hut.fi> p4raw-id: //depot/perl@17833
* B::check_av() ; B::Deparse for CHECK blocksRafael Garcia-Suarez2002-08-291-0/+2
| | | | | Message-Id: <20020827233653.535bc211.rgarciasuarez@free.fr> p4raw-id: //depot/perl@17804
* posixify getppid on linux-multithreadRafael Garcia-Suarez2002-08-291-0/+2
| | | | | Message-Id: <20020806215646.3f6852bb.rgarciasuarez@free.fr> p4raw-id: //depot/perl@17798
* The #16592 needs this.Jarkko Hietaniemi2002-05-141-0/+2
| | | p4raw-id: //depot/perl@16595
* my $utf8here, our $utf8here, and package variable $utf8here.Jarkko Hietaniemi2002-04-161-0/+4
| | | | | | | | | | | | | | | The actual minimal fix is in utf8.c and from NI-S, the rest are the tests (in fresh_perl since I couldn't get them easily to work elsewhere) and a slight behaviour change: previously UTF-8 identifiers had to start with an alphabetic character. No more so, now they can start with an (Unicode) ID_Continue character (which however is not a (Unicode) digit). (Limiting the first character to ID_Start would be rather restrictive, since ID_Start allows only alphabetic letters.) TODO: use vars qw($utf8here). This I don't find to be a showstopper. p4raw-id: //depot/perl@15943
* Fix segfaults when mainthread exits with other threads running:Nick Ing-Simmons2002-04-031-0/+2
| | | | | | | - 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 mainline (Win2k/MinGW all ok except threads/t/end.t)Nick Ing-Simmons2002-03-211-0/+2
| | | p4raw-id: //depot/perlio@15382