Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce amount of unreachable code. Refactor Win socket and load code to be less | dkf | 2012-04-05 | 1 | -11/+0 |
| | | | baroque in its internals. | ||||
* | Refactor TclScanElement() part of list parsing to take advantage of tables | dgp | 2012-03-07 | 1 | -15/+18 |
| | | | | | constructed for the task of script parsing. Ought to speed generation of string representation of lists, though the effect is likely only noticeable on long lists made up primarily of simple elements (not needing quoting). | ||||
* | 3390638 Workaround broken solaris studio cc optimizer. | dgp | 2011-09-13 | 1 | -1/+2 |
|\ | | | | | Thanks to Wolfgang S. Kechel. | ||||
| * | 3390638 Workaround broken solaris studio cc optimizer. | dgp | 2011-09-13 | 1 | -1/+2 |
| |\ | | | | | | | Thanks to Wolfgang S. Kechel. | ||||
| | * | 3390638 Workaround broken solaris studio cc optimizer. | dgp | 2011-09-13 | 1 | -1/+2 |
| | | | | | | | | | Thanks to Wolfgang S. Kechel. | ||||
* | | | 3371644 Repair failure to properly handle (length == -1) in TclConvertElement(). | dgp | 2011-07-19 | 1 | -3/+1 |
|\ \ \ | |/ / | |||||
| * | | 3371644 Repair failure to properly handle (length == -1) in TclConvertElement(). | dgp | 2011-07-19 | 1 | -1/+1 |
| | | | |||||
* | | | Fix [bug 3371644] -- crash on Tcl_ConvertElement with leading pound. | ferrieux | 2011-07-19 | 1 | -1/+3 |
| | | | |||||
* | | | Revised fix for bug 3309871 | dgp | 2011-06-01 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Revised fix for bug 3309871 | dgp | 2011-06-01 | 1 | -2/+2 |
| | | | |||||
* | | | fix for [Bug 3309871]: Valgrind finds: invalid read in TclMaxListLength() | jan.nijtmans | 2011-06-01 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | fix for [Bug 3309871]: Valgrind finds: invalid read in TclMaxListLength() | jan.nijtmans | 2011-06-01 | 1 | -2/+2 |
| | | | |||||
* | | | Rewind from a refactoring that veered into the weeds.bug_3293874 | dgp | 2011-05-31 | 1 | -19/+4 |
|\ \ \ | |||||
* | | | | First draft of bug fix. | dgp | 2011-05-11 | 1 | -2/+2 |
|/ / / | |||||
* | | | New internal routines TclScanElement() and TclConvertElement(). | dgp | 2011-05-10 | 1 | -227/+722 |
|\ \ \ | |/ / | | | | 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 | -321/+744 |
| | | | |||||
| * | | merge trunk + partial improvements to comments | dgp | 2011-03-07 | 1 | -40/+76 |
| | | | |||||
| * | | 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 | 1 | -183/+314 |
| | | | | | | | | | | | | 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. | ||||
* | | | merge 8.5 | dgp | 2011-05-03 | 1 | -3/+2 |
|\ \ \ | |||||
| * | | | Tighten Tcl_SplitList(). | dgp | 2011-05-03 | 1 | -2/+1 |
| | | | | |||||
| * | | | Tighten SetDictFromAny(). | dgp | 2011-05-03 | 1 | -1/+1 |
| | | | | |||||
* | | | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -10/+30 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -10/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -9/+30 |
|\ \ \ \ | |/ / / | | | | | actually want. | ||||
| * | | | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we | dgp | 2011-05-02 | 1 | -9/+30 |
| | | | | | | | | | | | | actually want. | ||||
* | | | | More isspace() callers. | dgp | 2011-04-28 | 1 | -5/+5 |
|\ \ \ \ | |/ / / | |||||
| * | | | More isspace() callers. | dgp | 2011-04-28 | 1 | -5/+5 |
| | | | | |||||
* | | | | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() | dgp | 2011-04-28 | 1 | -34/+61 |
|\ \ \ \ | |/ / / | | | | | Use to replace calls to isspace() and their /* INTL */ risk. | ||||
| * | | | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() | dgp | 2011-04-28 | 1 | -34/+61 |
| | | | | | | | | | | | | Use to replace calls to isspace() and their /* INTL */ risk. | ||||
* | | | | Define and use macros that test whether a Tcl list value is canonical. | dgp | 2011-04-18 | 1 | -11/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | Define and use macros that test whether a Tcl list value is canonical. | dgp | 2011-04-18 | 1 | -11/+6 |
| | | | | |||||
* | | | | More Tcl_Concat* and TclTrim* improvements. | dgp | 2011-04-14 | 1 | -46/+78 |
|\ \ \ \ | |/ / / | |||||
| * | | | More Tcl_Concat* and TclTrim* improvements. | dgp | 2011-04-14 | 1 | -47/+79 |
| | | | | |||||
* | | | | [Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*]. | dgp | 2011-04-13 | 1 | -77/+167 |
|\ \ \ \ | |/ / / | |||||
| * | | | [Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*]. | dgp | 2011-04-13 | 1 | -72/+167 |
| | | | | |||||
* | | | | [3285375]: Make the crash less mysterious through the judicious use of a panic. | dkf | 2011-04-13 | 1 | -0/+5 |
| | | | | |||||
* | | | | More generation of error codes ([format], [after], [trace], RE optimizer). | dkf | 2011-04-04 | 1 | -2/+9 |
| | | | | |||||
* | | | | More generation of errorCode information, notably when lists are mis-parsed. | dkf | 2011-03-29 | 1 | -46/+55 |
| | | | | |||||
* | | | | Reduce the number of casts used to manage Tcl_Obj internal representations. | dkf | 2011-03-26 | 1 | -1/+1 |
| | | | | |||||
* | | | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -29/+24 |
| | | | | | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | ||||
* | | | | MINOR: Formatting fixes, mainly to comments, so code better fits the style in | dkf | 2011-03-10 | 1 | -0/+1 |
| | | | | | | | | | | | | the Engineering Manual. | ||||
* | | | | * generic/tclInt.h: Remove TclMarkList() routine, an experimental | dgp | 2011-03-08 | 1 | -111/+0 |
|\ \ \ \ | |/ / / | | | | | * generic/tclUtil.c: dead-end from the 8.5 alpha days. | ||||
| * | | | * generic/tclInt.h: Remove TclMarkList() routine, an experimental | dgp | 2011-03-08 | 1 | -111/+0 |
| | | | | | | | | | | | | * generic/tclUtil.c: dead-end from the 8.5 alpha days. | ||||
* | | | | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls | dgp | 2011-03-06 | 1 | -15/+16 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclCompCmdsSZ.c: * generic/tclParse.c: * generic/tclUtil.c: | ||||
| * | | | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls | dgp | 2011-03-06 | 1 | -15/+16 |
| |\ \ \ | | | |/ | | |/| | | | | | | | | | * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclParse.c: * generic/tclUtil.c: | ||||
| | * | | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls | dgp | 2011-03-06 | 1 | -14/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c: with TclParseBackslash() where possible. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclUtil.c: | ||||
* | | | | * generic/tclUtil.c (TclFindElement): Guard escape sequence scans | dgp | 2011-03-06 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | | | | | to not overrun the string end. [Bug 3192636] | ||||
| * | | | * generic/tclUtil.c (TclFindElement): Guard escape sequence scans | dgp | 2011-03-06 | 1 | -1/+1 |
| |\ \ \ | | |/ / | | | / | | |/ | |/| | to not overrun the string end. [Bug 3192636] |