summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | 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
| |\ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | 'inline static' -> 'static inline' and 'INLINE' -> 'inline', for consistancy.jan.nijtmans2017-07-031-2/+2
| * | | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-06-131-22/+21
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / /
| * | | | | | | | | | | | | Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3jan.nijtmans2017-06-081-19/+49
* | | | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-06-081-13/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | |/| | | | | | | | | | | / | |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |
| * | | | | | | | | | | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-13/+14
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| / / / / / / / / / / | | |/ / / / / / / / / /
| | * | | | | | | | | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-13/+14
* | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-06-061-18/+18
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization in...jan.nijtmans2017-06-061-18/+18
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| | * | | | | | | | | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ...jan.nijtmans2017-06-061-75/+52
* | | | | | | | | | | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ...dgp2017-06-051-3/+9
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ...jan.nijtmans2017-06-021-3/+9
* | | | | | | | | | | | Merge core-8-6-branch. This removes the work currently being done in "sebres-...jan.nijtmans2017-06-021-9/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
* | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-05-311-3/+9
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
| * | | | | | | | | | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ...jan.nijtmans2017-05-311-3/+9
| |/ / / / / / / / / /
* | | | | | | | | | | Don't ever allow UTF-8 sequences of more than 4 characters to be generated or...jan.nijtmans2016-08-301-44/+24
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | / | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
| * | | | | | | | | Don't ever allow UTF-8 sequences of more than 4 characters to be generated or...jan.nijtmans2016-08-301-44/+24
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Rename UtfCount() to TclUtfCount() and use it in more places. Suggested by ps...jan.nijtmans2016-04-051-14/+8
|/ / / / / / / /
* | | | | | | | Various Unicode handling enhancements, when building with TCL_UTF_MAX > 3, in...jan.nijtmans2015-09-011-32/+93
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Make sure that "string is space \u202f" will continue to return "1", even if ...jan.nijtmans2013-07-291-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | / | |_|_|_|_|/ |/| | | | |
| * | | | | Make sure that "string is space \u202f" will continue to return "1", even if ...jan.nijtmans2013-07-291-1/+1
* | | | | | Unbreak MSVC6 debug build (thanks Andreas Kupries!)jan.nijtmans2013-07-081-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | |
| * | | | Unbreak MSVC6 debug build (thanks Andreas Kupries!)jan.nijtmans2013-07-081-1/+1