summaryrefslogtreecommitdiff
path: root/embedvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Need to migrate the refcounted_he structure to be properly shared.Nicholas Clark2006-04-111-0/+3
| | | | | | 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
* Move all the regexp state variables into a single structure.Nicholas Clark2006-04-061-66/+2
| | | | | | This allows it to be saved, restored and cloned with a single Copy() (but inevitably still some fixup) p4raw-id: //depot/perl@27732
* eliminate PL_regprecomp, PL_regprogram, PL_regnpar and PL_regdataDave Mitchell2006-04-051-8/+0
| | | | | (only another 441 global vars to go ...) p4raw-id: //depot/perl@27716
* use slabs to allocate save state space in regmatch()Dave Mitchell2006-04-021-0/+4
| | | p4raw-id: //depot/perl@27679
* PL_multiline isn't referenced, and can be removed.Nicholas Clark2006-03-251-2/+0
| | | p4raw-id: //depot/perl@27602
* remove unused PL_regcc variableDave Mitchell2006-03-241-2/+0
| | | p4raw-id: //depot/perl@27599
* Add a new per-interpeter variable PL_utf8cache, which will be used toNicholas Clark2006-03-161-0/+2
| | | | | | control the UTF-8 offset caching code. Make this visible as ${^UTF8CACHE} p4raw-id: //depot/perl@27525
* Move the 12 static MAD variables from toke.c into the interpeterNicholas Clark2006-03-101-0/+24
| | | | | structure. p4raw-id: //depot/perl@27466
* It helps to run embed.pl in the correct directory. (not the symlinkNicholas Clark2006-03-091-0/+2
| | | | | tree) p4raw-id: //depot/perl@27446
* Some of the MAD structures in headers, plus PL_madskills and PL_xmlfp,Nicholas Clark2006-03-071-0/+4
| | | | | | | and default definitions for the 2 variables. (Which will save a lot of conditional complilation, by instead letting the C compiler optimiser remove dead code.) p4raw-id: //depot/perl@27408
* Enhance PERL_TRACK_MEMPOOL so that it also emulates the PerlHostNicholas Clark2006-02-041-0/+2
| | | | | | | | behaviour of freeing up all memory at thread exit. With this and tools such as valgrind you will now get warnings as soon as you read from the deallocated memory, rather than just a warning much later about freeing to the wrong pool. p4raw-id: //depot/perl@27084
* Eliminating PL_suidscript is more tricky, and requires changing theNicholas Clark2006-02-031-2/+0
| | | | | prototype of Perl_moreswitches. p4raw-id: //depot/perl@27070
* Oops. I *thought* that I had checked that all changed files were open.Nicholas Clark2006-02-031-2/+0
| | | | | Clearly not. (Fixes change 27066) p4raw-id: //depot/perl@27068
* Change PL_perlio_fd_refcnt from a fixed size static array to a pointerNicholas Clark2006-02-031-0/+3
| | | | | to a dynamic array. p4raw-id: //depot/perl@27059
* [patch] arena rework - unify arenarootsJim Cromie2006-02-011-2/+2
| | | | | | Message-ID: <43DF3D0A.3040102@gmail.com> Date: Tue, 31 Jan 2006 03:33:46 -0700 p4raw-id: //depot/perl@27030
* Run regen.pl (Just updating copyright years)Steve Hay2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26654
* re-implement MY_CXT API more efficiently, and add explicitDave Mitchell2005-12-291-0/+10
| | | | | interpeter arg variant p4raw-id: //depot/perl@26523
* Feature bundle is now :5.10, and add -E switchRobin Houston2005-12-211-0/+2
| | | | | Message-ID: <20051221110008.GB25877@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26432
* Map the HE arena onto SV type 0 (SVt_NULL).Nicholas Clark2005-11-191-4/+0
| | | | | Abolish PL_he_root and PL_he_arenaroot. p4raw-id: //depot/perl@26171
* PL_pte_root and PL_pte_arenaroot can be exterminated. Which revealsNicholas Clark2005-11-161-4/+0
| | | | | an erroneous remaining reference to PL_pte_root to correct. p4raw-id: //depot/perl@26142
* Re: eliminate discreet arenarootsJim Cromie2005-11-161-44/+4
| | | | | | Message-ID: <4378E5B0.3010708@gmail.com> Date: Mon, 14 Nov 2005 12:29:52 -0700 p4raw-id: //depot/perl@26141
* sort/multicall patchRobin Houston2005-11-021-2/+0
| | | | | Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@25953
* Remove old variable needed for binary compatibilityRafael Garcia-Suarez2005-06-291-2/+0
| | | p4raw-id: //depot/perl@25008
* Extend DEBUG_LEAKING_SCALARS_FORK_DUMP so it can also dump scalarsNicholas Clark2005-06-241-0/+2
| | | | | | which become unreferenced. This is less likely to be successful. The #define needs a better name. p4raw-id: //depot/perl@24976
* Remove the deprecated $# variableRafael Garcia-Suarez2005-06-201-2/+0
| | | p4raw-id: //depot/perl@24908
* We no longer need PL_shared_hek_tableNicholas Clark2005-06-131-2/+0
| | | p4raw-id: //depot/perl@24816
* Track the mapping between source shared hash keys and target sharedNicholas Clark2005-05-251-0/+2
| | | | | hash keys to save repeated lookups during cloning. p4raw-id: //depot/perl@24574
* We don't need IV and RV arena variables anymore. We don't need to setNicholas Clark2005-05-231-8/+0
| | | | | SvIVX or SvNVX on hashes. p4raw-id: //depot/perl@24547
* Well defined $? and introduction of ${^CHILD_ERROR_NATIVE} [PATCH]Gisle Aas2005-05-181-0/+2
| | | | | Message-ID: <lr8y2cim24.fsf_-_@caliper.activestate.com> p4raw-id: //depot/perl@24501
* Allocate GV bodies from arenasNicholas Clark2005-05-131-0/+4
| | | p4raw-id: //depot/perl@24459
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-1/+4
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* 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-15/+78
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Update copyrights.Rafael Garcia-Suarez2005-03-311-2/+2
| | | | | Well, those are generated files anyway. p4raw-id: //depot/perl@24121
* Update copyrights.Rafael Garcia-Suarez2005-03-301-1/+2
| | | p4raw-id: //depot/perl@24106
* 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-2/+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-12/+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-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