summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
* Backport Tcl_UtfCharComplete() functionality from 8.6 for TCL_UTF_MAX>3. This...jan.nijtmans2021-03-111-1/+18
* Backport improvements in UTF-8 handling for Tcl_UtfPrev/Tcl_UtfNext from 8.7 ...jan.nijtmans2021-03-031-19/+31
* Same trouble with Tcl_UtfToUniCharDstring. Test and fix.dgp2020-05-071-4/+5
* Fix. Note that just because we get one positive detection of an incompletedgp2020-05-071-9/+10
* Tighten optimization in Tcl_UtfToUniCharDString(), just as in Tcl_NumUtfChars...jan.nijtmans2020-05-071-81/+79
* Tighten optimization in Tcl_NumUtfChars. Explain in comments.dgp2020-05-061-14/+25
* Restore safe calls of Invalid().dgp2020-05-061-3/+10
* The routine Invalid() has been revised to do something different.dgp2020-05-061-9/+17
* Change Invalid() parameter type to "const char *". Also call Invalid() first...jan.nijtmans2020-05-061-11/+13
* Properly protect "Invalid" function against lead bytes 0x80-0xBF. This fixes ...jan.nijtmans2020-05-051-2/+2
* Add comments so I'll know again later why this is here.dgp2020-04-301-0/+4
* Backport many UNICODE_OUT_OF_RANGE() calls. This should fix [69634d51fb74551b...jan.nijtmans2020-04-291-103/+166
* Revert the parts of [76213b3f72] that converted callers of Tcl_UtfToUniChardgp2020-04-241-4/+7
* Argument conditions for Invalid() call were not always satisfied.dgp2020-04-231-1/+1
* Fix [c574e50a3b30e76f]: CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4jan.nijtmans2020-04-181-83/+1
* Update documentation of Tcl_UtfPrev/Tcl_UtfNext back to how it was. Will be u...jan.nijtmans2020-04-181-47/+25
* [493dccc2de] Revise sequence validity check to reject out of range decodes too.dgp2020-04-171-26/+27
* merge litterdgp2020-04-161-2/+1
* More detailed comments.dgp2020-04-161-24/+46
* compiler warningdgp2020-04-161-1/+1
* More tests and fix for overlong handling in revised Tcl_UtfNext.dgp2020-04-161-0/+3
* merge 8.5dgp2020-04-161-20/+135
|\
| * Convert Overlong() to use a lookup table.dgp2020-04-161-23/+27
| * When we reject overlong sequences, \xC1 is as invalid a lead byte as \xFF.dgp2020-04-161-8/+5
| * merge 8.5dgp2020-04-161-2/+2
| |\
| * | Refactor the Overlong test into a utility routine.dgp2020-04-151-29/+56
| * | Use test existence to shorten comment.dgp2020-04-151-8/+1
| * | Rework Tcl_UtfPrev so it properly handles overlong sequences.dgp2020-04-151-19/+113
* | | merge 8.5dgp2020-04-161-2/+2
|\ \ \ | | |/ | |/|
| * | New test command "testutfnext", not used yet in actual test-cases. Being merg...jan.nijtmans2020-04-151-2/+2
| |/
* | typodgp2020-04-141-1/+1
* | Fix the bad logic in Tcl_UtfNext().dgp2020-04-141-6/+10
* | Replace calls of TclUtfToUniChar() with TclUtfNext() when caller has nodgp2020-04-141-13/+6
* | The function of Tcl_UtfNext() is to advance a pointer. There's nothingdgp2020-04-141-3/+13
|/
* Make the comments describing Tcl_UtfPrev more complete and precise.dgp2020-04-131-10/+37
* merge 8.5dgp2020-04-091-1/+1
|\
| * Guarantee TclNeedSpace and TclFindElement have common definition of whitespacedgp2020-04-091-1/+1
* | Apply better bug fix that does not create new bugs this time.dgp2020-04-081-1/+1
* | Restore the original Tcl_UtfPrev routine. Fails a different set of tests.dgp2020-04-081-0/+3
|/
* (cherry-pick from core-8-branch): Replace memcpy() calls with memmove() to av...jan.nijtmans2019-07-311-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/+3
* Backport various minor issues from 8.6: jan.nijtmans2018-10-271-4/+14
* Add emoji 11.0 to the set. Only active when compiled with TCL_UTF_MAX>3. Also...jan.nijtmans2018-05-111-15/+83
* Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-13/+14
* [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ...jan.nijtmans2017-06-061-75/+52
* 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
* Use more portable TclIsSpaceProc() in stead of isspace(). jan.nijtmans2013-06-171-1/+3
* 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