summaryrefslogtreecommitdiff
path: root/perlapi.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Integrate mainlineNick Ing-Simmons2002-01-251-4/+13
| | | | | All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
* Nearly-working threads re-structuring. Do not integrate,Nick Ing-Simmons2002-01-191-4/+6
| | | | | submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
* Regen embed enable slab for PERL_IMPLICIT_SYSNick Ing-Simmons2002-01-151-0/+6
| | | p4raw-id: //depot/perlio@14271
* Retract #14251 (the op slab allocator from perlio)Jarkko Hietaniemi2002-01-141-6/+0
| | | | | | | until we figure out why 2.2.19 x86 debian gets a circular sibling chain and therefore hangs in the Perl_ck_subr() sibling for-loop. p4raw-id: //depot/perl@14255
* 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
* Integrate mainline (mostly) utf8.c does not compile.Nick Ing-Simmons2001-12-201-2/+2
| | | p4raw-id: //depot/perlio@13814
* -t taint warningsMichael G. Schwern2001-12-141-0/+2
| | | | | | | | | 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
* Create a per-interpeter debug scratchpad containerJarkko Hietaniemi2001-11-201-0/+2
| | | | | and use that for the regexec debugging. p4raw-id: //depot/perl@13110
* Retract #13088: it seems that unless dump.c is extensivelyJarkko Hietaniemi2001-11-191-0/+2
| | | | | | | reorganized as to what symbols it shows, when, and to whom, we are stuck with having the dump.o symbols in the libperl and thusly in the main Perl binary. p4raw-id: //depot/perl@13100
* The runops_dbg should not be needed.Jarkko Hietaniemi2001-11-191-2/+0
| | | p4raw-id: //depot/perl@13088
* embed.pl generated changes I forgot to includeNick Ing-Simmons2001-11-181-0/+4
| | | p4raw-id: //depot/perlio@13068
* Unicode: add ToFold mapping. Not used yet; but basicallyJarkko Hietaniemi2001-11-021-0/+2
| | | | | | | | | | 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/+4
| | | | | | | | 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-2/+2
| | | p4raw-id: //depot/perlio@12544
* try#2: [proposed PATCH Perl@12401] ieee floats, rand() & old systems Charles Lane2001-10-181-0/+2
| | | | | Message-Id: <011017090944.15ad2e@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@12491
* Add the shared sv space to the global vars.Artur Bergman2001-09-211-0/+4
| | | | | Fix problems compiling on win32. p4raw-id: //depot/perl@12102
* Regen headers.Jarkko Hietaniemi2001-09-151-2/+2
| | | p4raw-id: //depot/perl@12028
* Rename the variable: it *used* to be (wrongly) that theJarkko Hietaniemi2001-09-021-2/+2
| | | | | | code related to PL_reg_sv (so PL_reg_sv_utf8 was logical) but that is no more the case: PL_reg_match_utf8 is better. p4raw-id: //depot/perl@11823
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-431/+424
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Regen headersArtur Bergman2001-08-271-0/+4
| | | p4raw-id: //depot/perl@11760
* New try for ID 20010407.006: detach the semanticsJarkko Hietaniemi2001-08-181-0/+2
| | | | | "was the last match target UTF8" into its own variable. p4raw-id: //depot/perl@11717
* B && BEGIN handlingJames A. Duncan2001-08-071-0/+2
| | | | | | | Message-ID: <20010806172911.A2071@fotango.com> (the intrpvar.h addition moved to the end for bincompat) p4raw-id: //depot/perl@11601
* Pluggable optimizerSimon Cozens2001-08-011-0/+2
| | | | | Message-ID: <20010801135702.I10442@netthink.co.uk> p4raw-id: //depot/perl@11541
* 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/+4
| | | | | | | Message-ID: <000b01c10a04$4fa16a10$21000a0a@vogw2kdev> Threadsafe PMOPs for ithreads, waiting for AMS's Perl_re_dup(). p4raw-id: //depot/perl@11274
* Add support for $^N, the most-recently closed group.Jarkko Hietaniemi2001-06-301-0/+2
| | | p4raw-id: //depot/perl@11038
* Regen headers.Jarkko Hietaniemi2001-06-201-2/+0
| | | p4raw-id: //depot/perl@10758
* New attempt to clone callackArtur Bergman2001-06-091-0/+2
| | | | | 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-2/+2
| | | | | regen API. p4raw-id: //depot/perl@9912
* Change PL_numeric_radix to PL_numeric_radix_sv (and leave inJarkko Hietaniemi2001-04-301-2/+4
| | | | | | a dummy for PL_numeric_radix); no pressing reason to break binary compatibility; regen API. p4raw-id: //depot/perl@9910
* 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-8/+4
| | | | | | - 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/+2
| | | p4raw-id: //depot/perl@6763
* typos in change#6399, regen headersGurusamy Sarathy2000-07-141-0/+4
| | | | | 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/+24
| | | | | -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
* 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-2/+2
| | | p4raw-id: //depot/perl@5342
* change $^U to $^WIDE_SYSTEM_CALLS; s/PL_bigchar/PL_widesyscalls/;Gurusamy Sarathy2000-02-071-2/+2
| | | | | introduce -C switch (sets $^WIDE_SYSTEM_CALLS) p4raw-id: //depot/perl@5029
* avoid mismatched type warningsGurusamy Sarathy2000-02-021-1/+1
| | | p4raw-id: //depot/perl@4951
* introduce $^U, a global bit to indicate whether systemGurusamy Sarathy2000-01-311-0/+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
* s/STOP/CHECK/ blocksGurusamy Sarathy2000-01-261-2/+2
| | | p4raw-id: //depot/perl@4905
* force linkage of the function wrappers for globals in change#4878Gurusamy Sarathy2000-01-241-2/+39
| | | | | p4raw-link: @4878 on //depot/perl: 6f4183fe04888927cb36b966262c959c5166404b p4raw-id: //depot/perl@4879
* enable function wrappers for access to globals under MULTIPLICITYGurusamy Sarathy2000-01-241-2/+812
| | | | | | (provides binary compatibility in the face of changes in interpreter structure) p4raw-id: //depot/perl@4878
* deadcode removalGurusamy Sarathy1999-08-291-2/+0
| | | p4raw-id: //depot/perl@4034
* make autogenerated files writableGurusamy Sarathy1999-08-201-0/+0
| | | p4raw-id: //depot/perl@4012
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-6/+15
| | | | | | | | | | | | | | | | 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