summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
* Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conve...jan.nijtmans2019-03-021-66/+75
* Tcl_UniCharToUtfDString: Don't allocate too much memory for this function.jan.nijtmans2018-10-031-5/+15
* 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
* | Bug-fix in Tcl_UtfAtIndex (for TCL_UTF_MAX=4 only). With test-case (in "strin...jan.nijtmans2018-04-231-0/+8
* | Slightly improved (more fail-safe) surrogate handling for TCL_UTF_MAX>3. Back...jan.nijtmans2018-04-191-7/+14
* | Fix handling of surrogates (when TCL_UTF_MAX > 3) in Tcl_UtfNcmp()/Tcl_UtfNca...jan.nijtmans2017-12-281-28/+29
* | Fix Tcl_UtfFindFirst()/Tcl_UtfFindLast(), which were broken by [83c0c569d6]. ...jan.nijtmans2017-11-291-7/+7
* | 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-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
|\ \ \ | |/ /
| * | 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
* | | Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3jan.nijtmans2017-06-081-19/+49
|/ /
* | 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
* | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ...jan.nijtmans2017-06-021-3/+9
* | Don't ever allow UTF-8 sequences of more than 4 characters to be generated or...jan.nijtmans2016-08-301-44/+24
* | 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
* | Use more portable TclIsSpaceProc() in stead of isspace().jan.nijtmans2013-06-171-1/+1
|\ \ | |/
| * Use more portable TclIsSpaceProc() in stead of isspace(). jan.nijtmans2013-06-171-1/+3
* | [3613609]: Replace strcasecmp() with UTF-8-aware version.dkf2013-05-221-0/+40
|\ \ | |/
| * Fixed the weird edge case.dkf2013-05-221-12/+25
| * Slight improvement: if cs = "\xC0\x80" and ct = "\x00", loop would continue a...jan.nijtmans2013-05-211-4/+4
| * Proposed solution for 3613609: lsort -nocase does not sort non-ASCII correctlyjan.nijtmans2013-05-211-0/+27
* | For Unicode 6.3, mongolian vowel separator (U+180e) is nominated to change ch...jan.nijtmans2013-02-251-2/+3
* | merge trunk jan.nijtmans2012-10-091-2/+1
|\ \
* | | tip 318 updatejan.nijtmans2012-09-231-0/+4
|/ /
* | [Frq 3473670]: Various Unicode-relatedjan.nijtmans2012-01-221-10/+7
|\ \ | |/
| * [Frq 3473670]: Various Unicode-related speedups/robustnessjan.nijtmans2012-01-221-10/+7
| |\
| | * rfe-3473670: Various Unicode-related speedups/robustnessjan.nijtmans2012-01-141-10/+7
* | | [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-35/+23
|\ \ \ | |/ /
| * | [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-35/+23
| |\ \ | | |/
| | * [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-69/+56
* | | [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2011-12-241-1/+1
|\ \ \ | |/ /
| * | [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2011-12-241-1/+1
| |\ \ | | |/
| | * [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2011-12-231-1/+1
* | | More isspace() callers.dgp2011-04-281-1/+1
|\ \ \ | |/ /
| * | More isspace() callers.dgp2011-04-281-1/+1
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ /
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | * * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negativedgp2005-09-071-36/+38
| | * Made Tcl_NumUtfChars do the right thing with \u0000 when guessing the lengthdkf2003-10-081-5/+2