summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* RE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32Jan Dubois2006-03-231-0/+35
| | | | | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <060201c64e45$e4ca7020$2217a8c0@candy> Also, back out change #27567. p4raw-link: @27567 on //depot/perl: 9bf76a6a2fc16ab628a46452e34352d3e3d71674 p4raw-id: //depot/perl@27576
* If the scalar has just been upgraded to SVt_RV, there's no way SvPVXNicholas Clark2006-03-201-1/+1
| | | | | can be non-NULL, so no need to check. p4raw-id: //depot/perl@27548
* Re: [perl #38710] localised stash sliceRick Delaney2006-03-201-7/+11
| | | | | | | Message-ID: <20060319005211.GM25733@localhost.localdomain> One can now localize slices. p4raw-id: //depot/perl@27547
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-9/+9
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* Re: [perl #38619] Bug in lc and uc (interaction between UTF-8, substr, and ↵SADAHIRO Tomoyuki2006-02-251-5/+10
| | | | | | | lc/uc) Message-Id: <20060225180934.FCC3.BQW10602@nifty.com> p4raw-id: //depot/perl@27329
* Store GvGP in the SV head union. For all the common lookups [eg GvCV()]Nicholas Clark2006-02-251-1/+3
| | | | | | | | this avoids 1 pointer dereference and the associated risk of a CPU cache miss. Although this patch looks deceptively small, I fear its CBV(*) might be rather high. (* Crack By Volume) p4raw-id: //depot/perl@27323
* Replace direct flags tests & manipulations for SVpad_TYPED andNicholas Clark2006-02-231-1/+2
| | | | | | SVpad_OUR with macros SvPAD_TYPED(), SvPAD_OUR() etc, to abstract away the flags bits acutally used to store this information. p4raw-id: //depot/perl@27294
* Fix typos and a missing bracket.Nicholas Clark2006-02-221-1/+1
| | | p4raw-id: //depot/perl@27274
* Avoid C<study>ing any strings that might change underneath us, suchNicholas Clark2006-02-221-6/+15
| | | | | as tied scalars and scalars with overloaded stringification. p4raw-id: //depot/perl@27273
* Re: [perl #38485] use integer; 0x80000000/-1; # coredumpYitzchak Scott-Thoennes2006-02-171-6/+21
| | | | | Message-ID: <20060213093925.GA3476@efn.org> p4raw-id: //depot/perl@27205
* One shouldn't be able to dereference a GLOB as a SCALAR.Yitzchak Scott-Thoennes2006-02-141-0/+2
| | | | | | | | Subject: Re: [perl #38484] Data::Dumper only warns on unhandled reference types Message-ID: <20060212171839.GA3604@efn.org> plus regression tests. p4raw-id: //depot/perl@27179
* Sun Studio lint patchesAndy Lester2006-02-141-0/+2
| | | | | Message-ID: <20060214054617.GA8824@petdance.com> p4raw-id: //depot/perl@27177
* Die when integer overflow condition is detected in division underSteve Peters2006-02-111-2/+6
| | | | | C<use integer>. Hopefully fixes RT #38485. p4raw-id: //depot/perl@27155
* assert() that we can't reach two unreachable code pathsNicholas Clark2006-02-111-2/+1
| | | | | (in Perl_magic_get and Perl_pp_shift). p4raw-id: //depot/perl@27154
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-1/+1
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Borland's C compiler warns that the & is unnecessary.Nicholas Clark2006-02-081-5/+5
| | | p4raw-id: //depot/perl@27127
* Merging pp_bit_or and pp_bit_xor shrinks the object code by about .7K.Nicholas Clark2006-02-071-31/+13
| | | | | The overloading tests are not free. p4raw-id: //depot/perl@27126
* All the trancendental unary operators can be merged into PP_sinNicholas Clark2006-02-071-50/+33
| | | | | (cos, exp, log, sqrt) p4raw-id: //depot/perl@27124
* Avoid gcc warning about possibly uninitialised variables.Nicholas Clark2006-02-071-3/+2
| | | p4raw-id: //depot/perl@27123
* Create new macros AMG_CALLun_var, AMG_CALLun_var and tryAMAGICun_varNicholas Clark2006-02-071-5/+5
| | | | | which don't do the pre-processor string manipulation internally. p4raw-id: //depot/perl@27122
* pp_pop can be implemented by pp_shift.Nicholas Clark2006-02-071-13/+1
| | | p4raw-id: //depot/perl@27121
* pp_hex can be implemented trivially by pp_oct, making pp_hex a mathom.Nicholas Clark2006-02-071-32/+6
| | | p4raw-id: //depot/perl@27119
* Merge pp_index and pp_rindex - we have another mathom.Nicholas Clark2006-02-071-77/+15
| | | p4raw-id: //depot/perl@27118
* Some refactoring to converge pp_index and pp_rindexNicholas Clark2006-02-071-21/+25
| | | p4raw-id: //depot/perl@27117
* Fix bug 38454 (rindex corrects for $[ on bytes rather than UTF-8)Nicholas Clark2006-02-071-1/+5
| | | p4raw-id: //depot/perl@27116
* Optimise index so that if the big string is ISO-8859-1 but the littleNicholas Clark2006-02-061-19/+42
| | | | | | | string is UTF-8, it tries to downgrade the little string, rather than upgrade the big string. For half-meg big strings this is a fourfold speed gain. p4raw-id: //depot/perl@27113
* Code assumes that *FOO{SCALAR} will always return a scalar reference,Nicholas Clark2006-01-301-1/+1
| | | | | | | so make it so, creating $FOO if necessary. (Effectively this is a policy decision that PERL_DONT_CREATE_GVSV is visible to XS code, but isn't visible to Perl code) p4raw-id: //depot/perl@27002
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-5/+5
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* sprinkle dVARJarkko Hietaniemi2006-01-061-89/+102
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* Introduce the macros newSVpvs(str) and sv_catpvs(sv, str).Gisle Aas2006-01-041-1/+1
| | | | | Gets rid of many hardcoded string lengths. p4raw-id: //depot/perl@26641
* Update copyrights for files modified in 2006Rafael Garcia-Suarez2006-01-021-1/+1
| | | p4raw-id: //depot/perl@26562
* Making 0 pointers to NULLsAndy Lester2006-01-011-2/+2
| | | | | Message-ID: <20051231050558.GA29093@petdance.com> p4raw-id: //depot/perl@26558
* A GVs stash can be NULL, so don't call macros that assume otherwiseNicholas Clark2005-12-291-1/+2
| | | | | without checking. p4raw-id: //depot/perl@26518
* pre-likely cleanupAndy Lester2005-12-271-2/+1
| | | | | | | Message-ID: <20051227203939.GC1781@petdance.com> Includes a small fix to the changes in tryAMAGICbinW_var() in pp.h. p4raw-id: //depot/perl@26505
* Ho! Ho! Ho! Santa brings consting!Andy Lester2005-12-221-20/+22
| | | | | Message-ID: <20051222165717.GA2874@petdance.com> p4raw-id: //depot/perl@26450
* Add an optimisation to allow proxy constant subroutines to be copiedNicholas Clark2005-12-221-3/+15
| | | | | | | as proxy constant subroutines in a new symbol table where possible. (Rather than converting them to full blown constant subroutines and instantiating 2 typeglobs) p4raw-id: //depot/perl@26446
* The lref argument of sv_2cv is actually passed onwards to gv_fetchsv,Nicholas Clark2005-12-211-3/+4
| | | | | so it is a bitmap of flag bits rather than simple TRUE/FALSE. p4raw-id: //depot/perl@26434
* gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, ratherNicholas Clark2005-12-201-6/+6
| | | | | than a simple boolean, so passing FALSE or TRUE is bogus. p4raw-id: //depot/perl@26415
* s/Nullav/NULL/gNicholas Clark2005-12-161-1/+1
| | | p4raw-id: //depot/perl@26380