summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge trunkoehhar2020-05-24465-22258/+52059
|\
| * Merge implementation of TIP #574 following acceptation by vote.fvogel2020-05-245-11/+67
| |\
| | * A few cosmetic changesfvogel2020-05-082-10/+9
| | |
| | * Add test treetags-1.11 testing [.tree tag delete]. Also remove old proc in ↵fvogel2020-05-081-3/+8
| | | | | | | | | | | | since Tcl features this operator natively. By Emiliano Gavilan.
| | * Fix [1bb2f1d7ab]: ttk::treeview doesn't delete tags. Patch from Emiliano ↵fvogel2020-05-084-0/+52
| | | | | | | | | | | | Gavilan.
| * | Merge 8.6jan.nijtmans2020-05-231-0/+4
| |\ \
| | * \ Put back comment about "tcl_wordchars" variable: it is still correctjan.nijtmans2020-05-231-0/+4
| | |\ \
| | | * | Put back comment, which shouldn't have been removed in the previous commit.jan.nijtmans2020-05-231-0/+4
| | | | |
| * | | | Merge 8.6jan.nijtmans2020-05-222-19/+16
| |\ \ \ \ | | |/ / /
| | * | | Merge 8.5jan.nijtmans2020-05-221-15/+15
| | |\ \ \ | | | |/ /
| | | * | Update MacOSX build from xcode11.4 to xcode11.5jan.nijtmans2020-05-222-16/+15
| | | | |
| | * | | Remove incorrect reference to tcl_wordchars, it isn't used any more.jan.nijtmans2020-05-221-4/+1
| | | | |
| * | | | Don't use TCL_AUTO_LENGTH in Tk any more, just use TCL_INDEX_NONE ↵jan.nijtmans2020-05-2235-777/+773
| | | | | | | | | | | | | | | | | | | | consistantly everywhere: It's actually the same.
| * | | | Revert part of [27e083eed755bf65], which broke the Windows build.jan.nijtmans2020-05-221-5/+5
| | | | |
| * | | | Slightly biger "lenght" variables, in case we are using Tcl 9jan.nijtmans2020-05-203-4/+4
| | | | |
| * | | | Fix compiler warning: macOS string length is unsigned.culler2020-05-201-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Fix compiler warning: macOS string length is unsigned.culler2020-05-201-1/+1
| | | | |
| * | | | Merge 8.6. Protection done by TkUtfAtIndex() not needed here, because ↵jan.nijtmans2020-05-205-31/+17
| |\ \ \ \ | | |/ / / | | | | | | | | | | Tcl_UtfAtIndex() in Tcl 8.7 already does that.
| | * | | Add (and use) new internal function TkUtfAtIndex(), which does the same as ↵jan.nijtmans2020-05-2012-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.nijtmans2020-05-204-26/+9
| | | | | | | | | | | | | | | | | | Simplify TKNSString::DString, since Tcl_UniCharToUtf() is already capable of surrogate handling with a proper Tcl version.
| | | * | | > ... >=jan.nijtmans2020-05-191-1/+1
| | | | | |
| | | * | | Little variation on bug-a179564826, in which Character indexing is kept, but ↵jan.nijtmans2020-05-192-68/+6
| | | | | | | | | | | | | | | | | | | | | | | | with surrogate protection
| | | * | | Use Glyph indexing in more places (underscoring and canvas text and some more)jan.nijtmans2020-05-198-30/+30
| | | | | |
| | | * | | Merge 8.6jan.nijtmans2020-05-191-0/+7
| | | |\ \ \ | | | |/ / / | | |/| | |
| | | * | | Add TkUtfCharComplete(), and use it in TkNumUtfChars()jan.nijtmans2020-05-192-3/+19
| | | |\ \ \
| | | * | | | Add surrogate-aware TkUtfAtIndex and TkNumUtfChars. This is enough to allow ↵culler2020-05-196-31/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | editing emoji text (without variant selectors) in Entry widgets on macOS.
| | | * | | | Merge 8.6jan.nijtmans2020-05-1819-321/+241
| | | |\ \ \ \
| | | * \ \ \ \ More improvements handling characters > U+FFFF as surrogates. Add internal ↵jan.nijtmans2020-05-1459-1209/+3277
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | TkUtfPrev(), which handles jumping back over surrogate pairs.
| * | | | | | | | Make Tk on MacOS work (again) with Tcl 9. Remove two debug lines.jan.nijtmans2020-05-202-3/+1
| | | | | | | | |
| * | | | | | | | Merge 8.6jan.nijtmans2020-05-193-3/+41
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | New (internal) function TkUtfPrev(). This function can handle 4-byte ↵jan.nijtmans2020-05-193-3/+42
| | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | (illegal) byte-sequences, arising when pasting Emoji on a Text widget on MacOS (for example)
| * | | | | | | Fix some deprecation/unused parameter compiler warningsjan.nijtmans2020-05-192-11/+11
| | | | | | | |
| * | | | | | | Merge 8.6jan.nijtmans2020-05-182-3/+4
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Eliminate two Tcl_UtfNext() calls, because the UtfToUniChar() variants are ↵jan.nijtmans2020-05-182-3/+4
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | more likely to do the right thing when surrogates are involved.
| * | | | | | Merge 8.6jan.nijtmans2020-05-181-1/+5
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Add support for setting InputLanguage encoding to "utf-8". I don't know if ↵jan.nijtmans2020-05-182-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | it's possible on Windows 10, but if it is, it would go terribly wrong here ...
| * | | | | | Simplify Aqua text handling by moving encoding/decoding into the TKNSString ↵culler2020-05-173-122/+73
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | class.
| | * | | | | Simplify Aqua text handling by moving encoding/decoding into the TKNSString ↵culler2020-05-173-122/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | class.
| * | | | | | Accept RFE [d87dc2e43a] from Chrisopher Chavez: Remove unused Carbon-era ↵culler2020-05-172-41/+0
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | macOS function TkMacOSXGetStringObjFromCFString().
| | * | | | | Accept RFE [d87dc2e43a] from Chrisopher Chavez: Remove unused Carbon-era ↵culler2020-05-172-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS function TkMacOSXGetStringObjFromCFString().
| * | | | | | Don't use trans_chars array on MacOSX any more.culler2020-05-175-48/+22
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Don't use trans_chars array on MacOSX any more.jan.nijtmans2020-05-175-48/+22
| | |\ \ \ \ \
| | | * \ \ \ \ Incorporate the changes which make unix use trans_chars.culler2020-05-165-40/+19
| | | |\ \ \ \ \
| | | | * | | | | Experiment: What if we would use the trans_chars array on all platforms, X11 ↵jan.nijtmans2020-05-155-35/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | too?
| | | * | | | | | Make sure unix includes its platform-specific header in files that use ↵culler2020-05-152-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TkKeyEvent.
| | | * | | | | | Move platform-specific declarations into platform-specific header files.marc_culler2020-05-157-30/+51
| | | | | | | | |
| | | * | | | | | Merge 8.6marc_culler2020-05-153-17/+10
| | | |\ \ \ \ \ \ | | | | |/ / / / /
| | | * | | | | | Switch state and delta in TkWheelEvent so they match the layout in XKeyEvent.marc_culler2020-05-141-1/+1
| | | | | | | | |
| | | * | | | | | Fix the build for MSVCfvogel2020-05-141-1/+1
| | | | | | | | |
| | | * | | | | | Add the macOS support, using the TkWheelEvent but not the TkKeyEvent since ↵culler2020-05-145-75/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS no longer needs trans_chars.