Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2020-09-01 | 1 | -1/+1 |
|\ | |||||
| * | Many more internal master/slave -> parent/child renamings | jan.nijtmans | 2020-09-01 | 1 | -1/+1 |
| | | |||||
| * | Addendum to [60fab362ce]: "Also don't allow surrogates in \U??????". This ↵ | jan.nijtmans | 2020-07-10 | 1 | -0/+2 |
| | | | | | | | | change was only meant for builds with TCL_UTF_MAX > 3. | ||||
* | | Merge 8.6 | jan.nijtmans | 2020-06-04 | 1 | -19/+16 |
|\ \ | |/ | |||||
| * | merge 8.5 | sebres | 2020-06-02 | 1 | -19/+16 |
| |\ | |||||
| | * | avoid segfault if Tcl_FreeParse, if parse structure remains uninitialized ↵ | sebres | 2020-06-02 | 1 | -19/+16 |
| | | | | | | | | | | | | (parse.tokenPtr may be used uninitialized, for instance it returns from Tcl_ParseCommand etc with error before TclParseInit gets called) | ||||
* | | | Merge 8.6 | jan.nijtmans | 2020-05-06 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge 8.5. More usage of UCHAR() macro. | jan.nijtmans | 2020-05-06 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| * | | Re-join utf-6.93.0 and utf-6.93.1 (please disregard comment in previous ↵ | jan.nijtmans | 2020-05-03 | 1 | -13/+10 |
| | | | | | | | | | | | | | | | commit, it was not correct). Perfectionalize TclUtfToUCS4()/TclUCS4Complete() and new (internal) function TclUCS4ToUtf(). They can help preventing bugs regarding splitting/joining surrogates. Used them in a few more places. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2020-04-28 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Merge 8.5 | jan.nijtmans | 2020-04-28 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Fix [b6038e5bc8]: mis-parse of surrogate pair escapes. Thanks Don! | jan.nijtmans | 2020-04-28 | 1 | -2/+2 |
| | |\ | |||||
| | | * | Proposed fix. | dgp | 2020-04-28 | 1 | -2/+2 |
| |_|/ |/| | | |||||
| * | | Merge 8.5 | jan.nijtmans | 2020-04-28 | 1 | -3/+3 |
| |\ \ | | |/ | |||||
| | * | Backport parsing of surrogate-pair change from 8.6 (only for TCL_UTF_MAX=4) | jan.nijtmans | 2020-04-28 | 1 | -3/+15 |
| | | | | | | | | | Adapt test-cases accordingly. Renumber and split testcases, making the numbering more equal to the numbering in 8.6/8.7/9.0 | ||||
* | | | Merge 8.6 (Except encoding-12.6 test-case still to be handled) | jan.nijtmans | 2020-04-24 | 1 | -6/+8 |
|\ \ \ | |/ / | |||||
| * | | Merge from 8.5. Failing tests encoding-12.6, reg-13.3[34] appear to be real | dgp | 2020-04-24 | 1 | -6/+8 |
| |\ \ | | |/ | | | | failures reporting first contact with tests and code. | ||||
| | * | Add protections against overflow in Unicode values. Backported from 8.6. ↵ | jan.nijtmans | 2020-04-24 | 1 | -64/+88 |
| | | | | | | | | | | | | Also remove some out-of-date comments. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2020-04-14 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. | dgp | 2020-04-13 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Guarantee TclNeedSpace and TclFindElement have common definition of whitespace | dgp | 2020-04-09 | 1 | -1/+1 |
| | | | | | | | | | | | | by having both call the same routine. Create a macro form to contain performance costs and adapt callers. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2020-03-18 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | More uppercase HEX representations in source-code. | jan.nijtmans | 2020-03-18 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 8.7 | jan.nijtmans | 2020-02-13 | 1 | -1/+1 |
|\ \ \ | |||||
| * \ \ | Merge 8.7 | jan.nijtmans | 2019-12-03 | 1 | -5/+18 |
| |\ \ \ | |||||
| * | | | | Merge 8.7 | jan.nijtmans | 2019-11-15 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge 8.7 | jan.nijtmans | 2019-12-03 | 1 | -5/+18 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||||
| * | | | | Merge 8.6 | jan.nijtmans | 2019-12-03 | 1 | -8/+13 |
| |\ \ \ \ | | | |/ / | | |/| | | |||||
| | * | | | Fix [3cd9bea1e6]: check-in [43032d7ba3] potential problems. Also don't allow ↵ | jan.nijtmans | 2019-12-03 | 1 | -8/+13 |
| | | | | | | | | | | | | | | | | | | | | surrogates in \U?????? syntax. | ||||
| * | | | | Merge 8.6 | jan.nijtmans | 2019-12-02 | 1 | -0/+8 |
| |\ \ \ \ | | |/ / / | | | / / | | |/ / | |/| | | |||||
| | * | | If TCL_UTF_MAX>=4, make Tcl_ParseBackslash combine two surrogates so they ↵ | jan.nijtmans | 2019-12-02 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | appear as one 4-byte UTF-8 byte sequence from the start. Add test-case for this. | ||||
| | * | | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵ | jan.nijtmans | 2019-03-02 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. | ||||
* | | | | Merge tip-548 | jan.nijtmans | 2019-08-15 | 1 | -22/+22 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge 8.7 | jan.nijtmans | 2019-08-14 | 1 | -2/+1 |
| |\ \ \ | |||||
| * | | | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵ | jan.nijtmans | 2019-07-17 | 1 | -22/+22 |
| | | | | | | | | | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers. | ||||
* | | | | | Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵ | jan.nijtmans | 2019-08-03 | 1 | -2/+1 |
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | c++) Als finish implementaton for MacOSX | ||||
| * | | | | Document that the *Backslash parsing functions output maximum 4 bytes, ↵ | jan.nijtmans | 2019-08-02 | 1 | -2/+1 |
| |/ / / | | | | | | | | | | | | | | | | | irrespectable of the TCL_UTF_MAX setting: It could be 4 for the "\Uxxxxxx" construct, but never more. Move <stddef.h> and <locale.h> to tclInt.h, so the can be removed from various other places. | ||||
* | | | | Merge 8.7, and continue implementation. Almost done | jan.nijtmans | 2019-07-10 | 1 | -2/+2 |
|\ \ \ \ | |/ / / | |||||
* | | | | Experiment: compile Tcl with C++ compiler. WIP | jan.nijtmans | 2019-07-04 | 1 | -3/+3 |
|/ / / | |||||
* | | | Make all internal small buffer related to Tcl_UtfBackslash() length 4, not ↵ | jan.nijtmans | 2019-03-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | TCL_UTF_MAX: For TCL_UTF_MAX=6 it was overkill, for TCL_UTF_MAX=3 not enough. Prove that this works by adding a Travis CI build configuration using TCL_UTF_MAX=3 | ||||
* | | | Fix [bd94500678e837d7]: SEGFAULT by conversion of unicode (out of BMP) to ↵ | jan.nijtmans | 2019-02-27 | 1 | -4/+4 |
|\ \ \ | | | | | | | | | | | | | byte-array | ||||
| * | | | Finish complete fix, all corner-cases correct now. Also spurious UTF-8 ↵ | jan.nijtmans | 2019-02-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | testcase failure (as seen on travis) fixed now. | ||||
| * | | | Minor optimizations | jan.nijtmans | 2019-02-19 | 1 | -3/+3 |
| | | | | |||||
* | | | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵ | jan.nijtmans | 2019-02-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | and (unsigned) type-casts, which don't make sense any more. | ||||
* | | | | Merge 8.6 | jan.nijtmans | 2019-02-19 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| / / | |/ / | |||||
* | | | Merge 8.6. Also reduce tclCharTypeTable[] to 256 entries, as this table is ↵ | jan.nijtmans | 2019-01-26 | 1 | -44/+3 |
|\ \ \ | |/ / | | | | | | | | | | always addressed with unsigned chars now. Eliminate some useless end-of-line spacing that slipped in. | ||||
| * | | Replace isspace() -> TclIsSpaceProc() _everywhere_. | jan.nijtmans | 2019-01-26 | 1 | -2/+2 |
| | | | | | | | | | Change TclIsSpaceProc() and TclIsBareWord so it works with both signed and unsigned characters. Actually, this is not a signature change, as "char" arguments are enlarged to "int" by the C-compiler anyway. | ||||
* | | | comment typo's | jan.nijtmans | 2018-11-24 | 1 | -3/+3 |
| | | | |||||
* | | | Fix "string tolower" and friends for handling unpaired surrogates correctly. ↵ | jan.nijtmans | 2018-06-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Also add test-cases for those situations. Various typo's in comments. | ||||
* | | | Merge 8.6. And add more documentation and test-cases regarding the behavior ↵ | jan.nijtmans | 2018-06-18 | 1 | -6/+4 |
|\ \ \ | |/ / | | | | | | | of Tcl_UniCharToUtf() |