summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
* Fix compiled "string is <class>" for characters > U+FFFF. Add testcase exposi...jan.nijtmans2020-05-251-0/+14
|\
| * 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
| | |\ \ | | | |/
* | | | Adapt some comments, which are not correct for Tcl 8.7 any morejan.nijtmans2020-05-201-1/+1
* | | | Little tweak to Tcl_UniCharAtIndex(): Protect against negative index, return ...jan.nijtmans2020-05-121-0/+3
* | | | Merge 8.6jan.nijtmans2020-05-121-3/+14
|\ \ \ \ | |/ / /
| * | | Revert implementation of Tcl_UniCharAtIndex() change done in this commit: [65...jan.nijtmans2020-05-121-1/+3
| | |/ | |/|
* | | Merge 8.6jan.nijtmans2020-05-111-2/+8
|\ \ \ | |/ /
| * | Tweak the Tcl_UtfPrev() implementation for TCL_UTF_MAX=4. This fixes 10 testc...jan.nijtmans2020-05-111-1/+1
* | | Merge 8.6jan.nijtmans2020-05-111-3/+3
|\ \ \ | |/ /
| * | occurance -> occurrence.jan.nijtmans2020-05-111-3/+3
* | | Merge 8.6jan.nijtmans2020-05-101-8/+7
|\ \ \ | |/ /
| * | 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.6dgp2020-05-071-14/+16
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | 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
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge 8.6jan.nijtmans2020-05-071-34/+40
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | 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.6dgp2020-05-061-14/+24
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | merge 8.5dgp2020-05-061-14/+24
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Tighten optimization in Tcl_NumUtfChars. Explain in comments.dgp2020-05-061-14/+25
* | | | | | | | merge 8.6dgp2020-05-061-11/+26
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | 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.6jan.nijtmans2020-05-061-11/+13
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | 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
| | |_|_|_|_|/ | |/| | | | |