summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix -Wshadow warnings, when compiling with a C++ compilerjan.nijtmans2020-10-021-16/+16
|
* TIP 569 - remove lint commentsdgp2020-03-171-1/+1
|
* Merge 8.6jan.nijtmans2019-10-221-0/+1
|\
| * Merge libtommath 1.2.0-rc3jan.nijtmans2019-10-211-0/+1
| |
* | Merge 8.6jan.nijtmans2019-08-281-22/+4
|\ \ | |/
| * Add /* FALLTHRU */ markers in various places (silencing possible GCC ↵jan.nijtmans2019-08-281-22/+4
| | | | | | | | warnings). Eliminate some more "register" keywords. Eliminate (or silence) some unused function parameters.
* | Remove "register" keyword in various places. Also add some type-casts to ↵jan.nijtmans2019-08-141-1/+1
| | | | | | | | help C++ compatibility.
* | re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 ↵jan.nijtmans2019-03-101-1/+1
| | | | | | | | new utility functions. This allows to re-use code in more places: cleaner implementation more future-proof.
* | Code cleanup: less (size_t) castsjan.nijtmans2019-03-081-9/+8
| |
* | Eliminate some macros that are no longer used/needed.jan.nijtmans2016-11-251-6/+6
|/
* [1080042][8f245009b0] Big bundle of regexp engine fixes and improvements ↵dgp2015-10-211-13/+28
|\ | | | | | | contributed from Tom Lane of the postgres project.
| * 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
* | Align comment. Remove some end-of-line spacing. No functional changes.jan.nijtmans2015-09-281-1/+1
|\ \ | |/
* | [187d7f499b] Sync the regexp engine to the Postgres version.dgp2015-09-211-29/+46
| |
* | [1115587][0e0e150e49] Major fix for regexp handling of quantified backrefs.dgp2015-09-211-42/+55
| | | | | | Contributed by Tom Lane from the Postgres project.
* | [d7ea9f985][a3c3508599] Internal regexp fixes that cleanup and streamline.dgp2015-09-211-7/+9
|\ \ | |/
| * [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.
| * [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
| * 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
| |
* | 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 patch from Tom Lane <tgl@users.sf.net>.dgp2013-03-051-1/+6
| | | | | | Rewrites parts of the regexp engine to avoid infinite loops.
* | [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.
| | * [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
* | | TIP 388 implementationjan.nijtmans2011-08-121-1/+1
| | |
* | | [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-181-1/+1
| | | | | | | | | | | | Added testcases for Unicode 6.0
* | | Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-191-6/+6
| | | | | | | | | | | | more readable.
* | | Add focussed stack limiting to the RE compiler. Tuning might not yet be rightdkf2008-07-011-1/+1
|/ / | | | | | | but it passes everything normally checked in the test suite. [Bug 1905562]
* | 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.