Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 8.7 | dkf | 2019-04-19 | 1 | -4/+4 |
|\ | |||||
| * | Replace memcpy() calls with memmove() to avoid undefined behavior when | dgp | 2019-04-17 | 1 | -4/+4 |
| | | | | | | source and destination overlap. | ||||
* | | Merge 8.7 | jan.nijtmans | 2019-03-24 | 1 | -3/+1 |
|\ \ | |/ | |||||
| * | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵ | jan.nijtmans | 2019-03-24 | 1 | -3/+1 |
| |\ | | | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete(). | ||||
| | * | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵ | jan.nijtmans | 2019-03-24 | 1 | -3/+3 |
| | |\ | | | | | | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete(). Only effective when TCL_UTF_MAX>3 | ||||
| | | * | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵ | jan.nijtmans | 2019-03-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete(). Only effective when TCL_UTF_MAX>3 | ||||
| | | * | Backport various minor issues from 8.6: | jan.nijtmans | 2018-10-27 | 1 | -4/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | - gcc compiler warning in tclDate.c - protect Tcl_UtfToUniCharDString() from ever reading more than "length" bytes from its input, not even in the case of invalid UTF-8. - update to latest tzdata - fix 2 failing test-cases on MacOSX | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-03-21 | 1 | -7/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | Remove incorrect comment. | jan.nijtmans | 2019-03-21 | 1 | -7/+3 |
| |\ \ \ | | |/ / | | | | | Simplify handling of last bytes in Tcl_UniCharToUtfDString(), since TclUtfToUniChar() already turns out to handle cp1252 fall-back correctly. | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-03-20 | 1 | -7/+7 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix Tcl_UtfToUniCharDString() function, handling invalid byte at the end of ↵ | jan.nijtmans | 2019-03-20 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | the string: Not quite correct for bytes between 0x80-0x9F, according to TIP | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-03-18 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Comment Comment Tcl_UniCharToUtf() better, what happens handling surrogates. ↵ | jan.nijtmans | 2019-03-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Add type cast in tclUtf.c, making actual check clearer | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-03-10 | 1 | -2/+202 |
|\ \ \ \ | |/ / / | |||||
| * | | | re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 ↵ | jan.nijtmans | 2019-03-10 | 1 | -2/+202 |
| | | | | | | | | | | | | | | | | new utility functions. This allows to re-use code in more places: cleaner implementation more future-proof. | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-03-08 | 1 | -6/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fixes for TCL_UTF_MAX=6, (gcc compiler warnings). Also make everything work ↵ | jan.nijtmans | 2019-03-07 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | on win32/win64. Patch adapted from Androwish (thanks, Werner!) | ||||
* | | | | merge 8.7 (TIP#527, New measurement facilities in TCL: New command timerate, ↵ | sebres | 2019-03-05 | 1 | -2/+2 |
|\ \ \ \ | |/ / / | | | | | | | | | performance test suite) | ||||
| * | | | Add build with -DTCL_UTF_MAX=6 to travis CI. Also fix 2 gcc ↵ | jan.nijtmans | 2019-03-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | compiler-warnings occurring with -DTCL_UTF_MAX=6 | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-03-02 | 1 | -3/+16 |
|\ \ \ \ | |/ / / | |||||
| * | | | Minor optimization in UTF-8 handling, and add some comments describing how ↵ | jan.nijtmans | 2019-03-02 | 1 | -3/+16 |
| |\ \ \ | | |/ / | | | | | | | | | Tcl_UniCharToUtf() handles surrogates. | ||||
| | * | | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵ | jan.nijtmans | 2019-03-02 | 1 | -66/+75 |
| | | | | | | | | | | | | | | | | conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. | ||||
* | | | | merge 8.7 | dgp | 2019-03-01 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | A confusion about signed vs unsigned comparision caused Tcl_UtfToUniChar() | dgp | 2019-03-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | to return the wrong answer (contents of random memory) for each single byte UTF-8 in the input. This commit fixes that bug. More commentary on https://core.tcl-lang.org/tcl/tktview/bd94500678 | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-02-27 | 1 | -87/+95 |
|\ \ \ \ | |/ / / | |||||
| * | | | Finish complete fix, all corner-cases correct now. Also spurious UTF-8 ↵ | jan.nijtmans | 2019-02-25 | 1 | -18/+20 |
| | | | | | | | | | | | | | | | | testcase failure (as seen on travis) fixed now. | ||||
| * | | | Minor optimizations | jan.nijtmans | 2019-02-19 | 1 | -55/+58 |
| | | | | |||||
| * | | | Proposed fix for [bd94500678]: SEGFAULT by conversion of unicode (out of ↵ | jan.nijtmans | 2019-02-18 | 1 | -36/+39 |
| | | | | | | | | | | | | | | | | BMP) to byte-array. | ||||
* | | | | Merge 8.7 | jan.nijtmans | 2019-02-19 | 1 | -3/+3 |
|\ \ \ \ | |||||
| * \ \ \ | Merge 8.6 | jan.nijtmans | 2019-02-19 | 1 | -3/+3 |
| |\ \ \ \ | | |/ / / | |/| / / | | |/ / | |||||
* | | | | More size_t-related consolidations. Now regexp can handle strings >2GB and ↵ | jan.nijtmans | 2019-02-05 | 1 | -13/+15 |
| | | | | | | | | | | | | | | | | more. Remove many type-casts which are not necessary any more. | ||||
* | | | | TIP #494 implementation: More use of size_t in Tcl 9 | jan.nijtmans | 2018-10-08 | 1 | -36/+43 |
|\ \ \ \ | |/ / / |/| | | | |||||
| * | | | Use more TCL_AUTO_LENGTH, when appropriate | jan.nijtmans | 2018-10-06 | 1 | -3/+3 |
| | | | | |||||
| * | | | merge trunk | jan.nijtmans | 2018-10-04 | 1 | -6/+18 |
| |\ \ \ | |||||
| * \ \ \ | Merge trunk | jan.nijtmans | 2018-07-05 | 1 | -6/+5 |
| |\ \ \ \ | | | | | | | | | | | | | Handle TclCopyAndCollapse, *Trace* et al | ||||
| * | | | | | More API changes using size_t. Internal changes not complete yet (WIP) | jan.nijtmans | 2018-06-28 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | merge trunk | jan.nijtmans | 2018-06-27 | 1 | -5/+22 |
| |\ \ \ \ \ | | |/ / / / | |||||
| * | | | | | merge trunk | jan.nijtmans | 2018-05-25 | 1 | -0/+6 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | merge trunk | jan.nijtmans | 2018-05-23 | 1 | -95/+146 |
| |\ \ \ \ \ \ | | |/ / / / / | |||||
| * | | | | | | Change Tcl_Token definition (int -> size_t). Many related code-changes. | jan.nijtmans | 2018-01-31 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | merge trunk | jan.nijtmans | 2018-01-29 | 1 | -10/+14 |
| |\ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ | merge trunk | jan.nijtmans | 2017-12-01 | 1 | -19/+111 |
| |\ \ \ \ \ \ \ | |||||
| * | | | | | | | | Handle Tcl_UtfAtIndex/Tcl_UniCharAtIndex for extended index range. More ↵ | jan.nijtmans | 2017-11-16 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | field fixes. | ||||
| * | | | | | | | | merge novem | jan.nijtmans | 2017-09-10 | 1 | -20/+52 |
| |\ \ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ \ | Merge trunk | jan.nijtmans | 2017-08-29 | 1 | -25/+53 |
| | |\ \ \ \ \ \ \ \ | |||||
| * | \ \ \ \ \ \ \ \ | merge novem | jan.nijtmans | 2017-06-09 | 1 | -46/+48 |
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |||||
| | * | | | | | | | | | merge trunk | jan.nijtmans | 2017-06-08 | 1 | -13/+14 |
| | |\ \ \ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ \ \ \ | merge trunk | jan.nijtmans | 2017-06-06 | 1 | -18/+24 |
| | |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | |||||
| * | | | | | | | | | | | merge trunk | jan.nijtmans | 2016-08-30 | 1 | -44/+24 |
| |\ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ | merge trunk | dgp | 2016-04-05 | 1 | -14/+8 |
| |\ \ \ \ \ \ \ \ \ \ \ \ |