summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
* Repair Tcl_UniCharNcasecmp() in the same way as Tcl_UniCharNcmp() for fix [4c...jan.nijtmans2021-03-101-0/+17
* Fix [4c591fa487]: [string compare] EIAS violationjan.nijtmans2021-03-101-9/+8
* Using 0xFC00 is more readable here than ~0x3FF. It's sufficient becauwe ch1 a...jan.nijtmans2021-03-021-3/+3
* Backport some UTF-8-related changed from 8.7 to 8.6, only for TCL_UTF_MAX > 3...jan.nijtmans2021-03-021-3/+17
* Fix Tcl_UtfPrev for TCL_UTF_MAX>3, so it can jump back over Emoji. Backported...jan.nijtmans2021-02-161-1/+1
* Fix compiled "string is <class>" for TCL_UTF_MAX=4 build, for characters > U+...jan.nijtmans2020-05-251-0/+16
* Tiny fix for TCL_UTF_MAX=4 build only: Since Tcl_UtfNext() verifies 4 bytes f...jan.nijtmans2020-05-181-1/+1
* Fix [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytesjan.nijtmans2020-05-131-25/+11
|\
| * Merge testcase cleanup. Make Tcl_UtfPrev() behave the same for any TCL_UTF_MA...jan.nijtmans2020-05-121-4/+4
| |\
| * | Fix "knownBug" utf-4.11. Turns out a few other testcases where still not cor...jan.nijtmans2020-05-121-23/+5
| * | Merge 8.6. Mark testcase utf-4.11 as "knownBug": this one still doesn't give ...jan.nijtmans2020-05-111-36/+48
| |\ \ | | |/
* | | Revert implementation of Tcl_UniCharAtIndex() change done in this commit: [65...jan.nijtmans2020-05-121-1/+3
| |/ |/|
* | Tweak the Tcl_UtfPrev() implementation for TCL_UTF_MAX=4. This fixes 10 testc...jan.nijtmans2020-05-111-1/+1
* | occurance -> occurrence.jan.nijtmans2020-05-111-3/+3
* | Tweak Invalid() function: No need for "return 0" twice in the function. jan.nijtmans2020-05-101-8/+31
* | Rebase to latest core-8-6-branch.jan.nijtmans2020-05-081-26/+12
|\ \
| * \ Merge changes from parent branchdgp2020-05-071-14/+16
| |\ \ | | |/
| | * Merge 8.6jan.nijtmans2020-05-071-19/+21
| | |\ | |_|/ |/| |
| * | New approach to fixing the regression reported in [31aa44375d] builds ondgp2020-05-071-17/+3
| |/
| * Merge 8.6. Some more tweaks to Tcl_UtfPrev(), so it cannot jump back 4 bytes ...jan.nijtmans2020-05-071-63/+92
| |\
| * | Add 4 test-cases that could fool Tcl_UtfPrev (but ... actually they don't).jan.nijtmans2020-05-051-1/+1
| * | Merge 8.6jan.nijtmans2020-05-051-1/+1
| |\ \
| * | | More progress/simplificationjan.nijtmans2020-05-041-21/+2
| * | | Merge 8.6jan.nijtmans2020-05-041-6/+7
| |\ \ \
| * \ \ \ Merge 8.6jan.nijtmans2020-05-041-6/+8
| |\ \ \ \
| * \ \ \ \ Merge 8.6jan.nijtmans2020-05-031-13/+55
| |\ \ \ \ \
| * | | | | | Seems almost correct. Still problem with "string index" for TCL_UTF_MAX>3jan.nijtmans2020-05-021-15/+10
| * | | | | | More fixes for [ed29806baf]. Not working yet. WIPjan.nijtmans2020-05-021-17/+41
* | | | | | | merge 8.5dgp2020-05-071-5/+6
|\ \ \ \ \ \ \
| * | | | | | | Same trouble with Tcl_UtfToUniCharDstring. Test and fix.dgp2020-05-071-4/+5
* | | | | | | | merge 8.5dgp2020-05-071-14/+15
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Fix. Note that just because we get one positive detection of an incompletedgp2020-05-071-9/+10
* | | | | | | | For TCL_UTF_MAX==4: Make sure that Tcl_UtfNext()/Tcl_UtfPrev() never move mor...jan.nijtmans2020-05-071-6/+6
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Optimize Tcl_UtfToUniCharDString()jan.nijtmans2020-05-071-23/+26
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Tighten optimization in Tcl_UtfToUniCharDString(), just as in Tcl_NumUtfChars...jan.nijtmans2020-05-071-81/+79
* | | | | | | merge 8.5dgp2020-05-061-14/+24
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Tighten optimization in Tcl_NumUtfChars. Explain in comments.dgp2020-05-061-14/+25
* | | | | | | merge 8.5dgp2020-05-061-11/+26
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | 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
* | | | | | | Merge 8.5. More usage of UCHAR() macro.jan.nijtmans2020-05-061-11/+13
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Change Invalid() parameter type to "const char *". Also call Invalid() first...jan.nijtmans2020-05-061-11/+13
* | | | | | | More usage of TclUtfToUCS4(), so we can use the whole Unicode range better in...jan.nijtmans2020-05-051-9/+8
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge 8.5jan.nijtmans2020-05-051-2/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | |
| * | | | Properly protect "Invalid" function against lead bytes 0x80-0xBF. This fixes ...jan.nijtmans2020-05-051-2/+2
* | | | | New internal function TclGetUCS4() only available when TCL_UTF_MAX=4. This fi...jan.nijtmans2020-05-041-1/+5
| |_|_|/ |/| | |
* | | | (partial) fix for [9d0cb35bb2]: Various issues with core-8-6-branch, TCL_UTF_...jan.nijtmans2020-05-041-16/+18
| |_|/ |/| |
* | | Re-join utf-6.93.0 and utf-6.93.1 (please disregard comment in previous commi...jan.nijtmans2020-05-031-12/+54
* | | Join test-cases utf-6.93.0 and utf-6.93.1, which MUST give the same answer al...jan.nijtmans2020-05-021-1/+1
| |/ |/|
* | Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX ...jan.nijtmans2020-05-011-10/+10
|\ \