Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Code simplifications: Don't bother the typedefs 'EventMask' and 'ModMask' ↵ | jan.nijtmans | 2020-07-15 | 1 | -3/+3 | |
| | | | | for 'unsigned long', since Tk cannot handle more than 32 bits anyway. Simply use 'unsigned' everywhere. | |||||
* | Fix [a953736b546ce681cbfc]: Potential wrong use of TkKeyEvent. Finally done ↵ | jan.nijtmans | 2020-05-15 | 1 | -1/+3 | |
| | | | | | | 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). | |||||
* | Make TkGenerateActivateEvents() available to Win32 and X11 | jan.nijtmans | 2020-03-29 | 1 | -0/+41 | |
| | ||||||
* | Merge 8.5 | jan.nijtmans | 2020-02-03 | 1 | -17/+4 | |
|\ | ||||||
| * | Put realEventMasks and virtualEventMasks together in a single table: ↵ | jan.nijtmans | 2020-02-03 | 1 | -17/+4 | |
| | | | | | | | | VirtualEvent = MappingNotify + 1, so it's fixed anyway. Other places in Tk code already depend on that, so we can here. | |||||
* | | Merge TIP #532 implementation now that [c1c842ef7792] (new tkBind.c: wrong ↵ | fvogel | 2019-08-28 | 1 | -66/+0 | |
|\ \ | | | | | | | | | | assumption about ButtonRelease to match Button presses) is fixed. | |||||
| * \ | Merge 8.6 | jan.nijtmans | 2019-08-13 | 1 | -2/+2 | |
| |\ \ | ||||||
| * \ \ | Merge 8.6, and remove unused static function definition | jan.nijtmans | 2019-08-02 | 1 | -1/+0 | |
| |\ \ \ | ||||||
| * \ \ \ | Merge 8.6 (and fix merge conflict arising from that) | jan.nijtmans | 2019-08-01 | 1 | -18/+9 | |
| |\ \ \ \ | | |/ / / | ||||||
| * | | | | Remove the crazy function UpdateButtonEventState which was causing all this ↵ | culler | 2019-08-01 | 1 | -67/+0 | |
| | | | | | | | | | | | | | | | | | | | | trouble. | |||||
* | | | | | Fix [5da1d76e01]: X11: add default bindings for non-emulated horizontal ↵ | jan.nijtmans | 2019-08-22 | 1 | -0/+8 | |
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | scrolling to Tk 8.6 | |||||
| * | | | | Improve implementation in tkEvent.c. | jan.nijtmans | 2019-08-21 | 1 | -10/+9 | |
| |\ \ \ \ | |/ / / / |/| | | | | Merge 8.6 | |||||
| * | | | | Much simpler (still Experimental) implementation of RFE-5da1d76e01. Just ↵ | jan.nijtmans | 2019-08-19 | 1 | -1/+10 | |
|/ / / / | | | | | | | | | | | | | translate 6/7 to Shift-4/5 | |||||
* | | | | A few more places where "unsigned long" should have been used. | jan.nijtmans | 2019-08-13 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Use "unsigned long" as type for "mask" variables containing X11 button-masks ↵ | jan.nijtmans | 2019-08-13 | 1 | -1/+1 | |
| |/ / |/| | | | | | | | | consistantly. Code cleanup. | |||||
* | | | New intermal macro ALL_BUTTONS and function TkGetButtonMask(), which can be ↵ | jan.nijtmans | 2019-07-23 | 1 | -23/+12 | |
| | | | | | | | | | | | | re-used in various places in stead of separate functions. | |||||
* | | | Don't use "struct ThreadSpecificData", while the type name ↵ | jan.nijtmans | 2019-07-02 | 1 | -1/+1 | |
|/ / | | | | | | | "ThreadSpecificData" is already sufficient. | |||||
| | | ||||||
| \ | ||||||
*-. \ | Merge 8.6 and all changes from original [bug-9e31fd9449] branch | jan.nijtmans | 2019-01-08 | 1 | -2/+2 | |
|\ \ \ | | |/ | ||||||
| | * | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2019-01-08 | 1 | -2/+2 | |
| | |\ | | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing. | |||||
| | | * | Bring back more original "None" usages, and fix other warnings which ↵ | jan.nijtmans | 2019-01-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | gradually slipped in. Wherever possible, pragma's are used in MSVC to silence useless compiler warnings. | |||||
* | | | | As requested by Christian Werner/François Vogel and others: Undo many None ↵ | jan.nijtmans | 2018-12-31 | 1 | -8/+8 | |
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected. | |||||
| * | | | As requested by Christian Werner/François Vogel and others: Undo many None ↵ | jan.nijtmans | 2018-12-31 | 1 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected. | |||||
* | | | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols | jan.nijtmans | 2018-12-20 | 1 | -9/+9 | |
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before | |||||
| * | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2018-12-20 | 1 | -9/+9 | |
| |/ | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings. | |||||
| * | (cherry-pick): Fix crash in TkFinalize() if Tk_Init() is never called. ↵ | jan.nijtmans | 2016-02-11 | 1 | -0/+6 | |
| | | | | | | | | Suggested by Brian Griffin. | |||||
| * | Remove useless (void *) casts introduced in checkin [b7a58eae61]. The ↵ | stwo | 2012-08-09 | 1 | -3/+3 | |
| | | | | | | | | warnings were false flags from a faulty OpenBSD C compiler. | |||||
* | | Proposed fix for [7d967c68a09e07e355358af40f36dd5dd84c7022|7d967c68]: Tk ↵ | jan.nijtmans | 2016-12-15 | 1 | -1/+12 | |
| | | | | | | | | applications segmentation fault when ibus-daemon IME is restarted | |||||
* | | Fix crash in TkFinalize() if Tk_Init() is never called. Suggested by Brian ↵ | jan.nijtmans | 2016-02-11 | 1 | -0/+6 | |
| | | | | | | | | Griffin. | |||||
* | | Remove unnecessary end-of-line spacing | jan.nijtmans | 2014-11-21 | 1 | -1/+1 | |
| | | ||||||
* | | typo | jan.nijtmans | 2013-11-20 | 1 | -1/+1 | |
| | | ||||||
* | | Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper | jenglish | 2013-02-27 | 1 | -1/+1 | |
| | | | | | | exists and is used. | |||||
* | | Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵ | jan.nijtmans | 2013-02-27 | 1 | -1/+1 | |
| | | | | | | | | Tcl_GetIndexFromObjStruct. | |||||
* | | merge trunk | dkf | 2012-08-14 | 1 | -3/+3 | |
|\ \ | ||||||
| * | | Remove useless (void *) casts introduced in checkin [81e50c85ed]. The ↵ | stwo | 2012-08-09 | 1 | -3/+3 | |
| | | | | | | | | | | | | warnings were false flags from a faulty OpenBSD C compiler. | |||||
* | | | minor improvements to flag handling | dkf | 2012-07-31 | 1 | -1/+1 | |
|/ / | ||||||
* | | Purge RCS Keywords | dgp | 2011-06-08 | 1 | -2/+0 | |
|\ \ | |/ | ||||||
| * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 | |
| |\ | ||||||
| | * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 | |
| | | | ||||||
| | * | XIM fixes [See #905830, patch tk84-xim-fixes.patch]: | jenglish | 2006-01-20 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | + Revert 2005-12-05 patch disabling XIM when SCIM in use; + Make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window. | |||||
| | * | * generic/tkEvent.c: fix handling of ClientMessage handlers. | hobbs | 2005-11-30 | 1 | -4/+4 | |
| | | | | | | | | | | | | [Bug 1289565 983920] | |||||
| | * | * generic/tkEvent.c (Tk_HandleEvent): Call XSetICFocus whenever | rmax | 2004-10-26 | 1 | -1/+12 | |
| | | | | | | | | | | | | | | | the window receives focus. This fixes bug #905830 but avoids #1000051. | |||||
| | * | * changes: | dgp | 2004-07-29 | 1 | -11/+1 | |
| | | | | | | | | | | | | | | | | | | * generic/tkEvent.c (Tk_HandleEvent): revert the 2004-07-20 commit. That commit created a new Bug 1000051 - a broken Compose Key. This revert restores Bug 905830 until a cleaner fix can be provided. | |||||
| | * | Don't queue events for unmapped children. | wolfsuit | 2004-07-21 | 1 | -1/+5 | |
| | | | ||||||
| | * | * generic/tkEvent.c (Tk_HandleEvent): ensure IC focus is set after | hobbs | 2004-07-21 | 1 | -1/+11 | |
| | | | | | | | | | | | | creation. [Bug #905830] | |||||
| | * | This gets the scroll wheel working for listboxes and text widgets for Mac OS | wolfsuit | 2004-02-16 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | X. It also changes the model to route scrollwheel events to the window under the pointer, not the focus window on X (and only on X). That is the correct behavior for Mac OS X. | |||||
| | * | * generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call for | hobbs | 2003-07-19 | 1 | -3/+12 | |
| | | | | | | | | | | | | TK_XIM_SPOT usage. [Bug 742660] (takahashi) | |||||
| * | | Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵ | stwo | 2011-01-06 | 1 | -4/+4 | |
| | | | | | | | | | | | | call" compiler warnings. | |||||
| * | | Fix [Bug 1373712] and [Bug 1924761]. | dkf | 2010-01-02 | 1 | -15/+59 | |
| | | | ||||||
| * | | [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work. | dkf | 2010-01-01 | 1 | -60/+18 | |
| | | | ||||||
| * | | * generic/tkEvent.c: Backport a fix from 8.6 for a NULL pointer | georgeps | 2009-01-11 | 1 | -1/+7 | |
| | | | | | | | | | | | | dereference in CreateXIC. |