summaryrefslogtreecommitdiff
path: root/intrpvar.h
Commit message (Collapse)AuthorAgeFilesLines
* my $utf8here, our $utf8here, and package variable $utf8here.Jarkko Hietaniemi2002-04-161-0/+3
| | | | | | | | | | | | | | | The actual minimal fix is in utf8.c and from NI-S, the rest are the tests (in fresh_perl since I couldn't get them easily to work elsewhere) and a slight behaviour change: previously UTF-8 identifiers had to start with an alphabetic character. No more so, now they can start with an (Unicode) ID_Continue character (which however is not a (Unicode) digit). (Limiting the first character to ID_Start would be rather restrictive, since ID_Start allows only alphabetic letters.) TODO: use vars qw($utf8here). This I don't find to be a showstopper. p4raw-id: //depot/perl@15943
* If it looks like UTF-8 (either nl_langinfo or locale variables),Jarkko Hietaniemi2002-03-201-0/+2
| | | | | | | | | | think UTF-8, embrace your inner UTF-8, as suggested by Larry. (And as suggested by Markus Kuhn.) While we are at it, document also the case of mixed hash keys as a known potential troublemaker. (Since it's locale-related, sometimes.) p4raw-id: //depot/perl@15350
* Monster _r patch: try to scan for all known _r variants,Jarkko Hietaniemi2002-03-151-1/+1
| | | | | | | | | | | | | | | | | and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238
* Renaming tweaks, and split off the reentrant "superbuffer"Jarkko Hietaniemi2002-03-101-1/+1
| | | | | init routine. p4raw-id: //depot/perl@15139
* Nearly-working threads re-structuring. Do not integrate,Nick Ing-Simmons2002-01-191-3/+0
| | | | | submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
* Correct slab allocator for case where sizeof(IV) > sizeof(IV *)Nick Ing-Simmons2002-01-151-3/+3
| | | | | | e.g. -Duse64bitint on a 32-bit platform. Now uses I32 for use-count and is more careful with its casts. p4raw-id: //depot/perlio@14281
* Slab allocator for opsNick Ing-Simmons2002-01-131-0/+6
| | | | | | | - moved the statics to intrpvar.h - implemented Slab_Free() - uses PerlMemShared (for now) if distinction exists. p4raw-id: //depot/perlio@14250
* Missed the =head1 additions.Jarkko Hietaniemi2002-01-031-0/+2
| | | p4raw-id: //depot/perl@14041
* -t taint warningsMichael G. Schwern2001-12-141-1/+6
| | | | | | | | | Message-ID: <20011214002707.GA10532@blackrider> (reword the perlrun -t description a bit, and move the Itaint_warn to the bottom of the intrpvar.h for binary compatibility) p4raw-id: //depot/perl@13684
* The debug_pag needs to be visible at all timesJarkko Hietaniemi2001-11-241-3/+1
| | | | | because of the re extension. p4raw-id: //depot/perl@13246
* Create a per-interpeter debug scratchpad containerJarkko Hietaniemi2001-11-201-0/+4
| | | | | and use that for the regexec debugging. p4raw-id: //depot/perl@13110
* 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