Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | [824752f10e] More robust, portable check for integer overflow. | dgp | 2016-11-04 | 1 | -5/+2 | |
|\ | ||||||
| * | [824752f10e] More robust, portable check for integer overflow. | dgp | 2016-11-04 | 1 | -5/+2 | |
| | | ||||||
* | | merge core-8-5-branch ([824752f10e] Avoid calling Tcl_SetObjResult if interp ↵ | gahr | 2016-11-04 | 1 | -2/+5 | |
|\ \ | |/ | | | | | is NULL) | |||||
| * | [824752f10e] Avoid calling Tcl_SetObjResult if interp is NULL | gahr | 2016-11-04 | 1 | -2/+5 | |
| | | ||||||
* | | [32c5740a4d] Have Tcl_ListObjReplace() try to use realloc() for growing when | dgp | 2015-11-30 | 1 | -3/+30 | |
| | | | | | | it can do so. | |||||
* | | Tcl_ListObjReplace() early out when > LIST_MAX attempted. | dgp | 2015-11-20 | 1 | -1/+6 | |
|\ \ | |/ | ||||||
| * | [3293874] Simplified fix (not backport). Also detect >LIST_MAX early. | dgp | 2015-11-20 | 1 | -1/+9 | |
| | | ||||||
| * | Silence compiler warnings. | dgp | 2014-01-21 | 1 | -6/+6 | |
| | | ||||||
* | | Another round of refCount consistancy improvements. | jan.nijtmans | 2015-07-02 | 1 | -2/+2 | |
| | | ||||||
* | | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 | |
|\ \ | |/ | ||||||
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 | |
| | | ||||||
* | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -2/+0 | |
|\ \ | |/ | ||||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -2/+0 | |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | |||||
* | | restore refcounts as they were before the Tcl_ListObjReplace call, in the ↵ | jan.nijtmans | 2012-12-29 | 1 | -0/+8 | |
|\ \ | |/ | | | | | | | error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0 | |||||
| * | restore refcounts as they were before the Tcl_ListObjReplace call, in the ↵ | jan.nijtmans | 2012-12-29 | 1 | -0/+8 | |
| |\ | | | | | | | | | | | | | error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0 | |||||
| | * | For Tcl9, do a real Tcl_DecrRefCountbug_3598580 | jan.nijtmans | 2012-12-29 | 1 | -0/+4 | |
| | | | ||||||
| | * | restore old refcounts in TCL_ERROR case. | jan.nijtmans | 2012-12-27 | 1 | -0/+3 | |
| |/ | ||||||
* | | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early | jan.nijtmans | 2012-12-27 | 1 | -4/+5 | |
|\ \ | |/ | ||||||
| * | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early | jan.nijtmans | 2012-12-27 | 1 | -4/+5 | |
| |\ | ||||||
| | * | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early | jan.nijtmans | 2012-12-27 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | Tests!? Where are the tests!?! They are in test listobj-11.1 | |||||
* | | | Small changes to quell gcc warnings and make message generation less ugly. | dkf | 2011-08-16 | 1 | -35/+71 | |
| | | | ||||||
* | | | Rewind from a refactoring that veered into the weeds.bug_3293874 | dgp | 2011-05-31 | 1 | -69/+109 | |
|\ \ \ | ||||||
* | | | | Set the defaults of all growth algorithm parameters based on one master value. | dgp | 2011-05-12 | 1 | -5/+6 | |
| | | | | ||||||
* | | | | Oops! | dgp | 2011-05-11 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | First draft of bug fix. | dgp | 2011-05-11 | 1 | -10/+28 | |
|/ / / | ||||||
* | | | New internal routines TclScanElement() and TclConvertElement(). | dgp | 2011-05-10 | 1 | -35/+32 | |
|\ \ \ | |/ / | | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] | |||||
| * | | Completed patch with mucho comments. Merge 8.5.bug_3173086 | dgp | 2011-05-10 | 1 | -197/+159 | |
| | | | ||||||
| * | | Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisions | dgp | 2011-03-03 | 1 | -34/+33 | |
| | | | | | | | | | | | | to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug. | |||||
* | | | Revise empty string tests so that we avoid potentially expensive string rep | dgp | 2011-05-09 | 1 | -61/+11 | |
|\ \ \ | | | | | | | | | generations, especially for dicts. | |||||
| * | | | Remove the old implementation.dgp_list_simplify | dgp | 2011-05-09 | 1 | -75/+0 | |
| | | | | ||||||
| * | | | A different technique to more precisely identify the optimization case. | dgp | 2011-05-09 | 1 | -14/+35 | |
| | | | | ||||||
| * | | | Disable all the special case code in place to prevent allocation of a List | dgp | 2011-05-05 | 1 | -10/+14 | |
| | | | | | | | | | | | | | | | | | | | | struct for empty lists as much as possible. The value of this avoidance is not clear to me. Hoping it can be demonstrated (or refuted) with both variants side by side in the code history tree. | |||||
* | | | | Stop generating string rep of dict when converting to list. | dgp | 2011-05-05 | 1 | -9/+42 | |
|\ \ \ \ | |/ / / | | | | | Tolerate NULL interps more completely. | |||||
| * | | | Tolerate NULL interps more completely. | dgp | 2011-05-05 | 1 | -4/+8 | |
| | | | | ||||||
| * | | | Stop generating string rep of dict when converting to list. | dgp | 2011-05-05 | 1 | -5/+34 | |
| | | | | ||||||
* | | | | merge 8.5 | dgp | 2011-05-03 | 1 | -76/+39 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Tighten SetListFromAny(). | dgp | 2011-05-03 | 1 | -73/+40 | |
| | | | | ||||||
* | | | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -3/+5 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Tests for expanded literals quoting detection. | |||||
| * | | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 we | dgp | 2011-05-02 | 1 | -13/+7 | |
|\ \ \ \ | |/ / / | | | | | actually want. | |||||
| * | | | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we | dgp | 2011-05-02 | 1 | -13/+7 | |
| | | | | | | | | | | | | actually want. | |||||
* | | | | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() | dgp | 2011-04-28 | 1 | -7/+1 | |
|\ \ \ \ | |/ / / | | | | | Use to replace calls to isspace() and their /* INTL */ risk. | |||||
| * | | | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() | dgp | 2011-04-28 | 1 | -7/+1 | |
| | | | | | | | | | | | | Use to replace calls to isspace() and their /* INTL */ risk. | |||||
* | | | | TclFreeIntRep() cleanup. | dgp | 2011-04-27 | 1 | -1/+0 | |
| | | | | ||||||
| | | | | ||||||
| \ \ \ | ||||||
*-. \ \ \ | FreeListInternalRep() cleanup. | dgp | 2011-04-27 | 1 | -7/+5 | |
|\ \ \ \ \ | | |/ / / | ||||||
| | * | | | FreeListInternalRep() cleanup. | dgp | 2011-04-27 | 1 | -7/+5 | |
| |/ / / | ||||||
| * | | | Backport fix for [Bug 2857044]. | dgp | 2011-04-27 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Revise last fix. | dgp | 2011-04-25 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | Revise last fix. | dgp | 2011-04-25 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | Fix compilation warning in TclListObj - printf format mismatch | venkat | 2011-04-24 | 1 | -4/+4 | |
|\ \ \ \ | |/ / / |