summaryrefslogtreecommitdiff
path: root/intrpvar.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* B && BEGIN handlingJames A. Duncan2001-08-071-6/+5
| | | | | | | Message-ID: <20010806172911.A2071@fotango.com> (the intrpvar.h addition moved to the end for bincompat) p4raw-id: //depot/perl@11601
* Needed by #11283.Jarkko Hietaniemi2001-07-121-0/+3
| | | p4raw-id: //depot/perl@11288
* Use reentrant API glibcArtur Bergman2001-07-121-0/+2
| | | | | Message-ID: <B772A6AD.2288%artur@contiller.se> p4raw-id: //depot/perl@11283
* Threadsafe PMOPs! We might still win this war.Artur Bergman2001-07-111-0/+5
| | | | | | | Message-ID: <000b01c10a04$4fa16a10$21000a0a@vogw2kdev> Threadsafe PMOPs for ithreads, waiting for AMS's Perl_re_dup(). p4raw-id: //depot/perl@11274
* Fixes case of CvDEPTH for perl_cloneArtur Bergman2001-06-201-3/+1
| | | | | Message-ID: <B7563A14.17D8%artur@contiller.se> p4raw-id: //depot/perl@10757
* New attempt to clone callackArtur Bergman2001-06-091-0/+5
| | | | | Message-ID: <B7451B6F.12B7%artur@contiller.se> p4raw-id: //depot/perl@10486
* Change PL_numeric_radix to PL_numeric_radix_sv (and leave inJarkko Hietaniemi2001-04-301-2/+9
| | | | | | a dummy for PL_numeric_radix); no pressing reason to break binary compatibility; regen API. p4raw-id: //depot/perl@9910
* 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