Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | merge trunk + partial improvements to comments | dgp | 2011-03-07 | 6 | -50/+86 | |
| | | | | ||||||
| * | | | merge | dgp | 2011-03-06 | 1 | -2/+2 | |
| |\ \ \ | ||||||
| * | | | | Correct flaw in the rewrite handling [list \\\\\}]. | dgp | 2011-03-03 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisions | dgp | 2011-03-03 | 5 | -242/+394 | |
| | | | | | | | | | | | | | | | | | | | | to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug. | |||||
| * | | | | Simplified the logic of the Scan/Convert pair of routines for generating | dgp | 2011-03-03 | 1 | -21/+5 | |
| | | | | | | | | | | | | | | | string reps of lists to stop using the unnecessary flag BRACES_UNMATCHED. | |||||
* | | | | | 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. | |||||
* | | | | | fix USE_TCLALLOC so that it can be enabled without editing the Makefile | mig | 2011-05-07 | 1 | -0/+7 | |
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | ||||||
| * | | | fix USE_TCLALLOC so that it can be enabled without editing the Makefile | mig | 2011-05-07 | 1 | -0/+7 | |
| | | | | ||||||
* | | | | 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 | |
| | | | | ||||||
* | | | | Tighten Tcl_SplitList(). | dgp | 2011-05-03 | 1 | -2/+1 | |
| | | | | ||||||
* | | | | Tighten SetListFromAny(). | dgp | 2011-05-03 | 1 | -73/+40 | |
| | | | | ||||||
* | | | | Tighten SetDictFromAny(). | dgp | 2011-05-03 | 2 | -122/+65 | |
| | | | | ||||||
* | | | | Drop old code.dgp_switch_compile | dgp | 2011-05-02 | 1 | -155/+2 | |
| | | | | ||||||
* | | | | Tests for expanded literals quoting detection. | dgp | 2011-05-02 | 1 | -3/+5 | |
|\ \ \ \ | ||||||
| * | | | | Tests for expanded literals quoting detection. | dgp | 2011-05-02 | 1 | -3/+5 | |
| | | | | | ||||||
* | | | | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 6 | -55/+62 | |
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. New TclFindElement() is also a better fit for the [switch] compiler. | |||||
| * | | | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 5 | -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 we | dgp | 2011-05-02 | 4 | -37/+41 | |
|\ \ \ \ \ | |/ / / / | | | | | | actually want. | |||||
| * | | | | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we | dgp | 2011-05-02 | 3 | -24/+39 | |
| | | | | | | | | | | | | | | | actually want. | |||||
* | | | | | Tighten up the patch. | dgp | 2011-05-02 | 1 | -13/+16 | |
| | | | | | ||||||
* | | | | | Rewrite of parts of the [switch] compiler to better use the powers of | dgp | 2011-04-28 | 1 | -3/+104 | |
|/ / / / | | | | | | | | | TclFindElement() and do less parsing on its own. Needs review and testing. | |||||
* | | | | More isspace() callers. | dgp | 2011-04-28 | 2 | -6/+6 | |
| | | | | ||||||
* | | | | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() | dgp | 2011-04-28 | 6 | -46/+94 | |
| | | | | | | | | | | | | Use to replace calls to isspace() and their /* INTL */ risk. | |||||
* | | | | FreeIndex backport | dgp | 2011-04-27 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | FreeListInternalRep() cleanup. | dgp | 2011-04-27 | 1 | -7/+5 | |
| | | | | ||||||
* | | | | Backport fix for [Bug 2857044]. | dgp | 2011-04-27 | 11 | -4/+13 | |
| | | | | ||||||
* | | | | fix for [Bug 3288345]: use _stat32i64 for CYGWIN too | jan.nijtmans | 2011-04-27 | 1 | -1/+5 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | fix for [Bug 3288345]: use _stat32i64 for CYGWIN too | jan.nijtmans | 2011-04-27 | 1 | -1/+5 | |
| | | | | ||||||
* | | | | struct _stat64 -> struct __stat64 on AMD64 | jan | 2011-04-26 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | struct _stat64 -> struct __stat64 for AMD64 | jan | 2011-04-26 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | 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 | |
| | | | | ||||||
* | | | | [Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to reality | jan | 2011-04-21 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
* | | | | Use macro to set List intreps | dgp | 2011-04-21 | 2 | -21/+11 | |
| | | | | ||||||
* | | | | Limits on list length were too strict. Revised panics to errors where possible. | dgp | 2011-04-21 | 3 | -56/+89 | |
| | | | | ||||||
* | | | | Make sure SetFooFromAny routines react reasonably when passed a NULL interp. | dgp | 2011-04-21 | 7 | -9/+35 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Make sure SetFooFromAny routines react reasonably when passed a NULL interp. | dgp | 2011-04-21 | 4 | -2/+15 | |
| | | | | ||||||
| * | | | fix warnings in tclTest.c | jan.nijtmans | 2011-04-21 | 1 | -11/+11 | |
| | | | | ||||||
* | | | | fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW. | jan.nijtmans | 2011-04-21 | 1 | -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 warning | dgp | 2011-04-20 | 1 | -2/+1 | |
| | | | | ||||||
| * | | | fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW. Follow-up: get it ↵ | jan | 2011-04-20 | 3 | -5/+7 | |
| | | | | | | | | | | | | | | | | right for cygwin and WIN64 as well. | |||||
* | | | | (TclFileAttrsCmd): Added commands to reset the typePtr of the Tcl_Obj* whose ↵ | andreask | 2011-04-20 | 1 | -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]. | dgp | 2011-04-19 | 1 | -8/+3 | |
| | | | | ||||||
* | | | | Use ListRepPtr(.) and other cleanup. | dgp | 2011-04-18 | 3 | -34/+21 | |
| | | | | ||||||
* | | | | Define and use macros that test whether a Tcl list value is canonical. | dgp | 2011-04-18 | 3 | -60/+48 | |
| | | | | ||||||
* | | | | fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW | jan.nijtmans | 2011-04-18 | 1 | -10/+6 | |
|\ \ \ \ | |/ / / |