summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a new API function newSV_type, to replace the idiom:Nicholas Clark2007-02-181-2/+1
| | | | | | sv = newSV(0); sv_upgrade(sv, type); p4raw-id: //depot/perl@30347
* These casts to GV are no longer needed.Nicholas Clark2007-02-101-3/+3
| | | p4raw-id: //depot/perl@30195
* The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmaskNicholas Clark2007-01-251-1/+1
| | | | | of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
* Refactor the common soft-reference code from pp_rv2sv and pp_rv2avNicholas Clark2007-01-211-27/+47
| | | | | | into a single routine Perl_softref2xv(). As soft references are rarely used compared with true references, move this code from pp_hot.c p4raw-id: //depot/perl@29905
* Re: [PATCH] fix unicode split /\s+/SADAHIRO Tomoyuki2007-01-191-16/+20
| | | | | | Message-Id: <20070120005232.D9CC.BQW10602@nifty.com> Date: Sat, 20 Jan 2007 00:52:42 +0900 p4raw-id: //depot/perl@29887
* fix unicode split /\s+/Yves Orton2007-01-191-8/+33
| | | | | Message-ID: <9b18b3110701181714r4f3bc9ebq9ba462eba8338734@mail.gmail.com> p4raw-id: //depot/perl@29880
* Let the regex parser decide if we have a special pattern or not.Yves Orton2007-01-091-1/+1
| | | | | Message-ID: <9b18b3110701081546n2c3f19acy29adc0d233bb848c@mail.gmail.com> p4raw-id: //depot/perl@29730
* Update copyright years in .c filesRafael Garcia-Suarez2007-01-051-1/+1
| | | p4raw-id: //depot/perl@29696
* 4th patch from: Marcus Holland-Moritz2007-01-041-1/+1
| | | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Introduce an SVfARG() macro for %SVf (%-p here) arguments to perl's printf p4raw-id: //depot/perl@29687
* The first three patches from:Marcus Holland-Moritz2007-01-041-1/+1
| | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Adds (void*) casts to %-p and %p printf arguments p4raw-id: //depot/perl@29686
* Cleanup regexp flags and structureYves Orton2006-11-231-6/+6
| | | | | Message-ID: <9b18b3110611230336p3ce3b16du47cd5398dea8d873@mail.gmail.com> p4raw-id: //depot/perl@29360
* Regex Utility Functions and Substituion Fix (XML::Twig core dump)Yves Orton2006-11-131-1/+1
| | | | | | | | Message-ID: <9b18b3110611121429g1fc9d6c1t4007dc711f9e8396@mail.gmail.com> Plus a couple tweaks to ext/re/re.pm and t/op/pat.t to those patches to apply cleanly. p4raw-id: //depot/perl@29252
* Forbid using tainted formats in printf and sprintfRafael Garcia-Suarez2006-11-071-0/+2
| | | p4raw-id: //depot/perl@29225
* assert() that SvPV_set() isn't used on arrays.Nicholas Clark2006-11-061-2/+2
| | | p4raw-id: //depot/perl@29221
* Make readpipe() overridable (and also `` and qx//)Rafael Garcia-Suarez2006-10-311-1/+4
| | | p4raw-id: //depot/perl@29168
* Make prototype("CORE::mkdir") work. That's a special case,Rafael Garcia-Suarez2006-10-191-0/+4
| | | | | | since from the OA_* flags we can't figure out which parameter is going to default to $_. p4raw-id: //depot/perl@29051
* Make prototype("CORE::foo") return prototypes with _ when it shouldRafael Garcia-Suarez2006-10-181-2/+5
| | | | | (except for mkdir) p4raw-id: //depot/perl@29044
* Re: [PATCH] Initial attempt at named captures for perls regexp engineYves Orton2006-10-071-1/+1
| | | | | Message-ID: <9b18b3110610061016x5ddce965u30d9a821f632d450@mail.gmail.com> p4raw-id: //depot/perl@28957
* Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re ↵Yves Orton2006-09-291-2/+2
| | | | | | | pluggable under threads) Message-ID: <9b18b3110609290341p11767110sec20a6fee2038a00@mail.gmail.com> p4raw-id: //depot/perl@28900
* prototype() wasn't working to get the prototype of optional coreRafael Garcia-Suarez2006-09-201-2/+2
| | | | | | | keywords (like say, err, given.) Fix this by adding a parameter to Perl_keyword to always get the keyword number, even if the feature isn't in effect. p4raw-id: //depot/perl@28874
* Disable study() for utf-8 stringsYves Orton2006-09-121-1/+1
| | | | | | Subject: Re: Re: [Fwd: Smoke [5.9.4] 28821 FAIL(XF) OSF1 V5.1 (EV6/4 cpu)] Message-ID: <9b18b3110609120808jceb84ces55ef29c2f2b73ebc@mail.gmail.com> p4raw-id: //depot/perl@28827
* ; was RE: [PATCH perlio.c pp.c regcomp.c] silence format and comparison warningsRobin Barker2006-09-051-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120A21@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@28786
* Change the generation of {} and [] from 3 ops to 1, and avoid 1 mortalNicholas Clark2006-08-311-4/+6
| | | | | | | on the tempstack, by augmenting pp_anonlist and pp_anonhash to accept OPf_SPECIAL to mean "return a reference to the aggregate" on the stack rather than the aggregate itself. p4raw-id: //depot/perl@28771
* Re: [perl #39882] inconsistent list slice behaviourRick Delaney2006-08-041-1/+1
| | | | | Message-ID: <20060804014807.GW21381@localhost.localdomain> p4raw-id: //depot/perl@28657
* Clear up most of the VC6 compiler warnings in the following smoke:Steve Hay2006-07-271-1/+1
| | | | | http://www.nntp.perl.org/group/perl.daily-build.reports/39733 p4raw-id: //depot/perl@28626
* Proper use of enumsAndy Lester2006-06-121-0/+1
| | | | | Message-ID: <20060612034434.GA21588@petdance.com> p4raw-id: //depot/perl@28381
* Revert change #20462 (except the regression test),SADAHIRO Tomoyuki2006-06-071-2/+0
| | | | | | | | | | since the bug has been really fixed by change #22074, as explained in : Subject: Re: [perl #39247] defined-ness of substrings disappear over repeated calls Message-Id: <20060601081304.7A39.BQW10602@nifty.com> p4raw-link: @22074 on //depot/perl: 028c96ebc8db5bddc2fee91a32f93bb4050b53cf p4raw-link: @20462 on //depot/perl: 6214ab63745c28e26e752f88d98bf89671cabc77 p4raw-id: //depot/perl@28370
* strange encodings upsets pp_chrSADAHIRO Tomoyuki2006-05-151-6/+7
| | | | | Message-Id: <20060514195532.5422.BQW10602@nifty.com> p4raw-id: //depot/perl@28193
* Implement state array and state hashes. Initialisation assignmentRafael Garcia-Suarez2006-05-051-2/+4
| | | | | to state arrays or hashes is not implemented yet. p4raw-id: //depot/perl@28106
* pp.c casting, take twoAndy Lester2006-05-021-10/+10
| | | | | | | | Message-ID: <20060501004826.GA4744@petdance.com> (with adjustements, some of the code has already been touched since) p4raw-id: //depot/perl@28050
* signed vs unsigned char * nitJarkko Hietaniemi2006-05-011-6/+6
| | | | | Message-Id: <200604291759.k3THxTji032009@kosh.hut.fi> p4raw-id: //depot/perl@28042
* Dave noticed that change 28022 was wrong - should read is_indexNicholas Clark2006-04-301-1/+1
| | | | | rather than just index. p4raw-id: //depot/perl@28027
* index and rindex couldn't correctly handle surprises from UTF-8Nicholas Clark2006-04-301-21/+44
| | | | | overloading. p4raw-id: //depot/perl@28022
* lcfirst/ucfist plus an 8 bit locale could mangle UTF-8 valuesNicholas Clark2006-04-291-33/+70
| | | | | returned by overloaded stringification. p4raw-id: //depot/perl@28013
* uc plus an 8 bit locale could get confused by UTF-8 values returned byNicholas Clark2006-04-291-64/+80
| | | | | overloaded stringification. p4raw-id: //depot/perl@28012
* lc plus an 8 bit locale could mangle UTF-8 values returned byNicholas Clark2006-04-291-83/+91
| | | | | overloaded stringification. p4raw-id: //depot/perl@28011
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-1/+1
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
* two [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*Jarkko Hietaniemi2006-04-281-1/+1
| | | | | Message-ID: <4452594B.4040609@gmail.com> p4raw-id: //depot/perl@28007
* Fix bug 34297 (length of overloaded UTF-8 strings)Nicholas Clark2006-04-281-1/+16
| | | p4raw-id: //depot/perl@28006
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-2/+2
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* use NOOP macroAndy Lester2006-04-251-2/+2
| | | | | Message-ID: <20060424184451.GA1479@petdance.com> p4raw-id: //depot/perl@27958
* A couple of casts to PADOFFSET.Marcus Holland-Moritz2006-04-241-1/+1
| | | | | | | 2nd patch from : Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2 Message-ID: <20060423044704.6a383ee8@r2d2> p4raw-id: //depot/perl@27945
* Re: [PATCH] update to pp_complement() via CoveritySADAHIRO Tomoyuki2006-04-171-9/+11
| | | | | | | | | | | Message-Id: <20060416184044.4ADB.BQW10602@nifty.com> Date: Sun, 16 Apr 2006 18:45:37 +0900 Subject: Re: [PATCH] update to pp_complement() via Coverity From: SADAHIRO Tomoyuki <bqw10602@nifty.com> Message-Id: <20060417230614.20A5.BQW10602@nifty.com> Date: Mon, 17 Apr 2006 23:06:21 +0900 p4raw-id: //depot/perl@27871
* Provide a new flag for sv_usepvn_flags, SV_HAS_TRAILING_NUL, whichNicholas Clark2006-04-161-4/+3
| | | | | | | signals that the buffer passed in is already well-formed for use as SvPVX (i.e. it is followed by a trailing NUL), and hence the realloc() to add a NUL can be skipped. p4raw-id: //depot/perl@27841
* update to pp_complement() via CoverityAndy Lester2006-04-161-10/+15
| | | | | Message-ID: <20060416051423.GA17063@petdance.com> p4raw-id: //depot/perl@27836
* Quiet a coverity problemAndy Lester2006-04-111-5/+3
| | | | | Message-ID: <20060411045150.GA1422@petdance.com> p4raw-id: //depot/perl@27763
* revisited: pow.t test failures on AIX 5.1 perl588 with -DuselongdoubleJohn L. Allen2006-04-031-0/+40
| | | | | | From: "John L. Allen" <allen@grumman.com> Message-ID: <Pine.GSO.4.53.0603301710140.24672@gateway.northropgrumman.com> p4raw-id: //depot/perl@27698
* Abstract all the accesses to cop_arybase (apart from ByteLoader)Nicholas Clark2006-04-021-6/+6
| | | p4raw-id: //depot/perl@27671
* Random accumulated patchesAndy Lester2006-03-311-1/+1
| | | | | Message-ID: <20060331054228.GA18940@petdance.com> p4raw-id: //depot/perl@27641
* Localising hash slices with UTF-8 encoded keys was also buggy.Nicholas Clark2006-03-301-1/+2
| | | | | (See also change 27637) p4raw-id: //depot/perl@27638