summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some gcc warnings (when using -Wshadow, deprecated XKeycodeToKeysym(), ↵jan.nijtmans2020-10-011-0/+7
| | | | XScreenSaverQueryInfo weak symbol on MacOS)
* Fix blank spacefvogel2020-07-071-2/+2
|
* Same fix, code organized differentlyfvogel2020-07-071-12/+10
|
* Fix [09abd739b5]: bind-13.14 fails on Debian 10.fvogel2020-07-071-2/+12
|
* Use XK_Oslash in stead of XK_Ooblique, since that's the official X11 name now.jan.nijtmans2020-06-191-1/+5
|
* Fix [f4dec2c2287aee9e]: Build failure with GCC 4.X (tkUnixKey.c)jan.nijtmans2020-03-221-9/+4
|
* Don't mind XKeycodeToKeysym() deprecation warning any more. Some MacOS code ↵jan.nijtmans2020-03-111-0/+12
| | | | cleanup (e.g. no "register" keyword any more)
* Simplify the code slightly: we did already bail out earlier when ↵fvogel2020-02-111-4/+2
| | | | (eventPtr->type != KeyPress)
* Revert the 6 previous commits, returning therefore to the state at [eaad647e].fvogel2020-02-111-2/+2
|
* Let branch buildfvogel2020-02-111-1/+1
|
* Sigh...fvogel2020-01-281-1/+1
|
* Today is not a good day. event->type rather than event.typefvogel2020-01-281-1/+1
|
* Restore %A for KeyRelease on Linuxfvogel2020-01-281-2/+2
|
* Make install-sh executable. Harmless warnings in tkUnixKey.cjan.nijtmans2020-01-061-2/+2
|
* Somewhat more progress on [a179564826]: Tk 8.6: prevent issues when ↵jan.nijtmans2019-11-011-1/+1
| | | | | | | encountering non-BMP Unicode characters. Increase XMaxTransChars from 4 to 7, at the same time reducing the nbytes field from int to unsigned char. This makes more room to NULL-terminate the trans_chars array in the XEvent, even when it's 4 bytes in length. (fully binary compatible, since the nbytes field is not supposed to be accessed externally)
* Moved range check of keycode to TkpSetKeycodeAndState for ticket [382712ad].Christian Werner2018-06-031-23/+17
|
* Further patch from Christian Werner, on the observation that on Fedora 28 ↵fvogel2018-05-031-3/+9
| | | | Workstation on x86_64 XKeyEvents generated by input methods have the keycode field set to 0 which fails the range check and thus doesn't get processed further
* Fix broken build (one line of the patch was missing)fvogel2018-01-181-0/+1
|
* Fix [382712ade6]: X11: 'event generate . <KeyPress>' segfaults. Patch from ↵fvogel2018-01-101-1/+27
| | | | Christian Werner.
* 3607830 Runtime checks that Xkb is available in the X server before trying todgp2013-04-011-20/+28
|\ | | | | use. Adapted from patch from Brian Griffin.
| * Merge 8.5. Bring together the compile time and run time Xkb checks.dgp2013-04-011-9/+15
| |\
| * | Runtime check for Xkb support in X server.dgp2013-04-011-14/+20
| | | | | | | | | Contributed patch from Brian Griffin.
* | | [Bug 3599312]: Apply fix for Alt key problems.dkf2013-02-281-8/+10
|\ \ \ | | |/ | |/|
| * | [Bug 3599312]: Apply fix for Alt key problems.dkf2013-02-281-8/+10
| |\ \
| | * | The proposed fix from Bug 3599312, which should make key map handling interactdkf2013-01-071-8/+9
| | |/ | | | | | | | | | better with input methods. Note that this does not work on OSX (in X11 mode) because that handles the Alt key in its own special way.
| * | Bug [3599928]: Use XkbKeycodeToKeysym if available.stwo2013-01-311-1/+6
| |/
| * sync nmakehlp.c with Tcl versionjan.nijtmans2012-10-231-5/+5
| |\ | | | | | | | | | <p>purge spaces at end of lines <p>clean-up unix/Makefile.in after carbon removal
| * | Remove useless (void *) casts introduced in checkin [b7a58eae61]. The ↵stwo2012-08-091-2/+2
| | | | | | | | | | | | warnings were false flags from a faulty OpenBSD C compiler.
* | | Oops. Missed removing one line in last commit.stwo2013-01-311-2/+0
| | |
* | | Bug [3599928]: Use XkbKeycodeToKeysym if available.stwo2013-01-311-0/+7
| | |
* | | Remove useless (void *) casts introduced in checkin [81e50c85ed]. The ↵stwo2012-08-091-2/+2
| | | | | | | | | | | | warnings were false flags from a faulty OpenBSD C compiler.
* | | Zap trailing whitespace.stwo2012-08-061-2/+2
| | |
* | | merge mark: fix typo in commentdkf2012-07-311-1/+1
|\ \ \ | |/ /
| * | [Bug 3551802]: Convert from XKeycodeToKeysym to XkbKeycodeToKeysym to fixdkf2012-07-311-10/+12
| |\ \ | | |/ | | | deprecation warning.
| | * [Bug 3551802]: Convert from XKeycodeToKeysym to XkbKeycodeToKeysym to fixdkf2012-07-311-9/+11
| | | | | | | | | deprecation warning.
* | | [Bug 3551802]: Convert from XKeycodeToKeysym to XkbKeycodeToKeysym to fixdkf2012-07-311-10/+12
| | | | | | | | | deprecation warning.
* | | Fix for bug 3410609; confirmed to work on UK keyboard.dkf2011-10-251-6/+29
|\ \ \ | |/ /
| * | Fix for bug 3410609; confirmed to work on UK keyboard.dkf2011-10-251-6/+29
| |\ \
| | * | Tentative fix for bug 3410609 - use the keysym returned by XLookupString in ↵Kevin B Kenny2011-10-011-6/+29
| |/ / | | | | | | | | | preference to the raw one in the XEvent.
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| * | Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵stwo2011-01-061-3/+3
| | | | | | | | | | | | call" compiler warnings.
| * | Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-80/+67
| | |
| * | Use Xutf8LookupString where available [Patch #1986818].jenglish2008-06-111-14/+89
| | | | | | | | | | | | | | | This should fix problems (like #1908443) where Xlib's idea of the system encoding does not match Tcl's.
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-7/+5
| | | | | | | | | using useful casts internally.
* | | Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵stwo2011-01-061-3/+3
| | | | | | | | | | | | call" compiler warnings.
* | | Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-52/+57
| | |
* | | CONSTify return values of TkKeysymToString,nijtmans2009-12-161-4/+4
| | | | | | | | | | | | | | | | | | | | | TkFindStateString, TkpGetString, TkpGetChar, which are all not supposed to be modified by the caller. In tkUtil.c this gets rid of a dangerous type cast.
* | | Making code neater...dkf2008-11-261-82/+64
| | |