summaryrefslogtreecommitdiff
path: root/intrpvar.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Missed the =head1 additions.Jarkko Hietaniemi2002-01-031-0/+2
| | | p4raw-id: //depot/perl@14041
* -t taint warningsMichael G. Schwern2001-12-141-1/+6
| | | | | | | | | Message-ID: <20011214002707.GA10532@blackrider> (reword the perlrun -t description a bit, and move the Itaint_warn to the bottom of the intrpvar.h for binary compatibility) p4raw-id: //depot/perl@13684
* The debug_pag needs to be visible at all timesJarkko Hietaniemi2001-11-241-3/+1
| | | | | because of the re extension. p4raw-id: //depot/perl@13246
* Create a per-interpeter debug scratchpad containerJarkko Hietaniemi2001-11-201-0/+4
| | | | | and use that for the regexec debugging. p4raw-id: //depot/perl@13110
* Unicode: add ToFold mapping. Not used yet; but basicallyJarkko Hietaniemi2001-11-021-0/+1
| | | | | | | | | | a more useful mapping for caseless aka case-ignoring than doing either lc($a) eq lc($b) or uc($a) eq uc($b); the full algorithm for creating the foldings uses equivalence classes, see http://www.unicode.org/unicode/reports/tr21/ Hopefully this feature will be used in //i. (The folding tables were introduced by #12689.) p4raw-id: //depot/perl@12807
* Add the encoding pragma to control the "upgrade"Jarkko Hietaniemi2001-10-281-0/+2
| | | | | | | from the native eight bit data to Unicode. TODO: \x.. and \0... literals. \N{}. chr()? ord()? p4raw-id: //depot/perl@12750
* Convert rest of PerlIO's memory tables to per-interp and add clone functionsNick Ing-Simmons2001-10-211-0/+2
| | | | | | | | for them. Call explicit cleanup during destruct process. - one binmode test is failing - also ext/threads/t/basic.t fails under make test, and is noisy under harness. (Threads results are intermingled and don't match order expected.) p4raw-id: //depot/perlio@12547
* PerlIO layer table as PL_perlio (per-interpreter)Nick Ing-Simmons2001-10-211-0/+6
| | | p4raw-id: //depot/perlio@12544
* Cant spl wirth a dam.Jarkko Hietaniemi2001-09-201-1/+1
| | | p4raw-id: //depot/perl@12099
* The sharedsv_space* are variables, not code. Duh.Jarkko Hietaniemi2001-09-201-1/+3
| | | p4raw-id: //depot/perl@12091
* Remove #ifdef PERL_CUSTOM_OPS, always build with PERL_CUSTOM_OPSArtur Bergman2001-09-101-2/+2
| | | | | | | Rename to custop_op_name to Perl_custom_op_name to match perlapi Clone the hashtable PL_custom_op_names and PL_custop_op_descs in perl_clone. p4raw-id: //depot/perl@11968
* Retract #11870 and volatilize the right destruct_level.Jarkko Hietaniemi2001-09-041-1/+1
| | | | | Silly thinko pointed out by Sarathy. p4raw-id: //depot/perl@11872
* (Retracted by #11872)Jarkko Hietaniemi2001-09-041-1/+1
| | | p4raw-id: //depot/perl@11870
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-6/+6
| | | | | | 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
* Custom OpsSimon Cozens2001-08-271-0/+4
| | | | | | Message-ID: <20010825174509.A5752@netthink.co.uk> I also added a fix to Opcode.pm to quite test cases. p4raw-id: //depot/perl@11756