summaryrefslogtreecommitdiff
path: root/intrpvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix for the fa_IR locale failure. The reason for the failureJarkko Hietaniemi2001-01-301-2/+2
| | | | | | | | | was that Perl was assuming the decimal separator aka the radix separator is one character. The Farsi-Iranian locale crushed that bad assumption since there the separator is 'Momayyez', glyphwise looking somewhat like a slash, and in Unicode UTF-8 encoded in two bytes, 0xd9 0xab. p4raw-id: //depot/perl@8625
* Integrate changes #8608,8609,8610,8611,8612,8613 from maintperl.Jarkko Hietaniemi2001-01-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | perl's internal variables are not for public consumption, move their docs from perlapi.pod to perlintern.pod support for -Dusethreads build under HP-UX 10.20 and DCE threads library (11.0 and later have pthreads but 10.x don't) avoid uninitialized value warnings canonicalize paths when doing chdir() on windows (or Cwd::getcwd() gets weird results) perldoc nit on windows make it possible to run the tests outside the source tree (there's still a dependency on ../lib being the library location) p4raw-link: @8612 on //depot/maint-5.6/perl: 21b80573951053245624647c6ea0077acae22b99 p4raw-link: @8611 on //depot/maint-5.6/perl: 706e8e4d2d0a6985197cb1cb76dc3d2575cd159e p4raw-link: @8610 on //depot/maint-5.6/perl: fc1aae957f18d75529c72450055ab0d424b7d318 p4raw-link: @8609 on //depot/maint-5.6/perl: 13b98125bf15a4dfacaa2c6f56d3742c97180500 p4raw-link: @8608 on //depot/maint-5.6/perl: f893c726cdaa1ccdec167db9b2ff5c2fdc19e29b p4raw-id: //depot/perl@8614 p4raw-integrated: from //depot/maint-5.6/perl@8596 'copy in' t/lib/dprof/V.pm t/op/flip.t utils/perldoc.PL (@8159..) win32/bin/search.pl (@8166..) t/io/tell.t (@8175..) hints/hpux.sh (@8601..) thread.h (@8606..) 'ignore' pod/perlintern.pod (@7766..) pod/perlapi.pod (@8605..) 'merge in' intrpvar.h t/base/term.t (@7895..) win32/vdir.h (@8156..) thrdvar.h (@8602..) perlapi.c (@8606..)
* Provide infrastructure for PERL_ASYNC_CHECK() style safe signals.Nick Ing-Simmons2001-01-161-0/+4
| | | | | | 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-6/+5
| | | | | | - 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
* Bytecompiler patches from Benjamin Stuhl.Jarkko Hietaniemi2000-08-221-0/+1
| | | p4raw-id: //depot/perl@6763
* move new variables to the end of the interpreter structure (forGurusamy Sarathy2000-07-141-18/+20
| | | | | bincompat in code that doesn't #include XSUB.h) p4raw-id: //depot/perl@6397
* integrate cfgperl changes#6207..6210 into mainlineGurusamy Sarathy2000-07-111-0/+8
| | | | | | p4raw-link: @6210 on //depot/cfgperl: b8b4c9f3cf6ef09c878a80ff97526a69902a44ca p4raw-link: @6207 on //depot/cfgperl: b37a7757477319a5fcdd5131db15046064f631c4 p4raw-id: //depot/perl@6345
* fix large memory leak that has been around for ever, masked byGurusamy Sarathy2000-07-041-13/+25
| | | | | -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/+2
| | | | | | | | 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
* support fetching current interpreter from TLS under useithreadsGurusamy Sarathy2000-02-291-1/+0
| | | p4raw-id: //depot/perl@5342
* make change#3386 a build-time option (avoids problems due toGurusamy Sarathy2000-02-201-4/+1
| | | | | | | perl_run() longjmping out) p4raw-link: @3386 on //depot/perl: 312caa8e97f1c7ee342a9895c2f0e749625b4929 p4raw-id: //depot/perl@5162
* change $^U to $^WIDE_SYSTEM_CALLS; s/PL_bigchar/PL_widesyscalls/;Gurusamy Sarathy2000-02-071-1/+1
| | | | | introduce -C switch (sets $^WIDE_SYSTEM_CALLS) p4raw-id: //depot/perl@5029
* introduce $^U, a global bit to indicate whether systemGurusamy Sarathy2000-01-311-1/+2
| | | | | | | 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
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-0/+60
| | | | | | | Stuhl <sho_pi@hotmail.com>); fix the markup format to be more flexible for better readability; add missing docs in sv.c; regenerate perltoc p4raw-id: //depot/perl@4915
* s/STOP/CHECK/ blocksGurusamy Sarathy2000-01-261-1/+1
| | | p4raw-id: //depot/perl@4905
* support for v5.5.640 style version numbersGurusamy Sarathy1999-12-241-2/+1
| | | p4raw-id: //depot/utfperl@4705
* integrate mainline changesGurusamy Sarathy1999-12-121-28/+19
| | | p4raw-id: //depot/utfperl@4679
* PL_malloc_mutex needs to be global, not per-interpreterGurusamy Sarathy1999-10-171-1/+0
| | | | | (malloc.c has static data) p4raw-id: //depot/perl@4403
* support PERL_IMPLICIT_SYS with MULTIPLICITY/USE_THREADS onGurusamy Sarathy1999-10-171-7/+7
| | | | | windows p4raw-id: //depot/perl@4402
* make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-0/+1
| | | | | | 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-1/+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
* Re: [PATCH 5.005_61] "our" declarationsLarry Wall1999-09-251-1/+1
| | | | | Message-Id: <199909250459.VAA27506@kiev.wall.org> p4raw-id: //depot/perl@4227
* add arenas for managing allocations of remaining xpv*v structuresVishal Bhatia1999-09-201-0/+8
| | | | | | 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
* make sprintf("%g",...) threadsafe; only taint its result iff theGurusamy Sarathy1999-09-121-2/+0
| | | | | formatted result looks nonstandard p4raw-id: //depot/perl@4130
* Gratuitous uid and gid casts to I32s and ints removed.Jarkko Hietaniemi1999-08-101-4/+4
| | | | | | There are still problem spots in printfing such ids: width (%d vs %ld) and signedness %d vs %u. p4raw-id: //depot/cfgperl@3945
* fixups for sundry warnings about function pointersGurusamy Sarathy1999-07-121-1/+1
| | | p4raw-id: //depot/perl@3669
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-8/+8
| | | | | | | | | | | | | | | | 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-13/+13
| | | p4raw-id: //depot/perl@3660
* POSIX [[:character class:]] support for standard, locale,Jarkko Hietaniemi1999-07-061-0/+6
| | | | | | | 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-1/+1
| | | 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
* various little tweaks; most globals are now in intrpvar.h, ninterpsGurusamy Sarathy1999-06-111-0/+22
| | | | | is temporarily gone p4raw-id: //depot/perl@3535
* most globals are now interpreter local; locale initializationGurusamy Sarathy1999-06-101-0/+152
| | | | | | | was too early, defer it until interpreter is allocated and initialized; multiple interpreters should now be concurrency-safe (untested) p4raw-id: //depot/perl@3527
* ByteLoader mark 2Tom Hughes1999-05-281-6/+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
* remove vestiges of PL_last_protoGurusamy Sarathy1999-05-241-1/+0
| | | p4raw-id: //depot/perl@3448
* add ext/Devel/PeekJan Dubois1998-11-271-1/+0
| | | | | | Message-ID: <36589ec9.49964585@smtp1.ibm.net> Subject: [PATCH 5.005_53] Devel::Peek integration p4raw-id: //depot/perl@2322
* provide locked access to string table for USE_THREADSGurusamy Sarathy1998-09-241-0/+1
| | | p4raw-id: //depot/perl@1863
* s/PL_sv/PL_bytecode_sv/ etc., so we have unique, case-insensitiveGurusamy Sarathy1998-07-221-5/+5
| | | | | names p4raw-id: //depot/perl@1616
* final tweaks before beta2Gurusamy Sarathy1998-07-211-5/+5
| | | p4raw-id: //depot/perl@1613
* part 2 of PERL_OBJECT fixes (globals in bytecode.h moved to intrpvar.h)Gurusamy Sarathy1998-07-211-0/+6
| | | p4raw-id: //depot/perl@1608
* make RE engine threadsafe; -Dusethreads builds, tests on Solaris,Gurusamy Sarathy1998-07-121-64/+4
| | | | | | and runs regexes in 1000s of threads without crashing; also fixed statcache not being thread-local p4raw-id: //depot/perl@1448
* add patch, along with all the missing bits, and doc tweaksIlya Zakharevich1998-07-111-0/+3
| | | | | | Message-Id: <199807092247.SAA06314@monk.mps.ohio-state.edu> Subject: Re: [PATCH 5.004_71] Secure RE update p4raw-id: //depot/perl@1444
* add more correct version of change#1350 (as yet untested)Joshua Pritikin1998-07-101-0/+1
| | | | | | | | Message-Id: <H00000e50008f277@MHS> Subject: Re: [PATCH _70] cache missing methods p4raw-link: @1350 on //depot/perl: a4bb25971c379e48da873823e220bdef09e90ab9 p4raw-id: //depot/perl@1404
* get it building again on win32Gurusamy Sarathy1998-07-091-3/+4
| | | p4raw-id: //depot/perl@1394
* change#1350 breaks things, back it outGurusamy Sarathy1998-07-081-1/+0
| | | | | p4raw-link: @1350 on //depot/perl: a4bb25971c379e48da873823e220bdef09e90ab9 p4raw-id: //depot/perl@1376
* add patch for C<use re 'debug'>Ilya Zakharevich1998-07-081-0/+5
| | | | | | Message-Id: <199807070224.WAA10318@monk.mps.ohio-state.edu> Subject: Re: _70 and Devel::RE p4raw-id: //depot/perl@1371
* add patch to improve method caching, regen headersJoshua Pritikin1998-07-061-0/+1
| | | | | | Message-Id: <H00000e50008a518@MHS> Subject: [PATCH _70] cache missing methods p4raw-id: //depot/perl@1350
* added patch for overloading constants, made PERL_OBJECT-awareIlya Zakharevich1998-06-291-0/+1
| | | | | Message-Id: <199806270328.XAA21088@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1259
* partial MULTIPLICITY cleanupGurusamy Sarathy1998-06-231-87/+112
| | | p4raw-id: //depot/perl@1205
* added patch, regen headersIlya Zakharevich1998-06-211-0/+1
| | | | | | Message-Id: <199806190227.WAA07371@monk.mps.ohio-state.edu> Subject: Re: Ilya's patches p4raw-id: //depot/perl@1169