summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix [6c0d7aec6713ab6a7c3e12dff7f26bff4679bc9d|6c0d7aec67]: unicode text ↵jan.nijtmans2016-09-2912-51/+93
|\ | | | | | | 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-2710-27/+36
| |\ | |/ |/|
* | 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-2710-20/+22
|\ \ \ | | | | | | | | | | | | | | | | 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-262-9/+9
| | | |\ | |_|_|/ |/| | |
* | | | Introduce two utility functions for handling Unicode surrogate pairs, and ↵jan.nijtmans2016-09-263-17/+92
| | | | | | | | | | | | | | | | use it in tkWinKey.c. No change in functionality.
| | | * merge core-8-6-branchjan.nijtmans2016-09-267-7/+74
| | | |\ | |_|_|/ |/| | |
* | | | 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.
* | | | Merge core-8-5-branch to core-8-6-branch.patthoyts2016-09-222-1/+22
|\ \ \ \ | | |/ / | |/| |
| * | | Correct expansion of the spinbox textarea for the vista theme.patthoyts2016-09-222-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spinbox textarea should stretch to fill the widget and does so with all except the vista theme. Added a test to check for this expansion to avoid regression. Fix identified Kumba on StackOverflow ( https://stackoverflow.com/a/36393680/291641 )
* | | | [3126428] Repaint ttk labels and buttons when the image is changed.patthoyts2016-09-213-4/+45
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | In Tk the images associated with labels and buttons have their image changed callback set to cause the widget to be redrawn if the image is changed in any way. However, this has not been done for the ttk equivalent widgets.
| * | | [3126428] Repaint ttk labels and buttons when the image is changed.patthoyts2016-09-213-5/+46
| | | | | | | | | | | | | | | | | | | | | | | | In Tk the images associated with labels and buttons have their image changed callback set to cause the widget to be redrawn if the image is changed in any way. However, this has not been done for the ttk equivalent widgets.
* | | | 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/]
| | | * Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-1914-93/+165
| | | |\ | |_|/ / |/| | | | | | | places where Unicode surrogate handling could be improved.
| | | * More simplificationsjan.nijtmans2016-09-1913-75/+89
| | | |
| | | * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-1612-217/+49
| | | | | | | | | | | | | | | | needing less #ifdef's
| | | * Patch from Christian Werner, for evaluationjan.nijtmans2016-09-1611-16/+241
| | | |
| | | * Fixed [eb26817783] - listbox-13.3 fails on Linuxfvogel2016-09-101-1/+1
| | | |\ | |_|_|/ |/| | |
* | | | Fixed [eb26817783] - listbox-13.3 fails on Linuxfvogel2016-09-101-1/+1
|\ \ \ \
| * | | | Fixed [eb26817783] - listbox-13.3 fails on Linuxbug_eb26817783fvogel2016-09-031-1/+1
| | | | |
| | | | * Fixed [8c4216dca9] - listbox-4.1 unreliably fails on Debian 8fvogel2016-09-101-0/+1
| | | | |\ | |_|_|_|/ |/| | | |
* | | | | Fixed [8c4216dca9] - listbox-4.1 unreliably fails on Debian 8fvogel2016-09-101-0/+1
|\ \ \ \ \
| * | | | | Fixed [8c4216dca9] - listbox-4.1 unreliably fails on Debian 8bug_8c4216dca9fvogel2016-09-031-0/+1
| |/ / / /
| | | | * merged core-8-6-branchfvogel2016-09-100-0/+0
| | | | |\ | |_|_|_|/ |/| | | |
* | | | | fix comment (Thanks, Christian!)jan.nijtmans2016-09-081-1/+1
| | | | |
| | | | * merge core-8-6-branchjan.nijtmans2016-09-082-21/+54
| | | | |\ | |_|_|_|/ |/| | | |
* | | | | Fix [6c0d7aec6713ab6a7c3e12dff7f26bff4679bc9d|6c0d7aec67]: unicode text ↵jan.nijtmans2016-09-082-21/+54
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | input Windows 8
| * \ \ \ \ merge core-8-6-branchjan.nijtmans2016-09-082-17/+19
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | 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-315-12/+98
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 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!
| * | | | | | Enhance TkpGetString() to handle Unicode characters, even when TCL_UTF_MAX==3.jan.nijtmans2016-08-303-7/+21
| | | | | | |
| * | | | | | merge core-8-6-branch. jan.nijtmans2016-08-304-25/+87
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | 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-29257-9808/+12272
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | 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.
| | | | | | | | * 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.
* | | | | | | | | 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.
| | | | | | | | * Merged core-8-6-branchfvogel2016-09-010-0/+0
| | | | | | | | |\ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Merged branch [bug-6976e4b3b2]fvogel2016-09-010-0/+0
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
| * | | | | | | | Cherrypicked [c8256e859a] - Fix from pspjuth to restore the default false ↵bug_6976e4b3b2fvogel2016-09-012-2/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | value of -undo which was unintentionally changed by [3ff41efa17]
| | | | | | | | * Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-318-16/+18
| | | | | | | | |\ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry