summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* Backout the contributed patch memaccounting from Postgres since it changesdgp2016-02-011-2/+0
| | | the protections incompatibly and causes established tests to crash.
* Adaptation of most of the re-mopup.patch from Tom Lane @ postgress.dgp2015-10-201-6/+6
| | | Still should add the new tests.
* Adaptation of re-memaccounting.patch from Tom Lane @postgres.dgp2015-10-201-0/+2
|
* Adaptation of re-better-pushpull.patch from Tom Lane @postgresdgp2015-10-201-2/+2
|
* Adaptation of re-better-fixempties.patch from Tom Lane @ postgres.dgp2015-10-201-4/+2
|
* Adaptation of re-oNsquared.patch from Tom Lane @ postgres.dgp2015-10-191-1/+9
|
* Adaptation of the patch re-fixconstraintloops.patch fromdgp2015-10-191-0/+7
| | | http://www.postgresql.org/message-id/19394.1444865029@sss.pgh.pa.us
* [d7ea9f9853] Contributed patch from tgl with Postgres.dgp2015-09-211-7/+9
|
* [818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom ↵dkf2015-08-171-0/+3
| | | | Lane) for handling low memory situations. Should not be reachable in Tcl due to ckalloc() panic policy.
* Fix [df08482b042a16007f256bfbaaacfbe0def01074|df08482b04]: Double defined ↵jan.nijtmans2015-01-261-7/+7
| | | | INFINITY in regguts.h
* Use flag argument to combine copy(nonempty)* routines into copy* routines.dgp2013-03-061-5/+3
|
* New routine hasnonemptyout() for minor improvement to new fixempties().dgp2013-03-061-0/+1
|
* Contributed regexp engine patch from Tom Lane. Backports clean from trunk.dgp2013-03-051-1/+6
|
* [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+2
|\ | | | | | | Lane for providing the test-case and the patch.
| * [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+2
| | | | | | | | Lane for providing the test-case and the patch.
| * make some more internal tables constjan.nijtmans2012-04-231-12/+12
| | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
| * [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-78/+9
| |
| * [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-2/+2
| | | | | | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
| * * generic/regc_nfa.c: Fixed infinite loop in the regexp compilerdgp2007-11-151-9/+9
| | | | | | | | | | | | | | * generic/regcomp.c: [Bug 1810038]. Corrected looping logic in * tests/regexp.test: fixempties() to avoid wasting time walking a list of dead states [Bug 1832612]. Convert optst() from expensive no-op to a cheap no-op. Improve newline usage in debug output.
| * * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-021-2/+2
| |
| * * generic/regcomp.c: Backported regexp bug fixes and tests. Thanksdgp2003-11-171-2/+6
| | | | | | | | | | * generic/tclTest.c: to Pavel Goran and Vince Darley. * tests/reg.test: [Bugs 230589, 504785, 505048, 703709, 840258]
* | [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-1/+1
| | | | | | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
* | better line breaks in debug outputdgp2007-11-151-1/+1
| |
* | Eliminate multi-char collating element code completely. Simplifies the codedkf2007-11-141-369/+14
| | | | | | | | | | quite a bit. If people still want the full code, it will remain on the 8.4 branch. [Bug 1831425]
* | Comment/#ifdef out the multi-char collating element support code.dkf2007-11-141-11/+28
| | | | | | | | We never used or supported it. [Bug 1831425]
* | * generic/regcomp.c: Convert optst() from expensive no-op to adgp2007-11-131-0/+10
| | | | | | | | cheap no-op.
* | Minor cleanup of RE compiler code, gradually gradually making it more Tcl-ish.dkf2007-09-101-162/+157
| |
* | Improve const-correctness of RE compilerdkf2007-04-191-24/+24
| |
* | various "const" additions, in line with TIP #27nijtmans2007-02-201-9/+9
| |
* | Arrange for RE engine workspace to be held in TSD. This is safe, lessdkf2007-01-101-3/+9
| | | | | | | | C-stack-hungry than before, and faster than just using heap allocation.
* | changed last commit - ifdef'ing out unused mcce (multi char collationMiguel Sofer2006-09-271-5/+45
| | | | | | | | elements) code.
* | * generic/regc_cvec.c (addmcce):Miguel Sofer2006-09-271-0/+5
| | | | | | | | | | | | | | | | * generic/regcomp.c (compile): the static function addmcce does nothing when called with two NULL pointers; the only call is by compile with two NULL pointers (regcomp.c #includes regc_cvec.c). The whole thing is now ifdef'ed out with the macro REGEXP_ADDMCCE_UNUSED. This also silences coverity's #7.
* | ANSIfy the RE compiler.dkf2005-11-091-1612/+1884
| |
* | ANSIfy; generic/*.c now all done except for test codedkf2005-11-021-133/+133
| |
* | * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-021-2/+2
| |
* | Fixed code that splits RE engine states into "progress" and "no-progress" ↵pvgoran2003-11-151-2/+6
|/ | | | (bugs 505048, 230589, 840258 and 504785).
* * generic/regc_color.c:hobbs1999-10-131-18/+14
| | | | | | | | | | | | | | | | * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regcomp.c: * generic/regcustom.h: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regguts.h: * generic/tclRegexp.c: * generic/tclTest.c: * tests/reg.test: updated to Henry Spencer's new regexp engine (mid-Sept 99). Should greatly reduce stack space reqs.
* removed unreferenced variable from regcomp.credman1999-08-101-1/+0
|
* * generic/regc_nfa.c:stanton1999-08-051-51/+77
| | | | | | | | | * generic/regcomp.c: * generic/rege_dfa.c: * generic/regexec.c: * generic/regguts.h: Applied patches supplied by Henry Spencer to greatly enhance the performance of certain classes of regular expressions. [Bug: 2440, 2447]
* * generic/regcomp.c: lintstanton1999-06-171-1/+1
| | | | | | | | * tests/reg.test: * generic/regex.h: * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to iterate through a string an only find matches that start at the current position within the string.
* * tests/reg.test:stanton1999-06-021-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | * generic/regc_color.c: * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regc_nfa.c: * generic/regcomp.c: * generic/regcustom.h: * generic/rege_dfa.c: * generic/regerror.c: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regfree.c: * generic/regfronts.c: * generic/regguts.h: * generic/tclCmdMZ.c: * generic/tclRegexp.c: * generic/tclRegexp.h: * generic/tclTest.c: Applied Henry Spencer's latest regexp patches that fix an infinite loop bug and add support for testing whether a string could match with additional input. [Bug: 2117]
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+2124