summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2019-12-021-1/+1
|\
| * If TCL_UTF_MAX>=4, make Tcl_ParseBackslash combine two surrogates so they app...jan.nijtmans2019-12-021-1/+1
* | Merge 8.6jan.nijtmans2019-09-161-3/+3
|\ \ | |/
| * Bugfix in Tcl_UtfPrev/Tcl_UtfNext: When handling 4-byte UTF-8 byte sequences,...jan.nijtmans2019-09-161-7/+7
| * Attempt to fix [https://core.tcl-lang.org/tk/tktview?name=a179564826|a1795648...jan.nijtmans2019-08-011-5/+3
| * Merge 8.5jan.nijtmans2019-07-311-6/+6
| |\
| | * (cherry-pick from core-8-branch): Replace memcpy() calls with memmove() to av...jan.nijtmans2019-07-311-4/+4
* | | Merge 8.7jan.nijtmans2019-08-151-10/+10
|\ \ \
| * \ \ Merge 8.7jan.nijtmans2019-08-141-1/+1
| |\ \ \
| | * | | Document that the *Backslash parsing functions output maximum 4 bytes, irresp...jan.nijtmans2019-08-021-1/+1
| * | | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ...jan.nijtmans2019-07-171-10/+10
| |/ / /
* | | | Merge 8.7. Some formatting.jan.nijtmans2019-08-021-2/+2
|\ \ \ \ | |/ / /
* | | | Merge 8.7. Documentation improvements and code cleanup. Approaching finish.jan.nijtmans2019-08-011-9/+9
|\ \ \ \ | |/ / /
* | | | Rename UTF-related functions to "WChar" and "Char16" variants, more intuitive...jan.nijtmans2019-07-111-15/+24
* | | | Merge 8.7, and a few tweaks: Only provide Tcl_WinUtfToTChar on Tcl 8.x, not o...jan.nijtmans2019-07-071-0/+2
|\ \ \ \ | |/ / /
* | | | Fix UNIX/Mac buildjan.nijtmans2019-07-061-1/+1
* | | | Improvement: always export both 16-bit and 32-bit UTF functionjan.nijtmans2019-07-051-50/+22
* | | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide m...jan.nijtmans2019-06-031-35/+39
|/ / /
* | | 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