summaryrefslogtreecommitdiff
path: root/embedvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for $^N, the most-recently closed group.Jarkko Hietaniemi2001-06-301-0/+4
| | | p4raw-id: //depot/perl@11038
* Regen headers.Jarkko Hietaniemi2001-06-201-4/+0
| | | p4raw-id: //depot/perl@10758
* New attempt to clone callackArtur Bergman2001-06-091-0/+4
| | | | | Message-ID: <B7451B6F.12B7%artur@contiller.se> p4raw-id: //depot/perl@10486
* Save the spot of regprev (see #9911) for binary compatibility;Jarkko Hietaniemi2001-04-301-4/+4
| | | | | regen API. p4raw-id: //depot/perl@9912
* Change PL_numeric_radix to PL_numeric_radix_sv (and leave inJarkko Hietaniemi2001-04-301-4/+8
| | | | | | a dummy for PL_numeric_radix); no pressing reason to break binary compatibility; regen API. p4raw-id: //depot/perl@9910
* Integrate changes #8641,8644,8649,8654,8662,8663,8664,8665,8667,8669Jarkko Hietaniemi2001-02-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from maintperl. Upgrade to Getopt::Long 2.25, from Johan Vromans. more files need to be writable in the source distribution perl_clone() wants to clone PL_numeric_radix_sv (fix for change#8626) Solaris 2.7 i386 #defines SP in /usr/include/sys/reg.h Subject: Re: [PATCH perl5.6.1-TRIAL2] long C<=item>s in perlmodlib.pod Allow the float to be fuzzier. need to use INT2PTR instead of a straight cast or ia64 fails Subject: Re: [ID 20010201.006] bad pointer from perlfunc to perlmod add ppaddr as one of the compatibility symbols under -DPERL_POLLUTE p4raw-link: @8662 on //depot/maint-5.6/perl: 4fd7b88664e5220d434e86a4171b6501199a0df5 p4raw-link: @8654 on //depot/maint-5.6/perl: 570327f99599d50e7689d7f8e58ce0062abb9bfd p4raw-link: @8649 on //depot/maint-5.6/perl: e077e268546d6372b301e6674cc72c8d19727a93 p4raw-link: @8644 on //depot/maint-5.6/perl: 0a4931cb101d4c4c7af706ed2960bc1b4935992e p4raw-link: @8641 on //depot/maint-5.6/perl: c266a57ee93b609f48ccb9173c2a3073a28cd0db p4raw-link: @8626 on //depot/maint-5.6/perl: e77a7f40d76565c12d43428402884505d5496c8f p4raw-id: //depot/perl@8670 p4raw-integrated: from //depot/maint-5.6/perl@8650 'copy in' Porting/makerel (@7298..) lib/Getopt/Long.pm (@7895..) pod/perlmodlib.PL (@8175..) 'ignore' pod/perlmodlib.pod (@8640..) 'merge in' t/lib/peek.t (@8151..) ext/POSIX/POSIX.xs (@8177..) embed.pl pp.h (@8620..) embedvar.h (@8626..) pod/perlfunc.pod (@8630..) p4raw-integrated: from //depot/maint-5.6/perl@8649 'merge in' sv.c (@8634..)
* Provide infrastructure for PERL_ASYNC_CHECK() style safe signals.Nick Ing-Simmons2001-01-161-0/+8
| | | | | | Provides all the "cost" but no benefit yet - it is to allow cost to be measured, and implementation experiments (just in mg.c?). p4raw-id: //depot/perlio@8457
* UTF8 output prework.Nick Ing-Simmons2000-12-091-16/+8
| | | | | | - Store $\ and $, as SVs so they can have SvUTF8 flag - use do_print() rather than raw PerlIO_write() to print them. p4raw-id: //depot/perlio@8049
* Hash lookup of constant strings optimization:Nick Ing-Simmons2000-09-031-1/+1
| | | | | | | | | | Introduce SvREADONLY && SvFAKE to flag an SV which has SvPVX pointing to string table (as per sharepvn). Add newSV_pvn_share to create such a thing. Make hv.c compare addresses of strings and skip string compare if equal. Make method_named and helem ops use these shared-string SVs when arg is constant. Make keys op return shared-string SVs (less clearly a win). p4raw-id: //depot/perl@7016
* 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