summaryrefslogtreecommitdiff
path: root/intrpvar.h
Commit message (Collapse)AuthorAgeFilesLines
* The ptr_table arena variables and code is only needed for ithreads.Nicholas Clark2005-05-071-1/+4
| | | p4raw-id: //depot/perl@24413
* Change types of PL_he_arenaroot and PL_pte_arenaroot to avoid casting.Nicholas Clark2005-05-061-2/+2
| | | p4raw-id: //depot/perl@24408
* Allocate pointer table entries (for ithread cloning) from an arenaNicholas Clark2005-05-061-0/+2
| | | p4raw-id: //depot/perl@24404
* Symbian port of PerlJarkko Hietaniemi2005-04-211-1/+1
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Consting fiveAndy Lester2005-03-251-3/+3
| | | | | | | | Message-ID: <20050325231409.GB17660@petdance.com> [with modification - the extra argument to incpush was supposed to be being used] p4raw-id: //depot/perl@24081
* Remove the const qualifier from argv and env variablesRafael Garcia-Suarez2005-03-251-1/+1
| | | p4raw-id: //depot/perl@24077
* 5.9.1 suidperlPaul Szabo2004-03-231-0/+5
| | | | | | | | 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
* Move the PERLVAR(Ireentrant_buffer, REENTR*) outside the ITHREADSNicholas Clark2004-03-161-2/+2
| | | | | | | | block. This allows the re-entrant API to be used with ithreads, which in turn permits -Dusethreads -Uuseithreads -Uuse5005threads (Which may seem inane, but makes perl threaded at the C level without enabling ithreads) p4raw-id: //depot/perl@22514
* 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-1/+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
* remove binary compatibility stuff from the yacc -> bison switchDave Mitchell2004-02-141-9/+0
| | | | | | of change #22302 p4raw-link: @22302 on //depot/perl: 0de566d74fdaf0a49123989fe8d4ad06603c6608 p4raw-id: //depot/perl@22303
* Switch from byacc to bison and simplify the perly.* regenerationDave Mitchell2004-02-141-7/+8
| | | | | process p4raw-id: //depot/perl@22302
* s/new_hash/rehash/g (Stas suggested a better name)Nicholas Clark2003-11-031-2/+2
| | | p4raw-id: //depot/perl@21638
* embedding perlRadu Greab2003-10-211-11/+11
| | | | | Message-Id: <20030805.205715.113441323.radu@yx.primIT.ro> p4raw-id: //depot/perl@21514
* 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
* Make Storable work with blead/maint by making PL_sv_placeholderJarkko Hietaniemi2003-07-281-3/+0
| | | | | | 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/+3
| | | | | | 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
* 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
* 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
* Comment tweakage.Jarkko Hietaniemi2003-05-291-3/+3
| | | p4raw-id: //depot/perl@19638
* 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-0/+9
| | | p4raw-id: //depot/perl@19499
* Move the thread *hook into interpreter.Jarkko Hietaniemi2003-05-111-0/+6
| | | p4raw-id: //depot/perl@19497
* Feel-good cleanup.Jarkko Hietaniemi2003-04-281-2/+2
| | | p4raw-id: //depot/perl@19359
* 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
* Future binary compat wishful thinking:Jarkko Hietaniemi2003-04-071-2/+2
| | | | | maint will use the stashcache, but not the dbassertion. p4raw-id: //depot/perl@19159
* 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-1/+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..)
* Add missing intrpvar clonings to perl_clone.Jarkko Hietaniemi2003-03-111-1/+2
| | | | | | Also move the IDBassertion to the end since there's no particular reason to break bincompat for that. p4raw-id: //depot/perl@18907
* Add reminders to intrpvar.h about perl_clone(), as suggested by Stas.Jarkko Hietaniemi2003-03-111-0/+4
| | | p4raw-id: //depot/perl@18906
* PERL_SIGNALS=unsafe enables the old unsafe/immediate signals.Jarkko Hietaniemi2003-02-241-0/+2
| | | p4raw-id: //depot/perl@18766
* add support for assertions. Updated form of:Salvador FandiƱo2003-02-161-0/+1
| | | | | | 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-1/+1
| | | | | | and the default file open layer explicit (either -C or PERL_UTF8_LOCALE), instead of implicit (and unasked-for). p4raw-id: //depot/perl@18490
* Slight beauty tweak.Jarkko Hietaniemi2002-11-281-2/+4
| | | p4raw-id: //depot/perl@18203
* 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
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-31/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Remove package; (Heh heh.)Abhijit Menon-Sen2002-09-291-2/+0
| | | p4raw-id: //depot/perl@17942
* 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-1/+2
| | | | | Message-Id: <20020827233653.535bc211.rgarciasuarez@free.fr> p4raw-id: //depot/perl@17804
* Turn the sort RealCmp for stable quicksorts into aArtur Bergman2002-05-141-0/+2
| | | | | threadsafe per interpreter values. p4raw-id: //depot/perl@16592
* my $utf8here, our $utf8here, and package variable $utf8here.Jarkko Hietaniemi2002-04-161-0/+3
| | | | | | | | | | | | | | | 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
* If it looks like UTF-8 (either nl_langinfo or locale variables),Jarkko Hietaniemi2002-03-201-0/+2
| | | | | | | | | | think UTF-8, embrace your inner UTF-8, as suggested by Larry. (And as suggested by Markus Kuhn.) While we are at it, document also the case of mixed hash keys as a known potential troublemaker. (Since it's locale-related, sometimes.) p4raw-id: //depot/perl@15350
* Monster _r patch: try to scan for all known _r variants,Jarkko Hietaniemi2002-03-151-1/+1
| | | | | | | | | | | | | | | | | and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238
* Renaming tweaks, and split off the reentrant "superbuffer"Jarkko Hietaniemi2002-03-101-1/+1
| | | | | init routine. p4raw-id: //depot/perl@15139
* Nearly-working threads re-structuring. Do not integrate,Nick Ing-Simmons2002-01-191-3/+0
| | | | | submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
* Correct slab allocator for case where sizeof(IV) > sizeof(IV *)Nick Ing-Simmons2002-01-151-3/+3
| | | | | | e.g. -Duse64bitint on a 32-bit platform. Now uses I32 for use-count and is more careful with its casts. p4raw-id: //depot/perlio@14281
* Slab allocator for opsNick Ing-Simmons2002-01-131-0/+6
| | | | | | | - moved the statics to intrpvar.h - implemented Slab_Free() - uses PerlMemShared (for now) if distinction exists. p4raw-id: //depot/perlio@14250