summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* Goodbye xav_arylen. You won't be missed that much.Nicholas Clark2005-05-291-6/+6
| | | | | So now there's a buy 5 get one free offer on PVAV bodies. p4raw-id: //depot/perl@24619
* Store the package name as a shared HEK.Nicholas Clark2005-05-261-1/+2
| | | | | | | | Abolish HvNAME() - as the stored pointer is not a char* you can't set it directly now. Storing a pointer to a HEK tracks the length too, and seems to be faster. p4raw-id: //depot/perl@24584
* Updated lint infrastructureAndy Lester2005-05-261-2/+0
| | | | | Message-ID: <20050525173139.GB1701@petdance.com> p4raw-id: //depot/perl@24580
* Move hv_name, hv_eiter and hv_riter into a new aux structure.Nicholas Clark2005-05-211-1/+1
| | | | | | Provide (more efficient) _get and _set macros. Adjust the core to use them. p4raw-id: //depot/perl@24526
* SvPVX_const - patch #2Steve Peters2005-05-211-4/+4
| | | | | Message-Id: <20050521024210.GA29036@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24523
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-1/+1
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* attributes-two.patch, the next batchAndy Lester2005-05-091-15/+12
| | | | | Message-ID: <20050509154518.GA18273@petdance.com> p4raw-id: //depot/perl@24431
* Perl_croak uses perl's printf, so can pass in SVs direct - no need forNicholas Clark2005-05-081-2/+1
| | | | | SvPV and a %s format. p4raw-id: //depot/perl@24420
* Fix getting prototype of builtins mkdir and setpgrp.Rafael Garcia-Suarez2005-05-031-3/+2
| | | | | | Hardcode special exceptions for exec and system, instead of trying to be clever and failing. p4raw-id: //depot/perl@24380
* IEEE math for the massesSteve Peters2005-05-031-0/+8
| | | | | | | Message-ID: <20050415141054.GA12749@mccoy.peters.homeunix.org> (tests added to t/op/exp.t) p4raw-id: //depot/perl@24371
* Silence a compilation warning on Win32Steve Hay2005-04-281-1/+1
| | | p4raw-id: //depot/perl@24349
* Add a new macro SvPV_free() which undoes OOK and free()s the PVX(),Nicholas Clark2005-04-281-5/+2
| | | | | | becase there's a lot of code around that calls SvOOK_off(), memmov()s the buffer, then promptly free()s it. So avoid the needless memmov(). p4raw-id: //depot/perl@24348
* A couple of warning fixes by GisleRafael Garcia-Suarez2005-04-271-1/+1
| | | p4raw-id: //depot/perl@24339
* Symbian port of PerlJarkko Hietaniemi2005-04-211-8/+8
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Refactoring to Sv*_set() macros - patch #5Steve Peters2005-04-191-4/+5
| | | | | | Message-ID: <20050419000925.GA21640@mccoy.peters.homeunix.org> Date: Mon, 18 Apr 2005 19:09:25 -0500 p4raw-id: //depot/perl@24248
* Refactoring to Sv*_set() macros - patch #4Steve Peters2005-04-181-2/+2
| | | | | | | Message-ID: <20050416160502.GA26957@mccoy.peters.homeunix.org> plus fix to Perl_rvpv_dup assigning to an RV with SvPVX p4raw-id: //depot/perl@24239
* Refactoring to Sv*_set() macros - patch #2Steve Peters2005-04-081-3/+3
| | | | | Message-ID: <20050407185149.GA4418@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24204
* Third consting batchAndy Lester2005-03-241-9/+9
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* Re: Smoke [5.9.2] 23863 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)Jarkko Hietaniemi2005-01-231-6/+14
| | | | | | | Message-Id: <41F3FA0D.4010301@iki.fi> The uc() memory reduction patch had a memory leak... p4raw-id: //depot/perl@23869
* Re: uc($long_utf8_string) exhausts memoryJarkko Hietaniemi2005-01-221-6/+6
| | | | | | | | Message-Id: <41F21DD8.3050500@iki.fi> change #23857 miscalculated the SvGROW size p4raw-link: @23857 on //depot/perl: 89ebb4a3f2a55825eeed13aaf58db5c73d2140ef p4raw-id: //depot/perl@23863
* Re: uc($long_utf8_string) exhausts memoryJarkko Hietaniemi2005-01-221-15/+37
| | | | | | | | Message-Id: <41F1801C.3080201@iki.fi> Make buffer size estimates for utf8 case conversion less maximally pessimistic p4raw-id: //depot/perl@23857
* Correct the editor block to match the perl 5 policy on tabsNicholas Clark2005-01-141-1/+1
| | | p4raw-id: //depot/perl@23803
* replace NEWSV(), SvSetSV() with newSVsv()Nicholas Clark2005-01-131-18/+9
| | | p4raw-id: //depot/perl@23795
* Fix bug 32294 - index()/rindex() ignore UTF8 flagNicholas Clark2005-01-111-5/+70
| | | | | | (for cases of mixed UTF8/bytes) Test code based on bug report by John Gardiner Myers p4raw-id: //depot/perl@23782
* Shorter source code in pp_gelem. (But it compiles to the same size)Nicholas Clark2005-01-091-4/+2
| | | p4raw-id: //depot/perl@23774
* Stage 1 of utf8 support for soft references.Nicholas Clark2005-01-071-19/+12
| | | | | | | | | | 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
* strEQ/strNE of 1 character strings seems better hand inlined,Nicholas Clark2005-01-011-2/+2
| | | | | | because it generates smaller object code (as well as being faster than a true function call) p4raw-id: //depot/perl@23725
* Skip the switch statement entirely if the pointer is null, ratherNicholas Clark2004-12-311-47/+50
| | | | | | than the old pointless switch on '\0'. Also skip re-comparing the first character. Faster, and generates terser object code. p4raw-id: //depot/perl@23722
* [perl #3038] Re: $qr = qr/^a$/m; $x =~ $qr; failsRick Delaney2004-11-041-4/+4
| | | | | Message-ID: <20041101034040.GC1232@biff.bort.ca> p4raw-id: //depot/perl@23471
* [perl #31767] open $1, "file" doesn't raise an exceptionDave Mitchell2004-09-301-0/+2
| | | p4raw-id: //depot/perl@23342
* SvO?OK_off()'s return valueMarcus Holland-Moritz2004-09-081-4/+4
| | | | | | | Message-Id: <20040801124648.7f9b3cee@r2d2> Move (void) casts into SvOOK_off macro. p4raw-id: //depot/perl@23277
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+7
| | | p4raw-id: //depot/perl@23176
* Re: [perl #30688] Empty slice arg with ($;$) prototypeRick Delaney2004-07-211-2/+2
| | | | | Message-ID: <20040720205353.GA970@biff.bort.ca> p4raw-id: //depot/perl@23145
* Numeric comparison operators mustn't compare addresses of referencesNicholas Clark2004-07-141-10/+10
| | | | | that are overloaded. p4raw-id: //depot/perl@23106
* Re: [perl #30568] splice generates undef? [PATCH]LAUN Wolfgang2004-07-131-8/+11
| | | | | Message-ID: <DF27CDCBD2581D4B88431901094E4B4D02B0C7D2@attmsx1.aut.alcatel.at> p4raw-id: //depot/perl@23092
* [perl #30258] utf8 POPSTACK crash on split executionDave Mitchell2004-07-021-6/+4
| | | | | | | | split() does a SWITCHSTACK to directly split to an array, but if it subsequently dies (eg the regex triggers a 'use utf8' which is then denied by Safe), then the switch doesn't get undone. Add a new save type to allow for this. p4raw-id: //depot/perl@23023
* Re: [PATCH] Re: Lack of error for large string on SolarisJarkko Hietaniemi2004-06-081-7/+39
| | | | | Message-ID: <40C4A156.5030205@iki.fi> p4raw-id: //depot/perl@22904
* Make change #22889 work for threaded builds.Marcus Holland-Moritz2004-06-021-1/+1
| | | | | p4raw-link: @22889 on //depot/perl: e1f795dc699c88c2d9eb4a46fe629483760393c2 p4raw-id: //depot/perl@22896
* Make the dUNDERBAR/UNDERBAR macros work as advertised.Rafael Garcia-Suarez2004-06-021-1/+6
| | | | | | While we're at it, use the same trick to make reverse() work correctly with lexical $_. p4raw-id: //depot/perl@22889
* [perl #29346] Double warning for int(undef) and abs(undef)Marcus Holland-Moritz2004-05-061-2/+6
| | | | | Remove the duplicate warnings and update tests. p4raw-id: //depot/perl@22796
* [perl #29127] scalar delete of empty slice returned garbageDave Mitchell2004-05-031-1/+4
| | | p4raw-id: //depot/perl@22775
* [perl #28938] split could leave an array without &PL_sv_undefDave Mitchell2004-05-031-1/+1
| | | | | in the unused elements p4raw-id: //depot/perl@22774
* fix a coredump caused by rv2gv not fully converting a PV to an RVDave Mitchell2004-04-271-0/+6
| | | p4raw-id: //depot/perl@22746
* Include variable names in "Use of uninitialized value" warningsDave Mitchell2004-04-231-2/+2
| | | p4raw-id: //depot/perl@22741
* [perl #24200] string corruption with lvalue subDave Mitchell2004-03-271-2/+13
| | | | | | | Depending on the context, the same substr OP may want to return a PVLV or an LV on subsequent invcations. If TARG is the wrong type, use a mortal instead. p4raw-id: //depot/perl@22599
* Finally, this "Negative repeat count" warning wasn't such a greatAndy Lester2004-03-211-4/+1
| | | | | | | | idea. Disable it. But add tests for this : Subject: Re: [perl #27811] (@x) x -1 is a panic Message-ID: <20040321152704.GA9041@petdance.com> p4raw-id: //depot/perl@22549
* Add a new warning "Negative repeat count"Rafael Garcia-Suarez2004-03-211-0/+5
| | | | | for the cases $x x -1. p4raw-id: //depot/perl@22543
* add code comment for change 22525Dave Mitchell2004-03-181-1/+1
| | | p4raw-id: //depot/perl@22531
* make ~$x give warning is $x isn't initialised.Dave Mitchell2004-03-181-0/+1
| | | | | Also add test for uninitialised warning in & op. p4raw-id: //depot/perl@22525