summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [1080042][8f245009b0] Big bundle of regexp engine fixes and improvements ↵dgp2015-10-215-399/+1584
|\ | | | | | | contributed from Tom Lane of the postgres project.
| * Adaptation of most of the re-mopup.patch from Tom Lane @ postgress.dgp2015-10-202-40/+22
| | | | | | Still should add the new tests.
| * Adaptation of re-memaccounting.patch from Tom Lane @postgres.dgp2015-10-205-79/+27
| |
| * Adaptation of re-better-pushpull.patch from Tom Lane @postgresdgp2015-10-202-40/+119
| |
| * Adaptation of re-better-fixempties.patch from Tom Lane @ postgres.dgp2015-10-202-135/+136
| |
| * Adaptation of re-oNsquared.patch from Tom Lane @ postgres.dgp2015-10-193-99/+720
| |
| * Adaptation of the patch re-fixconstraintloops.patch fromdgp2015-10-192-54/+608
| | | | | | http://www.postgresql.org/message-id/19394.1444865029@sss.pgh.pa.us
* | typo in comment. Eliminate unnecessary end-of-line spacing.jan.nijtmans2015-10-1911-28/+28
| |
* | Decorate Tcl_Exit() and Tcl_SetExitProc()'s argument with TCL_NORETURN as ↵jan.nijtmans2015-10-083-10/+10
| | | | | | | | | | appropriate, as already done with Tcl_Panic() earlier. Fix minor msvc compiler warning in tclWinFile.c
* | Where "interp" is only used for error-reporting, it can be allowed to be ↵jan.nijtmans2015-10-072-15/+33
| | | | | | | | NULL. This should fix [5da26d4760]: Tcl_LoadFile() segfaults if "interp" is NULL.
* | Fix surrogate handling in PrintSourceToObj(), differenciating for ↵jan.nijtmans2015-10-071-2/+13
| | | | | | | | TCL_UTF_MAX = 6 (androwish) and TCL_UTF_MAX = 4 (tip-389-impl). No effect when TCL_UTF_MAX = 3.
* | Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-0410-64/+64
|\ \ | |/
| * Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-0410-142/+142
| |
* | Fix signed<->unsigned compare gcc compiler warning.jan.nijtmans2015-10-011-3/+4
|\ \ | |/
| * Eliminate a few gcc compiler warnings, when using -Wwrite-strings (tested ↵jan.nijtmans2015-10-016-50/+53
| | | | | | | | with the brand-new gcc 5.2.0)
* | Align comment. Remove some end-of-line spacing. No functional changes.jan.nijtmans2015-09-2811-17/+17
|\ \ | |/
| * align comment, no functional changejan.nijtmans2015-09-281-1/+1
| |
* | Backout failed attempt to fix [32ae34e63a].dgp2015-09-252-43/+12
|\ \ | |/
* | Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-242-42/+0
|\ \ | |/ | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| * Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-242-42/+0
| |\ | | | | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| | * merge trunkbug_5d170b5ca5jan.nijtmans2015-09-242-15/+53
| | |\ | |_|/ |/| |
* | | [e0a7b3e5f8] Add missing UpdateInterest call in DoRead().dgp2015-09-231-3/+10
|\ \ \ | |/ /
* | | [32ae34e63a] Prevent segfaults and data corruption when CopyData() is called ↵dgp2015-09-232-12/+43
|\ \ \ | | | | | | | | | | | | | | | | recursively. Mark new test io-53.20 as "knownBug". It demos some unknown flaw in MoveBytes().
| | | * Merge trunkjan.nijtmans2015-09-2316-641/+825
| | | |\ | |_|_|/ |/| | |
* | | | Micro-optimization handling Tcl_Panic(), suggested by D. Richard Hipp.jan.nijtmans2015-09-234-13/+26
|\ \ \ \ | | | | | | | | | | As a side-effect, this is as well a fix for [1446864]: segfaults if Tcl_Panic() returns.
| * | | | Decorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further ↵panic_noreturnjan.nijtmans2015-09-224-13/+22
| | | | | | | | | | | | | | | | | | | | optimizations by the C-compiler.
* | | | | micro-opt of hash lookups found by drhMiguel Sofer2015-09-223-13/+11
|/ / / /
* | | | Eliminate compiler warnings for MSVCjan.nijtmans2015-09-221-27/+27
| | | |
* | | | [187d7f499b] Sync the regexp engine to the Postgres version.dgp2015-09-219-147/+182
| | | |
* | | | [1115587][0e0e150e49] Major fix for regexp handling of quantified backrefs.dgp2015-09-213-464/+600
| | | | | | | | | | | | Contributed by Tom Lane from the Postgres project.
* | | | [d7ea9f985][a3c3508599] Internal regexp fixes that cleanup and streamline.dgp2015-09-212-8/+10
|\ \ \ \
| | | | * Merge trunk. jan.nijtmans2015-09-022-33/+98
| | | | |\ | |_|_|_|/ |/| | | | Gustaf's latest and greatest fix.
* | | | | Various Unicode handling enhancements, when building with TCL_UTF_MAX > 3, ↵jan.nijtmans2015-09-012-33/+98
| | | | | | | | | | | | | | | | | | | | inspired by androwish. No effect if TCL_UTF_MAX=3 (which is the default)
| | | | * Merge trunk. jan.nijtmans2015-08-312-3/+22
| | | | |\ | |_|_|_|/ |/| | | | Add Gustaf's latest fix for unit-tests.
* | | | | Some Unicode encoding fixes, only having effect if TCL_UTF_MAX > 4. ↵jan.nijtmans2015-08-312-3/+22
| | | | | | | | | | | | | | | | | | | | Backported from androwish
| | | | * merge trunkjan.nijtmans2015-08-251-0/+3
| | | | |\ | |_|_|_|/ |/| | | |
* | | | | Eliminate (harmless) compiler warning. No functional change.jan.nijtmans2015-08-211-0/+2
|\ \ \ \ \
* \ \ \ \ \ Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static ↵jan.nijtmans2015-08-191-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | UCRT build on Windows with VC 14.0
| | | | | | * merge trunk. jan.nijtmans2015-08-193-41/+0
| | | | | | |\ | |_|_|_|_|_|/ |/| | | | | | Remove now unused internal functions.
* | | | | | | [7a87a9bc5b] Eliminate invalid write, found by Rolf Ade using Valgrind.dkf2015-08-181-1/+0
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Proposed fix for invalid write, found by valgrind.bug_7a87a9bc5bdkf2015-08-171-1/+0
| | | | | | |
* | | | | | | [818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom ↵dkf2015-08-172-0/+4
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | Lane) for handling low memory situations. Should not be reachable in Tcl due to ckalloc() panic policy.
* | | | | | | remove potential crash detected by Coverity (it is a should-never-happen thing)Miguel Sofer2015-08-051-1/+1
| | | | | | |
* | | | | | | mark function return as unused, to avoid confusing CoverityMiguel Sofer2015-08-051-1/+1
| | | | | | |
* | | | | | | Fix the documentation comment.Coverity_CID_1251203dkf2015-08-031-7/+8
| | | | | | |
* | | | | | | And another problem with continue in for-step clauses, this time a problem ↵dkf2015-08-021-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in how TEBC handled an edge case in the semantics.
* | | | | | | Fix more problems with break and continue in for-step clauses.dkf2015-08-021-10/+11
| | | | | | |
* | | | | | | Fix Coverity CID 1251203: break vs continue in for-step clausedkf2015-08-011-1/+1
| | | | | | |
* | | | | | | explicitly ignore Tcl_PushCallFrame and TclPushStackFrame return value - it ↵Miguel Sofer2015-08-017-43/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | is always TCL_OK. Inconsistency found by coverity (CID 1251197)
* | | | | | | fix typo found by Coverity; no effect on "most" platforms (is there anyone ↵Miguel Sofer2015-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | where it would matter?)