Tk Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

282 check-ins using file macosx/tkMacOSXMouseEvent.c version 28d65677

2021-11-06
14:20
Minor change of the documentation following discussion in [46c2f088a2] (ttk::radiobutton -compound accepts empty string) Closed-Leaf check-in: 31ab0637 user: fvogel tags: bug-b82bd4872b, bug-077d49828b, bug-46c2f088a2
2020-04-12
18:05
Additional suggestion by chw. Unfortunately doesn't help any on Ubuntu :-( check-in: 1f1e2494 user: jan.nijtmans tags: bug-3767882e06
2020-04-09
13:13
Proposed workaround for [3767882e06]: X Error of failed request: BadLength (poly request too large or internal Xlib length error). Thanks, Christian! check-in: d8ef94a0 user: jan.nijtmans tags: bug-3767882e06
11:45
Restore the background loop thread, which is needed after all to process events while a menu is open. check-in: c81b0fc9 user: marc_culler tags: mac_styles
2020-04-08
21:24
Fix bug [9cd4bc0158]: hang if the first mouse event after closing a menu is bound to a proc that opens a modal dialog. check-in: 56ed375b user: marc_culler tags: mac_styles
2020-04-07
06:11
Merge 8.6 check-in: ba58fab2 user: jan.nijtmans tags: mac_styles
2020-04-06
21:28
Better implementation of [a179564826], not depending on surrogate handling by Tcl any more check-in: 5513fc0b user: jan.nijtmans tags: core-8-6-branch
14:52
Better implementation of TkUtfToUniChar(), one that doesn't require cooperation of Tcl (TCL_UTF_MAX>3). Just let Tk do the splitting of 4-byte UTF-8 sequences into surrogates. check-in: 1b1c1394 user: jan.nijtmans tags: bug-a179564826
2020-04-03
12:53
Split (internal) TK_THEME_WIN_CLASSIC into two different symbols: TK_THEME_WIN_CLASSIC/TK_THEME_WIN_VISTA check-in: a1126ca0 user: jan.nijtmans tags: core-8-6-branch
12:13
Update to Xcode 9.4, don't bother Xcode 8 any more. check-in: 6367721f user: jan.nijtmans tags: core-8-6-branch
02:10
Fix for efbedd5ff5, thanks to Christopher Chavez for patch check-in: 6fd704b6 user: kevin_walzer tags: core-8-6-branch
2020-04-02
10:08
Since Xcode8 and Xcode9 are no longer supported, update Travis build script to use Xcode8.3 and Xcode 9.2 in stead: We cannot thrust homebrew with those Xcode versions any more, that's (hopefully) the cause of the current Xcode 9 build failures. check-in: 8755b5b7 user: jan.nijtmans tags: core-8-6-branch
2020-04-01
15:13
Move brew package definition to top of .travis.yml check-in: c23eb20c user: jan.nijtmans tags: core-8-6-branch
2020-03-31
13:09
Possible fix for efbedd5ff5 Closed-Leaf check-in: 767f3d82 user: kevin_walzer tags: macbuttonfix
2020-03-30
12:43
Add more (dummy) stub entries. Make TkGenerateActivateEvents() available for more platforms than only MacOS and win32. check-in: 3a90e780 user: jan.nijtmans tags: core-8-6-branch
09:46
Only use "string range" when $index > 0, so there's really something to be done. check-in: 33d34039 user: jan.nijtmans tags: core-8-6-branch
08:52
Fix [3874c489cb44012a]: Test butPtr->image against NULL instead of None check-in: dbb6de27 user: jan.nijtmans tags: core-8-6-branch
08:51
Some code cleanup, backported from 8.7 (mainly usage of exact types and type-casts). check-in: bacf398e user: jan.nijtmans tags: core-8-6-branch
2020-03-29
19:11
Make TkGenerateActivateEvents() available to Win32 and X11 Closed-Leaf check-in: 720b360f user: jan.nijtmans tags: dummy-stubs
15:38
Add more (dummy) stub entries, as preparation for futher stub simplifications in 8.7 and 9.0 check-in: 1f13a001 user: jan.nijtmans tags: dummy-stubs
12:55
Fix [655fe2754f]: Tearoff menu labels cut off. check-in: 92a2d5d6 user: fvogel tags: core-8-6-branch
2020-03-25
15:43
Be a tiny bit more conservative. check-in: bcd7cdca user: culler tags: mac_styles
15:32
Merge 8.6 check-in: 69dd2bf5 user: culler tags: mac_styles
15:22
Fix a bug that broke the ttk::scale when the to value is less than 0.5 check-in: ce9c561d user: culler tags: mac_styles
2020-03-24
15:26
Fix [87bade7e14]: PressAndHold composition misbehaves. Closed-Leaf check-in: 14376ab5 user: marc_culler tags: bug-87bade7e14
07:56
Replace all instances of Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() with Tcl_UniCharToUtfDString()/Tcl_UtfToUniCharDString(), if possible (only for -DTCL_UTF_MAX=3, which is the default and only supported option) Backported, as far as possible, from 8.7. This helps moving away from Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar(), even though it only becomes deprecated in 8.7. check-in: c00fb54a user: jan.nijtmans tags: core-8-6-branch
2020-03-22
23:01
Fix [f4dec2c2287aee9e]: Build failure with GCC 4.X (tkUnixKey.c) check-in: b25d813e user: jan.nijtmans tags: core-8-6-branch
19:19
Fix [98662d321e]: Aqua: fix build with -DTK_MAC_DEBUG_DRAWING. Thanks to chrstphrchvz for bug-report and path! check-in: a8d33b8a user: jan.nijtmans tags: core-8-6-branch
2020-03-20
13:33
Merge 8.6 Closed-Leaf check-in: 70f47d7b user: jan.nijtmans tags: bug-655fe2754f
2020-03-19
09:37
Increase FONTMAP_PAGES from 192 to 256, making room for Unicode 13 plane 3. check-in: 470c6b92 user: jan.nijtmans tags: core-8-6-branch
08:49
Add builds for MacOS (Xcode 8 up to 11.3) to Travis. check-in: 08fba02e user: jan.nijtmans tags: core-8-6-branch
2020-03-18
17:45
Build Mac using unix/Makefile in stead of macosx/GNUmakefile, because that's easier to get working directly. Closed-Leaf check-in: 253d458a user: jan.nijtmans tags: travis-mac
2020-03-17
10:10
Add various Xcode builds (8 up to 11.3) to Travis check-in: 476a5838 user: jan.nijtmans tags: travis-mac
2020-03-16
21:01
Merge 8.5 check-in: 5af44a15 user: jan.nijtmans tags: core-8-6-branch
2020-03-15
11:37
Fix drawing artifact on (torn-off) menu resizing, and better comment the painting steps. check-in: fd2b8851 user: fvogel tags: bug-655fe2754f
2020-03-14
22:05
Fix another buglet: The arrow of a cascade menu item is only drawn on Windows if this cascade item really has a submenu attached to it (the fact this item is of cascade type is not enough to display the arrow). Mimic this behavior (of the platform native widget when in a normal menu) in torn-off menues. check-in: 9757835e user: fvogel tags: bug-655fe2754f
21:39
Fix [655fe2754f]: Tearoff menu labels cut off check-in: 0865dcf8 user: fvogel tags: bug-655fe2754f
2020-03-12
21:09
Fix [2edd843def]: canvas postscript returns non empty string when -file or -channel is specified. Fix by Emiliano Gavilan. check-in: ee443427 user: fvogel tags: core-8-6-branch
20:55
Fix [08e2f8e6f0]: unable to change focus after prior selection of focus check-in: f772db13 user: fvogel tags: core-8-6-branch
2020-03-11
15:11
Don't mind XKeycodeToKeysym() deprecation warning any more. Some MacOS code cleanup (e.g. no "register" keyword any more) check-in: d465e62e user: jan.nijtmans tags: core-8-6-branch
01:44
Fix for wm fullscreen attributes bit on macOS; thanks to Christopher Chavez for patch (ticket [fb2ec386]) check-in: d6f40a56 user: kevin_walzer tags: core-8-6-branch
2020-03-10
11:11
Merge 8.5 check-in: c75566b6 user: jan.nijtmans tags: core-8-6-branch
2020-03-09
20:58
Replace very very old constraint name 'unixOrPc' by the equivalent, up-to-date, documented, 'unixOrWin' constraint. check-in: 7841a29f user: fvogel tags: core-8-6-branch
18:26
Revert a constification that broke the X build on OSX. check-in: fc470fc7 user: dgp tags: core-8-6-branch
15:50
Eliminate a few (harmless) gcc(-9) warnings on Windows and Cygwin. check-in: 71856de3 user: jan.nijtmans tags: core-8-6-branch
2020-03-04
12:19
Finalize the fix for ticket [382712ade65] (X11: 'event generate . <KeyPress>' segfault) by documenting the leftover consequence of the fix. check-in: 611f00b7 user: fvogel tags: core-8-6-branch
2020-03-03
06:54
Fix [2edd843def]: canvas postscript returns non empty string when -file or -channel is specified. Fix provided by Emiliano Gavilan. Tests canvPs-1.1 and convPs-2.1 now pass. Closed-Leaf check-in: b31e661b user: fvogel tags: bug-2edd843def
06:52
Augment tests canvPs-1.1 and canvPs-2.1 so that they also check that [.c postscript] return the empty string as documented. These tests currently fail. check-in: 683bb40e user: fvogel tags: bug-2edd843def
2020-03-02
20:54
Fix [08e2f8e6f0]: unable to change focus after prior selection of focus. The problem was that the mask in the event handler deletion did not match the mask of the event handler creation. Test focus-7.1 now passes. Closed-Leaf check-in: 8d84fb53 user: fvogel tags: bug-08e2f8e6f0
20:51
Add focus-7.1 as a non-regression test for [08e2f8e6f0]. This test does not pass yet. check-in: cce8524e user: fvogel tags: bug-08e2f8e6f0
2020-02-26
09:09
Add errno.h include to tkMacOSXPort.h and tkUnixPort.h: now needed in tkConsole.c check-in: 5e8a0e70 user: jan.nijtmans tags: core-8-6-branch
2020-02-25
16:20
Upgrade console channel type to TCL_CHANNEL_VERSION_5. check-in: 514c0974 user: jan.nijtmans tags: core-8-6-branch
02:32
Fix [06d8246baf]: Aqua scrollbar does not update correctly when scrolling with the mouse wheel or scroll gesture Leaf check-in: 2ad9d5ba user: marc_culler tags: bug-06d8246baf
2020-02-24
14:20
Add -Wpointer-arith to C-flags. Fix some ANSI prototypes. check-in: 7a812b9d user: jan.nijtmans tags: core-8-6-branch
09:47
Merge-mark check-in: 7962f1dd user: jan.nijtmans tags: core-8-6-branch
09:09
Work around a few new gcc(-9) warnings. check-in: 22d0998f user: jan.nijtmans tags: core-8-6-branch
01:11
Fix for utility/floating windows on macOS not displaying completely on initial creation check-in: cade7f7f user: kevin_walzer tags: core-8-6-branch
2020-02-23
14:38
Prevent some textTag tests from triggering hot spots of the Linux KDE/Plasma desktop. What is needed in these tests is to move the mouse out of the test window when the test starts, so that the events expected by the test can be observed. We don't need to move the mouse exactly at the upper-left corner of the screen, we only have to make sure the mouse pointer is outside the test window. check-in: 3125db91 user: fvogel tags: core-8-6-branch
2020-02-17
14:51
Merge 8.6 Closed-Leaf check-in: 57234208 user: jan.nijtmans tags: bug-382712ade6
2020-02-16
16:50
Be more exact in the bind.n man page check-in: 76e2a8ab user: fvogel tags: bug-382712ade6
12:42
Merge 8.5 check-in: dc776f94 user: jan.nijtmans tags: core-8-6-branch
2020-02-15
00:39
Merge fork check-in: efcb4a04 user: jan.nijtmans tags: mac_styles
2020-02-14
15:03
Finish fixing [a8f02fa0e2]: deal with vertical sliders and cases where from > to. check-in: b761838a user: culler tags: mac_styles
11:25
Merge 8.6 check-in: 2c24c8ad user: jan.nijtmans tags: mac_styles
11:20
Merge-mark check-in: b53c6ab6 user: jan.nijtmans tags: core-8-6-branch
10:21
A few missing (internal) "const" modifiers. check-in: 32b621b3 user: jan.nijtmans tags: core-8-6-branch
2020-02-13
21:02
Fix travis build. Revise usage of TCLDIR check-in: bc5dbac2 user: jan.nijtmans tags: core-8-6-branch
2020-02-12
20:32
Use (more efficient) Tcl_GetIntFromObj() in stead of Tcl_GetInt() in a few places where it makes sense. check-in: 9182da60 user: jan.nijtmans tags: core-8-6-branch
15:40
Update travis build to "bionic" check-in: 9320d0f8 user: jan.nijtmans tags: core-8-6-branch
02:18
Fix [a8f02fa0e2]: new ttk::scale assumes -from 0. Also, correct the fix for compiler warning about controlAccentColor when building for 10.9 check-in: 0362b7ef user: culler tags: mac_styles
2020-02-11
21:40
Simplify the code slightly: we did already bail out earlier when (eventPtr->type != KeyPress) check-in: 9c2c9ff5 user: fvogel tags: bug-382712ade6
21:07
Document that the %A substitution is not valid on Linux, making the manual match the code. check-in: 9336e9be user: fvogel tags: bug-382712ade6
20:53
Revert the 6 previous commits, returning therefore to the state at [eaad647e]. check-in: d31977f3 user: fvogel tags: bug-382712ade6
20:28
Let branch build check-in: 66737c1e user: fvogel tags: bug-382712ade6
20:23
Fix a compiler warning when building for older os versions. check-in: 94d34382 user: culler tags: mac_styles
2020-02-10
10:10
According to documentation, maxBytes is exclusing the end 0-byte, so previous commit was a little too strict check-in: 2ccdd9e8 user: jan.nijtmans tags: core-8-6-branch
09:54
Don't forget closing 0-byte check-in: 83aded36 user: jan.nijtmans tags: core-8-6-branch
09:48
Fix (harmless) gcc-9 warning check-in: 0ccb1d6d user: jan.nijtmans tags: core-8-6-branch
2020-02-09
18:12
Fix [90a4b7581f]: Tk fontconfig crash if there is no font installed check-in: 09ebe152 user: fvogel tags: core-8-6-branch
2020-02-05
13:45
(cherry-pick): Don't panic for "Wild GenericEvent"'s: Just filter out all events Tk doesn't know about. (cherry-pick): Protect better against possible confusion between XGenericEvent's and (Tcl-specific) XVirtualEvent's: If "name" == NULL, assume it's a XGenericEvent, so don't crash on that just ignore. Also don't use "virtual" as variable name. check-in: 9143fad1 user: jan.nijtmans tags: core-8-6-branch
13:39
(cherry-pick): Some DBGX cleanup (not used any more) check-in: 11dc3172 user: jan.nijtmans tags: core-8-6-branch
13:36
(cherry-pick): It appears that inttypes.h was introduced in Visual Studio 2013 check-in: ad5a1c32 user: jan.nijtmans tags: core-8-6-branch
2020-02-03
14:43
Merge 8.5 check-in: 7f9d5095 user: jan.nijtmans tags: core-8-6-branch
14:10
Typo (which no compiler would discover, but really xGenericEvent != XGenericEvent) check-in: 1e8378f9 user: jan.nijtmans tags: core-8-6-branch
2020-01-31
17:48
fixed segfault [a196fb11]: wrong handling in ClearLookupTable (if object is not NULL) as well as working on deleted table (in DeleteVirtualEventTable). check-in: 96036e96 user: sebres tags: core-8-6-branch
2020-01-28
21:05
Sigh... check-in: 882c27dc user: fvogel tags: bug-382712ade6
21:04
Today is not a good day. event->type rather than event.type check-in: f8b2fa87 user: fvogel tags: bug-382712ade6
21:02
Oops. Forgot to change the test content correctly. check-in: 5f1e7a5a user: fvogel tags: bug-382712ade6
20:56
Add test bind-16.35.1 checking %A with <KeyRelease> check-in: e87903cc user: fvogel tags: bug-382712ade6
20:50
Restore %A for KeyRelease on Linux check-in: 5bc1989d user: fvogel tags: bug-382712ade6
20:24
merge core-8-6-branch check-in: eaad647e user: fvogel tags: bug-382712ade6
15:11
Don't add UNIX_DIR to VPATH. This should solve a dependency problem on Cygwin, between the windows and UNIX build part. check-in: 73884c1b user: jan.nijtmans tags: core-8-6-branch
10:51
Don't use "bool" as variable name. Possible conflict with "bool" type. check-in: 58880acd user: jan.nijtmans tags: core-8-6-branch
2020-01-27
16:36
No need to include "tk.h" here: It's already included in tkInt.h (through tkPort.h) check-in: df3e4a2f user: jan.nijtmans tags: core-8-6-branch
13:00
HAVE_INTTYPES_H=1 is already handled in rules.vc check-in: 56d22f24 user: jan.nijtmans tags: core-8-6-branch
2020-01-26
19:59
Fix [90a4b7581f]: Tk fontconfig crash if there is no font installed Closed-Leaf check-in: 72bfdf04 user: fvogel tags: bug-90a4b7581f
2020-01-25
17:09
Let bind-34.3 be robust against Linux KDE hot spots on screen corners. check-in: 21ee34ad user: fvogel tags: core-8-6-branch
16:58
Let bind-34.3 be robust against Linux KDE hot spots on screen corners Closed-Leaf check-in: 0a767426 user: fvogel tags: bug-69b48f427e9
13:06
Fix [e3888d5820] (Grab on master prevents mouse pointer warp into slave widget) for Linux and Windows. Test bind-35.1 now passes on these platforms. check-in: 3bf789ff user: fvogel tags: bug-e3888d5820
2020-01-24
12:47
silence "unused variable" warning check-in: d55f67db user: dgp tags: core-8-6-branch
10:32
Sync tcl.m4 and rules.vc to latest version from Tcl check-in: 2a489c28 user: jan.nijtmans tags: core-8-6-branch
2020-01-19
21:40
Remove 2 comments which are simply not correct (nor useful) any more check-in: 0ee9eaa8 user: jan.nijtmans tags: core-8-6-branch
14:41
Put more robustness in bind-35.1 check-in: 6c21b2cc user: fvogel tags: bug-e3888d5820
2020-01-18
19:27
Merge 8.6 check-in: a59e9c24 user: marc_culler tags: mac_styles
19:20
Fix [48f5da841d]: mac_styles crashes when drawing a Spinbox with textarea of width 0. check-in: 57538a25 user: marc_culler tags: mac_styles
19:06
A better fix for [bf93d098d7]: Aqua menus can be unresponsive at startup check-in: 5bb1439e user: marc_culler tags: core-8-6-branch
13:31
Fix [077d49828b]: notebook tab 'ambiguous compound' failure/regression, by making options of type TK_OPTION_STRING_TABLE support the TK_OPTION_NULL_OK flag. check-in: bc258ad6 user: fvogel tags: core-8-6-branch
12:08
Fix [2830360fff]: ttk::entry looses state invalid at focus events. Add non-regression test entry-10.1 check-in: 4c6fc76c user: fvogel tags: core-8-6-branch
12:04
Fix [1660674fff]: arrow reconfig triggers infinite Enter/Leave event sequence, by better documenting the caveat. check-in: e389c1c9 user: fvogel tags: core-8-6-branch
11:35
Fix [279b027fd7]: canvas moveto command moves text items to unexpected location, by documenting the feature more clearly. check-in: 6114af88 user: fvogel tags: core-8-6-branch
11:32
Fix [587937fff]: Don't shuffle tag list sequence upon deletion. Add non regression tests canvas-20.[123] check-in: 24d1eea8 user: fvogel tags: core-8-6-branch
11:27
Fix [1771594fff]: icursor @x,y fails for non-default scrollregions. Add non regression test canvText-14.7 check-in: 1d76e4e2 user: fvogel tags: core-8-6-branch
2020-01-17
22:15
A better fix for [bf93d098d7]: Aqua menus can be unresponsive at startup Closed-Leaf check-in: 5f8086ff user: marc_culler tags: bug-bf93d098d7-redux
2020-01-11
17:10
Add scrollwheel bindings to ttk::scrollbar by redirection of the bindings to tk:scrollbar. Ticket [2b8fa6fd] check-in: ec79505e user: oehhar tags: core-8-6-branch
14:13
Make bind-35.1 fail on Linux, by swapping the order of the mouse pointer warps with respect to grabs. This prevents the warp prologue (see [e3888d5820]) from playing a role in that test. check-in: fc2dd329 user: fvogel tags: bug-e3888d5820
13:34
Attempt to make bind-35.1 more reliable on Windows. check-in: 98ff7da2 user: fvogel tags: bug-e3888d5820
2020-01-06
21:39
Fix [48f5da841d]: mac_styles crashes when drawing a Spinbox with textarea of width 0. Closed-Leaf check-in: 71c568e9 user: culler tags: bug-48f5da841d
21:29
Add test bind-35.1, currently failing, and demonstrating issue reported in [e3888d5820] (grab on master prevents mouse pointer warp into slave widget) check-in: 200baaa8 user: fvogel tags: bug-e3888d5820
20:29
Reorder code snippet in HandleEventGenerate to make it easier to understand. This changes nothing in how things work. check-in: d2de371a user: fvogel tags: bug-e3888d5820
12:13
Merge 8.5 check-in: 3cfdca75 user: jan.nijtmans tags: core-8-6-branch
12:05
Make install-sh executable. Harmless warnings in tkUnixKey.c check-in: ebbc410c user: jan.nijtmans tags: core-8-6-branch
2020-01-02
15:12
Add non-regression test entry-10.1 Closed-Leaf check-in: 78ac0336 user: fvogel tags: bug-2830360fff
14:55
Fix [2830360fff]: ttk::entry looses state invalid at focus events check-in: a8ed6013 user: fvogel tags: bug-2830360fff
2020-01-01
15:29
Document the change of default value for the -compound widget option. check-in: 81f4287d user: fvogel tags: bug-b82bd4872b, bug-077d49828b
2019-12-31
14:03
Fix [077d49828b]: notebook tab 'ambiguous compound' failure/regression, by making options of type TK_OPTION_STRING_TABLE support the TK_OPTION_NULL_OK flag. check-in: 601b77fb user: fvogel tags: bug-b82bd4872b, bug-077d49828b
13:23
merge core-8-6-branch check-in: c91bbc4e user: fvogel tags: bug-b82bd4872b, bug-077d49828b
2019-12-25
20:17
Fix [1660674fff]: arrow reconfig triggers infinite Enter/Leave event sequence, by better documenting the caveat. Closed-Leaf check-in: 8423ea06 user: fvogel tags: bug-1660674fff
18:08
Fix [279b027fd7]: canvas moveto command moves text items to unexpected location, by documenting the feature more clearly. Closed-Leaf check-in: 98f70557 user: fvogel tags: bug-279b027fd7
2019-12-24
14:20
Refine the newly added tests, and add comments in them. Closed-Leaf check-in: 1903de43 user: fvogel tags: bug-587937fff
14:11
Don't shuffle tags when moving the 'current' tag among items. check-in: 80599a3d user: fvogel tags: bug-587937fff
13:31
Fix error (with no consequence) in sizeof() request, and remove useless cast to (void *) check-in: 0b20f798 user: fvogel tags: bug-587937fff
13:24
Restore tabs on lines that were actually not changed by the fix. check-in: b36bd22c user: fvogel tags: bug-587937fff
13:22
Refine the second implementation fixing [587937fff]: Don't shuffle tag list sequence upon deletion. check-in: f8fb12af user: fvogel tags: bug-587937fff
13:17
A second (and better) implementation fixing [587937fff]: Don't shuffle tag list sequence upon deletion. This implementation is more efficient (it's O(n)). check-in: 5d8f9f96 user: fvogel tags: bug-587937fff
13:14
A first implementation fixing [587937fff]: Don't shuffle tag list sequence upon deletion. This implementation is not efficient (it's O(n^2)) and will not be kept. check-in: 96df33e6 user: fvogel tags: bug-587937fff
13:04
Add tests canvas-20.[123], currently failing and demonstrating ticket [587937fff]. check-in: 75ccd0ef user: fvogel tags: bug-587937fff
2019-12-23
13:59
Fix [1771594fff]: icursor @x,y fails for non-default scrollregions. Test canvText-14.7 now passes. Closed-Leaf check-in: 89db3604 user: fvogel tags: bug-1771594fff
13:58
Add test canvText-14.7, currently failing and demonstrating bug [1771594fff] check-in: 88538c9a user: fvogel tags: bug-1771594fff
2019-12-19
13:08
Redirect scroll wheel related bindings from ttk::scrollbar to scrollbar as proposed by Csaba 2019-12-18 09:42:32 in Ticket [2b8fa6fd] Closed-Leaf check-in: 18fd126b user: oehhar tags: bug-2b8fa6fd
2019-12-17
20:30
Add scrollwheel bindings to ttk::scrollbar. Ticket [2b8fa6fd] check-in: d99b1940 user: oehhar tags: bug-2b8fa6fd
20:28
Reverting last commit, should go into a branch, sorry. check-in: 16b3f120 user: oehhar tags: core-8-6-branch
20:17
Add scrollwheel bindings to ttk::scrollbar. Ticket [2b8fa6fd] check-in: 082200db user: oehhar tags: core-8-6-branch
17:20
No action when TK_ALREADY_DEAD. check-in: c0b10193 user: bll tags: bug-xim
2019-12-16
14:38
Sync tcl.m4 with version in Tcl check-in: 7c37e3ec user: jan.nijtmans tags: core-8-6-branch
2019-12-14
20:11
Fix [02a69449b5]: Wrong database names for tk::spinbox check-in: 5fe47ba9 user: fvogel tags: core-8-6-branch
20:09
Fix [b094cb4aa9]: ttk::treeview steadily enlarges width when repeatedly configuring -show. See the ticket for a detailed explanation. check-in: ce25ab1b user: fvogel tags: core-8-6-branch
20:05
Fix [b3b56ae8dc]: ttk widgets overwrite user-set -cursor option check-in: fcc9dfd7 user: fvogel tags: core-8-6-branch
2019-12-10
20:58
Fix [02a69449b5]: Wrong database names for tk::spinbox Closed-Leaf check-in: 78c9e8f7 user: fvogel tags: bug-02a69449b5
18:55
bug-xim: Fix responsiveness of Tk on X when an input method is active. Tk_HandleEvent has changed to only create the XIC if the window is a toplevel or the window has received focus. check-in: 4abb3952 user: bll tags: bug-xim
14:10
Create new branch named "bug-xim" check-in: 304a009f user: bll tags: bug-xim
2019-12-09
23:08
Merge 8.5 check-in: 54ef4774 user: jan.nijtmans tags: core-8-6-branch
2019-12-08
21:43
Fix [b094cb4aa9]: ttk::treeview steadily enlarges width when repeatedly configuring -show. See the ticket for a detailed explanation. Closed-Leaf check-in: 8ee62608 user: fvogel tags: bug-b094cb4aa9
19:25
Remove duplicate #Treeview section in xpTheme.tcl, it's already present (and overwritten) at the end of the file. check-in: 10e8371c user: fvogel tags: core-8-6-branch
2019-12-05
13:05
Build without -DUNICDE -D_UNICODE, since it's not necessary any-more (all code uses implicit *W-API now). This also eliminates the need for the TK_ASCII_MAIN hack. check-in: a548d14c user: jan.nijtmans tags: core-8-6-branch
2019-12-04
20:35
Make MODULE_SCOPE functions start with "Tk". Also simplify TkUtfToNSString(), making use of Tcl_UtfToUniCharDString() check-in: f98feb70 user: jan.nijtmans tags: core-8-6-branch
14:17
Fix [749bd9bb1b]: systemControlAccentColor can have incorrect RGB on older macOS systems. check-in: 00b45e1d user: marc_culler tags: core-8-6-branch
01:19
Fix [749bd9bb1b]: systemControlAccentColor can have incorrect RGB on High Sierra Closed-Leaf check-in: 383443bd user: marc_culler tags: bug-749bd9bb1b
2019-12-03
21:42
Make -default active work for Push Buttons. check-in: e004be47 user: culler tags: mac_styles
16:14
Prevent crash caused by attempting to create an NSImage with negative width. check-in: 67942750 user: culler tags: mac_styles
02:41
Merge 8.6 check-in: 72028fcc user: marc_culler tags: mac_styles
01:17
On macOS call [image setTemplate:YES] for the cursor NSImages, to make the cursor be white in dark mode. check-in: 756db73f user: marc_culler tags: core-8-6-branch
2019-12-02
23:13
Make the help button work in light or dark modes. check-in: 4c2f3f71 user: marc_culler tags: mac_styles
2019-12-01
21:19
Add inline button style. check-in: 1ae814ed user: marc_culler tags: mac_styles
16:05
In tkUnixFont, make sure that the utf-to-ucs2 encoder clamps at 0xFFFF. Use more uppercase hex-values where appropriate. check-in: 90160951 user: jan.nijtmans tags: core-8-6-branch
2019-11-30
19:38
Edit comments, combine two list header drawing routines. check-in: 4657efed user: culler tags: mac_styles
14:29
Remove duplicate #define statements. check-in: cbe7e99f user: marc_culler tags: mac_styles
14:23
Move ttk static data into a header file. check-in: d89ca605 user: marc_culler tags: mac_styles
06:11
Reorganize the display information. check-in: 501530f7 user: marc_culler tags: mac_styles
2019-11-29
17:53
Edit some comments, change some names. check-in: 6be13a06 user: marc_culler tags: mac_styles
17:20
Add the RecessedButton style for ttk::radiobutton widgets. check-in: 12f80ca5 user: marc_culler tags: mac_styles
15:49
Fix [d4f5620f5d]: font-4.14 fails (font actual with unicode). Add another test-case for TCL_UTF_MAX>3 check-in: 2e2afd52 user: jan.nijtmans tags: core-8-6-branch
14:11
Obtain the control accent color correctly on OSX 10.13 and earler. check-in: ec468226 user: marc_culler tags: mac_styles
2019-11-28
17:26
Add the RoundedRectButton style for a ttk::button check-in: f14cee1e user: marc_culler tags: mac_styles
2019-11-27
21:03
Adjust the appearance of disabled buttons. check-in: a66321da user: culler tags: mac_styles
11:49
Sync tcl.m4 with the vesion provided by Tcl 8.6 check-in: 4490f0bf user: jan.nijtmans tags: core-8-6-branch
00:22
On Aqua, allow the Tk event loop to run while a menu is open. (This is tricky.) check-in: 7f5d0d14 user: marc_culler tags: mac_styles
2019-11-26
20:35
Horrible windows-specific workaround against SendInput not moving the mouse on Win10 when both input.mi.dx and input.mi.dy are zero) - this must be a Windows bug. bind-34.3 now passes on Win10 check-in: 4202ddbd user: jan.nijtmans tags: core-8-6-branch
20:33
Various cleanups in Unicode handling. Note that without Xft on X11 we don't have Emoji. check-in: 7f62ccc3 user: jan.nijtmans tags: core-8-6-branch
12:55
Horrible windows-specific workaround against SendInput not moving the mouse on Win10 when both input.mi.dx and input.mi.dy are zero) - this must be a Windows bug. bind-34.3 now passes on Win10. check-in: 50aaf728 user: fvogel tags: bug-69b48f427e9
12:51
merge core-8-6-branch check-in: 6b76e178 user: fvogel tags: bug-69b48f427e9
2019-11-25
12:47
Fix [a953736b54]: Potential wrong use of TkKeyEvent check-in: be77d20c user: jan.nijtmans tags: core-8-6-branch
03:48
Implement Aqua comboboxes with popup menus instead of listboxes. check-in: 9c73f8b7 user: marc_culler tags: mac_styles
01:01
Merge 8.6 check-in: ffe4dba8 user: marc_culler tags: mac_styles
00:59
In Aqua, fix TkMacOSXInDarkMode so that it does not crash *and* returns a meaningful answer when passed a null pointer. check-in: 43db0839 user: marc_culler tags: core-8-6-branch
2019-11-24
15:38
Combobox tweaks. check-in: ca9737ae user: marc_culler tags: mac_styles
04:56
Add accent color to sliders. check-in: 05cf6cbe user: marc_culler tags: mac_styles
01:35
Accented and otherwise improved progress bars. check-in: e50cc2d6 user: marc_culler tags: mac_styles
2019-11-22
17:06
Merge 8.6 check-in: 15a347ec user: culler tags: mac_styles
16:45
merge release check-in: b5fac1e9 user: dgp tags: core-8-6-branch
08:48
Merge 8.6 Closed-Leaf check-in: b35590d9 user: jan.nijtmans tags: utf-16-for-X11
08:39
Update rules.vc to latest version check-in: 64881b86 user: jan.nijtmans tags: core-8-6-branch
2019-11-21
15:59
More code simplification check-in: f8d9fdff user: jan.nijtmans tags: utf-16-for-X11
12:04
Oops _WIN32 with single underscore check-in: 3427937c user: jan.nijtmans tags: utf-16-for-X11
11:46
Update unicode demo check-in: b6c376ae user: jan.nijtmans tags: utf-16-for-X11
10:26
Now that TkUniCharToUtf() produces maximum of 4 bytes, reduce storage. More code simplifications. Disallow Emoji on X11 without xft, just use replacement character then. check-in: 1eb3050c user: jan.nijtmans tags: utf-16-for-X11
2019-11-20
23:35
Add native style Combobox button check-in: 90df2f0a user: culler tags: mac_styles
18:50
update changes Closed-Leaf check-in: c7984bbb user: dgp tags: rc2, release, core-8-6-10-rc, core-8-6-10
18:50
Merge 8.6 except for the broken demo. check-in: f3ef2549 user: dgp tags: core-8-6-10-rc
13:10
X11 correct UTF-16 encoding (not meant for Tk 8.6.10 yet!) check-in: 3b5b9950 user: jan.nijtmans tags: utf-16-for-X11
2019-11-19
19:28
Finish details for Entries. check-in: c4d24eee user: culler tags: mac_styles
16:21
Make the Emoji demo work with X11 using xft, even under Tcl 8.6. check-in: 414bb151 user: jan.nijtmans tags: core-8-6-branch
15:52
Specific test for xft in widget demo Closed-Leaf check-in: cd65ffc8 user: jan.nijtmans tags: emoji-for-xft
15:31
Experiment: See if this is enough to make Emoji work with Xft on X11 check-in: 57a7649e user: jan.nijtmans tags: emoji-for-xft
10:35
Use correct Emoji representation when running with Tcl 8.7. Works on X11 then! check-in: 2ac49da2 user: jan.nijtmans tags: core-8-6-branch
06:07
Rebase mac_buttons check-in: bd7d5af3 user: marc_culler tags: mac_styles
04:33
Prevent crashes on macOS caused by calling TheWorldHasChanged from inside [NSView drawRect] check-in: d342bcb8 user: culler tags: core-8-6-branch
04:30
Prevent crashes on macOS caused by calling TheWorldHasChanged from inside [NSView drawRect] Closed-Leaf check-in: 539408e0 user: culler tags: bug-589e83d30a
00:57
Implement non-BMP unicode for macOS check-in: 65bf75ea user: culler tags: core-8-6-branch
00:46
Correct some errors revealed by building on macOS 10.6 check-in: 6a7d0065 user: culler tags: core-8-6-branch
2019-11-18
20:02
Merge 8.6, but only exclude Emoji's in the demo for X11. Closed-Leaf check-in: 4e6f92fe user: jan.nijtmans tags: mac_unicode
19:48
Restrict Emoji in demo for win32 platform only, since on other platforms it's not guaranteed to work yet check-in: 0661a4e1 user: jan.nijtmans tags: core-8-6-branch
15:05
Edit comments, add tests for NULL pointers. check-in: f06ee059 user: culler tags: mac_unicode
08:14
remove printf("TkSelGetSelection\n"); check-in: c7fc3a41 user: jan.nijtmans tags: mac_unicode
00:31
Implement non-BMP unicode for macOS when TCL_UTF_MAX = 3 by encoding surrogates as 3-byte UTF-8-ish sequences. check-in: 45294d24 user: culler tags: mac_unicode
2019-11-17
17:31
Fix [90d555e088]: work around an Apple bug which causes NSFontManager to find fonts with unwanted traits in macOS Catalina. check-in: cd1c2ea8 user: culler tags: core-8-6-branch
17:11
Fix [53d28027e3]: macOS crashes with 0x0 image for wm iconphoto; make wm iconphoto behavior consistent between platforms. check-in: a04cf70e user: culler tags: core-8-6-branch
16:52
Fix [c4abd2b0f3]: rework stackorder command on all platforms, and prevent panics on macOS. check-in: faf5c3fe user: culler tags: core-8-6-branch
2019-11-16
16:58
On macOS make DrawCharsInContext accept byte sequences which contain UTF-16 surrogates encoded as 3-byte UTF-8-ish subsequences, so the Emoji demo works. check-in: fa1ebd57 user: culler tags: core-8-6-branch
2019-11-15
21:52
Let's add some Emoji to the widget demo, but encoded in UTF-16 so Tcl 8.6.10 can handle it. Works at least on Windows. check-in: a70e28c9 user: jan.nijtmans tags: core-8-6-branch
21:46
Adjust the test image-6.1 so that it will expect the new image type. Closed-Leaf check-in: e1363e3c user: culler tags: mac_images
20:48
Fix [90d555e088]: In Catalina Apple's NSFontManager creates fonts with unwanted traits Closed-Leaf check-in: 39057cb3 user: culler tags: bug-90d555e088
20:48
update changes check-in: 6d5fb867 user: dgp tags: core-8-6-10-rc
20:45
merge 8.6 check-in: 4fc06d5f user: dgp tags: core-8-6-10-rc
12:44
Fix [69b48f427e] (again): Test "textTag-18.1" fails since Win10 Creator Falls update. Thanks, François! check-in: ab595e1f user: jan.nijtmans tags: core-8-6-branch
2019-11-14
23:32
Fix again integer arithmetics in TkSetCursorPos(), see [69b48f427e] check-in: 14a3b51a user: fvogel tags: bug-69b48f427e9
23:32
remove debug printf code check-in: 77ab3f26 user: fvogel tags: bug-69b48f427e9
23:14
merge core-8-6-branch, and add (currently failing) test bind-34.3 demonstrating that warping does not work with null or negative coordinates. Also add a bit of debug printf in TkSetCursorPos() for Windows check-in: c7ced784 user: fvogel tags: bug-69b48f427e9
2019-11-13
15:25
Add support for 4 keycodes on Windows (Mail, AudioMedia, Launch0 and Launch1), which some keyboards might have. Add more header-files, with available keycodes on various platforms, and add some missing keysyms to ks_names.h (adapted from X11R6). This improves compatibility for Windows/MacOSX compared to X11R6. check-in: be3dac07 user: jan.nijtmans tags: core-8-6-branch
2019-11-11
14:36
Tweak the fix to [8793e78bf0] to avoid scrollbar artifacts. check-in: 24783747 user: culler tags: core-8-6-branch
01:45
Allow creating 0x0 NSImages, which work e.g. in labels, just don't allow using them as iconphoto images. Closed-Leaf check-in: bb3c9f56 user: culler tags: bug-53d28027e3
2019-11-10
22:30
Split wm-iconphoto-1.5 into the Win and Mac case on one hand (an error triggers), and the Linux case on the other hand (no error is produced, the image is valid and can be used as an iconphoto even if its size is 0x0) check-in: c06d2d2a user: fvogel tags: bug-53d28027e3
21:11
The new test wm-iconphoto-1.5 must not depend on previous tests and how many images were created so far in the testing process check-in: c8fc3540 user: fvogel tags: bug-53d28027e3
20:09
Homogenize still further among platforms check-in: f3dc93ba user: fvogel tags: bug-53d28027e3
20:03
Add platform-independent test wm-iconphoto-1.5 check-in: a1f99b8b user: fvogel tags: bug-53d28027e3
18:47
Remove unnecessary cast that causes compiler errors on El Capitan. check-in: e370c1dc user: culler tags: mac_images
18:35
On unix, make the wm stackorder command return an error if TkWmStackorderToplevel fails. Closed-Leaf check-in: 1d174e28 user: culler tags: bug-c4abd2b0f3
18:13
Make all platforms check if an iconphoto image is valid and provide the same error message if not. check-in: 2971726c user: culler tags: bug-53d28027e3
2019-11-09
14:49
Fix [53d28027e3]: Generate an error instead of a crash if wm iconphoto receives an invalid photo image. check-in: 199c14cd user: culler tags: bug-53d28027e3
13:12
make TkWmStackorderToplevel return NULL if ckalloc fails. check-in: 76b39a75 user: culler tags: bug-c4abd2b0f3
10:18
Propagate previous Mac fix to the Windows platform check-in: fd178e2c user: fvogel tags: bug-c4abd2b0f3
2019-11-08
06:51
Reimplement TkWmStackorderToplevel to make it straightforward and shorter and behave the same on macOS as on unix and Windows. check-in: c65b7e7a user: culler tags: bug-c4abd2b0f3
2019-11-07
23:22
Fix [c4abd2b0f3]: Tcl Panic in TkWmStackorderToplevel (for Aqua) check-in: 92da033f user: culler tags: bug-c4abd2b0f3
19:08
Fix Disclosure Button; condense code. Closed-Leaf check-in: 7083f6dd user: culler tags: disclosure
12:44
Hash typos and bump release date. check-in: 2646185c user: dgp tags: core-8-6-10-rc
2019-11-06
16:46
Fix [12c8dfaa98] and [7e174a300e]: listbox.tcl/scrlbar.tcl: missing improved units computation in mouse wheel bindings check-in: ad4b037b user: jan.nijtmans tags: core-8-6-branch
16:35
Fix [edf4fd2613]: iconlist.tcl: errors in mouse wheel bindings. Thanks to nemethi for reporting this bug! check-in: 03f64ff8 user: jan.nijtmans tags: core-8-6-branch
2019-11-04
20:44
Merge 8.6 check-in: 88f42ffc user: culler tags: rc1, core-8-6-10-rc
20:42
Fix a paste error in ttk/entry.tcl that broke the accent menu for ttk::entry widgets. check-in: 4bdfdd84 user: culler tags: core-8-6-branch
16:23
Merge 8.6 check-in: 8d48238e user: culler tags: core-8-6-10-rc
16:21
Edit a comment. check-in: b96ade06 user: culler tags: core-8-6-branch
16:09
But we shouldn't call CFRelease on the font returned by [NSFont userFixedPitchFontOfSize:11] check-in: 464531b6 user: culler tags: core-8-6-branch
15:33
Fix [8793e78bf0]: High CPU usage due to unnecessary redraws of the entire window. check-in: dae3a925 user: culler tags: core-8-6-branch
15:29
Fix [855049e799]: Apple's system fixed font has an invalid familyName in macOS 10.15.1 check-in: 5ae7d15d user: culler tags: core-8-6-branch
2019-11-03
22:06
Completed what changes I can do. check-in: ab524192 user: dgp tags: core-8-6-10-rc
21:31
More progress on changes check-in: e2762812 user: dgp tags: core-8-6-10-rc
15:53
Rename the system image type as nsimage and add the ability to create from image files or filetypes. check-in: f226d4d3 user: culler tags: mac_images
15:03
More progress updating changes. check-in: d95630b2 user: dgp tags: core-8-6-10-rc
2019-11-02
18:08
merge 8.6 check-in: 07dc617e user: dgp tags: core-8-6-10-rc
16:37
Finish the implementation of the system image type for macOS check-in: 18f3919f user: culler tags: mac_images
14:28
Factorize common code into ttk::saveCursor Closed-Leaf check-in: 3b1e3fcb user: fvogel tags: bug-b3b56ae8dc
13:51
Fix [b3b56ae8dc]: ttk widgets overwrite user-set -cursor option. Case of the ttk::combobox, ttk::spinbox and ttk::panedwindow. check-in: 7d357aca user: fvogel tags: bug-b3b56ae8dc
10:32
Fix [b3b56ae8dc]: ttk widgets overwrite user-set -cursor option. Case of the ttk::treeview. check-in: 498466be user: fvogel tags: bug-b3b56ae8dc
2019-11-01
21:26
Better fix for [b82bd4872b]: ttk::style configure -compound does not work check-in: 795c5d2c user: fvogel tags: core-8-6-branch
21:15
Fix [f002bac209]: 'treeview identify column' returns _display_ columns identifiers whereas the man page tells about data columns identifiers check-in: c078c682 user: fvogel tags: core-8-6-branch
20:56
Push a different fix for the 'Column ... out of range' error reported in [caacf1f082], this time without any regression... check-in: b462406a user: fvogel tags: core-8-6-branch
17:39
Access named NSImages provided by macOS via image create system -systemname NAME ?-width NUMBER? ?-height NUMBER? check-in: 78c1e6e4 user: culler tags: mac_images
11:03
Somewhat more progress on [a179564826]: Tk 8.6: prevent issues when 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) check-in: 9dfe5c56 user: jan.nijtmans tags: core-8-6-branch
10:23
Propagate the previous two commits to the tabs of a ttk::notebook, which can now style -compound check-in: 12f850f4 user: fvogel tags: bug-b82bd4872b
10:19
Document that ttk::label and ttk::*button now support styling -compound check-in: e8f4f9dc user: fvogel tags: bug-b82bd4872b
09:58
Better fix for [b82bd4872b]: ttk::style configure -compound does not work check-in: 67f8dd7f user: fvogel tags: bug-b82bd4872b
2019-10-31
10:07
8.5 -> 8.6 check-in: 91f03958 user: jan.nijtmans tags: core-8-6-branch
09:57
Fix [056f9e85dc]: debian patches Don't define HAVE_STDINT_H in win/makefile.vc: Most (older) Visual Studio versions still don't have stdint.h, and it isn't used by Tk. check-in: 149ce586 user: jan.nijtmans tags: core-8-6-branch
2019-10-30
22:11
Fix [de579935a9]: Assertion error when drawing a Tk scrollbar on macOS check-in: c6f36c16 user: culler tags: core-8-6-branch
15:30
Fix [8793e78bf0]: High CPU usage due to unnecessary redraws of the entire window. Closed-Leaf check-in: 83479bd9 user: culler tags: bug-8793e78bf0
14:31
Alternative fix to [de579935a9] - just allow weird looking thumbs. Closed-Leaf check-in: abee8797 user: culler tags: bug-de579935a9-alt
2019-10-28
16:45
merge 8.6 check-in: fbb69138 user: dgp tags: core-8-6-10-rc
11:47
Reapply [0e9cbdba] and [82b1d286], then merge bug-ce470f20fd. This fixes [caacf1f082], [ce470f20fd], [cc6c711c1e] and finalizes the changes in treeview columns resizing. check-in: 8af45a4d user: fvogel tags: core-8-6-branch
09:04
Sync tcl.m4 with Tcl version (also change README accordingly). Re-generate configure script for UNIX check-in: bf0c1972 user: jan.nijtmans tags: core-8-6-branch
03:25
Apply patch from Kevin Walzer to restore functionality of Cut/Copy/Paste keyboard shortcuts on Aqua. check-in: 0c886a3d user: culler tags: core-8-6-branch
2019-10-27
20:55
Fix [f7a4f75d1c]: issues with focus -force and Aqua mouse coordinates for embedded toplevels. check-in: 74372768 user: culler tags: core-8-6-branch
20:35
Add a regression test for computing local mouse coordinates in embedded windows in Aqua. Closed-Leaf check-in: 5582461a user: culler tags: bug-f7a4f75d1c
19:30
Edit a comment check-in: 29604923 user: culler tags: bug-f7a4f75d1c