summaryrefslogtreecommitdiff
path: root/regcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* more -ansi -pedantic cleanlinessJarkko Hietaniemi2006-04-291-2/+2
| | | | | Message-ID: <44532024.9070303@gmail.com> p4raw-id: //depot/perl@28010
* Re: [PATCH] use snprintf/strlcpy/strlcat when usefulJarkko Hietaniemi2006-04-281-0/+4
| | | | | Message-ID: <444E3EFB.8020503@gmail.com> p4raw-id: //depot/perl@27987
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-1/+1
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* use NOOP macroAndy Lester2006-04-251-4/+4
| | | | | Message-ID: <20060424184451.GA1479@petdance.com> p4raw-id: //depot/perl@27958
* "Don't Repeat Yourself" on the "We *really* need to overwrite theseNicholas Clark2006-04-221-21/+8
| | | | | | symbols" section. Minor tweaks to make it possible to use the code unchanged with 5.8.x p4raw-id: //depot/perl@27938
* Why hide functions (and duplicate them) when you can just avoidNicholas Clark2006-04-211-4/+6
| | | | | compiling them in the first place? p4raw-id: //depot/perl@27931
* There's a macro to get ${^RE_DEBUG_FLAGS} when debugging,Rafael Garcia-Suarez2006-04-191-2/+1
| | | | | so use it (and this fixes a valgrind memory access error) p4raw-id: //depot/perl@27899
* Revert 27869 at Jarkko's request.Nicholas Clark2006-04-181-2/+0
| | | p4raw-id: //depot/perl@27894
* Coverity insists that if we deference a pointer without checking, andNicholas Clark2006-04-181-2/+4
| | | | | | | subsequently check that same pointer before deferencing it, something in our code or our logic is bogus. So assert() that it's safe the first time and remove the second check. p4raw-id: //depot/perl@27882
* (tentative) regcomp.c: try convincing Coverity that data ptr in study_chunk ↵Jarkko Hietaniemi2006-04-171-0/+2
| | | | | | | | is non-NULL when needed Message-Id: <20060416092648.812D36CF2D@aprikoosi.hut.fi> Date: Sun, 16 Apr 2006 12:26:48 +0300 (EEST) p4raw-id: //depot/perl@27869
* eliminate PL_reg_reDave Mitchell2006-04-131-16/+16
| | | | | (only another 439 to go ...) p4raw-id: //depot/perl@27783
* regcomp.c (try II): use &PL_sv_undef for listsv as suggested by NickJarkko Hietaniemi2006-04-111-1/+3
| | | | | | Message-Id: <200604112053.k3BKrPgk310001@kosh.hut.fi> Date: Tue, 11 Apr 2006 23:53:25 +0300 (EEST) p4raw-id: //depot/perl@27771
* All S_dumpuntil()'s regnode pointer arguments can be const.Nicholas Clark2006-04-101-8/+8
| | | p4raw-id: //depot/perl@27762
* True consting goodness in regexesAndy Lester2006-04-101-30/+25
| | | | | Message-Id: <20060410071558.GA24756@petdance.com> p4raw-id: //depot/perl@27753
* Move all the regexp state variables into a single structure.Nicholas Clark2006-04-061-41/+1
| | | | | | This allows it to be saved, restored and cloned with a single Copy() (but inevitably still some fixup) p4raw-id: //depot/perl@27732
* Save the regexp engine state as 1 block on the save stack.Nicholas Clark2006-04-051-36/+51
| | | p4raw-id: //depot/perl@27728
* eliminate PL_regprecomp, PL_regprogram, PL_regnpar and PL_regdataDave Mitchell2006-04-051-25/+11
| | | | | (only another 441 global vars to go ...) p4raw-id: //depot/perl@27716
* Re: [perl #38293] chr(65535) should be allowed in regexesSADAHIRO Tomoyuki2006-04-021-4/+4
| | | | | Message-Id: <20060402224657.B942.BQW10602@nifty.com> p4raw-id: //depot/perl@27688
* Random accumulated patchesAndy Lester2006-03-311-13/+11
| | | | | Message-ID: <20060331054228.GA18940@petdance.com> p4raw-id: //depot/perl@27641
* remove unused PL_regcc variableDave Mitchell2006-03-241-1/+0
| | | p4raw-id: //depot/perl@27599
* Properly set/reset the UTF-8 length cache in regcomp.c.Nicholas Clark2006-03-171-4/+10
| | | p4raw-id: //depot/perl@27536
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-3/+4
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* unused context warningsAndy Lester2006-02-241-0/+4
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* Sun Studio lint patchesAndy Lester2006-02-141-4/+6
| | | | | Message-ID: <20060214054617.GA8824@petdance.com> p4raw-id: //depot/perl@27177
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-10/+9
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Avoid calling all the scanning code in gv_fetchpvn_flags when savingNicholas Clark2006-02-091-3/+7
| | | | | $1 etc, as we can perfom a hash lookup on %:: directly. p4raw-id: //depot/perl@27134
* lastparen in the regexp structure is never initialised, and so willNicholas Clark2006-02-081-0/+1
| | | | | | still be uninitialised after a failed match, yet various points in mg.c read it come what may. Should fix bug 38461. p4raw-id: //depot/perl@27133
* It's the Barbie bus patchAndy Lester2006-01-101-49/+24
| | | | | Message-ID: <20060110054243.GA26165@petdance.com> p4raw-id: //depot/perl@26764
* blead: format warningsJarkko Hietaniemi2006-01-081-7/+15
| | | | | Message-ID: <43C01990.6020207@gmail.com> p4raw-id: //depot/perl@26708
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+23
| | | | | 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-14/+14
| | | | | 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-10/+13
| | | | | Message-ID: <20051231050558.GA29093@petdance.com> p4raw-id: //depot/perl@26558
* Ho! Ho! Ho! Santa brings consting!Andy Lester2005-12-221-111/+106
| | | | | Message-ID: <20051222165717.GA2874@petdance.com> p4raw-id: //depot/perl@26450
* gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, ratherNicholas Clark2005-12-201-1/+1
| | | | | than a simple boolean, so passing FALSE or TRUE is bogus. p4raw-id: //depot/perl@26415
* More consting, and putting stuff in embed.fncAndy Lester2005-12-061-2/+3
| | | | | Message-ID: <20051205194613.GB7791@petdance.com> p4raw-id: //depot/perl@26281
* Cleaning up some warnings generated by "gcc -W"Steve Peters2005-11-191-0/+5
| | | p4raw-id: //depot/perl@26175
* s/printf/my_printf/ because we're using the return value.Nicholas Clark2005-11-041-1/+1
| | | | | My mistake spotted by Gisle. p4raw-id: //depot/perl@26006
* Use the return value from sprintf().Nicholas Clark2005-11-041-2/+2
| | | p4raw-id: //depot/perl@26001
* Re: [PATCH] predecrement vs postdecrementJarkko Hietaniemi2005-10-291-1/+1
| | | | | Message-ID: <43633849.6060809@gmail.com> p4raw-id: //depot/perl@25870
* Stas' croak patch and then someAndy Lester2005-10-131-3/+3
| | | | | Message-ID: <20051013214212.GA1122@petdance.com> p4raw-id: //depot/perl@25754
* More embed.fnc goodnessAndy Lester2005-07-291-14/+15
| | | | | Message-ID: <20050728190956.GB607@petdance.com> p4raw-id: //depot/perl@25243
* The continuing plod through embed.fncAndy Lester2005-07-181-2/+3
| | | | | Message-ID: <20050718153738.GB20193@petdance.com> p4raw-id: //depot/perl@25172
* more embed cleanupAndy Lester2005-07-151-2/+2
| | | | | | | Message-ID: <20050715155115.GC29983@petdance.com> (and run regen.pl) p4raw-id: //depot/perl@25156
* make the expensive ckWARN() be called as late as possibleDave Mitchell2005-07-131-7/+7
| | | | | | | | reorganise if (ckWARN(FOO) && should_not_happen_condition) to if (should_not_happen_condition && ckWARN(FOO)) p4raw-id: //depot/perl@25129
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-16/+16
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* Don't check the pointer is non-NULL before calling Safefree() inNicholas Clark2005-07-021-10/+7
| | | | | | | | | little used code, code used only once per run (such as interpreter construction and destruction), and cases where the pointer nearly never is NULL. Safefree does its own non-NULL check, and even that isn't strictly necessary as all conformant free()s accept a NULL pointer. p4raw-id: //depot/perl@25045
* Replace newSVpv(...,0) with newSVpvn where we know the length.Nicholas Clark2005-06-301-1/+1
| | | p4raw-id: //depot/perl@25022
* Removing /*SUPPRESS xxx*/Andy Lester2005-06-161-1/+0
| | | | | Message-ID: <20050616141342.GA22188@petdance.com> p4raw-id: //depot/perl@24871
* More SvPV consting. And other related drive-by refactoring.Nicholas Clark2005-06-101-21/+21
| | | p4raw-id: //depot/perl@24800