summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* On Windows, use Tcl_WinTCharToUtf() in stead of Tcl_NewUnicodeObj(), since ↵jan.nijtmans2017-05-056-24/+109
| | | | | | Tcl_WinTCharToUtf() works correctly when TCL_UTF_MAX==6 while Tcl_NewUnicodeObj() doesn't. All changes taken over from androwish. Thanks to Christian Werner! And ... on the go ... fixed a few memory leaks correctly detected by Christian.
* merge core-8-6-branchtip_464fvogel2017-03-261-537/+0
|\
| * Remove "makefile.bc". Not update for many-many years, most likely it doesn't ↵jan.nijtmans2017-03-071-537/+0
| | | | | | | | work any more and it doesn't seem to care anyone.
* | Proposed fix for [499526180d]: Add support for windows multimedia virtual ↵fvogel2017-01-281-2/+9
|/ | | | keys. Patch by ralfixx
* Fix [140ea8ab38]: Long text lines are not drawn on Windows.pspjuth2017-01-251-1/+9
|\
| * Fix [140ea8ab38]: Long text lines are not drawn on Windows.pspjuth2017-01-251-1/+9
| |
* | Use the win32 Wide API in some more places. And some simplifications, since ↵jan.nijtmans2017-01-183-59/+39
| | | | | | | | we no longer support win95/98/ME
* | Do everything the other way round. Leave things how they were on OS X ↵fvogel2016-12-301-1/+5
| | | | | | | | (revert [a076cf64] and [42e0339e]), and fix TkpDrawCharsInContext() on Win and Linux in case these platforms at some point of time decide to define TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT to true
* | (micro-) optimize a few Win32 drawing functions, and make them work when ↵jan.nijtmans2016-11-081-33/+38
|\ \ | |/ | | | | npoints=0
* | Add another few Xlib stubs for Win32. Cherry-picked from ↵jan.nijtmans2016-11-073-9/+126
| | | | | | | | [http://www.androwish.org/index.html/info/862eb620a096fddc|AndroWish]. Thanks to Christian Werner.
* | Fix [e36963bfe8]: event generate and diaeresisjan.nijtmans2016-10-231-19/+19
| |
* | Fixed [3217462fff] - Tri-state buttons not working for non-native themesfvogel2016-10-121-0/+2
|\ \
| * | 'xpnative' and 'vista' (and 'aqua') themes: 'alternate on' changed to be ↵bug_3217462fvogel2016-10-051-0/+2
| | | | | | | | | | | | identical to 'alternate', for radiobuttons
* | | Fix UNIX build, and eliminate possible warning in Makefilejan.nijtmans2016-09-301-0/+1
| | |
* | | Fix [6c0d7aec6713ab6a7c3e12dff7f26bff4679bc9d|6c0d7aec67]: unicode text ↵jan.nijtmans2016-09-292-9/+19
|\ \ \ | | | | | | | | | | | | input Windows 8. Added some test-cases using the "font actual" command.
| * \ \ merge core-8-6-branch, keep FONTMAP_SHIFT to the original value.jan.nijtmans2016-09-271-2/+3
| |\ \ \ | |/ / / |/| | |
* | | | clearify commentjan.nijtmans2016-09-271-1/+1
| | | |
| * | | Merge core-8-6-branch. More surrogate handling, e.g. in HandleIMEComposition()jan.nijtmans2016-09-272-15/+25
| |\ \ \ | |/ / / |/| | |
* | | | Internal code simplification: Store Unicode character in keycode field in ↵jan.nijtmans2016-09-272-24/+6
| | | | | | | | | | | | | | | | stead of trans_chars. No behavior change, just use a different internal event type.
| | | |
| \ \ \
*-. \ \ \ Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵jan.nijtmans2016-09-272-9/+12
|\ \ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28. Change (internal) TkpGetFontAttrsForChar() signature to match androwish's, no functional change.
| | * | | Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵jan.nijtmans2016-09-271-8/+11
| | | | | | | | | | | | | | | | | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28
| * | | | 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
| | | * | merge core-8-6-branchjan.nijtmans2016-09-261-2/+2
| | | |\ \ | |_|_|/ / |/| | | |
* | | | | Introduce two utility functions for handling Unicode surrogate pairs, and ↵jan.nijtmans2016-09-261-17/+4
| | | | | | | | | | | | | | | | | | | | use it in tkWinKey.c. No change in functionality.
| | | * | merge core-8-6-branchjan.nijtmans2016-09-262-2/+7
| | | |\ \ | |_|_|/ / |/| | | |
* | | | | Permit static linking to the MSVCRT as a stand-alone option. Patch by Joe ↵jan.nijtmans2016-09-261-0/+5
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | Mistachkin.
| * | | | Permit static linking to the MSVCRT as a stand-alone option. Enable WinXP ↵winFixesJoe Mistachkin2016-09-191-1/+6
| | | | | | | | | | | | | | | | | | | | SDK compatibility.
* | | | | Make it more likely that compiles with VS2012/VS2013 actually work on ↵jan.nijtmans2016-09-212-2/+2
|\ \ \ \ \ | | |/ / / | |/| | / | |_|_|/ |/| | | Windows XP. See: [https://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/]
| * | | Make it more likely that compiles with VS2012/VS2013 actually work on ↵jan.nijtmans2016-09-212-2/+2
| | | | | | | | | | | | | | | | Windows XP. See: [https://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/]
| * | | merge 8.5dgp2016-01-201-2/+2
| |\ \ \
| | * | | (cherry-pick) Fixed bug [1510538] - Wrong initial scrollbar widthjan.nijtmans2016-01-081-2/+2
| | | | |
| * | | | merge 8.5dgp2015-12-102-13/+6
| |\ \ \ \ | | |/ / /
| * | | | merge 8.5dgp2015-11-303-6/+9
| |\ \ \ \
| * | | | | Bump to release number 8.5.19dgp2015-10-232-2/+2
| | | | | |
| | | | | * Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-193-51/+21
| | | | | |\ | |_|_|_|/ / |/| | | | | | | | | | | places where Unicode surrogate handling could be improved.
| | | | | * More simplificationsjan.nijtmans2016-09-193-44/+15
| | | | | |
| | | | | * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-162-28/+7
| | | | | | | | | | | | | | | | | | | | | | | | needing less #ifdef's
| | | | | * Patch from Christian Werner, for evaluationjan.nijtmans2016-09-162-10/+30
| | | | | |
| | | | | * merge core-8-6-branchjan.nijtmans2016-09-082-21/+54
| | | | | |\ | |_|_|_|_|/ |/| | | | |
| | | | | * Fixed [2945130fff] for the right Control and Alt keys. WONTFIX the case of ↵fvogel2016-09-042-17/+19
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | 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-313-5/+5
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
* | | | | | \ \ merge core-8-6-branchjan.nijtmans2016-09-082-17/+19
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Fixed [2945130fff] for the right Control and Alt keys. WONTFIX the case of ↵fvogel2016-09-042-17/+19
| |\ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | the right Shift key due to Windows plaftorm limitation.
| | * | | | | | Left and right Control and Alt keys are distinguished using the Extended ↵bug_2945130ffffvogel2016-08-111-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flag (the previously implemented trick only worked for KeyPress, not for KeyRelease).
| | * | | | | | 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-012-66/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-313-5/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry