Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2020-09-28 | 1 | -2/+2 |
|\ | |||||
* | | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵ | jan.nijtmans | 2020-09-17 | 1 | -1/+1 |
| | | | | | | | | TclNewIntObj or Tcl_NewWideIntObj) | ||||
* | | Fix for test lindex-18.0 | dgp | 2020-09-02 | 1 | -9/+8 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2020-07-20 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Use "Global" in stead of "Master" internally, where "Master" is not used in ↵ | jan.nijtmans | 2020-07-20 | 1 | -2/+2 |
| | | | | | | | | the Master-Slave paradigm and where this makes sense. | ||||
* | | Make Tcl_GetIntForIndex() do reasonable things when endValue < -1 and when ↵ | jan.nijtmans | 2020-06-16 | 1 | -9/+13 |
| | | | | | | | | indexPtr == NULL. | ||||
* | | Merge 8.7 | jan.nijtmans | 2020-05-24 | 1 | -244/+193 |
|\ \ | |||||
| * \ | Merge 8.6 | jan.nijtmans | 2020-05-14 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵ | jan.nijtmans | 2020-05-14 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence. This effectively removes the last Tcl_UtfNext() call from the core, the only ones left are in tclTest.c for test commands. So the TclUtfNext() macro doesn't make sense any more. Remove "register" keyword from many files. | ||||
| * | | Merge 8.6 | jan.nijtmans | 2020-05-05 | 1 | -16/+16 |
| |\ \ | | |/ | |||||
| | * | More usage of TclUtfToUCS4(), so we can use the whole Unicode range better ↵ | jan.nijtmans | 2020-05-05 | 1 | -22/+22 |
| | | | | | | | | | | | | in TCL_UTF_MAX>3 builds. | ||||
| * | | Merge 8.6. This mainly introduces the overlong check into Tcl_UtfPrev(). 10 ↵ | jan.nijtmans | 2020-04-24 | 1 | -2/+2 |
| |\ \ | | |/ | | | | | | | testcase changed results, all of them due to the Tcl_UtfPrev() improvement. Tcl_UtfNext() is not affected: Previous implementation was based on Tcl_UtfToUniChar(), which already did this check. | ||||
| | * | Code cleanup (more typecasts), making it more compatible with -Wc++-compat. ↵ | jan.nijtmans | 2020-04-20 | 1 | -31/+30 |
| | | | | | | | | | | | | Less use of /* ARGUSED */. | ||||
| | * | Merge 8.5. Failing tests for now. To be remedied shortly. | dgp | 2020-04-16 | 1 | -2/+2 |
| | |\ | |||||
| | | * | merge 8.5 | dgp | 2020-04-16 | 1 | -1/+1 |
| | | |\ | |||||
| | | | * | Create and use macro TclUtfPrev for Tcl_UtfPrev. | dgp | 2020-04-16 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Create and use an optimized macro TclUtfNext() for Tcl_UtfNext(). | dgp | 2020-04-14 | 1 | -1/+1 |
| | | |/ | |||||
| | * | | TclTrimRight/TclTrimLeft: removed mixed declarations and code (forbidden in ↵ | sebres | 2020-04-15 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | ISO C90, declaration-after-statement); restored mistakenly removed part of check-in [578c25b43a] (move Tcl_UniChar initializations out of the loop), but "ch2" belongs to the inner loop, so move it inside outer interation. | ||||
| * | | | Fix windows build (with older compilers) | jan.nijtmans | 2020-04-14 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge 8.6 | jan.nijtmans | 2020-04-14 | 1 | -228/+176 |
| |\ \ \ | | |/ / | |||||
| | * | | Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. | dgp | 2020-04-13 | 1 | -232/+181 |
| | |\ \ | | | |/ | |||||
| | | * | [a7f685a181] Eliminate botched call of Tcl_UtfPrev. | dgp | 2020-04-13 | 1 | -3/+5 |
| | | | | |||||
| | | * | TclTrim() can also demand NUL-terminated arguments, and be simplified. | dgp | 2020-04-13 | 1 | -64/+21 |
| | | | | |||||
| | | * | TclTrimLeft and TclTrimRight are internal routines. They demand NUL-terminated | dgp | 2020-04-13 | 1 | -69/+25 |
| | | | | | | | | | | | | | | | | arguments. That's a reasonable burden to put on internal callers, and all existing callers already meet it. | ||||
| | | * | [c61818e4c9] [string trimright] robustly handle backing up over incomplete | dgp | 2020-04-13 | 1 | -2/+9 |
| | | | | | | | | | | | | or malformed byte sequences. | ||||
| | | * | Cherrypick partial fix. | dgp | 2020-04-13 | 1 | -5/+4 |
| | | | | |||||
| | | * | [085913c760] Fix Tcl_DStringAppendElement quoting of #. | dgp | 2020-04-09 | 1 | -12/+32 |
| | | | | |||||
| | | * | Guarantee TclNeedSpace and TclFindElement have common definition of whitespace | dgp | 2020-04-09 | 1 | -70/+50 |
| | | | | | | | | | | | | | | | | by having both call the same routine. Create a macro form to contain performance costs and adapt callers. | ||||
| | | * | [afa4b28153] Correct TclNeedSpace handling of trailing escaped space. | dgp | 2020-04-09 | 1 | -8/+36 |
| | | | | |||||
* | | | | Merge 8.7 | jan.nijtmans | 2020-04-08 | 1 | -6/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix [dd010cadfb]: [string trim] mishandles surrogates | jan.nijtmans | 2020-04-06 | 1 | -6/+6 |
| | | | | |||||
* | | | | Merge 8.7 | jan.nijtmans | 2020-03-20 | 1 | -4/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge 8.6 | jan.nijtmans | 2020-03-18 | 1 | -4/+4 |
| |\ \ \ | | |/ / | |||||
| | * | | More uppercase HEX representations in source-code. | jan.nijtmans | 2020-03-18 | 1 | -4/+4 |
| | | | | |||||
* | | | | Merge 8.7 | jan.nijtmans | 2020-03-17 | 1 | -2/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | TIP 569 - remove lint comments | dgp | 2020-03-17 | 1 | -2/+1 |
| | | | | |||||
* | | | | Complete implementation. Let's take some time for testing. | jan.nijtmans | 2020-03-16 | 1 | -8/+10 |
| | | | | |||||
* | | | | More WIP | jan.nijtmans | 2020-03-16 | 1 | -13/+32 |
| | | | | |||||
* | | | | Further simply TclIndexEncode(), and fix range checks. | jan.nijtmans | 2020-03-16 | 1 | -46/+34 |
| | | | | |||||
* | | | | Simplify TclIndexEncode(). Range checks not 100% correct yet. More WIP. | jan.nijtmans | 2020-03-15 | 1 | -180/+168 |
| | | | | |||||
* | | | | WIP: Reform internal representation of "end-offset" type, so it can be used ↵ | jan.nijtmans | 2020-03-13 | 1 | -9/+18 |
|/ / / | | | | | | | | | | for "integer-integer" as well. | ||||
* | | | More | dgp | 2020-03-09 | 1 | -5/+3 |
| | | | |||||
* | | | Merge 8.7 | jan.nijtmans | 2020-01-07 | 1 | -18/+5 |
|\ \ \ | |||||
| * \ \ | Merge 8.6 | jan.nijtmans | 2019-12-22 | 1 | -18/+5 |
| |\ \ \ | | |/ / | |||||
| | * | | Minor optimization in TclFormatInt: No need to check for "0" as special ↵ | jan.nijtmans | 2019-12-22 | 1 | -18/+5 |
| | | | | | | | | | | | | | | | | value. No need to include final NULL-byte in character-reversion operation, as we already known the NULL-byte will come last. | ||||
* | | | | Two more unused arguments. | jan.nijtmans | 2019-12-20 | 1 | -15/+4 |
|\ \ \ \ | |/ / / | | | | | Merge 8.7 | ||||
| * | | | Merge 8.6 | jan.nijtmans | 2019-12-19 | 1 | -1/+1 |
| |\ \ \ | | |/ / | |||||
| | * | | Merge 8.5 | jan.nijtmans | 2019-12-19 | 1 | -1/+1 |
| | |\ \ | | | |/ | |||||
| | | * | Add type-cast, making sure that the unary minus is handled correctly on any ↵ | jan.nijtmans | 2019-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | compiler | ||||
| * | | | Merge 8.6 | jan.nijtmans | 2019-12-19 | 1 | -15/+4 |
| |\ \ \ | | |/ / |