summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
Commit message (Collapse)AuthorAgeFilesLines
* Disallow transient/master cycles. Fix bgerror for Aqua to avoid hangs when ↵culler2019-03-041-1/+1
|\ | | | | | | an error occurs in an idle task run by [NSView drawRect].
| * Increase the size of the ring buffer for Aqua, and modify bgerror so itculler2019-03-031-1/+1
| | | | | | doesn't try (and fail) to post a dialog inside [NSView drawRect].
* | Merge 8.6jan.nijtmans2019-01-101-1/+1
|\ \ | |/
| *-. Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-081-2/+2
| |\ \
| | | * Bring back more original "None" usages, and fix other warnings which ↵jan.nijtmans2019-01-031-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.nijtmans2018-12-311-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | -> 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.nijtmans2018-12-311-2/+2
| | | | | | | | | | | | | | | | | | | | -> 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.
| * | | Merge 8.5. Undo previous introduced ***POTENTIAL INCOMPATIBLITY*** on win32jan.nijtmans2018-12-261-1/+1
| |\ \ \ | | |/ /
| | * | Change None/ControlMask on win32 (and MacOSX - which is harmless) to being ↵jan.nijtmans2018-12-261-1/+1
| | | | | | | | | | | | | | | | an enum. This fixes (hopefully) the ***POTENTIAL INCOMPATABILITY*** in previous commit
| * | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols jan.nijtmans2018-12-201-3/+3
| |\ \ \ | | |/ / | | | / | | |/ | |/| *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before
| | * Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2018-12-201-2/+2
| | | | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings.
* | | Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more.jan.nijtmans2018-12-081-10/+9
| | | | | | | | | Eliminate a ton of unnecessary type casts
* | | Many updates for macOS. Most, but not all, were triggered by changes ↵culler2018-10-301-1/+14
|\ \ \ | |/ / | | | | | | between OSX 10.13 and 10.14.
| * | Increase the size of the event ring to 45 on macOS, because the new code ↵culler2018-10-261-1/+14
| | | | | | | | | | | | demands a bigger ring.
* | | Fix PTR2INT/PTR2UINT, so they no longer are restricted to the "int" range.jan.nijtmans2018-10-221-5/+5
| | | | | | | | | | | | Make TCL_Z_MODIFIER available in Tk (even when compiled with Tcl 8.6), and use it. More size_t/clientData related improvements
* | | Eliminate CONST86: Since Tk 8.7 only compiles with Tcl >= 8.6 anyway, we ↵jan.nijtmans2018-10-191-1/+1
| | | | | | | | | | | | | | | just can use "const" everywhere. typo's: occured -> occurred
* | | Make Tk sufficiently 64-bit aware in order to withstand TIP #494 possible ↵jan.nijtmans2018-07-101-2/+0
| | | | | | | | | | | | problems
* | | Ongoing work (not finished yet) making Tk fully 64-bit size_t aware (see TIP ↵jan.nijtmans2018-07-091-1/+4
| | | | | | | | | | | | #494) without compatibility macros
* | | Fix indentation that was lost in [f057be0817]fvogel2018-01-281-1/+1
|\ \ \ | |/ /
| * | Fix indentation that was lost in [f057be0817]fvogel2018-01-281-1/+1
| | |
* | | Merge core-8-6-branch into trunk. Fixes [1088805fff]. See [0feb63f139]culler2017-12-051-4/+5
|\ \ \ | |/ / | | | for explanations.
| * | Add an explicit procedure in bind.test which clears the pattern matcher'sculler2017-12-031-3/+3
| | | | | | | | | ring buffer. Make timeDiff a long instead of an int.
| * | Modify the bind-15.23 test so the events left over in the ring buffer from ↵culler2017-12-031-3/+4
| | | | | | | | | | | | bind-15.22 won't interfere with those generated in bind-15.23.
* | | merge core-8-6-branchjan.nijtmans2017-05-101-7/+29
|\ \ \ | |/ /
| * | New internal function TkpCancelWarp(), which does a proper warp clean-up ↵jan.nijtmans2017-05-101-8/+30
| | | | | | | | | | | | when the display is closed. Follow-up to [db8c541b6bff91848c53006b0fe352136fbd4be9|db8c541b6b]. Backported from androwish [http://www.androwish.org/index.html/info/0b3392c9134c228f|0b3392c9134c228f] (which was a little more than just a "add tk upstream changes" ...). Thanks, Christian!
* | | [db8c541b6b] Prevent access of freed memory in warp pointer callbacks.dgp2017-04-061-2/+23
|\ \ \ | |/ /
| * | [db8c541b6b] Prevent access of freed memory in warp pointer callbacks.dgp2017-04-061-2/+23
| | |
* | | Fix [7a838c38a1]: X11 bind event ring buffer and NoExpose event. Patch from ↵fvogel2017-01-091-0/+10
|\ \ \ | |/ / | | | | | | Christian Werner.
| * | Better comment explaining why some events are ignored.fvogel2017-01-091-3/+3
| | |
| * | Patch from chw for [7a838c38a1]: X11 bind event ring buffer and ↵fvogel2017-01-071-0/+10
| | | | | | | | | | | | GraphicsExpose/NoExpose
* | | Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on ↵fvogel2016-08-231-1/+1
|\ \ \ | |/ / | | | | | | secondary screen.
| * | Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on ↵fvogel2016-08-131-1/+1
| | | | | | | | | | | | secondary screen
* | | Fixed tests cases bad interactions and a forgotten mouse warping case (event ↵fvogel2016-05-301-2/+5
|\ \ \ | |/ / | | | | | | generate {} <...> -warp 1 is valid)
| * | Fixed crash when calling event generate {} <Motion> -warp 1fvogel2016-05-301-2/+5
| | |
* | | Fixed [79549a9134] - Mouse pointer warping crashesfvogel2016-05-301-2/+11
|\ \ \ | |/ /
| * | More complete fix for [79549a9134] - Mouse pointer warping crashes, with a ↵fvogel2016-05-261-3/+4
| | | | | | | | | | | | non-regression test case.
| * | Fixed [79549a9134] - Mouse pointer warping crashesfvogel2016-05-261-2/+10
| | |
* | | Deprecate Tk_FreeXId(), since it doesn't do anything since 2008-08-19: ↵jan.nijtmans2016-04-111-1/+1
| | | | | | | | | | | | [8356aa0eec57fa7a]
* | | Suggested fix for [38dc27bd1d0ecd68]: Tk does not support <Button-6> nor ↵jan.nijtmans2016-03-141-1/+1
|/ / | | | | | | <Button-7> events. With test-cases and doc change.
* | Silence some compiler warnings.dgp2015-02-121-18/+18
|\ \ | |/
| * Different approach to stubs for the TkpScanWindowId() declaration.dgp2015-02-121-19/+19
| | | | | | Man, what an inflexible maintenance chore this stuff is.
* | Add support for an 'M' binding substitution that is replaced with the number ↵Joe Mistachkin2015-02-061-2/+10
|\ \ | |/ | | | | of script-based binding patterns matched so far for the event.
| * Merge updates from core 8.5 branch.Joe Mistachkin2014-11-111-1/+1
| |\
| * | Add support for an 'M' binding substitution that is replaced with the number ↵Joe Mistachkin2012-11-161-2/+10
| | | | | | | | | | | | of script-based binding patterns matched so far for the event.
* | | Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-2/+2
| | | | | | | | | | | | | | | don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-1/+1
| | | | | | | | | | | | to work with "novem"
* | | more places convertedjan.nijtmans2013-01-241-4/+4
| | |
* | | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-1/+1
|\ \ \ | | |/ | |/| | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths.
| * | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-1/+1
| |\ \ | | |/ | |/| | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases. Enable tk.h to be used with higher tcl.h versions which might lack _ANSI_ARGS_
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-1/+1
| | | | | | | | | | | | systems.