Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | | Merge 8.6 | jan.nijtmans | 2020-02-17 | 18 | -97/+94 | |
| | |\ \ \ \ \ | ||||||
| | * | | | | | | Fix [e3888d5820] (Grab on master prevents mouse pointer warp into slave ↵ | fvogel | 2020-01-25 | 1 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | widget) for Linux and Windows. Test bind-35.1 now passes on these platforms. | |||||
| | * | | | | | | Reorder code snippet in HandleEventGenerate to make it easier to understand. ↵ | fvogel | 2020-01-06 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes nothing in how things work. | |||||
| * | | | | | | | Fix [40e4bf6198]: Entry/spinbox: double free when textvariable set in ↵ | fvogel | 2020-07-06 | 1 | -3/+7 | |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | validatecommand script. | |||||
| | * | | | | | | | More complete fix: deal with the case the textvariable is set more than once ↵ | fvogel | 2020-06-18 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the validatecommand script. | |||||
| | * | | | | | | | Fix [40e4bf6198]: Entry: double free when textvariable set in ↵ | fvogel | 2020-06-14 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | validatecommand script | |||||
| * | | | | | | | | Fix [16ef161925]: <Escape><Control-c> binding sequence not working anymore. | fvogel | 2020-06-27 | 1 | -12/+56 | |
| |\ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | Let tests bind-33.20 and bind-33.21 pass. | fvogel | 2020-06-21 | 1 | -2/+5 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Make a bit more use of helper functions. No functional change. | fvogel | 2020-05-03 | 1 | -10/+17 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Now a mixture of my fix with Gregor's fix. All tests from bind.test do pass ↵ | fvogel | 2020-05-03 | 1 | -5/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | again. | |||||
| | * | | | | | | | | Revert my fix proposal [dfa8bbc5] and commit a fix proposal from Gregor. ↵ | fvogel | 2020-05-02 | 1 | -26/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests bind-33.16, -17 and -18 fail again. Moreover bind-33.9 now fails (regression). | |||||
| | * | | | | | | | | Fix proposal for [16ef161925]: <Escape><Control-c> binding sequence not ↵ | fvogel | 2020-05-02 | 1 | -0/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | working anymore | |||||
| | * | | | | | | | | Add comments | fvogel | 2020-05-02 | 1 | -2/+4 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Use of IsSubsetOf function is clearer (no functional change). | fvogel | 2020-04-12 | 1 | -1/+1 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Fix [5c51be6411]: Buffer over-read in Tk_PhotoPutBlock() and ↵ | fvogel | 2020-06-27 | 1 | -8/+32 | |
| |\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | Tk_PhotoPutZoomedBlock(). Patch from Christopher Chavez. | |||||
| | * | | | | | | | | Let the bug id be correct | fvogel | 2020-05-16 | 1 | -2/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Fix [5c51be6411]: Buffer over-read in Tk_PhotoPutBlock() and ↵ | fvogel | 2020-05-16 | 1 | -8/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tk_PhotoPutZoomedBlock(). Patch from Christopher Chavez. | |||||
| * | | | | | | | | | Fix [2790615]: "update" performs Tk callbacks in its own stack frame. | jan.nijtmans | 2020-06-08 | 8 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by adding TCL_EVAL_GLOBAL in a lot of places. | |||||
| * | | | | | | | | | Update leftover comments that didn't follow the changes made in [0deef053f6] | fvogel | 2020-06-06 | 2 | -4/+4 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | photo read command: memory error on shrink option did not close the channel | oehhar | 2020-06-04 | 1 | -0/+1 | |
| | |_|_|_|_|/ / / | |/| | | | | | | | ||||||
| * | | | | | | | | Rename Aqua stub TkpAppCanDraw as TkpWillDrawWidget | culler | 2020-05-31 | 5 | -9/+9 | |
| | |_|_|_|/ / / | |/| | | | | | | ||||||
| * | | | | | | | Remove some unnecessary macOS conditional code by using internal stubs. | culler | 2020-05-29 | 5 | -23/+88 | |
| | | | | | | | | ||||||
| * | | | | | | | Add (and use) new internal function TkUtfAtIndex(), which does the same as ↵ | jan.nijtmans | 2020-05-20 | 7 | -27/+61 | |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 5 | -24/+24 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Merge 8.6 | jan.nijtmans | 2020-05-19 | 1 | -0/+7 | |
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | ||||||
| * | | | | | | | | 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) | |||||
| | * | | | | | | | Add TkUtfCharComplete(), and use it in TkNumUtfChars() | jan.nijtmans | 2020-05-19 | 2 | -3/+19 | |
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | ||||||
| * | | | | | | | | Eliminate two Tcl_UtfNext() calls, because the UtfToUniChar() variants are ↵ | jan.nijtmans | 2020-05-18 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more likely to do the right thing when surrogates are involved. | |||||
| | * | | | | | | | Add surrogate-aware TkUtfAtIndex and TkNumUtfChars. This is enough to allow ↵ | culler | 2020-05-19 | 5 | -29/+113 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | editing emoji text (without variant selectors) in Entry widgets on macOS. | |||||
| | * | | | | | | | Merge 8.6 | jan.nijtmans | 2020-05-18 | 3 | -3/+11 | |
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | ||||||
| * | | | | | | | | Add support for setting InputLanguage encoding to "utf-8". I don't know if ↵ | jan.nijtmans | 2020-05-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it's possible on Windows 10, but if it is, it would go terribly wrong here ... | |||||
| * | | | | | | | | Don't use trans_chars array on MacOSX any more. | jan.nijtmans | 2020-05-17 | 1 | -1/+1 | |
| |\ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | ||||||
| | * | | | | | | | Incorporate the changes which make unix use trans_chars. | culler | 2020-05-16 | 1 | -14/+0 | |
| | |\ \ \ \ \ \ \ | ||||||
| | | * | | | | | | | Experiment: What if we would use the trans_chars array on all platforms, X11 ↵ | jan.nijtmans | 2020-05-15 | 2 | -23/+9 | |
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | too? | |||||
| | * | | | | | | | Make sure unix includes its platform-specific header in files that use ↵ | culler | 2020-05-15 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TkKeyEvent. | |||||
| | * | | | | | | | Move platform-specific declarations into platform-specific header files. | marc_culler | 2020-05-15 | 1 | -25/+5 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Merge 8.6 | marc_culler | 2020-05-15 | 1 | -3/+3 | |
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | ||||||
| | * | | | | | | | Switch state and delta in TkWheelEvent so they match the layout in XKeyEvent. | marc_culler | 2020-05-14 | 1 | -1/+1 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Add the macOS support, using the TkWheelEvent but not the TkKeyEvent since ↵ | culler | 2020-05-14 | 2 | -17/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS no longer needs trans_chars. | |||||
| | * | | | | | | | First concept cleanup for [d2a10a14a8] (already merged to core-8-6-branch ↵ | jan.nijtmans | 2020-05-14 | 2 | -1/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but with a quickfix). This makes TkKeyEvent usable for all platforms, and adds a generic TkWheelEvent. So far, only adapted for X11 and Windows, still has to be modified for MacOS. | |||||
| * | | | | | | | | Fix [a953736b546ce681cbfc]: Potential wrong use of TkKeyEvent. Finally done ↵ | jan.nijtmans | 2020-05-15 | 2 | -1/+9 | |
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | what's suggested there: Since kePtr->charValuePtr is only used on X11, only do the ckfree(kePtr->charValuePtr) on X11. On Win32, use TkKeyEvent in stead of the non-standard XEvent. On macOS TkKeyEvent is not used, so no change is needed (- MC). | |||||
| | * | | | | | | More improvements handling characters > U+FFFF as surrogates. Add internal ↵ | jan.nijtmans | 2020-05-14 | 10 | -132/+177 | |
| | |\ \ \ \ \ \ | | |/ / / / / / | |/| / / / / / | | |/ / / / / | TkUtfPrev(), which handles jumping back over surrogate pairs. | |||||
| * | | | | | | Quick-fix for build problem on X11 (unfortunately, this means mis-using the ↵ | jan.nijtmans | 2020-05-13 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | xbutton.button field again, don't have other quick solution for that) | |||||
| * | | | | | | Small adjustments to tkBind.c. Thanks, Francois | culler | 2020-05-12 | 1 | -10/+6 | |
| |\ \ \ \ \ \ | ||||||
| | * | | | | | | Use SET_NUMBER for Bool fields and make sure they print as Booleans; remove ↵ | culler | 2020-05-12 | 1 | -10/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a couple of redundant assignments. | |||||
| * | | | | | | | Fix [d2a10a14a8]: Give mousewheel events their own flag and event struct; ↵ | culler | 2020-05-12 | 1 | -113/+118 | |
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | avoid unnecessary keysym lookups | |||||
| | * | | | | | | Try to match signed/unsigned to xlib correctly; restore macros but try to ↵ | marc_culler | 2020-05-11 | 1 | -55/+67 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use more descriptive names; further simplify the big switch. |