summaryrefslogtreecommitdiff
path: root/embed.h
Commit message (Collapse)AuthorAgeFilesLines
* A new UTF-8 API, Perl_is_utf8_string_loc(), a variantJarkko Hietaniemi2003-09-101-0/+2
| | | | | of Perl_utf8_is_string(). p4raw-id: //depot/perl@21152
* Re: ByteLoader and MSWin32Adrian M. Enache2003-09-021-14/+6
| | | | | Message-ID: <20030902004511.GA1442@ratsnest.hole> p4raw-id: //depot/perl@20993
* add "$lexical not available" warning in C<for my $lex ()>Dave Mitchell2003-08-091-0/+2
| | | | | Message-ID: <20030809135144.GC4997@fdgroup.com> p4raw-id: //depot/perl@20591
* Rename get_seed() to get_hash_seed(), as suggested byRafael Garcia-Suarez2003-07-181-2/+2
| | | | | Eric J Kidder, to solve a name conflict on HP_UX 11.00. p4raw-id: //depot/perl@20170
* Chicken out: the hash randomisation is not on by default.Jarkko Hietaniemi2003-07-111-0/+6
| | | | | | | | | | We switch over to the explicit mode: in other words, if the $ENV{PERL_HASH_SEED} is on, we randomise. Also, we randomise only if PL_hash_seed_set is FALSE (this means one can use PERL_HASH() before perl_run.) Also, since now PERL_HASH_SEED is okay even under -T, all should be fine. (Ha!) p4raw-id: //depot/perl@20135
* The *right* way to make the csighandler visible.Jarkko Hietaniemi2003-07-101-4/+0
| | | p4raw-id: //depot/perl@20116
* Safe signals via POSIX::sigactionChip Salzenberg2003-07-091-0/+6
| | | | | Message-ID: <20030709054910.GH2021@perlsupport.com> p4raw-id: //depot/perl@20081
* Perl_doing_taint must be public, for programs that embed perlRafael Garcia-Suarez2003-06-291-4/+0
| | | p4raw-id: //depot/perl@19882
* Two debugging patches.Dave Mitchell2003-06-281-0/+10
| | | | | | | | | | | | | | | | The first allows to hold symbolic switches in $^D and more generally fixes assignment to $^D. The second one improves the information given by -Dl. Subject: [PATCH] allow $^D = "flags" Date: Fri, 27 Jun 2003 22:26:24 +0100 Message-ID: <20030627212624.GB12887@fdgroup.com> Subject: [PATCH] make -Dl show more scope info From: Dave Mitchell <davem@fdgroup.com> Date: Fri, 27 Jun 2003 23:00:36 +0100 Message-ID: <20030627220036.GC12887@fdgroup.com> p4raw-id: //depot/perl@19870
* Make doing_taint() always available (though notJarkko Hietaniemi2003-06-271-0/+6
| | | | | part of the public API). p4raw-id: //depot/perl@19862
* Move the (pseudo)seed functio for (pseudo)random numbers to util.c.Jarkko Hietaniemi2003-06-221-6/+6
| | | p4raw-id: //depot/perl@19843
* Re: [perl #17934] tied STDERR and internal warningsSteve Grazzini2003-06-191-0/+6
| | | | | Message-ID: <20030618234237.GA6267@grazzini.net> p4raw-id: //depot/perl@19819
* Re: [PATCH: sv.c] strchr() running amok in sv_vcatpvfn()Marcus Holland-Moritz2003-06-151-6/+0
| | | | | | From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <004a01c3331a$ec001320$3445eed9@R2D2> p4raw-id: //depot/perl@19786
* Followup on #19779: make the helper function static,Jarkko Hietaniemi2003-06-141-0/+6
| | | | | and rename it for paranoia reasons. p4raw-id: //depot/perl@19781
* Retract #19667, #19660, #19659, #19658, #19657, #19656,Jarkko Hietaniemi2003-06-031-6/+0
| | | | | | #19655, #19418; File::Temp no more used internally. Some parts of these will be salvaged later. p4raw-id: //depot/perl@19670
* Since pulling in File::Temp for tempfiles would pull inJarkko Hietaniemi2003-06-021-0/+6
| | | | | | | | | also Fcntl, miniperl could not open up tempfiles. This broke the use of miniperl in VMS, as noticed by Craig Berry. Try to cure this by moving the creation of tempfile into its own routine, my_tmpfp(), which gets compiled differently for miniperl and perl. p4raw-id: //depot/perl@19656
* jumbo closure fixDave Mitchell2003-05-291-7/+1
| | | | | Message-ID: <20030226144947.A14444@fdgroup.com> p4raw-id: //depot/perl@19637
* Introduce a new preprocessor symbol, PERL_DISABLE_PMC, toRafael Garcia-Suarez2003-05-211-2/+2
| | | | | | disable the loading of .pmc files if defined. Rename the function S_doopen_pmc to S_doopen_pm. p4raw-id: //depot/perl@19586
* [patch] Re: [perl #21728] regexp SEGVAdrian M. Enache2003-05-051-0/+2
| | | | | | Message-ID: <20030328215309.GA6413@ratsnest.hole> (with minor tweaks) p4raw-id: //depot/perl@19431
* pack/unpack fixes from Wolfgang Laun:Jarkko Hietaniemi2003-05-051-0/+4
| | | | | | | | | - fix bug in UNICOS (where SIZE16 != sizeof(short)) - introduce and use new internal pack/unpack API (packlist, unpackstring) that does away with the unused arguments in the old API (pack_cat, unpack_str). p4raw-id: //depot/perl@19416
* If it's S_, it should be STATIC.Jarkko Hietaniemi2003-04-291-0/+10
| | | p4raw-id: //depot/perl@19366
* allow recursive FETCHesDave Mitchell2003-04-191-0/+6
| | | | | Message-ID: <20030407100041.A1617@fdgroup.com> p4raw-id: //depot/perl@19268
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* pack changes and related fixesLAUN Wolfgang2003-03-171-13/+25
| | | | | Message-ID: <75A46BF1A9D8D311863A00508B6259A405F17EB8@ATTMSX4> p4raw-id: //depot/perl@19010
* I hate embed*. Tell me what you know.Jarkko Hietaniemi2003-03-091-0/+14
| | | p4raw-id: //depot/perl@18870
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Re: [PATCH embed.fnc] Re: [PATCH] Get MSWin32 back compilingAbe Timmerman2003-03-021-4/+0
| | | | | Message-Id: <200303020203.16708.abe@ztreet.demon.nl> p4raw-id: //depot/perl@18795
* Get MSWin32 back compilingAbe Timmerman2003-03-011-2/+0
| | | | | Message-Id: <200303010431.20205.abe@ztreet.demon.nl> p4raw-id: //depot/perl@18792
* Re: [perl #20683] [fix] Better PatchAdrian M. Enache2003-02-261-0/+6
| | | | | Message-ID: <20030223181639.GA18713@ratsnest.hole> p4raw-id: //depot/perl@18782
* Suppress empty #ifdef blocks in embed.plHugo van der Sanden2003-02-171-4/+0
| | | p4raw-id: //depot/perl@18734
* NO_SHORT_NAMES is better than HIDE_SHORT_NAMES.Jarkko Hietaniemi2003-02-161-3/+7
| | | p4raw-id: //depot/perl@18729
* According to Sarathy it's better have the MinistryJarkko Hietaniemi2003-02-161-3/+0
| | | | | | of Information to remove all memory of NO_EMBED. What NO_EMBED? p4raw-id: //depot/perl@18728
* COW regexps:Nicholas Clark2003-02-161-0/+6
| | | | | | Subject: [PATCH] Copy on write for $& and $1... Message-ID: <20030209230008.GF299@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18726
* inline SvREFCNT_dec:Nicholas Clark2003-02-161-0/+4
| | | | | | Subject: [PATCH] Copy on write for $& and $1... Message-ID: <20030209230008.GF299@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18725
* As suggested by Sarathy, add -DPERL_HIDE_SHORT_NAMES optionJarkko Hietaniemi2003-02-161-2/+7
| | | | | | which will disable the short forms of the Perl_ API, good for embedding stuff. (Kind of like the old NO_EMBED, but better.) p4raw-id: //depot/perl@18718
* Forgotten from #18715.Jarkko Hietaniemi2003-02-161-0/+6
| | | p4raw-id: //depot/perl@18716
* [Patch] parsing under encoding (Re: [Encode] HEADS-UP; $Encode::VERSION++ to ↵Inaba Hiroto2003-02-051-0/+2
| | | | | | | enhance filter option)([perl #16823]) Message-ID: <3E3BC46B.6C687CFD@st.rim.or.jp> p4raw-id: //depot/perl@18660
* Integrate from maint-5.8:Jarkko Hietaniemi2003-01-221-0/+4
| | | | | | | | | | | | | | [ 18375] Better version of change #18370; use the new 'E' flag so that cxinc is exposed (as cpp) only to List::Util (well, any extension) (well, anyone who does -DPERL_EXT), no need to export it globally. p4raw-link: @18375 on //depot/maint-5.8/perl: c8ec9884b4dd9ffdd0a7d1514952a74c55bfab3e p4raw-link: @18370 on //depot/maint-5.8/perl: 94115b5677e78fbc3321ad88fedfaa3b6bc804bf p4raw-id: //depot/perl@18551 p4raw-integrated: from //depot/maint-5.8/perl@18545 'copy in' ext/List/Util/Makefile.PL (@17645..) 'merge in' embed.fnc embed.h global.sym (@18370..)
* integrate #18366-18370 from maint-5.8:Hugo van der Sanden2003-01-211-0/+1772
| | | | | | | | | | | | | | | | | | | | | | | Implement the CPP namespace protection from [perl #8610]; unless a function has an 'A' flag, it's defined only if PERL_CORE. (Why do we have so many many functions with an 'A' flag, is another matter.) (The number of #ifdef PERL_COREs could be cut down further by having a state variable and inserting #ifdefs and #endifs when the state flips.) Caught by change #18366; thanks to the re extension we have some functions that are file static but yet part of "the public API"... Maybe a new class of exportability (a new embed.fnc flag) is required for this case. Continue on change #18367; implement the said flag, 'E'. (Some nm output studying was needed to get the right set of re symbols defined.) In AIX (strict symbol exports) the cxinc is needed for List::Util. p4raw-link: @18367 on //depot/maint-5.8/perl: 6f21c313c98cc4764e09fbbce2c8792576c90d7d p4raw-link: @18366 on //depot/maint-5.8/perl: 704f60d9cfa8683df64f005e872b37aea8f9d60e p4raw-id: //depot/perl@18531
* integrate (by hand) #18353 and #18359 from maint-5.8:Hugo van der Sanden2003-01-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a cache for UTF-8 data: length and byte<->char offset mapping are stored in a new type of magic. Speeds up length(), substr(), index(), rindex(), pos(), and some parts of s///. The speedup varies a lot (on the usual suspects: what is the access pattern of the data, compiler, CPU), but should be at least one order of magnitude, and getting to the same magnitude as byte string speeds, and in some cases (length on unchanged data) even reaching the byte string speed. On the other hand, in some cases (index) the byte speed is still faster by a factor of five or so, but the bottleneck there does not seem to be any more the byte<->char offset mapping (instead, the fbm_instr() speed). There is one cache slot for the length, and only two for the byte<->char offset mapping (the first one for the start->offset, and the second for the offset->offset+length, when talking in substr() terms). Code this hairy is bound to have hairy trolls hiding under it. [...] A small tweak on top of #18353: don't display mg_len bytes of mg_ptr for PERL_MAGIC_utf8 because that's not what's there. p4raw-id: //depot/perl@18530
* [Fwd: Patch for perl utf8-related bug]Richard Hitt2002-12-171-0/+2
| | | | | [perl #18932] p4raw-id: //depot/perl@18312
* Re: [perl #19017] lexical "my" variables not visible in debugger "x" commandDave Mitchell2002-12-161-1/+1
| | | | | | | | | Date: Thu, 12 Dec 2002 23:42:35 +0000 Message-ID: <20021212234235.A29245@fdgroup.com> and Date: Sat, 14 Dec 2002 19:16:38 +0000 Message-ID: <20021214191638.A3992@fdgroup.com> p4raw-id: //depot/perl@18307
* allow evals to see the full lexical scopeDave Mitchell2002-12-021-3/+5
| | | | | Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
* Re: [perl #18066] Bug in -I when path has double colons?Slaven Rezic2002-11-041-4/+7
| | | | | | | Message-ID: <87of9c2prs.fsf@vran.herceg.de> With the corresponding change to embed.fnc p4raw-id: //depot/perl@18102
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-42/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Version object combined patchJohn Peacock2002-10-101-2/+4
| | | | | Message-ID: <3D9E593E.1060605@rowman.com> p4raw-id: //depot/perl@17990
* move all pad-related code to its own src fileDave Mitchell2002-10-021-16/+44
| | | | | Message-ID: <20020925234023.A20044@fdgroup.com> p4raw-id: //depot/perl@17953
* LEAKTEST is dead, RIPH.Merijn Brand2002-09-261-18/+0
| | | | | | | Subject: Re: [perl #17197] SIGSEGV in perl 5.8.0 multithread build with -DLEAKTEST From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020923182824.C7B6.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@17920
* Version object patch #1John Peacock2002-08-201-2/+12
| | | | | | | Message-id: <3D5BB55D.6090603@rowman.com> and Message-id: <3D627D1A.4050607@rowman.com> and t/lib/warnings/universal tweak to skip p4raw-id: //depot/perl@17746
* Copy On WriteNicholas Clark2002-08-171-0/+12
| | | | | | Message-id: <20020815001035.A69079@plum.flirble.org> specify "-Accflags='-DPERL_COPY_ON_WRITE'" to use p4raw-id: //depot/perl@17728