summaryrefslogtreecommitdiff
path: root/sv.c
Commit message (Collapse)AuthorAgeFilesLines
* Add packname->stash cache before the check if a packname is aArtur Bergman2003-04-021-0/+2
| | | | | | | | | filehandle or a package, it works because only packnames that have been resolved to stashes are added to the cache, and when a newIO is created we clean the cache. Results in roughly 1.8 speed increase for class->method() calls. p4raw-id: //depot/perl@19133
* Integrate:Ilya Zakharevich2003-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 19106] Subject: [PATCH 5.8.1 @19053] OS/2-related patches Message-ID: <20030331204337.GA3634@math.berkeley.edu> and regen Configure. p4raw-link: @19106 on //depot/maint-5.8/perl: 8257dec7ed17c0d4d721411d2a781ceadf724da5 p4raw-id: //depot/perl@19120 p4raw-edited: from //depot/maint-5.8/perl@19118 'edit in' embedvar.h (@18804..) p4raw-integrated: from //depot/maint-5.8/perl@19118 'copy in' os2/Makefile.SHs os2/OS2/ExtAttr/Changes os2/OS2/ExtAttr/ExtAttr.pm os2/OS2/PrfDB/Changes os2/OS2/PrfDB/PrfDB.pm os2/OS2/REXX/DLL/DLL.pm os2/OS2/REXX/REXX.pm os2/dl_os2.c os2/os2thread.h (@17645..) ext/threads/threads.xs (@18619..) perlio.c (@18948..) Makefile.SH (@19061..) 'ignore' embed.pl (@18872..) embed.h (@19011..) embed.fnc (@19030..) 'merge in' os2/os2ish.h (@17645..) os2/os2.c (@18347..) perlapi.h (@18804..) perlvars.h (@18808..) makedef.pl (@18896..) intrpvar.h (@18920..) sv.c (@18961..) p4raw-edited: from //depot/maint-5.8/perl@19106 'edit in' Configure (@19040..) p4raw-integrated: from //depot/maint-5.8/perl@19106 'copy in' reentr.h (@18850..) reentr.c reentr.pl (@18922..)
* COW formats (was Re: Smoke [5.9.0] 19044 FAIL(F) linux 2.4.18-3 (i686/1 cpu))Nicholas Clark2003-03-301-1/+10
| | | | | Message-ID: <20030330003547.GO274@Bagpuss.unfortu.net> p4raw-id: //depot/perl@19083
* Better version of change #19069Nicholas Clark2003-03-261-9/+3
| | | | | | | Subject: [PATCH] Re: [PATCH] Re: [perl #21614] 5.8.0 Unbalanced string table refcount Message-ID: <20030326230145.GC279@Bagpuss.unfortu.net> p4raw-link: @19069 on //depot/perl: 10bcdfd6e8d70ea5a2c02616001cf97fce7f3e17 p4raw-id: //depot/perl@19071
* Re: [perl #21614] 5.8.0 Unbalanced string table refcountNicholas Clark2003-03-261-3/+10
| | | | | Message-ID: <20030325225917.GE284@Bagpuss.unfortu.net> p4raw-id: //depot/perl@19069
* Another finding by IRIX cc: non-void functionJarkko Hietaniemi2003-03-121-3/+4
| | | | | sv_cat_decode() should return a value. p4raw-id: //depot/perl@18954
* typo for utf8locale in #18907Hugo van der Sanden2003-03-111-1/+1
| | | p4raw-id: //depot/perl@18912
* Add missing intrpvar clonings to perl_clone.Jarkko Hietaniemi2003-03-111-0/+17
| | | | | | Also move the IDBassertion to the end since there's no particular reason to break bincompat for that. p4raw-id: //depot/perl@18907
* [patch] PL_taint_warn falls between chairs in perl_clone()Stas Bekman2003-03-111-0/+1
| | | | | Message-ID: <3E6D7D7E.5000704@stason.org> p4raw-id: //depot/perl@18905
* At Sarathy's request restore the bin5005compat Perl_foo_sv()Jarkko Hietaniemi2003-03-091-0/+136
| | | | | | | function stubs, should be helpful for really simple extensions. Undoes large parts of changes #16289 and #16290. p4raw-link: @16289 on //depot/perl: c0a105bfc95a10a0d8ab4cc278bd5b1ad66f202b p4raw-id: //depot/perl@18863
* Re: [perl #21498] printf behaviour changes 5.6.1(and earlier) -> 5.8Adrian M. Enache2003-03-091-1/+2
| | | | | | | Message-ID: <20030307212837.GB765@ratsnest.hole> (and few more test cases from the thread) p4raw-id: //depot/perl@18861
* Re: [perl #21395] rcatline doesn't grok utf8Adrian M. Enache2003-03-041-8/+23
| | | | | Message-ID: <20030302034354.GA4905@ratsnest.hole> p4raw-id: //depot/perl@18822
* Use a macro for abs() to avoid the possible truncation to an int;Jarkko Hietaniemi2003-03-031-2/+2
| | | | | also make an explicit (double)cast for the arguments to fabs(). p4raw-id: //depot/perl@18813
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Re: [perl #20683] [fix] Better PatchAdrian M. Enache2003-02-261-1/+1
| | | | | Message-ID: <20030223181639.GA18713@ratsnest.hole> p4raw-id: //depot/perl@18782
* Patching magic from Inaba-san's keyboard: fix for [perl #8769]:Jarkko Hietaniemi2003-02-241-2/+9
| | | | | | "scalar upgraded to UTF-8 as a side effect of quote-interpolation when 'use encoding' is engaged"-- wasn't actually encoding's fault. p4raw-id: //depot/perl@18764
* Re: [PATCH] Re: [PATCH] Copy on write for $& and $1...Nicholas Clark2003-02-181-0/+3
| | | | | Message-ID: <20030217210330.A8611@plum.flirble.org> p4raw-id: //depot/perl@18738
* Re: [PATCH] Copy on write for $& and $1...Nicholas Clark2003-02-171-1/+1
| | | | | Message-ID: <20030216230950.GB276@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18736
* fix typo in sv.c and regenerate perlapi.podHugo van der Sanden2003-02-171-1/+1
| | | p4raw-id: //depot/perl@18733
* add support for assertions. Updated form of:Salvador Fandiño2003-02-161-0/+2
| | | | | | Subject: Re: Did the assertion patch/feature submission get overlooked? Message-ID: <3DE8F439.50402@yahoo.com> p4raw-id: //depot/perl@18727
* COW regexps:Nicholas Clark2003-02-161-9/+76
| | | | | | 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/+6
| | | | | | Subject: [PATCH] Copy on write for $& and $1... Message-ID: <20030209230008.GF299@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18725
* [perl #20654] %*v02x considered invalid in printfRobin Barker2003-02-111-0/+3
| | | | | | From: Robin Barker (via RT) <perlbug-followup@perl.org> Message-Id: <rt-20654-50711.19.9711009821137@bugs6.perl.org> p4raw-id: //depot/perl@18696
* More code cleanup.H.Merijn Brand2003-02-111-5/+2
| | | | | | | Subject: Re: New SV Flag From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20030207095258.6E05.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@18693
* PATCH: sv_rvweaken() deficiency (against 5.8.0)Mark Mielke2003-02-111-1/+13
| | | | | Message-ID: <20030121005613.GA31739@mark.mielke.cc> p4raw-id: //depot/perl@18691
* fix comment in change #18689Hugo van der Sanden2003-02-101-1/+1
| | | | | p4raw-link: @18689 on //depot/perl: 00e17364bade89e3a71981168e34fb6160652b0a p4raw-id: //depot/perl@18690
* Fix for [perl #20339]: "%lf" rejected as invalid by recent sprintf.Hugo van der Sanden2003-02-101-2/+3
| | | | | | Now allows but ignores the 'l' modifier on floating point formats and adds a couple of tests. p4raw-id: //depot/perl@18689
* Patch from Richard Soderberg, cleanup the code a bit and commentArtur Bergman2003-02-061-2/+5
| | | | | why we are not using SvOOK_on. p4raw-id: //depot/perl@18666
* [Patch] parsing under encoding (Re: [Encode] HEADS-UP; $Encode::VERSION++ to ↵Inaba Hiroto2003-02-051-11/+46
| | | | | | | enhance filter option)([perl #16823]) Message-ID: <3E3BC46B.6C687CFD@st.rim.or.jp> p4raw-id: //depot/perl@18660
* PerlIO friendly version of speed up of $/ = undef case.Nick Ing-Simmons2003-02-011-9/+22
| | | p4raw-id: //depot/perlio@18612
* [FIX] Re: UTF-8 failures (surprise!)Adrian M. Enache2003-01-301-1/+2
| | | | | | | Message-ID: <20030130084809.GA16902@ratsnest.hole> Fix for half of the failures, with an expanded test. p4raw-id: //depot/perl@18603
* Missing (STRLEN)casts.Jarkko Hietaniemi2003-01-261-7/+7
| | | p4raw-id: //depot/perl@18592
* patch to speed up Perl's slurp modeAdrian M. Enache2003-01-261-10/+13
| | | | | Message-Id: <20030124042354.GA30362@ratsnest.hole> p4raw-id: //depot/perl@18580
* Re: [perl #9394] Re: [ID 20020525.002] coredump/ bad free warning in blead ↵Nicholas Clark2003-01-221-1/+3
| | | | | | | with SIGWARN Message-ID: <20030121222720.GG293@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18557
* Continuation of #18542.Jarkko Hietaniemi2003-01-221-4/+4
| | | p4raw-id: //depot/perl@18544
* #18530 misses a couple of pTHX definitionsHugo van der Sanden2003-01-221-2/+2
| | | p4raw-id: //depot/perl@18542
* integrate (by hand) #18353 and #18359 from maint-5.8:Hugo van der Sanden2003-01-211-35/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix 'use encoding' I/O for code points 0x80..0xFF;Jarkko Hietaniemi2003-01-161-1/+1
| | | | | code changes from Inaba Hiroto; test tweaks by jhi. p4raw-id: //depot/perl@18496
* %_ (was Re: [PATCH] operation on `PL_na' may be undefined)Nicholas Clark2003-01-071-4/+5
| | | | | Message-ID: <20021226211626.GD284@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18456
* Fixes bug #15273, the return of the object causedArtur Bergman2003-01-031-0/+12
| | | | | | | | | the stash of the object to be cloned, cloning the entire syntax tree and all lexicals in there creating danglning copies to the object. (Pararell but unlinked STASH tree). This adds a new flag, when set it will use STASHES from the thread we are joining into avoiding the problem. p4raw-id: //depot/perl@18419
* Re: [perl #18257] Attempt to free unreferenced scalar (in 5 lines)Hugo van der Sanden2003-01-031-8/+6
| | | | | Message-Id: <200301021716.h02HG5809404@crypt.compulink.co.uk> p4raw-id: //depot/perl@18407
* these variables are not in use anywhere since 5.8.0Gurusamy Sarathy2002-12-281-12/+0
| | | p4raw-id: //depot/perl@18355
* #18345 was still broken; should be fixed now.Hugo van der Sanden2002-12-251-2/+4
| | | p4raw-id: //depot/perl@18351
* more on #18344.Hugo van der Sanden2002-12-231-1/+3
| | | p4raw-id: //depot/perl@18345
* more on #18312: sv.c:ss_dup()Hugo van der Sanden2002-12-231-0/+4
| | | p4raw-id: //depot/perl@18344
* More documentation of obscure flags is good, even if theArtur Bergman2002-12-161-0/+29
| | | | | | documentation might be not so good. Atleast it's not false! Documents the flags one can give to perl_clone p4raw-id: //depot/perl@18306
* Proper fix for CvOUTSIDE weak refcountingDave Mitchell2002-12-141-6/+5
| | | | | Message-ID: <20021210012644.A7843@fdgroup.com> p4raw-id: //depot/perl@18302
* $0 mofifying part IJarkko Hietaniemi2002-12-021-6/+1
| | | | | | Subject: [PATCH] $0 modifying Message-ID: <20021130181651.GA5876@kosh.hut.fi> p4raw-id: //depot/perl@18229
* allow evals to see the full lexical scopeDave Mitchell2002-12-021-0/+2
| | | | | Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
* DESTROY called in scalar context ?Rafael Garcia-Suarez2002-11-271-1/+1
| | | | | Message-Id: <20021029220423.6f8e6600.rgarciasuarez@free.fr> p4raw-id: //depot/perl@18186