Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge core-8-6-branch | jan.nijtmans | 2017-08-18 | 1 | -1/+1 |
|\ | |||||
| * | Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3 | jan.nijtmans | 2017-06-08 | 1 | -1/+1 |
| | | |||||
* | | merge core-8-6-branch | jan.nijtmans | 2017-05-29 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵ | jan.nijtmans | 2017-05-29 | 1 | -2/+2 |
| | | | | | | | | functionality, just faster if ASCII only strings are involved. | ||||
* | | Merge core-8-6-branch | jan.nijtmans | 2017-03-07 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Remove "makefile.bc". Not updated for many-many years, most likely it ↵ | jan.nijtmans | 2017-03-07 | 1 | -1/+1 |
| | | | | | | | | doesn't work any more and it doesn't seem to care anyone. Let's see if someone complains ;-) | ||||
* | | ParseTokens failed to fully respect its numBytes argument. | dgp | 2017-02-27 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | ParseTokens failed to fully respect its numBytes argument. | dgp | 2017-02-27 | 1 | -1/+4 |
| |\ | |||||
| | * | ParseTokens failed to fully respect its numBytes argument. | dgp | 2017-02-27 | 1 | -1/+4 |
| | | | |||||
* | | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵ | jan.nijtmans | 2016-07-08 | 1 | -2/+2 |
| | | | | | | | | | | | | in many places where possible. | ||||
* | | | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵ | jan.nijtmans | 2016-06-29 | 1 | -1/+1 |
| | | | | | | | | | | | | which are deprecated. | ||||
* | | | Re-order loop for fewer gotos. | dgp | 2016-06-27 | 1 | -46/+36 |
| | | | |||||
* | | | Stop parsing white space where there cannot be any. | dgp | 2016-06-27 | 1 | -41/+28 |
| | | | |||||
* | | | Streamline comment parsing. | dgp | 2016-06-27 | 1 | -34/+33 |
|/ / | |||||
* | | typo in comment. Eliminate unnecessary end-of-line spacing. | jan.nijtmans | 2015-10-19 | 1 | -2/+2 |
| | | |||||
* | | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
| | | |||||
| * | With no callers left, TclIsLocalScalar() is removed. | dgp | 2014-12-19 | 1 | -50/+0 |
| | | |||||
* | | Eliminate TclIsLocalScalar(). No callers left. | dgp | 2014-12-23 | 1 | -50/+0 |
| | | |||||
* | | [d2ffcca163] Limit parsing results that are documented to accept only ASCII ↵ | dgp | 2014-12-05 | 1 | -17/+46 |
|\ \ | |/ | | | | | chars to actually follow that constraint. This requires not trusting isalnum(.) and isalpha(.) to deliver portable identical results. | ||||
| * | Stop using isalnum(.). Its results are not portable. Replace with our | dgp | 2014-12-04 | 1 | -4/+43 |
| | | | | | | own private routine TclIsBareword() that does exactly what we want. | ||||
| * | I like this patch better. Retain the byte orientation of the parser. | dgp | 2014-11-26 | 1 | -17/+4 |
| | | |||||
| * | One way to fix the parser of $-substitution accepting non-ASCII varnames. | dgp | 2014-11-25 | 1 | -0/+3 |
| | | |||||
* | | Error in order of #include lines broke some windows builds. | dgp | 2013-09-05 | 1 | -1/+1 |
| | | |||||
* | | Replace potentially memleak creating safety check of a "cannot happen" | dgp | 2013-08-07 | 1 | -8/+6 |
| | | | | | | condition with an assertion. | ||||
* | | Demonstrate and fix memory leak in Tcl_ParseVar(). | dgp | 2013-07-24 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Demonstrate and fix memory leak in Tcl_ParseVar(). | dgp | 2013-07-24 | 1 | -0/+1 |
| | | |||||
* | | MODULE_SCOPE symbol names are suppoted to start with 'tcl' (data) or 'Tcl' ↵ | jan.nijtmans | 2012-12-04 | 1 | -1/+1 |
| | | | | | | | | (code) | ||||
* | | more result generation conversion | dkf | 2012-08-03 | 1 | -2/+2 |
| | | |||||
* | | converting to using Tcl_Obj API for error message generation; part done | dkf | 2012-08-03 | 1 | -13/+16 |
| | | |||||
* | | Refactor TclScanElement() part of list parsing to take advantage of tables | dgp | 2012-03-07 | 1 | -12/+2 |
| | | | | | | | | | | 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). | ||||
* | | TIP 388 implementation | jan.nijtmans | 2011-08-12 | 1 | -3/+12 |
| | | |||||
* | | Change the signature of TclParseHex(), such that it can now parse up to 8 ↵ | jan.nijtmans | 2011-08-09 | 1 | -9/+11 |
| | | | | | | | | hex characters | ||||
* | | New internal routines TclScanElement() and TclConvertElement(). | dgp | 2011-05-10 | 1 | -1/+1 |
|\ \ | |/ | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] | ||||
* | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -24/+18 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | dgp | 2011-05-02 | 1 | -3/+5 |
| | | |||||
| * | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -21/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 utility routines: TclIsSpaceProc() and TclCountSpaceRuns() | dgp | 2011-04-28 | 1 | -1/+25 |
|\ \ | |/ | | | Use to replace calls to isspace() and their /* INTL */ risk. | ||||
| * | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns() | dgp | 2011-04-28 | 1 | -1/+25 |
| | | | | | | Use to replace calls to isspace() and their /* INTL */ risk. | ||||
* | | Rewrites to eliminate some isspace() calls. | dgp | 2011-03-16 | 1 | -13/+8 |
|\ \ | |/ | |||||
| * | Rewrites to eliminate isspace() calls. | dgp | 2011-03-16 | 1 | -13/+8 |
| | | |||||
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -4/+4 |
| | | | | | | 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 | -8/+8 |
| | | | | | | the Engineering Manual. | ||||
* | | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls | dgp | 2011-03-06 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | | | * 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 | -2/+2 |
| |\ | | | | | | | | | | | | | * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclParse.c: * generic/tclUtil.c: | ||||
* | \ | * generic/tclParse.c (TclParseBackslash): Correct trunction checks in | dgp | 2011-03-06 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | * tests/parse.test: \x and \u substitutions. [Bug 3200987] | ||||
| * | | * generic/tclParse.c (TclParseBackslash): Correct trunction checks in | dgp | 2011-03-06 | 1 | -2/+2 |
| |\ \ | | |/ | | | | * tests/parse.test: \x and \u substitutions. [Bug 3200987] | ||||
| | * | * generic/tclParse.c (TclParseBackslash): Correct trunction checks in | dgp | 2011-03-06 | 1 | -2/+2 |
| | | | | | | | | | * tests/parse.test: \x and \u substitutions. [Bug 3200987] | ||||
* | | | add missing comment terminator | mig | 2011-03-02 | 1 | -1/+2 |
| | | | |||||
* | | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
|\ \ \ | |/ / | | | | cause more harm than good. Purged them (except in zlib files). |