summaryrefslogtreecommitdiff
path: root/sv.c
Commit message (Collapse)AuthorAgeFilesLines
* Third consting batchAndy Lester2005-03-241-42/+41
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* More consting goodnessAndy Lester2005-03-211-10/+8
| | | | | Message-ID: <20050319072830.GA7721@petdance.com> p4raw-id: //depot/perl@24049
* Re: Reworked Trie PatchYves Orton2005-03-181-0/+10
| | | | | | | | | | | | | | Date: Mon, 14 Mar 2005 08:55:39 +0100 Message-ID: <9b18b31105031323557019ae1@mail.gmail.com> Subject: Re: Reworked Trie Patch From: demerphq <demerphq@gmail.com> Date: Wed, 16 Mar 2005 19:48:18 +0100 Message-ID: <9b18b31105031610481025a080@mail.gmail.com> Plus minor nits in the documentation of re.pm, a version bump, and addition of an OPTIMIZE alias p4raw-id: //depot/perl@24044
* More const parmsAndy Lester2005-03-181-2/+2
| | | | | Message-ID: <20050314195954.GB7141@petdance.com> p4raw-id: //depot/perl@24042
* Re: uc($long_utf8_string) exhausts memoryJarkko Hietaniemi2005-01-221-1/+1
| | | | | | | | Message-Id: <41F1801C.3080201@iki.fi> Make buffer size estimates for utf8 case conversion less maximally pessimistic p4raw-id: //depot/perl@23857
* Further follow-up to 23767Robin Barker2005-01-191-12/+0
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C57D@hotel.npl.co.uk> p4raw-id: //depot/perl@23824
* Correct the editor block to match the perl 5 policy on tabsNicholas Clark2005-01-141-1/+1
| | | p4raw-id: //depot/perl@23803
* Improve documentation for sv_catpvf, to note that pattern's UTF-8nessNicholas Clark2005-01-141-1/+2
| | | | | is taken from the SV's UTF-8ness p4raw-id: //depot/perl@23800
* Use the new SV_NOSTEAL flag to avoid the SvTEMP dance in newSVsvNicholas Clark2005-01-131-7/+4
| | | p4raw-id: //depot/perl@23797
* Update copyright years. Add an editor block while passing by.Nicholas Clark2005-01-131-1/+10
| | | p4raw-id: //depot/perl@23789
* follow-up to 23767Robin Barker2005-01-111-6/+8
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C56A@hotel.npl.co.uk> p4raw-id: //depot/perl@23781
* Remove PERL_FLEXIBLE_EXCEPTIONS code.Marcus Holland-Moritz2005-01-101-3/+0
| | | p4raw-id: //depot/perl@23780
* to improve -DCHECK_FORMATRobin Barker2005-01-071-0/+24
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C55A@hotel.npl.co.uk> p4raw-id: //depot/perl@23767
* Stage 1 of utf8 support for soft references.Nicholas Clark2005-01-071-4/+2
| | | | | | | | | | Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags Add gv_fetchsv to look up a GV by SV rather than a char * pointer Provide a backwards compatability gv_fetchpv Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing the pointer from an SV All tests still pass. p4raw-id: //depot/perl@23766
* [patch sv.c] comment fixStas Bekman2004-12-271-4/+4
| | | | | | Message-ID: <41CF50FE.5070307@stason.org> Date: Sun, 26 Dec 2004 19:02:06 -0500 p4raw-id: //depot/perl@23683
* Re: [patch perlapi doc] sv_magicStas Bekman2004-12-241-0/+3
| | | | | Message-ID: <41CB3866.1080307@stason.org> p4raw-id: //depot/perl@23678
* Avoid getting the stash name twice (at least visually, if not alsoNicholas Clark2004-12-071-4/+2
| | | | | in the generated code) p4raw-id: //depot/perl@23626
* Tidy up the reference name stringification to save getting theNicholas Clark2004-12-011-7/+6
| | | | | | hash name twice. Pleasant side effect is 44 byte smaller object file. (A small win is still a win) p4raw-id: //depot/perl@23587
* Set the IV values for PL_sv_yes and PL_sv_no at initialisation time.Nicholas Clark2004-10-311-2/+6
| | | p4raw-id: //depot/perl@23445
* [perl #31851] Threading crash with closuresDave Mitchell2004-10-291-0/+4
| | | | | various OpREFCNT_inc() operations weren't doing locking p4raw-id: //depot/perl@23433
* Document sv_magic() changes brought about by sv_magicext()Steve Hay2004-10-291-9/+12
| | | | | | | | | | Change 14335 made sv_magic() a wrapper to a new sv_magicext(), but didn't update the documentation for sv_magic() to reflect the changed handling of the name/namlen arguments. Also correct a couple of typos, and mention sv_magicext() in perlguts. p4raw-id: //depot/perl@23432
* Implement sv_svset _nosteal variants by passing a flag intoNicholas Clark2004-10-151-2/+5
| | | | | | sv_set_flags rather than messing with the SvTEMP() flag on either side of the call. p4raw-id: //depot/perl@23373
* Document sv_vcatpvf, sv_vsetpvf, sv_vcatpvf_mg and sv_vsetpvf_mg.Steve Hay2004-10-151-12/+45
| | | | | | | These are already in the API supported by Devel::PPPort, and are often more useful than sv_vcatpvfn and sv_vsetpvfn which were already documented. p4raw-id: //depot/perl@23368
* Perl_sv_recode_to_utf8 shouldn't be returning SvPVX(sv) withoutNicholas Clark2004-10-021-1/+2
| | | | | any check on whether it's valid. p4raw-id: //depot/perl@23344
* [perl #30066] Memory leak in nested shared data structures in 5.8.4Dave Mitchell2004-09-121-1/+2
| | | | | | | A pop of an item from a shared array ref causes a leak due to AVf_REAL not having been set after an sv_upgrade(sv, SVt_PVAV). Make sv_upgrade() set always this flag. p4raw-id: //depot/perl@23320
* SvO?OK_off()'s return valueMarcus Holland-Moritz2004-09-081-5/+6
| | | | | | | Message-Id: <20040801124648.7f9b3cee@r2d2> Move (void) casts into SvOOK_off macro. p4raw-id: //depot/perl@23277
* signedness nit in #23190Craig A. Berry2004-08-061-1/+1
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <4112782F.7040302@mac.com> p4raw-id: //depot/perl@23197
* Remove compilation warnings about uninitialized variables.Rafael Garcia-Suarez2004-08-041-3/+3
| | | p4raw-id: //depot/perl@23193
* Remove the "Newline in left-justified string" warning.Rafael Garcia-Suarez2004-08-041-8/+1
| | | p4raw-id: //depot/perl@23192
* Final version object core patch?John Peacock2004-08-041-0/+12
| | | | | Message-ID: <411048BD.3080700@rowman.com> p4raw-id: //depot/perl@23190
* remove the return stack PL_retstack, and store return ops in the CXDave Mitchell2004-07-231-10/+3
| | | | | structure directly instead p4raw-id: //depot/perl@23156
* Encourage compilers to tail call optimise in sv_savepv, sv_savepvnNicholas Clark2004-07-161-2/+1
| | | | | | and sv_savesharedpv. Need to create non-void returning versions of Copy and Zero, as the existing macros deliberately cast to (void) p4raw-id: //depot/perl@23126
* Bodge to make Tk work - like the UTF8 flag, the READONLY flag has tooNicholas Clark2004-07-121-1/+7
| | | | | many meanings. const const vs mutable in this case. p4raw-id: //depot/perl@23085
* NI-S: IMHO utf8_upgrade is just changing representation not the valueNick Ing-Simmons2004-07-121-52/+50
| | | | | so it has no business calling SvSETMAGIC. p4raw-id: //depot/perl@23084
* Make Perl_sv_utf8_upgrade_flags tolerate PL_sv_undefRafael Garcia-Suarez2004-07-071-0/+2
| | | | | as an argument. p4raw-id: //depot/perl@23063
* Assert that we aren't leaking memory.Nicholas Clark2004-06-301-0/+1
| | | p4raw-id: //depot/perl@23018
* Note that sv_2mortal isn't just "increase reference count by 1, andNicholas Clark2004-06-291-1/+3
| | | | | mark that it needs a deferred recount" p4raw-id: //depot/perl@23011
* [perl #30509] use encoding and "eq" cause memory leakDave Mitchell2004-06-281-1/+3
| | | | | Perl_sv_eq() was creating a temp and not always freeing it p4raw-id: //depot/perl@23006
* As 2/3rds (or 3/4s) of the SV head structure is rewritten, it doesn'tNicholas Clark2004-06-171-1/+1
| | | | | seem that memzero() of everything is the most efficient idea. p4raw-id: //depot/perl@22945
* Assert that SV type has magic member when reading/writing.Nicholas Clark2004-06-141-2/+3
| | | | | Will catch buggy code. p4raw-id: //depot/perl@22934
* Re: newSVpvn(NULL, 0); doesn't work as advertisedMarcus Holland-Moritz2004-06-081-2/+3
| | | | | Message-Id: <20040604162944.4011f1c6@r2d2> p4raw-id: //depot/perl@22905
* Re: [PATCH] [perl #29841] utf8::decode doesn't work under -T SADAHIRO Tomoyuki2004-06-061-13/+14
| | | | | Message-Id: <20040606003344.57B2.BQW10602@nifty.com> p4raw-id: //depot/perl@22902
* Re: utf-8 and taint don't work togetherSADAHIRO Tomoyuki2004-05-241-7/+5
| | | | | | | | | Date: Sat, 22 May 2004 21:38:33 +0900 Message-Id: <20040522212704.C068.BQW10602@nifty.com> Date: Sun, 23 May 2004 09:56:15 +0900 Message-Id: <20040523095609.E404.BQW10602@nifty.com> p4raw-id: //depot/perl@22842
* improve hashing algorithm for ptr tables in perl_clone:Dave Mitchell2004-05-191-3/+9
| | | | | the bottom few bits of a pointer are usually zero p4raw-id: //depot/perl@22831
* [perl #29637] Thread creation time is hypersensitiveDave Mitchell2004-05-191-3/+3
| | | | | | Due to a logic error, the dup ptr table sometimes wans't being grown, leading to extremely slow cloning. p4raw-id: //depot/perl@22830
* [perl #29527] Perl 5.8.4 build problems on LynxOS Olli Savia2004-05-121-0/+5
| | | | | | From: Olli Savia (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.9-29527-87290.17.3367022021997@perl.org> p4raw-id: //depot/perl@22817
* symbolic references like ${"foo$index"}*3 would incorrectly warnDave Mitchell2004-05-071-0/+1
| | | | | that $index was the uninitialized value, when in fact it was $foo1 p4raw-id: //depot/perl@22802
* Fix 29149 - another UTF8 cache bug hit by substr.SADAHIRO Tomoyuki2004-04-291-2/+9
| | | | | | | | | Regression test from: Subject: Re: [perl #29149] substr/UTF8 related problem with perl 5.8.3 on linux Message-Id: <20040429103926.5BA6.BQW10602@nifty.com> Date: Thu, 29 Apr 2004 10:53:17 +0900 p4raw-id: //depot/perl@22755
* fix 64-bit casting error in change 22741 (uninit var warnings)Dave Mitchell2004-04-241-1/+1
| | | p4raw-id: //depot/perl@22742
* Include variable names in "Use of uninitialized value" warningsDave Mitchell2004-04-231-16/+477
| | | p4raw-id: //depot/perl@22741