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. | |||||
* | | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵ | jan.nijtmans | 2016-09-07 | 1 | -9/+9 | |
|\ \ | |/ | | | | | literal sharing vs. per-interp resolvers | |||||
* | | No longer need to create Tcl_Obj just to make some bytecode. | dgp | 2016-04-29 | 1 | -5/+2 | |
|/ | ||||||
* | More signed/unsigned type correction. | dgp | 2016-03-22 | 1 | -3/+3 | |
|\ | ||||||
| * | (cherry-pick): Fix signed-unsigned-compare warning (reported by François ↵ | jan.nijtmans | 2016-03-22 | 1 | -1/+1 | |
|/ | | | | Vogel on Windows, but gcc can trigger it as well) | |||||
* | [3e7eca8c8c] Prevent overflow in the size value passed to ckrealloc(). | dgp | 2015-07-29 | 1 | -1/+3 | |
|\ | ||||||
| * | [3e7eca8c8c] Prevent overflow in the size value passed to ckrealloc(). | dgp | 2015-07-29 | 1 | -1/+3 | |
| | | ||||||
* | | Fix some gcc compiler warnings (probably cygwin-only) | jan.nijtmans | 2014-12-08 | 1 | -20/+20 | |
|\ \ | |/ | ||||||
| * | Fix some gcc compiler warnings (probably cygwin-only) | jan.nijtmans | 2014-12-08 | 1 | -3/+3 | |
| | | ||||||
* | | [d2ffcca163] Limit parsing results that are documented to accept only ASCII ↵ | dgp | 2014-12-05 | 1 | -27/+24 | |
|\ \ | |/ | | | | | chars to actually follow that constraint. This requires not trusting isalnum(.) and isalpha(.) to deliver portable identical results. | |||||
| * | Limit isalpha(.) calls in the expr parser to only apply to known ASCII | dgp | 2014-12-04 | 1 | -3/+4 | |
| | | | | | | arguments to make the results portable. | |||||
| * | Stop using isalnum(.). Its results are not portable. Replace with our | dgp | 2014-12-04 | 1 | -5/+10 | |
| | | | | | | own private routine TclIsBareword() that does exactly what we want. | |||||
| * | Same issue in expr parser also tested and fixed. | dgp | 2014-11-26 | 1 | -20/+12 | |
| | | ||||||
* | | Working towards better handling of stack balance with break and continue ↵ | dkf | 2013-10-08 | 1 | -2/+2 | |
| | | | | | | | | exceptions. | |||||
* | | More macro use. | dgp | 2013-09-13 | 1 | -3/+1 | |
| | | ||||||
* | | Push fixup on the stack only when needed. | dgp | 2013-09-12 | 1 | -12/+6 | |
| | | ||||||
* | | Swap the two fixups used when compiling the ternary operator. | dgp | 2013-09-12 | 1 | -17/+16 | |
| | | | | | | Push them on the stack only when needed, and pop as soon as possible. | |||||
* | | Stop allocating JumpFixups for jumps that can never need any fixing up. | dgp | 2013-09-12 | 1 | -22/+15 | |
| | | ||||||
* | | Eliminate another surplus storage field. Make a(n ab)use of the existing | dgp | 2013-09-11 | 1 | -5/+7 | |
| | | | | | | JumpFixup fields instead. | |||||
* | | Make use of the existing JumpFixup fields. Eliminate extra storage | dgp | 2013-09-11 | 1 | -5/+2 | |
| | | | | | | field 'offset' in JumpList that we don't require. | |||||
* | | Stop the save and restore of currStackDepth. Just manage it correctly so | dgp | 2013-09-11 | 1 | -7/+1 | |
| | | | | | | it doesn't need correcting. | |||||
* | | Make more use of the CompileTokens() macro. | dgp | 2013-06-25 | 1 | -2/+1 | |
| | | ||||||
* | | Select improvements in stack depth estimates brought over from mig-review. | dgp | 2013-06-11 | 1 | -0/+1 | |
| | | | | | | | | | | Mostly these are just simplifications, removing code that wasn't needed. Some changes make the stack depth estimate more accurate instruction by instruction. | |||||
* | | New internal routine TclFetchLiteral() for better CompileEnv encapsulation. | dgp | 2013-03-05 | 1 | -8/+5 | |
| | | ||||||
* | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -1/+1 | |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | |||||
* | | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -1/+1 | |
| | | ||||||
* | | make some more internal tables const | jan.nijtmans | 2012-04-18 | 1 | -1/+1 | |
|\ \ | |/ | | | a few CONST -> const changes | |||||
| * | make some more internal tables const | jan.nijtmans | 2012-04-18 | 1 | -1/+1 | |
| |\ | | | | | | | a few CONST -> const changes | |||||
| | * | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls | dgp | 2011-03-06 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c: with TclParseBackslash() where possible. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclUtil.c: | |||||
* | | | Experimental compilation of the [dict with] subcommand. No tests yet, and not | dkf | 2011-10-02 | 1 | -154/+186 | |
| | | | | | | | | | | | | yet certain that the added bytecode opcodes are correct; evaluation is still needed (but the test suite does pass...) | |||||
* | | | 3408408 Partial improvement by sharing as literals the computed values of | dgp | 2011-09-15 | 1 | -2/+24 | |
| | | | | | | | | | | | | constant subexpressions when we can do so without incurring the cost of string rep generation. | |||||
| | | | ||||||
| \ \ | ||||||
*-. \ \ | 3401704 Allow function names like influence(), nanobot(), and 99bottles() | dgp | 2011-09-07 | 1 | -45/+73 | |
|\ \ \ \ | | |/ / | | | | | | | | | | | | | that have been parsed as missing operator syntax errors before with the form NUMBER + FUNCTION. ***POTENTIAL INCOMPATIBILITY*** | |||||
| | * | | missing 'break' | dgp | 2011-09-07 | 1 | -0/+1 | |
| |/ / | ||||||
| * | | Tidiness, comments, and tests. | dgp | 2011-09-07 | 1 | -5/+28 | |
| | | | ||||||
| * | | Don't extend numbers with non-alphanumeric characters into barewords. | dgp | 2011-09-06 | 1 | -0/+6 | |
| | | | ||||||
| * | | 3401704 New patch to enable nancy(), influence(), 99bottles(). | dgp | 2011-09-06 | 1 | -43/+38 | |
| | | | ||||||
* | | | Reduce the number of casts used to manage Tcl_Obj internal representations. | dkf | 2011-03-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Generate errorCode information on failure to parse expressions. | dkf | 2011-03-17 | 1 | -67/+103 | |
| | | | ||||||
* | | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -7/+9 | |
| | | | | | | | | | 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 | -4/+2 | |
| | | | | | | | | | the Engineering Manual. | |||||
* | | | Renamed struct TEOV_callback to the more descriptive NRE_callback. | Miguel Sofer | 2011-03-05 | 1 | -1/+1 | |
| | | | ||||||
* | | | 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). | |||||
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 | |
| |\ \ | | |/ | | | | more harm than good. Purged them. | |||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 | |
| | | | | | | | | | more harm than good. Purged them. | |||||
| | * | style revisions to latest commit | dgp | 2008-04-17 | 1 | -2/+2 | |
| | | | ||||||
| | * | * generic/tclCompExpr.c (CompileMathFuncCall): Added | andreas_kupries | 2008-04-17 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | * tests/compile.test (compile-16.0): Tcl_ResetResult before appending error message, to clear out possible sharing. Added test case demonstrating the crash (abort on shared object) without the fix. |