summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Tests for expanded literals quoting detection.dgp2011-05-021-3/+5
|
* Revised TclFindElement() interface.dgp2011-05-025-41/+57
| | | | | | | | | | | | | | | | The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly.
* Replace TclCountSpaceRuns() with TclMaxListLength() which is the function wedgp2011-05-023-24/+39
| | | actually want.
* More isspace() callers.dgp2011-04-282-6/+6
|
* New utility routines: TclIsSpaceProc() and TclCountSpaceRuns()dgp2011-04-286-46/+94
| | | Use to replace calls to isspace() and their /* INTL */ risk.
* FreeIndex backportdgp2011-04-271-0/+1
|
* FreeListInternalRep() cleanup.dgp2011-04-271-7/+5
|
* Backport fix for [Bug 2857044].dgp2011-04-2711-4/+13
|
* fix for [Bug 3288345]: use _stat32i64 for CYGWIN toojan.nijtmans2011-04-271-1/+5
|\
| * fix for [Bug 3288345]: use _stat32i64 for CYGWIN toojan.nijtmans2011-04-271-1/+5
| |
* | struct _stat64 -> struct __stat64 on AMD64jan2011-04-261-1/+1
|\ \ | |/
| * struct _stat64 -> struct __stat64 for AMD64jan2011-04-261-1/+1
| |
* | Revise last fix.dgp2011-04-251-4/+4
| |
* | Fix compilation warning in TclListObj - printf format mismatchvenkat2011-04-241-4/+4
| |
* | [Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to realityjan2011-04-211-1/+1
|\ \ | |/
* | Use macro to set List intrepsdgp2011-04-212-21/+11
| |
* | Limits on list length were too strict. Revised panics to errors where possible.dgp2011-04-213-56/+89
| |
* | Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-217-9/+35
|\ \ | |/
| * Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-214-2/+15
| |
| * fix warnings in tclTest.cjan.nijtmans2011-04-211-11/+11
| |
* | fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW.jan.nijtmans2011-04-211-2/+4
|\ \ | |/ | | | | | | Make sure that all _WIN32 compilers use exactly the same layout for Tcl_StatBuf - the one used by MSVC6 - in all situations.
| * Silence unused variable warningdgp2011-04-201-2/+1
| |
| * fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW. Follow-up: get it ↵jan2011-04-203-5/+7
| | | | | | | | right for cygwin and WIN64 as well.
* | (TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose ↵andreask2011-04-201-0/+2
| | | | | | | | | | | | | | int-rep was just purged. Required to prevent a dangling IndexRep* to reused, smashing the heap. See also the entries at 2011-04-16 and 2011-03-24 for the history of the problem. Note also bug 2857044. This is the original report and fix of such issues for HEAD.
* | Reduce internals access in the implementation of [<foo>::pkgconfig list].dgp2011-04-191-8/+3
| |
* | Use ListRepPtr(.) and other cleanup.dgp2011-04-183-34/+21
| |
* | Define and use macros that test whether a Tcl list value is canonical.dgp2011-04-183-60/+48
| |
* | fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGWjan.nijtmans2011-04-181-10/+6
|\ \ | |/
| * fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW.jan.nijtmans2011-04-181-12/+7
| |
| * fix for [Bug 2662380], crash caused by appending to a variable with a write ↵mig2011-04-131-1/+2
| | | | | | | | trace that unsets it
| * gcc warning: unused variable "key"jan.nijtmans2011-03-281-2/+1
| |
| * [Bug 3007895]: Tcl_(Find|Create)HashEntryjan2011-03-251-2/+30
| | | | | | | | | | | | | | stub entries can never be called. They still cannot be called (no change in functionality), but at least they now do exactly the same as the Tcl_(Find|Create)HashEntry macro's, so the confusion addressed in this Bug report is gone. Merged --cherrypick from Tcl8.5 (2010-12-31,e75735ef76)
* | Added code to try to tame the [file attributes] guts, while trying to simplifydkf2011-04-161-9/+12
| | | | | | | | things enough that I can puzzle out AK's TclVFS problems. I suspect this is not a real fix though; just an attempt to make the problem tractable.
* | More Tcl_Concat* and TclTrim* improvements.dgp2011-04-141-47/+79
| |
* | [Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*].dgp2011-04-133-185/+185
| |
* | fix for [Bug 2662380], crash caused by appending to a variable with a write ↵mig2011-04-131-3/+4
| | | | | | | | trace that unsets it
* | Repair corruption in [string reverse] when string rep invalidation faileddgp2011-04-121-0/+1
| | | | | | to also reset the bytes allocated for string rep to zero [Bug 3285472].
* | * generic/tclExecute.c (TclCompEvalObj): earlier return if Tip280 gymnastics ↵mig2011-04-071-39/+37
| | | | | | | | not needed
* | Replaced another couple of 'double' declarations with 'volatile Kevin B Kenny2011-04-021-2/+4
| | | | | | | | double' to work around misrounding issues in mingw-gcc 3.4.5.
* | fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *"jan.nijtmans2011-03-256-112/+116
|\ \ | |/ | | | | Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directly Some more void -> VOID transitions
| * Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directlyjan.nijtmans2011-03-254-19/+22
| | | | | | Some void -> VOID transitions
* | Ensure that any reference to temporary index tables is squelched immediatelydkf2011-03-241-0/+6
|\ \ | |/ | | rather than hanging around to trip us up in the future.
| * Ensure that any reference to temporary index tables is squelched immediatelydkf2011-03-241-0/+10
| | | | | | rather than hanging around to trip us up in the future.
* | [Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG buildsjan.nijtmans2011-03-161-4/+4
|\ \ | |/
| * [Bug #3197864] pointer truncation on Win64 TCL_MEM_DEBUG buildsjan.nijtmans2011-03-161-4/+4
| |
* | whitespace tidydgp2011-03-161-1/+1
| |
* | Rewrites to eliminate isspace() calls.dgp2011-03-163-28/+22
| |
* | * generic/tclNamesp.c: Tighten the detector of nested [namespace code] bug_3202171dgp2011-03-091-13/+9
| | | | | | | | | | * tests/namespace.test: quoting that the quoted scriptsfunction properly even in a namespace that contains a custom "namespace" command. [Bug 3202171]
* | Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-082-0/+10
|\ \ | |/
| * Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-082-0/+8
| |