summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Revise empty string tests so that we avoid potentially expensive string repdgp2011-05-091-61/+11
|\ | | | | generations, especially for dicts.
| * Revise empty string tests so that we avoid potentially expensive string repdgp2011-05-091-61/+11
| |\ | | | | | | generations, especially for dicts.
| | * Remove the old implementation.dgp_list_simplifydgp2011-05-091-75/+0
| | |
| | * A different technique to more precisely identify the optimization case.dgp2011-05-091-14/+35
| | |
| | * Disable all the special case code in place to prevent allocation of a Listdgp2011-05-051-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.
* | | Convert TclGetLoadedPackages to use Tcl_Obj API for result generation.dkf2011-05-071-38/+40
| | |
* | | fix USE_TCLALLOC so that it can be enabled without editing the Makefilemig2011-05-071-0/+7
|\ \ \ | |/ /
| * | fix USE_TCLALLOC so that it can be enabled without editing the Makefilemig2011-05-071-0/+7
| |\ \ | | |/ | |/|
| | * fix USE_TCLALLOC so that it can be enabled without editing the Makefilemig2011-05-071-0/+7
| | |
* | | Stop generating string rep of dict when converting to list.dgp2011-05-051-9/+42
|\ \ \ | |/ / | | | Tolerate NULL interps more completely.
| * | Tolerate NULL interps more completely.dgp2011-05-051-4/+8
| | |
| * | Stop generating string rep of dict when converting to list.dgp2011-05-051-5/+34
| | |
* | | merge 8.5dgp2011-05-033-206/+106
|\ \ \ | |/ /
| * | Tighten Tcl_SplitList().dgp2011-05-031-2/+1
| | |
| * | Tighten SetListFromAny().dgp2011-05-031-73/+40
| | |
| * | Tighten SetDictFromAny().dgp2011-05-032-122/+65
| | |
* | | Rewrite of parts of the switch compiler to better use the powers ofdgp2011-05-021-104/+45
|\ \ \ | |/ / | | | TclFindElement() and do less parsing on its own.
| * | Drop old code.dgp_switch_compiledgp2011-05-021-155/+2
| | |
| * | Tests for expanded literals quoting detection.dgp2011-05-021-3/+5
| |\ \
| * \ \ Revised TclFindElement() interface.dgp2011-05-026-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.
| * \ \ \ Replace TclCountSpaceRuns() with TclMaxListLength() which is the function wedgp2011-05-024-37/+41
| |\ \ \ \ | | | | | | | | | | | | actually want.
| * | | | | Tighten up the patch.dgp2011-05-021-13/+16
| | | | | |
| * | | | | Rewrite of parts of the [switch] compiler to better use the powers ofdgp2011-04-281-3/+104
| | | | | | | | | | | | | | | | | | TclFindElement() and do less parsing on its own. Needs review and testing.
* | | | | | Revised TclFindElement() interface.dgp2011-05-025-44/+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. Tests for expanded literals quoting detection.
| * | | | | 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.
| * | | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function wedgp2011-05-023-24/+39
| |/ / | | | | | | actually want.
* | | More isspace() callers.dgp2011-04-282-6/+6
|\ \ \ | |/ /
| * | 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.
| * | 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
| | |
* | | Improved reaction to out of memory.dgp2011-04-281-1/+7
| | |
* | | TclFreeIntRep() correction & cleanup.dgp2011-04-279-13/+4
|\ \ \
| * | | TclFreeIntRep() cleanup.dgp2011-04-278-10/+0
|/ / /
| | |
| \ \
*-. \ \ FreeListInternalRep() cleanup.dgp2011-04-271-7/+5
|\ \ \ \ | | |/ /
| | * | 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-273-39/+43
|\ \ \ | |/ / | | | fix a few more gcc warnings
| * | 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 on AMD64jan2011-04-261-1/+1
| |\ \ | | |/
| | * struct _stat64 -> struct __stat64 for AMD64jan2011-04-261-1/+1
| | |
| * | Revise last fix.dgp2011-04-251-4/+4
| | |
* | | TclFreeIntRep() related cleanup.dgp2011-04-253-9/+3
| | |
* | | Revise last fix.dgp2011-04-251-4/+4
| | |
* | | Fix compilation warning in TclListObj - printf format mismatchvenkat2011-04-241-4/+4
|\ \ \ | |/ /
| * | Fix compilation warning in TclListObj - printf format mismatchvenkat2011-04-241-4/+4
| | |