Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix "Delete" and "Backspace" for text widgets | jan.nijtmans | 2020-05-27 | 1 | -2/+2 |
| | |||||
* | Rename utility functions. Make Delete and Backspace work too | jan.nijtmans | 2020-05-27 | 38 | -442/+495 |
|\ | |||||
| * | A few more tweaks, using size_t in Tcl 9 builds. | jan.nijtmans | 2020-05-27 | 3 | -39/+38 |
| | | |||||
| *-. | Add Clang++ build to Travis on MacOS. Use more size_t internally, when ↵ | jan.nijtmans | 2020-05-27 | 34 | -389/+434 |
| |\ \ | | | | | | | | | | | | | compiled against Tcl 9 headers. No change when compiled against Tcl 8. | ||||
| | | * | Convert Tk_ItemIndexProc/Tk_ItemInsertProc to use size_t as index type, when ↵ | jan.nijtmans | 2020-05-26 | 14 | -289/+304 |
| | | | | | | | | | | | | | | | | compiled against Tcl 9 headers. Various more fixes in using size_t for Tcl >= 9 | ||||
| | | * | Negative "slaveIndex" means out-of-bounds too. | jan.nijtmans | 2020-05-25 | 1 | -1/+1 |
| | | | | |||||
| | | * | Formatting and even more size_t usage. | jan.nijtmans | 2020-05-25 | 31 | -116/+134 |
| | | |\ | | |_|/ | |/| | | |||||
| | * | | Fix C++ build for MacOS | jan.nijtmans | 2020-05-26 | 1 | -1/+1 |
| | | | | |||||
| | * | | Clang++ build for MacOS | jan.nijtmans | 2020-05-26 | 1 | -7/+19 |
| |/ / | |||||
* | | | A different approach to glyph indexing | jan.nijtmans | 2020-05-26 | 4 | -10/+76 |
|/ / | |||||
* | | Use more size_t type internally, when compiling against Tcl 9.0 headers. No ↵ | jan.nijtmans | 2020-05-25 | 36 | -317/+371 |
|\ \ | |/ | | | | | | | change when using Tcl 8.x. Add C++ travis build for TCL_UTF_MAX=4 (compat with Tcl 8.7) and TCL_UTF_MAX=6 (compat with Tcl 9.0) making sure that C++'s strict typing stays correct. | ||||
| * | Fix 2 (minor) gcc warnings | jan.nijtmans | 2020-05-24 | 2 | -2/+2 |
| | | |||||
| * | More progress | jan.nijtmans | 2020-05-24 | 11 | -83/+83 |
| | | |||||
| * | Merge trunk. Also (really) fix build against Tcl 8.6 TCL_UTF_MAX=6 now | jan.nijtmans | 2020-05-24 | 7 | -13/+73 |
| |\ | |/ |/| | |||||
* | | Merge implementation of TIP #574 following acceptation by vote. | fvogel | 2020-05-24 | 5 | -11/+67 |
|\ \ | |||||
| * | | A few cosmetic changes | fvogel | 2020-05-08 | 2 | -10/+9 |
| | | | |||||
| * | | Add test treetags-1.11 testing [.tree tag delete]. Also remove old proc in ↵ | fvogel | 2020-05-08 | 1 | -3/+8 |
| | | | | | | | | | | | | since Tcl features this operator natively. By Emiliano Gavilan. | ||||
| * | | Fix [1bb2f1d7ab]: ttk::treeview doesn't delete tags. Patch from Emiliano ↵ | fvogel | 2020-05-08 | 4 | -0/+52 |
| | | | | | | | | | | | | Gavilan. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2020-05-23 | 1 | -0/+4 |
|\ \ \ | |||||
| * \ \ | Put back comment about "tcl_wordchars" variable: it is still correct | jan.nijtmans | 2020-05-23 | 1 | -0/+4 |
| |\ \ \ | |||||
| | * | | | Put back comment, which shouldn't have been removed in the previous commit. | jan.nijtmans | 2020-05-23 | 1 | -0/+4 |
| | | | | | |||||
| | | | * | Merge trunk. Fix C++ builds, also for TCL_UTF_MAX=4 and TCL_UTF_MAX=6 | jan.nijtmans | 2020-05-23 | 5 | -23/+34 |
| | | | |\ | |_|_|_|/ |/| | | | | |||||
* | | | | | Merge 8.6 | jan.nijtmans | 2020-05-22 | 2 | -19/+16 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Merge 8.5 | jan.nijtmans | 2020-05-22 | 1 | -15/+15 |
| |\ \ \ \ | | |/ / / | |||||
| | * | | | Update MacOSX build from xcode11.4 to xcode11.5 | jan.nijtmans | 2020-05-22 | 2 | -16/+15 |
| | | | | | |||||
| * | | | | Remove incorrect reference to tcl_wordchars, it isn't used any more. | jan.nijtmans | 2020-05-22 | 1 | -4/+1 |
| | | | | | |||||
* | | | | | Don't use TCL_AUTO_LENGTH in Tk any more, just use TCL_INDEX_NONE ↵ | jan.nijtmans | 2020-05-22 | 35 | -777/+773 |
| | | | | | | | | | | | | | | | | | | | | consistantly everywhere: It's actually the same. | ||||
| | | | * | More progress | jan.nijtmans | 2020-05-22 | 58 | -961/+966 |
| | | | |\ | |_|_|_|/ |/| | | | | |||||
* | | | | | Revert part of [27e083eed755bf65], which broke the Windows build. | jan.nijtmans | 2020-05-22 | 1 | -5/+5 |
| | | | | | |||||
| | | | * | Minor compiler warning | jan.nijtmans | 2020-05-22 | 1 | -1/+1 |
| | | | | | |||||
| | | | * | More progress | jan.nijtmans | 2020-05-21 | 5 | -17/+38 |
| | | | | | |||||
| | | | * | Use more size_t for *Sel*-related functions, in case compiling with Tcl 9 | jan.nijtmans | 2020-05-21 | 9 | -85/+95 |
| |_|_|/ |/| | | | |||||
* | | | | Slightly biger "lenght" variables, in case we are using Tcl 9 | jan.nijtmans | 2020-05-20 | 3 | -4/+4 |
| | | | | |||||
* | | | | Fix compiler warning: macOS string length is unsigned. | culler | 2020-05-20 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix compiler warning: macOS string length is unsigned. | culler | 2020-05-20 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge 8.6. Protection done by TkUtfAtIndex() not needed here, because ↵ | jan.nijtmans | 2020-05-20 | 5 | -31/+17 |
|\ \ \ \ | |/ / / | | | | | | | | | Tcl_UtfAtIndex() in Tcl 8.7 already does that. | ||||
| * | | | Add (and use) new internal function TkUtfAtIndex(), which does the same as ↵ | jan.nijtmans | 2020-05-20 | 12 | -61/+79 |
| |\ \ \ | | | | | | | | | | | | | | | | Tcl_UtfAtIndex() only it protects against ending in the middle of a 4-byte UTF-8 sequence. This should fix another part of [a179564826] when handling copy-pasted Emoji in Text/Entry (and other) widgets. | ||||
| | * | | | Fix TkUtfAtIndex(), still was not 100% correct. | jan.nijtmans | 2020-05-20 | 4 | -26/+9 |
| | | | | | | | | | | | | | | | Simplify TKNSString::DString, since Tcl_UniCharToUtf() is already capable of surrogate handling with a proper Tcl version. | ||||
| | * | | | > ... >= | jan.nijtmans | 2020-05-19 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Little variation on bug-a179564826, in which Character indexing is kept, but ↵ | jan.nijtmans | 2020-05-19 | 2 | -68/+6 |
| | | | | | | | | | | | | | | | | | | | | with surrogate protection | ||||
| | * | | | Use Glyph indexing in more places (underscoring and canvas text and some more) | jan.nijtmans | 2020-05-19 | 8 | -30/+30 |
| | | | | | |||||
| | * | | | Merge 8.6 | jan.nijtmans | 2020-05-19 | 1 | -0/+7 |
| | |\ \ \ | | |/ / / | |/| | | | |||||
| | * | | | Add TkUtfCharComplete(), and use it in TkNumUtfChars() | jan.nijtmans | 2020-05-19 | 2 | -3/+19 |
| | |\ \ \ | |||||
| | * | | | | Add surrogate-aware TkUtfAtIndex and TkNumUtfChars. This is enough to allow ↵ | culler | 2020-05-19 | 6 | -31/+115 |
| | | | | | | | | | | | | | | | | | | | | | | | | editing emoji text (without variant selectors) in Entry widgets on macOS. | ||||
| | * | | | | Merge 8.6 | jan.nijtmans | 2020-05-18 | 19 | -321/+241 |
| | |\ \ \ \ | |||||
| | * \ \ \ \ | More improvements handling characters > U+FFFF as surrogates. Add internal ↵ | jan.nijtmans | 2020-05-14 | 59 | -1209/+3277 |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | TkUtfPrev(), which handles jumping back over surrogate pairs. | ||||
* | | | | | | | | Make Tk on MacOS work (again) with Tcl 9. Remove two debug lines. | jan.nijtmans | 2020-05-20 | 2 | -3/+1 |
| | | | | | | | | |||||
* | | | | | | | | Merge 8.6 | jan.nijtmans | 2020-05-19 | 3 | -3/+41 |
|\ \ \ \ \ \ \ \ | |/ / / / / / / | |||||
| * | | | | | | | New (internal) function TkUtfPrev(). This function can handle 4-byte ↵ | jan.nijtmans | 2020-05-19 | 3 | -3/+42 |
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | (illegal) byte-sequences, arising when pasting Emoji on a Text widget on MacOS (for example) | ||||
* | | | | | | | Fix some deprecation/unused parameter compiler warnings | jan.nijtmans | 2020-05-19 | 2 | -11/+11 |
| | | | | | | |