summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
* Replace memcpy() calls with memmove() to avoid undefined behavior whendgp2019-04-171-4/+4
* Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 by...jan.nijtmans2019-03-241-3/+1
|\
| * Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 by...jan.nijtmans2019-03-241-3/+3
| |\
| | * Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 by...jan.nijtmans2019-03-241-3/+3
| | * Backport various minor issues from 8.6: jan.nijtmans2018-10-271-4/+14
* | | Remove incorrect comment. jan.nijtmans2019-03-211-7/+3
|\ \ \ | |/ /
* | | Fix Tcl_UtfToUniCharDString() function, handling invalid byte at the end of t...jan.nijtmans2019-03-201-7/+7
* | | Comment Comment Tcl_UniCharToUtf() better, what happens handling surrogates. ...jan.nijtmans2019-03-181-1/+1
* | | re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 ...jan.nijtmans2019-03-101-2/+202
* | | Fixes for TCL_UTF_MAX=6, (gcc compiler warnings). Also make everything work o...jan.nijtmans2019-03-071-6/+6
* | | Add build with -DTCL_UTF_MAX=6 to travis CI. Also fix 2 gcc compiler-warnings...jan.nijtmans2019-03-021-2/+2
* | | Minor optimization in UTF-8 handling, and add some comments describing how Tc...jan.nijtmans2019-03-021-3/+16
|\ \ \ | |/ /
| * | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conve...jan.nijtmans2019-03-021-66/+75
* | | A confusion about signed vs unsigned comparision caused Tcl_UtfToUniChar()dgp2019-03-011-1/+1
* | | Finish complete fix, all corner-cases correct now. Also spurious UTF-8 testca...jan.nijtmans2019-02-251-18/+20
* | | Minor optimizationsjan.nijtmans2019-02-191-55/+58
* | | Proposed fix for [bd94500678]: SEGFAULT by conversion of unicode (out of BMP)...jan.nijtmans2019-02-181-36/+39
* | | Merge 8.6 jan.nijtmans2018-10-081-4/+4
|\ \ \ | |/ /
* | | Merge 8.6jan.nijtmans2018-10-031-6/+18
|\ \ \ | |/ /
| * | Tcl_UniCharToUtfDString: Don't allocate too much memory for this function.jan.nijtmans2018-10-031-5/+15
* | | Fix "string tolower" and friends for handling unpaired surrogates correctly. ...jan.nijtmans2018-06-241-6/+15
* | | Merge 8.6. And add more documentation and test-cases regarding the behavior o...jan.nijtmans2018-06-181-0/+7
|\ \ \ | |/ /
| * | Fix [53cad613d8]: TIP 389 implementation makes Tk tests font-4.12 and font-4....jan.nijtmans2018-06-181-0/+7
| * | Merge 8.5. This adds Emoji 11.0 support, when Tcl is compiled with TCL_UTF_MA...jan.nijtmans2018-05-111-3/+10
| |\ \ | | |/
| | * Add emoji 11.0 to the set. Only active when compiled with TCL_UTF_MAX>3. Also...jan.nijtmans2018-05-111-15/+83
* | | Remove some tip389 restrictions in test-cases, which are no longer necessary. jan.nijtmans2018-05-071-2/+2
* | | Implement special "string totitle" for Extended Georgian characters (new beha...jan.nijtmans2018-05-011-3/+9
* | | Merge 8.6 (bug-fix and test-case for Tcl_UtfAtIndex with TCL_UTF_MAX=4)dgp2018-04-241-4/+21
|\ \ \ | |/ /
| * | Bug-fix in Tcl_UtfAtIndex (for TCL_UTF_MAX=4 only). With test-case (in "strin...jan.nijtmans2018-04-231-0/+8
| | |
| \ \
*-. \ \ TIP #389 implementation.jan.nijtmans2018-04-201-91/+120
|\ \ \ \ | | |/ /
| | * | Slightly improved (more fail-safe) surrogate handling for TCL_UTF_MAX>3. Back...jan.nijtmans2018-04-191-7/+14
| * | | Slightly better unmatched-surrogates handling. Unmatched High surrogates will...jan.nijtmans2018-04-171-6/+13
| * | | merge core-8-branchjan.nijtmans2018-01-101-10/+14
| |\ \ \ | |/ / / |/| | |
| * | | merge core-8-branchjan.nijtmans2017-12-011-34/+40
| |\ \ \
| * \ \ \ Merge core-8-branch. Also, use a different value for TCL_STUB_MAGIC when TCL_...jan.nijtmans2017-11-291-9/+23
| |\ \ \ \
| * | | | | Fix [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|8e1e31eac0]: lsort treats NUL c...jan.nijtmans2017-11-291-3/+76
| * | | | | Treat invalid UTF-8 characters in the range 0x80-0x9F as cp1252: See [https:/...jan.nijtmans2017-11-291-2/+15
| * | | | | merge core-8-branchjan.nijtmans2017-11-201-13/+11
| |\ \ \ \ \
| * | | | | | merge core-8-branch. Fix some Tcl_UniChar initialization, in case TCL_UTF_MAX...jan.nijtmans2017-11-171-10/+24
| * | | | | | Somewhat simplified implementation of TIP #389, in which the "string length" ...jan.nijtmans2017-11-071-29/+66
| |/ / / / /
* | | | | | Fix [https://core.tcl.tk/tk/info/00a27923ee26437611e1ed83f96e15b6caabcd8b|00a...jan.nijtmans2018-01-101-10/+14
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | (partial) fix for [https://core.tcl.tk/tk/info/00a27923ee26437611e1ed83f96e15...jan.nijtmans2018-01-091-10/+14
| | |_|/ / | |/| | |
| * | | | Fix handling of surrogates (when TCL_UTF_MAX > 3) in Tcl_UtfNcmp()/Tcl_UtfNca...jan.nijtmans2017-12-281-28/+29
* | | | | Fix [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|8e1e31eac0]: lsort treats NUL c...jan.nijtmans2017-11-301-28/+75
* | | | | merge core-8-6-branchjan.nijtmans2017-11-291-7/+7
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | |
| * | | Fix Tcl_UtfFindFirst()/Tcl_UtfFindLast(), which were broken by [83c0c569d6]. ...jan.nijtmans2017-11-291-7/+7
* | | | merge core-8-6-branchjan.nijtmans2017-11-291-16/+58
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Update some functions in tclUtf.c to handle surrogate pairs when TCL_UTF_MAX ...jan.nijtmans2017-11-291-16/+58
* | | merge core-8-6-branchjan.nijtmans2017-08-181-25/+53
|\ \ \ | |/ /
| * | merge core-8-6-branchjan.nijtmans2017-07-031-1/+1
| |\ \