summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
Commit message (Expand)AuthorAgeFilesLines
* Add UTF-16 versions of Tcl_GetCharLength/Tcl_GetRange/Tcl_GetUniChar to the s...jan.nijtmans2022-04-011-2/+1
* Add UTF-16 versions of Tcl_NumUtfChars/Tcl_UtfAtIndex to the stub table. Shou...jan.nijtmans2022-03-291-15/+76
* Merge 8.7jan.nijtmans2022-02-241-14/+45
|\
| * TIP #617: Tcl_WCharLen/Tcl_Char16Lenjan.nijtmans2022-02-031-1/+32
* | Merge 8.7. Remove "string bytelength" completely. Also fix some TIP #595 left...jan.nijtmans2021-04-301-0/+30
|\ \ | |/
| * Merge 8.7jan.nijtmans2021-03-171-36/+31
| |\
| * | TIP #597 implementation: "string is unicode" and new wtf-8 encodingjan.nijtmans2021-03-101-0/+30
* | | Merge 8.7 (this is the TIP #575 implementation for Tcl 9.0)jan.nijtmans2021-03-151-35/+14
|\ \ \ | | |/ | |/|
| * | Implement TIP #575: Switchable Tcl_UtfCharComplete()/Tcl_UtfNext()/Tcl_UtfPrev()jan.nijtmans2021-03-151-35/+14
| |\ \
| | * \ Merge 8.7jan.nijtmans2020-12-131-1/+1
| | |\ \
| | * \ \ Merge 8.7jan.nijtmans2020-11-051-50/+18
| | |\ \ \
| | * | | | Finish implementation of "string nextchar|nextword|prevchar|prevword". Not th...jan.nijtmans2020-05-251-1/+14
| | * | | | Split more "string" functions. New helper function TclUniCharToUCS4(), not us...jan.nijtmans2020-05-221-0/+14
| | * | | | Merge 8.7jan.nijtmans2020-05-221-19/+51
| | |\ \ \ \
| | * \ \ \ \ Merge 8.7. Further progress with TIP implementation.jan.nijtmans2020-05-131-25/+26
| | |\ \ \ \ \
| | * | | | | | First, experimental implementation of TIP #575. Barely tested, will fail. WIPjan.nijtmans2020-05-121-10/+4
* | | | | | | | Merge 8.7jan.nijtmans2021-03-101-0/+17
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge 8.6jan.nijtmans2021-03-101-0/+17
| |\ \ \ \ \ \ \
| | * | | | | | | Repair Tcl_UniCharNcasecmp() in the same way as Tcl_UniCharNcmp() for fix [4c...jan.nijtmans2021-03-101-0/+17
* | | | | | | | | Merge 8.7jan.nijtmans2021-03-101-9/+8
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge 8.6jan.nijtmans2021-03-101-9/+8
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | / | | |_|_|_|_|_|/ | |/| | | | | |
| | * | | | | | 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
* | | | | | | | Merge 8.7jan.nijtmans2021-03-021-0/+6
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge 8.6jan.nijtmans2021-03-021-0/+6
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | / | | |_|_|_|_|/ | |/| | | | |
| | * | | | | 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
* | | | | | | Merge 8.7jan.nijtmans2020-12-081-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ...jan.nijtmans2020-12-081-1/+1
* | | | | | | Merge 8.7jan.nijtmans2020-11-181-1/+14
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | More usage of TclUtfToUCS4/TclUniCharToUCS4 in stead of it's UniChar variants...jan.nijtmans2020-11-181-1/+14
| | |_|_|_|/ | |/| | | |
* | | | | | Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code.jan.nijtmans2020-06-041-6/+6
|\ \ \ \ \ \ | |/ / / / /
* | | | | | Merge 8.7jan.nijtmans2020-05-251-0/+14
|\ \ \ \ \ \ | |/ / / / /
| * | | | | 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
| | | |\ \ \ \ | | | | |/ / /
* | | | | | | Merge 8.7jan.nijtmans2020-05-201-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Adapt some comments, which are not correct for Tcl 8.7 any morejan.nijtmans2020-05-201-1/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge 8.7jan.nijtmans2020-05-121-10/+11
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Little tweak to Tcl_UniCharAtIndex(): Protect against negative index, return ...jan.nijtmans2020-05-121-0/+3
* | | | | | Merge 8.7jan.nijtmans2020-05-121-3/+16
|\ \ \ \ \ \ | |/ / / / /
| * | | | | 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.7jan.nijtmans2020-05-111-2/+8
|\ \ \ \ | |/ / /
| * | | 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