summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkbug_5d170b5ca5jan.nijtmans2015-09-242-15/+53
|\
| * [e0a7b3e5f8] Add missing UpdateInterest call in DoRead().dgp2015-09-231-3/+10
| |\
| | * merge 8.5bug_e0a7b3e5f8dgp2015-09-237-32/+74
| | |\
| | * | Add the critical missing UpdateInterest() call at the exit of DoRead().dgp2015-08-101-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | (Compare with same approach in DoReadChars()). This involves removing some other calls that are now replaced by the new one. Also marked several UpdateInterest() calls throughout tclIO.c with comments raising the suspicion that they serve no function.
| * | | [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().
| | * | Protect CopyState buffer from conflicting uses when CopyData() is calleddgp2015-09-232-8/+7
| | | | | | | | | | | | recursively. Also, have ReflectWatch() always give driver a chance to act.
| | * | CopyData() now tolerates recursion enough so that io-53.18 does not segfault.dgp2015-09-231-21/+9
| | | |
| | * | WIPdgp2015-09-231-3/+47
| | | |
* | | | 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
| |\ \ \ | | |/ /
| | * | [a3c3508599] Fix typo that reversed test sense in prior fix for [3610026].dgp2015-09-211-1/+1
| | | |
| | * | [d7ea9f9853] Contributed patch from tgl with Postgres.dgp2015-09-211-7/+9
| | | |
* | | | 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
| |\ \ \ | | |/ /
| | * | Eliminate some (harmless) compiler warnings. No functional change.jan.nijtmans2015-08-211-12/+14
| | | |
| * | | Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static ↵jan.nijtmans2015-08-191-0/+3
| |\ \ \ | | |/ / | | | | | | | | UCRT build on Windows with VC 14.0
| | * | 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.
| * | [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.
| * Backport the fixes to handling of continue in for-step clauses.dkf2015-08-031-15/+23
| |
* | 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?)
* | remove unnecessary checks found by coverityMiguel Sofer2015-07-301-6/+2
| |
* | remove self-assignment - found by CoverityMiguel Sofer2015-07-301-1/+1
| |
* | add comment to flag Tcl_Panic as no-return for Coverity Scan static analyzerMiguel Sofer2015-07-301-1/+8
| |
* | [3e7eca8c8c] Prevent overflow in size values passed to allocators.dgp2015-07-291-3/+19
|\ \ | |/
| * [3e7eca8c8c] Prevent overflow in size values passed to allocators.dgp2015-07-291-3/+19
| |
* | [3e7eca8c8c] Prevent overflow in the size value passed to ckrealloc().dgp2015-07-291-1/+3
|\ \ | |/
| * [3e7eca8c8c] Prevent overflow in the size value passed to ckrealloc().dgp2015-07-291-1/+3
| |
* | Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-232-0/+40
|\ \ | |/ | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| * Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-232-0/+40
| |\ | | | | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.