summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | 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 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.
* \ \ \ \ \ \ \ \ \ [a3309d01db] Plug memleak in compiled [unset a($i)].dgp2015-07-181-0/+3
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Add the missing cleanup bits in INST_UNSET_ARRAY.bug_a3309d01dbdgp2015-07-181-0/+3
| | | | | | | | | | |
| * | | | | | | | | | merge trunkdgp2015-07-181-6/+6
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Fix failing testdgp2015-07-181-6/+6
| | | | | | | | | | |
| * | | | | | | | | | merge trunkdgp2015-07-1785-7338/+11068
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | [9bad630c31] Prevent read outside of buffer bounds.dgp2015-07-151-1/+1
|\ \ \ \ \ \ \ \ \ \ \
* \ \ \ \ \ \ \ \ \ \ \ [b1534b438b] Prevent read outside buffer boundaries.dgp2015-07-151-1/+12
|\ \ \ \ \ \ \ \ \ \ \ \
* | | | | | | | | | | | | Increase some counter sizes related to filesystem epoch from int to size_t. ↵jan.nijtmans2015-07-152-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And prevent them ever becoming 0 due to an overflow. (backported with variation from androwish)
| | | | | | | | | | | | * merge 8.5bug_e0a7b3e5f8dgp2015-09-237-32/+74
| | | | | | | | | | | | |\ | | | | | | | | | | | | |/ | | | | | | | | | | | |/|
| | | | | | | | | | | * | 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
| | | | | | | | | | |/ /
| | | | | | | | | | * | [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
| | | | | | | | | |/ /
| | | | | | | | | * | 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
| | | | | | | * | [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.
| | | | | | | | * 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.
| | | | | | | * Backport the fixes to handling of continue in for-step clauses.dkf2015-08-031-15/+23
| | | | | | |/
| | | | | | * [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
| | | | |/
| | | | * 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.
| | | | * merge trunkbug_57945b574a_without_stubjan.nijtmans2015-07-1533-1505/+1399
| | | | |\ | |_|_|_|/ |/| | | |
* | | | | Implement TIP 436: Improve TclOO isa Introspectiondkf2015-07-102-63/+55
|\ \ \ \ \
| * | | | | Say what is meant more clearly, put syntax checks before semantic checks.dkf2015-07-011-42/+43
| | | | | |
| * | | | | Implementation of TIP #436: Improve TclOO isa Introspectiondkf2015-07-011-34/+25
| | | | | |
* | | | | | [a0ece9d6d4] The cmd field of a CmdFrame when non-NULL must point within thedgp2015-07-051-1/+0
| | | | | | | | | | | | | | | | | | string of the corresponding codePtr->source.
* | | | | | Plug leak of two mp_ints.dgp2015-07-021-0/+2
| | | | | |
* | | | | | Revert refcount changes that were not cosmetic.dgp2015-07-025-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing equality testing to inequality testing does more than make code prettier or clearer. It makes it less strict, and thus more tolerant of other bugs elsewhere. Such changes deserve separate consideration at least, not breezy entry in an otherwise "code cleanup" commit.
* | | | | | Revert some refcount changes on I/O structs.dgp2015-07-022-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are refcounts on structs, not Tcl_Obj's. Their scheme doesn't suffer the same difficulties and histories as Tcl_Obj's, and they need not copy every detail, appropriate or not, from Tcl_Obj refcount management. The "significant value" -- as dkf puts it -- for the struct refcounting scheme is 0 not 1.
* | | | | | Another round of refCount consistancy improvements.jan.nijtmans2015-07-0212-86/+83
| | | | | |
* | | | | | remove code that was ifdef'ed out for ages (ENABLE_NS_VARNAME_CACHING), has ↵Miguel Sofer2015-07-021-163/+0
| | | | | | | | | | | | | | | | | | | | | | | | zero hope of being revived and got out of sync anyway
* | | | | | Don't use internalRep.otherValuePtr any more, twoPtrValue.ptr1 is always a ↵jan.nijtmans2015-07-014-23/+24
|/ / / / / | | | | | | | | | | | | | | | | | | | | better idea. A few more consistancies in refcount management.
* | | | | Consistancy in refcount management.jan.nijtmans2015-06-305-11/+11
| | | | |
* | | | | Correct handling of dictionaries in the background error processing code.dkf2015-06-301-10/+10
|\ \ \ \ \
* | | | | | Use twoPtrValue in stead of ptrAndLongRep for implementation of some ↵jan.nijtmans2015-06-306-71/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal Obj types. On most platforms this doesn't make a difference, as (void *) and (long) generially have the same size. The only exception where it makes a difference is win64, as we can now store 64 bits in this field in stead of only 32 bits, exactly what the processor is optimized for.
* | | | | | Tcl_GetStringFromObj(..., NULL) -> Tcl_GetString(...). Use size_t in stead ↵jan.nijtmans2015-06-244-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | of int for more internal variables.
* | | | | | Silence compiler warning.dgp2015-06-241-2/+1
|\ \ \ \ \ \
* \ \ \ \ \ \ Member field which should not have been const, because it is dynamically ↵jan.nijtmans2015-06-234-22/+22
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | allocated. Some end-of-line spacing in header files.
* | | | | | | | If the file system changes when "cwd" changes, force a filesystem refresh on ↵jan.nijtmans2015-06-231-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | path objects. Needed for AndroWish/TclKit (???) in obscure situations, harmless on systems which only have a single native filesystem.
* | | | | | | | Make sure that an input lying precisely 1/2 ULP between two floating point ↵Kevin B Kenny2015-06-201-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | values is rounded to even.
* | | | | | | | Remove lines of code made obsolete by earlier changes.dgp2015-06-191-5/+1
| | | | | | | |
| | | | | | | |
| \ \ \ \ \ \ \
*-. \ \ \ \ \ \ \ [a4cb3f06c4] Fix edge case handling in lreplace. Many more tests.dgp2015-06-181-1/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | fix for a4cb3f06c4fe - bug introduced in 32b61592465aspect2015-06-161-1/+1
| | | | | | | | | |