summaryrefslogtreecommitdiff
path: root/sv.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement sv_svset _nosteal variants by passing a flag intoNicholas Clark2004-10-151-4/+2
| | | | | | sv_set_flags rather than messing with the SvTEMP() flag on either side of the call. p4raw-id: //depot/perl@23373
* SvO?OK_off()'s return valueMarcus Holland-Moritz2004-09-081-5/+5
| | | | | | | Message-Id: <20040801124648.7f9b3cee@r2d2> Move (void) casts into SvOOK_off macro. p4raw-id: //depot/perl@23277
* api doc fix for SvSetMagicSV_nostealStas Bekman2004-08-131-1/+1
| | | | | Message-ID: <411C150C.5020602@stason.org> p4raw-id: //depot/perl@23214
* Document sv_catpvn_nomg, sv_setsv_nomg and sv_catsv_nomg.Marcus Holland-Moritz2004-08-041-0/+9
| | | p4raw-id: //depot/perl@23196
* It seems that our assert() macro wasn't good enough.Nicholas Clark2004-06-151-2/+2
| | | | | | | Changed to one that that is an expression, rather than a statement. Fix new macros definitions in sv.h to be clean enough C to keep the AIX compiler happy. p4raw-id: //depot/perl@22937
* Assert SvTYPE is at least PGMV whenever accessing SvSTASHNicholas Clark2004-06-151-1/+1
| | | p4raw-id: //depot/perl@22935
* Assert that SV type has magic member when reading/writing.Nicholas Clark2004-06-141-0/+6
| | | | | Will catch buggy code. p4raw-id: //depot/perl@22934
* Re: undef loses it magicness when assigned to a variable?Stas Bekman2004-05-281-1/+2
| | | | | Message-ID: <40B63284.5040203@stason.org> p4raw-id: //depot/perl@22853
* Nobody has used SvPVbyte_force?SADAHIRO Tomoyuki2004-03-211-1/+1
| | | | | Message-Id: <20040321213628.2461.BQW10602@nifty.com> p4raw-id: //depot/perl@22548
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* simplify sv.hArtur Bergman2004-03-031-6/+6
| | | | | Message-Id: <4D3C272C-6B03-11D8-B799-000A95A2734C@nanisky.com> p4raw-id: //depot/perl@22428
* Re: [PATCH] GLOB to LVALUE assignment fixTassilo von Parseval2004-02-171-5/+12
| | | | | | | Message-Id: <20040217163216.GA6805@ethan> Make PVLV a superset of PVGV, so that $lvalue = *FOO works p4raw-id: //depot/perl@22315
* Correct some prototypes in perlapi.podSteve Hay2004-02-081-3/+3
| | | | | Message-ID: <40238C15.2090200@uk.radan.com> p4raw-id: //depot/perl@22286
* Re: [perl #24816] Magic vars seem unsure if they are purely numericYitzchak Scott-Thoennes2004-01-161-0/+14
| | | | | | | Message-Id: <20040115221037.GA2392@efn.org> Add sv_2iv_flags() to allow magic to be optionally processed. p4raw-id: //depot/perl@22163
* sanitize some macros - based on Chip Salzenberg suggestions andAdrian M. Enache2003-12-221-17/+17
| | | | | on the way GNU people use the gcc-ish 'blocks in parens' p4raw-id: //depot/perl@21950
* Plan C for foiling the algorithmic complexity attackNicholas Clark2003-10-161-0/+1
| | | | | | | | | | | (based on Chip's plan A (binary compatibility with 5.8.0 and 5.8.1), Chip's plan B (do something new inside the hv functions) and introspective sort) Provides infrastructure for hashes to change their hash function if necessary, and code in hsplit to detect pathalogical data and instigate a random rehashing. Needs refinement. Let's see how much smoke it creates. p4raw-id: //depot/perl@21471
* Re: assert.h breaks perl.hAlexey Tourbin2003-10-161-1/+1
| | | | | Message-Id: <20031016182434.GH1724@julia.office.altlinux.ru> p4raw-id: //depot/perl@21468
* It's UTF-8, not UTF8. (Note: not s/UTF-8/UTF8/,Jarkko Hietaniemi2003-09-121-4/+4
| | | | | | since that would break a lot of code.) Also few stray UTF16s, UTF32s, and "encoded in Unicode". p4raw-id: //depot/perl@21198
* Fewer naked char constants.Jarkko Hietaniemi2003-08-301-8/+10
| | | p4raw-id: //depot/perl@20957
* [patch sv.h api doc] SvTAINTED_on does its craft only under -TStas Bekman2003-08-301-2/+2
| | | | | Message-ID: <3F4FEBBD.8000901@stason.org> p4raw-id: //depot/perl@20941
* gcc -ansi -pedantic cleanup; and a seemingly forgottenJarkko Hietaniemi2003-08-101-3/+3
| | | | | sv_placeholder hunk. p4raw-id: //depot/perl@20605
* allow recursive FETCHesDave Mitchell2003-04-191-1/+2
| | | | | 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
* Typos fixes by Stas Bekman.Rafael Garcia-Suarez2003-04-081-1/+1
| | | p4raw-id: //depot/perl@19167
* [DOCPATCH] Re: [PATCH] Re: [perl #21614] 5.8.0 Unbalanced string table refcountNicholas Clark2003-03-291-0/+8
| | | | | Message-ID: <20030327223735.GD277@Bagpuss.unfortu.net> p4raw-id: //depot/perl@19079
* The 0, in the assert_not_ROK() makes IRIX cc to worryJarkko Hietaniemi2003-03-111-8/+8
| | | | | | (cc-1171 cc: WARNING ... The indicated expression has no effect.) So make the macro to include the , and the non-gcc case empty. p4raw-id: //depot/perl@18921
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Patching magic from Inaba-san's keyboard: fix for [perl #8769]:Jarkko Hietaniemi2003-02-241-0/+12
| | | | | | "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
* 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/+15
| | | | | | Subject: [PATCH] Copy on write for $& and $1... Message-ID: <20030209230008.GF299@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18725
* 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
* make Copy On Write work once againNicholas Clark2003-01-271-1/+1
| | | | | Message-ID: <20030125002550.GG278@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18595
* assert PV isn't RVNicholas Clark2003-01-221-6/+18
| | | | | Message-ID: <20030117194044.GB297@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18552
* Fix 'use encoding' I/O for code points 0x80..0xFF;Jarkko Hietaniemi2003-01-161-0/+1
| | | | | code changes from Inaba Hiroto; test tweaks by jhi. p4raw-id: //depot/perl@18496
* Fixes bug #15273, the return of the object causedArtur Bergman2003-01-031-0/+1
| | | | | | | | | 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
* new flag SvPADSTALEDave Mitchell2003-01-031-1/+5
| | | | | Message-ID: <20021219190021.D9530@fdgroup.com> p4raw-id: //depot/perl@18410
* remove flag SvPADBUSYDave Mitchell2003-01-031-5/+3
| | | | | Message-ID: <20021219185543.C9530@fdgroup.com> p4raw-id: //depot/perl@18409
* allow evals to see the full lexical scopeDave Mitchell2002-12-021-1/+3
| | | | | Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
* Document PRIVSHIFT.Yitzchak Scott-Thoennes2002-11-161-1/+1
| | | | | | Subject: [PATCH] two small doc patches Message-ID: <3yC19gzkguTO092yn@efn.org> p4raw-id: //depot/perl@18151
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-61/+11
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* enable -ansi -pedanticJarkko Hietaniemi2002-09-261-2/+2
| | | | | Message-ID: <20020917221925.GF85044@lyta.hut.fi> p4raw-id: //depot/perl@17925
* sv_2pv_flags and ROK and UTF8 flagsYitzchak Scott-Thoennes2002-09-081-1/+1
| | | | | | | | Date: Wed, 04 Sep 2002 21:09:01 -0700 Message-ID: <djtd9gzkgyLd092yn@efn.org> Date: Fri, 06 Sep 2002 09:23:03 -0700 Message-ID: <nZNe9gzkgKdH092yn@efn.org> p4raw-id: //depot/perl@17864
* Version object patch #1John Peacock2002-08-201-1/+4
| | | | | | | 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
* [REVISED PATCH] Magic v-stringsJohn Peacock2002-08-201-0/+1
| | | | | | Message-id: <3D556FE6.6000404@rowman.com> plus a bit of cleanup p4raw-id: //depot/perl@17742
* Clean up copy-on-write macros and debug facilities (new flag 'C').Nicholas Clark2002-08-201-19/+15
| | | | | | | Handle CoW in hashes: Subject: Re: why would tr/// be performing hash copies? Message-id: <20020818221700.GD294@Bagpuss.unfortu.net> p4raw-id: //depot/perl@17740
* Copy On WriteNicholas Clark2002-08-171-0/+30
| | | | | | Message-id: <20020815001035.A69079@plum.flirble.org> specify "-Accflags='-DPERL_COPY_ON_WRITE'" to use p4raw-id: //depot/perl@17728
* Re: unique attribute?Doug MacEachern2002-06-091-0/+1
| | | | | Message-ID: <Pine.LNX.4.33.0206091645330.26891-100000@mako.covalent.net> p4raw-id: //depot/perl@17153
* squelch some more type mismatch warningsGurusamy Sarathy2002-04-211-1/+1
| | | | | | SvREFCNT_dec(x ? y : z) did not typecast the right thing due to missing parens in macro definition p4raw-id: //depot/perl@16055
* Retract the UTF-8 filenames patch. This may beJarkko Hietaniemi2002-04-091-1/+0
| | | | | | better dealt with in Perl level, a la File::Spec (since the whole mess is strongly filesystem-specific). p4raw-id: //depot/perl@15835
* There was no nice way of getting in UTF-8 filenames:Jarkko Hietaniemi2002-04-071-0/+1
| | | | | | | | now one can use in the (new) three-arg form of readdir() and in File::Glob import a ":utf8" to transparently accept the filenames as Unicode. Note that only :utf8 is supported, not fancier stuff like :encoding(foobar) p4raw-id: //depot/perl@15776