Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve many parsing-related functions to use size_t | jan.nijtmans | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | merge trunk | jan.nijtmans | 2018-06-27 | 1 | -7/+7 |
|\ | |||||
* \ | Change signature of Tcl_GetRange() to use size_t. Merge trunk. | jan.nijtmans | 2018-06-16 | 1 | -14/+14 |
|\ \ | |/ | |||||
* | | Merge trunk | jan.nijtmans | 2018-04-15 | 1 | -131/+177 |
|\ \ | |/ | |||||
| * | merge 8.6 | dgp | 2018-03-13 | 1 | -95/+145 |
| |\ | |||||
| | * | Rewrite the [string replace] compiler to take advantage of the richer | dgp | 2018-03-13 | 1 | -96/+145 |
| | | | | | | | | | set of encoded index values. | ||||
| | * | Merge new test and comments from 8.5 to demo that INST_STR_REPLACE is bad. | dgp | 2018-03-13 | 1 | -0/+1 |
| | | | |||||
| * | | [db36fa5122] Upgrade the index value parsing and encoding machinery. ↵ | dgp | 2018-03-10 | 1 | -13/+42 |
| |\ \ | | |/ | | | | | | | Refactor many systems to make consistent use of it. Repairs many indexing errors in corner cases. | ||||
| | * | Update the command compilers and bytecode execution engine to use new machinery. | dgp | 2018-03-09 | 1 | -8/+8 |
| | | | |||||
| | * | When index parsing alone tells you a [string range] is empty, just push it. | dgp | 2018-03-07 | 1 | -2/+17 |
| | | | |||||
| | * | Establish 4 symbols for categories of parsed index values: | dgp | 2018-03-07 | 1 | -18/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_INDEX_START = 0 The start index. TCL_INDEX_END = -2 The "end" index. TCL_INDEX_BEFORE = -1 All indices less than start. TCL_INDEX_AFTER = INT_MAX All indices greater than "end". Then use these symbols among callers of TclGetIndexFromToken() so that index value parsing can directly implement the callers sense of when out of range indices ought to be treated the same as start or end positions. | ||||
| | * | Incorporate sebres work on the same ticket. Good stuff! | dgp | 2018-03-07 | 1 | -4/+11 |
| | |\ | |||||
| | | * | try to fix [db36fa5122]: better compiled variants of several indices-related ↵ | sebres | 2018-03-06 | 1 | -4/+11 |
| | | | | | | | | | | | | | | | | commands, test-cases extended | ||||
| * | | | Merge 8.6 | jan.nijtmans | 2018-03-07 | 1 | -0/+19 |
| |\ \ \ | | |/ / | |||||
| | * | | various bits of ranting commentary | dgp | 2018-03-06 | 1 | -0/+19 |
| | |/ | |||||
| * | | merge 8.6 | dgp | 2018-03-01 | 1 | -62/+10 |
| |\ \ | | |/ | |||||
| | * | Refactor to eliminate duplicate routine parsing tokens as indices. | dgp | 2018-03-01 | 1 | -62/+10 |
| | | | |||||
* | | | Change Tcl_Token definition (int -> size_t). Many related code-changes. | jan.nijtmans | 2018-01-31 | 1 | -4/+6 |
|/ / | |||||
* | | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵ | jan.nijtmans | 2016-11-16 | 1 | -4/+4 |
| | | | | | | | | type-casts which are not necessary any more. | ||||
* | | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵ | jan.nijtmans | 2016-09-07 | 1 | -3/+3 |
|\ \ | |/ | | | | | literal sharing vs. per-interp resolvers | ||||
* | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵ | jan.nijtmans | 2016-07-08 | 1 | -9/+9 |
|/ | | | | in many places where possible. | ||||
* | More places where unsigned quantities should be decared such. | dgp | 2016-03-22 | 1 | -1/+1 |
| | |||||
* | typo in comment. Eliminate unnecessary end-of-line spacing. | jan.nijtmans | 2015-10-19 | 1 | -6/+6 |
| | |||||
* | Fix failing test | dgp | 2015-07-18 | 1 | -6/+6 |
| | |||||
* | Backing out commit [cddbfc3081], fix for bug [82521bfb6734f891dd] | Miguel Sofer | 2014-09-27 | 1 | -1/+0 |
| | | | | | The "optimisation" in that commit assumes that the last byte in the generated bytecodes is an INST_TRY_CONVERT if it equals 64. This is an invalid assumption, it could be 64 and not be an instruction. | ||||
* | Applied patch by Andreas Leitgeb so that [string cat]'s compiled bytecode ↵ | ferrieux | 2014-09-27 | 1 | -2/+2 |
| | | | | optimally groups args by 255 for INSTR_STR_CONCAT1. | ||||
* | merge trunk | dkf | 2014-09-14 | 1 | -1/+2 |
|\ | |||||
| * | [cee90e4e88] Correct error in stack depth checking. | dgp | 2014-09-10 | 1 | -0/+1 |
| | | |||||
| * | [84af1192f5]: [regsub] compiler no longer confused by quantification handling. | dkf | 2014-09-09 | 1 | -1/+1 |
| | | |||||
* | | merge trunk | dkf | 2014-08-30 | 1 | -0/+72 |
|\ \ | |/ | |||||
| * | Fix comment inaccuracy. | ferrieux | 2014-08-05 | 1 | -1/+1 |
| | | |||||
| * | More aggressive constant folding in [string cat]. Thanks AndreasK for kicking. | ferrieux | 2014-08-05 | 1 | -20/+27 |
| | | |||||
| * | Better organize [string cat] by chunks of 255 args. | ferrieux | 2014-08-05 | 1 | -7/+9 |
| | | |||||
| * | Add constant folding to [string cat]. Mixed-quote idiom is now compiled to a ↵ | ferrieux | 2014-08-05 | 1 | -16/+46 |
| | | | | | | | | single push. | ||||
| * | TIP 429 Implementation: [string cat] | ferrieux | 2014-08-02 | 1 | -0/+33 |
| | | |||||
* | | merge trunk | dkf | 2014-02-03 | 1 | -3/+361 |
|\ \ | |/ | |||||
| * | add compilation of [string is] | dkf | 2014-02-02 | 1 | -0/+313 |
| |\ | |||||
| | * | Compile [string is] with character classes in a non-awful way. Needs more ↵ | dkf | 2014-01-29 | 1 | -9/+90 |
| | | | | | | | | | | | | work to make resulting bytecode disassemble nicely. | ||||
| | * | merge principal development branch | dkf | 2014-01-25 | 1 | -0/+45 |
| | |\ | |||||
| | * | | extend [string is] to booleans | dkf | 2014-01-13 | 1 | -4/+47 |
| | | | | |||||
| | * | | a different approach | dkf | 2014-01-10 | 1 | -70/+80 |
| | | | | |||||
| | * | | use compact form | dkf | 2014-01-09 | 1 | -26/+25 |
| | | | | |||||
| | * | | redevelop code to have more in common with the interpreted [string is] and ↵ | dkf | 2014-01-02 | 1 | -69/+78 |
| | | | | | | | | | | | | | | | | to remove non-working types | ||||
| | * | | merge main working branch | dkf | 2014-01-02 | 1 | -31/+1 |
| | |\ \ | |||||
| | * \ \ | merge main working branch | dkf | 2013-12-30 | 1 | -707/+925 |
| | |\ \ \ | |||||
| | * \ \ \ | merge main dev branch | dkf | 2012-12-19 | 1 | -7/+35 |
| | |\ \ \ \ | |||||
| | * \ \ \ \ | merge main dev branch | dkf | 2012-11-05 | 1 | -196/+94 |
| | |\ \ \ \ \ | |||||
| | * | | | | | | Work on compilation of [string is]. | dkf | 2012-11-02 | 1 | -0/+190 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hit some problem edge cases with differences in strictness of edge cases that will force a rethink ([string is boolean] is significantly more strict than Tcl_GetBooleanFromObj). | ||||
| * | | | | | | | add compilation for [nextto] and [yieldto]; fix [a90d9331bc] | dkf | 2014-01-22 | 1 | -0/+45 |
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | |||||
| | * | | | | | | implementation of [yieldto] in bytecode | dkf | 2014-01-21 | 1 | -0/+45 |
| | | |_|_|_|/ | | |/| | | | |