summaryrefslogtreecommitdiff
path: root/embedvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Bytecompiler patches from Benjamin Stuhl.Jarkko Hietaniemi2000-08-221-0/+4
| | | p4raw-id: //depot/perl@6763
* typos in change#6399, regen headersGurusamy Sarathy2000-07-141-0/+8
| | | | | p4raw-link: @6399 on //depot/perl: 01ec43d06089361423d61a40521883bf73e1944a p4raw-id: //depot/perl@6402
* fix large memory leak that has been around for ever, masked byGurusamy Sarathy2000-07-041-0/+48
| | | | | -DPURIFY (most of the arenas were never freed!) p4raw-id: //depot/perl@6298
* introduce illegal symbols into null package so that gv_fetchpv(...,TRUE)Gurusamy Sarathy2000-04-161-0/+4
| | | | | | | | always returns a valid GV even when the symbol is trapped by strictures (avoids coredumps) TODO: the C<package;> hack needs similar treatment p4raw-id: //depot/perl@5908
* pod typo fixes (from Marcel Grunauer <marcel.grunauer@lovely.net>)Gurusamy Sarathy2000-03-191-1/+1
| | | p4raw-id: //depot/perl@5823
* add missing locks for op refcountsGurusamy Sarathy2000-03-081-0/+2
| | | p4raw-id: //depot/perl@5610
* support fetching current interpreter from TLS under useithreadsGurusamy Sarathy2000-02-291-4/+2
| | | p4raw-id: //depot/perl@5342
* change $^U to $^WIDE_SYSTEM_CALLS; s/PL_bigchar/PL_widesyscalls/;Gurusamy Sarathy2000-02-071-4/+4
| | | | | introduce -C switch (sets $^WIDE_SYSTEM_CALLS) p4raw-id: //depot/perl@5029
* introduce $^U, a global bit to indicate whether systemGurusamy Sarathy2000-01-311-0/+4
| | | | | | | calls should using widechar APIs; chr and sprintf "%c" also follow this flag in the absense of "use byte"; "use utf8" sets $^U=1 (this appears kludgey) p4raw-id: //depot/perl@4937
* s/STOP/CHECK/ blocksGurusamy Sarathy2000-01-261-4/+4
| | | p4raw-id: //depot/perl@4905
* support for v5.5.640 style version numbersGurusamy Sarathy1999-12-241-4/+0
| | | p4raw-id: //depot/utfperl@4705
* integrate mainline changesGurusamy Sarathy1999-12-121-62/+431
| | | p4raw-id: //depot/utfperl@4679
* PL_malloc_mutex needs to be global, not per-interpreterGurusamy Sarathy1999-10-171-3/+2
| | | | | (malloc.c has static data) p4raw-id: //depot/perl@4403
* make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-0/+3
| | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* (Was: deprecating SIGDIE)Kurt D. Starsinic1999-09-301-3/+0
| | | | | | | | To: Gurusamy Sarathy <gsar@ActiveState.com> Cc: tchrist@perl.com, Larry Wall <larry@wall.org>, The Perl Porters Mailing List <perl5-porters@perl.org> Message-ID: <19990929151650.E26675@O2.chapin.edu> p4raw-id: //depot/cfgperl@4257
* add arenas for managing allocations of remaining xpv*v structuresVishal Bhatia1999-09-201-0/+24
| | | | | | Message-ID: <Pine.LNX.4.10.9908250031000.11727-100000@localhost.localdomain> Subject: [PATCH 5.005_60] removing extra ref count (compiler) p4raw-id: //depot/perl@4198
* queue errors due to strictures rather than printing them asGurusamy Sarathy1999-09-201-0/+3
| | | | | | | | | | | warnings; symbols that violate strictures do *not* end up in the symbol table anyway, making multiple evals of the same piece of code produce the same errors; errors indicate all locations of a global symbol rather than just the first one; these changes make compile-time failures within evals reliably visible via the return value or contents of $@, and trappable using __DIE__ hooks p4raw-id: //depot/perl@4197
* make sprintf("%g",...) threadsafe; only taint its result iff theGurusamy Sarathy1999-09-121-6/+6
| | | | | formatted result looks nonstandard p4raw-id: //depot/perl@4130
* support USE_THREADS+MULTIPLICITY; source compat tweaks forGurusamy Sarathy1999-08-201-425/+568
| | | | | USE_THREADS and MULTIPLICITY; minor pod adjustments p4raw-id: //depot/perl@4007
* More optimizations to REx engineIlya Zakharevich1999-08-011-0/+20
| | | | | Message-Id: <199907311407.IAA25038@localhost.frii.com> p4raw-id: //depot/perl@3857
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-392/+392
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-0/+14
| | | p4raw-id: //depot/perl@3660
* POSIX [[:character class:]] support for standard, locale,Jarkko Hietaniemi1999-07-061-0/+12
| | | | | | | and utf8. If both utf8 and locale are on, utf8 wins. I don't fully understand why so many tables changed in lib/unicode because of "make" -- maybe it was just overdue. p4raw-id: //depot/cfgperl@3624
* Integrate with Sarathy.Jarkko Hietaniemi1999-07-061-0/+12
| | | p4raw-id: //depot/cfgperl@3609
* Fixed two long-standing locale bugs.Jarkko Hietaniemi1999-06-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both problems were related to numeric locale which controls the radix character aka the decimal separator. (1) printf (and sprintf) were resetting the numeric locale to C. (2) Using locale-numerically formatted floating point numbers (e.g. "1,23") together with -w caused warnings about "isn't numeric". The operations were working fine, though, because atof() was using the local locale. Both problems reported by Stefan Vogtner. Introduced a wrapper for atof() that attempts to convert the string both ways. This helps Perl to understand numbers like this "4.56" even when using a local locale makes atof() understand only numbers like this "7,89". Remaining related problems, both of which existed before this patch and continue to exist after this patch: (a) The behaviour of print() is _not_ as documented by perllocale. Instead of always using the C locale, print() does use the local locale, just like the *printf() do. This may be fixable now that switching to-and-fro between locales has been made more consistent, but fixing print() would change existing behaviour. perllocale is not changed by this patch. (b) If a number has been stringified (say, via "$number") under a local locale, the cached string value persists even under "no locale". This may or may not be a problem: operations work fine because the original number is still there, but that the string form keeps its locale-ish outlook may be somewhat confusing. p4raw-id: //depot/cfgperl@3542
* EXTERN_C declarations for global arrays in variousGurusamy Sarathy1999-06-121-28/+26
| | | | | | headers, so perl can be built even in C++ mode; win32 build fixups; regen headers p4raw-id: //depot/perl@3537
* most globals are now interpreter local; locale initializationGurusamy Sarathy1999-06-101-230/+230
| | | | | | | was too early, defer it until interpreter is allocated and initialized; multiple interpreters should now be concurrency-safe (untested) p4raw-id: //depot/perl@3527
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-1/+133
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* ByteLoader mark 2Tom Hughes1999-05-281-14/+0
| | | | | | | | | To: perl5-porters@perl.org Message-ID: <bf337a0849.tom@compton.compton.nu> plus resolve tiny conflict with #3479 plus regen_headers. p4raw-id: //depot/cfgperl@3499
* Cures for _57 in AIX 4.1.5.0.Jarkko Hietaniemi1999-05-251-0/+2
| | | | | | | | | | | | (1) The lddlflags lost its -lc by change #3660 (and the politeness of change #3257). (2) optype_size must end up in perl.exp (as PL_optype_size). Added it to perlvars.h, fixed bytecode.pl, regen'ed the relevant headers. p4raw-link: @3660 (not found) p4raw-link: @3257 on //depot/cfgperl: 5f3774a9b49fbaa1b06fec2cad77079ee509d6ca p4raw-id: //depot/cfgperl@3479
* REx engine improvementsIlya Zakharevich1999-05-251-0/+6
| | | | | Message-Id: <199905250642.CAA06208@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3475
* remove vestiges of PL_last_protoGurusamy Sarathy1999-05-241-2/+0
| | | p4raw-id: //depot/perl@3448
* update embedvar.hGurusamy Sarathy1999-05-111-0/+3
| | | p4raw-id: //depot/perl@3392
* remove bogus symbols from global.symGurusamy Sarathy1999-03-081-2/+2
| | | p4raw-id: //depot/perl@3095
* various win32-ish changes merged from maint-5.005Gurusamy Sarathy1999-02-011-0/+14
| | | p4raw-id: //depot/perl@2746
* regen headersGurusamy Sarathy1999-01-171-0/+1
| | | p4raw-id: //depot/perl@2628
* various fixes for race conditions under threads: mutex locks basedGurusamy Sarathy1998-11-291-2/+3
| | | | | | | | | | | on PL_threadnum were seriously flawed, since it means more than one thread could enter the critical region; PL_na was global instead of thread-local; child thread could finish and free thr structures before Thread->new() got around to creating the Thread object; cv_clone() needed locking, as it mucks with PL_comppad and other global data; new_struct_thread() needed to lock template-thread's mutex while copying its data p4raw-id: //depot/perl@2385
* Finishing off SNOBOL: $1 in (?{})Ilya Zakharevich1998-11-281-0/+6
| | | | | Message-Id: <199811280533.AAA25654@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2372
* better -Mre=debugcolorIlya Zakharevich1998-11-281-0/+3
| | | | | Message-Id: <199811272116.QAA03502@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2371
* applied suggested patch with PERL_OBJECT tweaksIlya Zakharevich1998-11-281-0/+6
| | | | | | Message-Id: <199811260746.CAA23164@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_53] Enable $_ and pos() inside (?{ CODE }) in RExen p4raw-id: //depot/perl@2367
* Fix \G in REx without //gIlya Zakharevich1998-11-281-0/+6
| | | | | Message-Id: <199811260433.XAA29281@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2365
* add ext/Devel/PeekJan Dubois1998-11-271-2/+3
| | | | | | Message-ID: <36589ec9.49964585@smtp1.ibm.net> Subject: [PATCH 5.005_53] Devel::Peek integration p4raw-id: //depot/perl@2322
* phase 2 of PERL_OBJECT cleanup; objXSUB.h autogenerationGurusamy Sarathy1998-11-221-1/+1
| | | p4raw-id: //depot/perl@2260
* provide -DPERL_POLLUTEGurusamy Sarathy1998-11-111-1/+1
| | | p4raw-id: //depot/perl@2226
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-15/+7
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* disable C<#define dirty PL_dirty> et al.Gurusamy Sarathy1998-10-061-1/+1
| | | p4raw-id: //depot/perl@1927
* remove spurious unused conflicting globals (PL_yy{v,s}sp)Gurusamy Sarathy1998-10-061-4/+0
| | | p4raw-id: //depot/perl@1924
* big Configure update from Jarkko: sync metaconfig units; d_statblks fixGurusamy Sarathy1998-09-251-0/+2
| | | | | | | | | | | | | | | | | for Linux; hpux CMA-threads hints; ELF support for FreeBSD; beginnings of full-fledged 64-bit support (including support for: fseeko/ftello, Quad_t aka long long, hpux and irix 64-bits hints, new 64-bit constants in Fcntl) From: Jarkko Hietaniemi <jhi@iki.fi> Date: Fri, 11 Sep 1998 23:56:11 +0300 (EET DST) Message-Id: <199809112056.XAA04720@alpha.hut.fi> Subject: [PATCH] 5.005_51: Configure "Massive Attack" -- From: Jarkko Hietaniemi <jhi@cc.hut.fi> Date: 12 Sep 1998 09:44:25 +0300 Message-ID: <oeeaf45bzjq.fsf@alpha.hut.fi> Subject: Re: [PATCH] 5.005_51: Configure "Massive Attack" p4raw-id: //depot/perl@1889
* move yyglobal decls from perly.c to perlvars.h, regen headers, tweakGurusamy Sarathy1998-09-241-0/+16
| | | | | perly_c.diff p4raw-id: //depot/perl@1864
* provide locked access to string table for USE_THREADSGurusamy Sarathy1998-09-241-0/+2
| | | p4raw-id: //depot/perl@1863