summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [a5ba1c9764]: Race condition in clipboard cleanup on Windows. Patch from ↵bug_a5ba1c9764fvogel2017-05-051-13/+17
| | | | Roman Donchenko (aka dpb).
* Add another few Xlib stubs for Win32. Cherry-picked from ↵jan.nijtmans2016-11-071-4/+1
| | | | [http://www.androwish.org/index.html/info/862eb620a096fddc|AndroWish]. Thanks to Christian Werner.
* Merge core-8-6-branch. More surrogate handling, e.g. in HandleIMEComposition()jan.nijtmans2016-09-271-14/+24
|\
| * Internal code simplification: Store Unicode character in keycode field in ↵jan.nijtmans2016-09-271-9/+6
| | | | | | | | stead of trans_chars. No behavior change, just use a different internal event type.
| * New attempt to fix [720879afe9] - WM_CHAR message handling. Patch from ↵bug_720879afe9_altfvogel2016-09-251-8/+11
| | | | | | | | Christian Werner backported from http://www.androwish.org/index.html/info/a0da5845594cec28
* | Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-191-7/+6
|\ \ | |/ |/| | | places where Unicode surrogate handling could be improved.
| * More simplificationsjan.nijtmans2016-09-191-7/+6
| |
| * merge core-8-6-branchjan.nijtmans2016-09-081-18/+40
| |\ | |/ |/|
| * Fixed [2945130fff] for the right Control and Alt keys. WONTFIX the case of ↵fvogel2016-09-041-5/+1
| |\ | | | | | | | | | the right Shift key due to Windows plaftorm limitation.
| * \ Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-311-2/+2
| |\ \ | | | | | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
* | \ \ merge core-8-6-branchjan.nijtmans2016-09-081-5/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Fixed [2945130fff] for the right Control and Alt keys. WONTFIX the case of ↵fvogel2016-09-041-5/+1
| |\ \ \ | | |_|/ | |/| | | | | | the right Shift key due to Windows plaftorm limitation.
| | * | Consider the Extended flag for both KeyPress and KeyRelease events coming ↵fvogel2016-08-111-5/+1
| | | | | | | | | | | | | | | | from the extended (keypad) keys. I can't see why implementation of TIP #158 [b8333852a2] considered the extended flag only for KeyPress, and forced clearing it in the state integer for KeyRelease.
* | | | unnecessary macrojan.nijtmans2016-09-011-2/+0
| | | |
* | | | (experiment) don't fill trans_chars any more when send_event == -3. Results ↵jan.nijtmans2016-09-011-60/+4
| | | | | | | | | | | | | | | | in many simplifications while it still should work the same
* | | | don't forget to set the keycode ;-)jan.nijtmans2016-09-011-0/+1
| | | |
* | | | Implement USE_EXTRA_EVENTS=1, which generates additional events for ↵jan.nijtmans2016-08-311-8/+50
|\ \ \ \ | |/ / / | | | | | | | | surrogate pairs when TCL_USF_MAX==3. Since the information in trans_chars is redundant (same as keycode), I don't believe this is better. Test-cases to prove otherwise welcome!
| * | | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-311-2/+2
| |/ / | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
* | | Enhance TkpGetString() to handle Unicode characters, even when TCL_UTF_MAX==3.jan.nijtmans2016-08-301-2/+8
| | |
* | | merge core-8-6-branch. jan.nijtmans2016-08-301-17/+14
|\ \ \ | |/ / | | | Add patch from Christian Werner, and one step closer to working with TCL_UTF_MAX=3
* | | rebase to core-8-6-branch. jan.nijtmans2016-08-291-28/+27
|\ \ \ | |/ / | | | should now work with TCL_UTF_MAX=4 and TCL_UTF_MAX=6 (not yet with TCL_UTF_MAX=3)
* | | Patch [6c0d7aec67] from Christian Werner on upstream Androwish to better ↵fvogel2016-08-231-9/+68
| |/ |/| | | | | handle unicode text input for Windows 8 by dealing with wParam VK_PACKET in WM_KEYDOWN and WM_SYSKEYDOWN events. This was observed on a Windows 8.1 tablet when the on-screen virtual keyboard is used to enter Emojis for example. The changes allow to enter Emojis when Tcl/Tk is built with TCL_UTF_MAX>3.
* | Change Tk_FreeXId() into a macro.jan.nijtmans2016-08-121-24/+0
|/ | | A few end-of-line spacing eliminations.
* Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
|\
| * Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
| |
* | Add missing __stdcall (which crashes on win32)jan.nijtmans2014-02-041-1/+2
|\ \ | |/
| * Add missing __stdcall (which crashes on win32)jan.nijtmans2014-02-041-1/+2
| |
* | Fix [http://core.tcl.tk/tcl/info/651e828a52|651e828a52]: Wrong Windows ↵jan.nijtmans2014-02-041-9/+21
|\ \ | |/ | | | | | | version reported for Windows 8.1. Remove some dead code (since Win95/98/ME is no longer supported)
| * Fix [http://core.tcl.tk/tcl/info/651e828a52|651e828a52]: Wrong Windows ↵jan.nijtmans2014-02-041-9/+20
| | | | | | | | version reported for Windows 8.1
* | Some bit of Windows 8.1 compatibility: See ↵jan.nijtmans2013-11-201-6/+6
|\ \ | |/ | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
| * Some bit of Windows 8.1 compatibility: See ↵jan.nijtmans2013-11-201-6/+6
| | | | | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
* | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-5/+4
| | | | | | ** WORK IN PROGRESS **
* | Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-081-1/+2
|\ \ | |/ | | | | needed for Cygwin
| * Change XSetDashes signature and many others to match Xorg, needed for Cygwinjan.nijtmans2012-06-051-1/+2
| |\
| | * Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-011-34/+35
| | | | | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
* | | Remove tclWinProcs, as it is no longer being usedjan.nijtmans2011-10-051-18/+2
| | |
* | | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-6/+6
|\ \ \ | |/ /
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-6/+6
| |\ \ | | |/
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-2/+2
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * SEH-emulation for AMD64jan.nijtmans2011-03-111-1/+1
| | | | | | | | | | | | | | | mingw-w64 does not accept _WIN32_IE < 0x0501 Merged --cherrypick from core-8-5-branch (2010-12-13, f4ecadb40d) remove conflicting definition of timezone struct
| | * * win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now)hobbs2007-12-051-15/+1
| | | | | | | | | | | | | | | | | | | | | * win/tkWinX.c: and simplify WNDCLASS to one style. * win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow change only and set WS_EX_LAYERED as sticky (once set on a window, do not remove it) to reduce alpha transition flicker.
| | * * win/tkWinKey.c: Add WM_UNICHAR window message support (used byhobbs2006-08-301-1/+43
| | | | | | | | | | | | * win/tkWinX.c: virtual keyboard apps). [Bug 1518677] (petasis)
| | * * win/tkWinX.c (TkWinXInit): init default keyboard charsethobbs2006-04-051-8/+21
| | | | | | | | | | | | correctly. [Bug 1374119] (pajas)
| | * * win/tkWinX.c (GenerateXEvent): correct %A translation onhobbs2005-02-281-8/+11
| | | | | | | | | | | | MouseWheel [Bug 1118340]
| | * * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: dating from 2003-12-21 * generic/tkUtil.c: * generic/tkWindow.c: * mac/tkMacButton.c: * unix/tkUnixEvent.c: * win/tkWin32Dll.c: * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c:
| | * * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-231-68/+106
| | | | | | | | | | | | | | | | | | | | | | | | * win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color and screen resolution changes. Tested for 16/24/32 bpp changes on XP. May need more fixes for 8bpp switch, use of special colormaps, or other special palette handling cases. [Bug 223689]