Tk Source Code

Timeline
Login

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

50 descendants and 50 ancestors of 51693900268b7da6818385da4997603b97e08749

2016-09-01
20:12
Merged branch [bug-6976e4b3b2] check-in: 4159ebc4 user: fvogel tags: core-8-6-branch
13:43
unnecessary macro check-in: f97c4e8f user: jan.nijtmans tags: rfe-6c0d7aec67
13:21
(experiment) don't fill trans_chars any more when send_event == -3. Results in many simplifications while it still should work the same check-in: 64509821 user: jan.nijtmans tags: rfe-6c0d7aec67
12:56
don't forget to set the keycode ;-) check-in: 5dc350ba user: jan.nijtmans tags: rfe-6c0d7aec67
2016-08-31
09:49
Implement USE_EXTRA_EVENTS=1, which generates additional events for 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! check-in: 8147aa1e user: jan.nijtmans tags: rfe-6c0d7aec67
08:55
Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry check-in: ca288433 user: jan.nijtmans tags: trunk
08:50
Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry check-in: d5886318 user: jan.nijtmans tags: core-8-6-branch
2016-08-30
20:01
Made text widget's default undo false again. check-in: 549d2f56 user: pspjuth tags: trunk
19:46
Made text widget's default undo false again. check-in: c8256e85 user: pspjuth tags: core-8-6-branch
13:46
merge core-8-6-branch check-in: ccbaeade user: jan.nijtmans tags: androwish
10:24
Enhance TkpGetString() to handle Unicode characters, even when TCL_UTF_MAX==3. check-in: d004b524 user: jan.nijtmans tags: rfe-6c0d7aec67
07:33
merge core-8-6-branch. Add patch from Christian Werner, and one step closer to working with TCL_UTF_MAX=3 check-in: 0c205a24 user: jan.nijtmans tags: rfe-6c0d7aec67
2016-08-29
17:57
Fixed [2cf3d6942c] - Test button-5.24 fails check-in: 7ee91ba3 user: fvogel tags: trunk
17:45
Fixed [2cf3d6942c] - Test button-5.24 fails check-in: 4667619c user: fvogel tags: core-8-6-branch
17:44
Constrained test menu-38.1 to Unix or Mac platforms since this test hangs on Windows and the corresponding bug was reported for Linux and Mac only check-in: 3d76abf4 user: fvogel tags: trunk
17:43
Constrained test menu-38.1 to Unix or Mac platforms since this test hangs on Windows and the corresponding bug was reported for Linux and Mac only check-in: 94e8db77 user: fvogel tags: core-8-6-branch
17:42
Constrained test menu-38.1 to Unix or Mac platforms since this test hangs on Windows and the corresponding bug was reported for Linux and Mac only Closed-Leaf check-in: 48054f96 user: fvogel tags: bug-fa32290898
15:45
Fixed [fa32290898] - Can't dismiss ttk::menubutton menu until mouse has hovered over it check-in: ef1b7ba6 user: fvogel tags: trunk
15:45
Fixed [fa32290898] - Can't dismiss ttk::menubutton menu until mouse has hovered over it check-in: d4e1f680 user: fvogel tags: core-8-6-branch
15:38
Merged implementation of TIP #449 - [text] undo/redo to Return Range of Characters - following acceptation by vote of the TCT check-in: 177f5ee6 user: fvogel tags: trunk
15:28
Rebased to trunk since TIP #449 was accepted for merging to trunk only, not to core-8-6-branch Closed-Leaf check-in: d0aea8f2 user: fvogel tags: tip-449
12:31
rebase to core-8-6-branch. should now work with TCL_UTF_MAX=4 and TCL_UTF_MAX=6 (not yet with TCL_UTF_MAX=3) check-in: 43f27bfa user: jan.nijtmans tags: rfe-6c0d7aec67
2016-08-25
19:37
Use virtual events for touch. Removed <Touch> check-in: c1ca811f user: pspjuth tags: pspjuth-touch
2016-08-23
20:51
Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on secondary screen. check-in: ca33f109 user: fvogel tags: trunk
20:51
Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on secondary screen. check-in: 3fca6d54 user: fvogel tags: core-8-6-branch
20:16
Patch [6c0d7aec67] from Christian Werner on upstream Androwish to better 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. check-in: aaa031e1 user: fvogel tags: rfe-6c0d7aec67
19:30
Added non regression test case menu-38.1 check-in: 03cfff45 user: fvogel tags: bug-fa32290898
18:27
Improved further test button-5.24: the test no longer depends on default values for -padx and -pady and it now computes the expected size of the button Closed-Leaf check-in: a6f3ed76 user: fvogel tags: bug-2cf3d6942c
2016-08-19
21:47
Fixed [2cf3d6942c] - Test button-5.24 fails. First, use {Helvetica -12} as font for the button text instead of {Helvetica -12 bold} since it's the former and not the latter that is tested against in constraints.tcl regarding the 'font' constraint. Second, don't force -width to a fixed value, otherwise width results can be wrong. Third, adjust the test results in width according to the two previous changes. check-in: 4a464a6b user: fvogel tags: bug-2cf3d6942c
21:43
Fixed [2cf3d6942c] - Test button-5.24 fails. First, use {Helvetica -12} as font for the button text instead of {Helvetica -12 bold} since it's the former and not the latter that is tested against in constraints.tcl regarding the 'font' constraint. Second, don't force -width to a fixed value, otherwise width results can be wrong. Third, adjust the test results in width according to the two previous changes. Closed-Leaf check-in: 7fee88fe user: fvogel tags: bug-2cf3d6942c-mistake
20:31
Fixed [fa32290898] - Can't dismiss ttk::menubutton menu until mouse has hovered over it check-in: 470cbe0b user: fvogel tags: bug-fa32290898
12:20
merge core-8-6-branch check-in: 39a7ebb5 user: jan.nijtmans tags: androwish
2016-08-18
19:05
Implementation of TIP #442 by RenĂ© Zaumseil - Display text in progressbars check-in: a4f16b1d user: fvogel tags: tip-442
2016-08-13
20:18
Fixed [e8a111970a] - Misleading documentation for menu accelerator option check-in: 0b115c2d user: fvogel tags: trunk
20:16
Fixed [e8a111970a] - Misleading documentation for menu accelerator option check-in: 48652bed user: fvogel tags: core-8-6-branch
20:03
Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on secondary screen Closed-Leaf check-in: 9339d0a4 user: fvogel tags: bug-a2abc45ee6
19:53
Suppore pan options and pan inertia. Remade script API. check-in: bec7c299 user: pspjuth tags: pspjuth-touch
2016-08-12
19:35
Dokumentation check-in: ad584de0 user: pspjuth tags: pspjuth-touch
16:51
Solution for differentiating left and right shift keys. Closed-Leaf check-in: 27f238b2 user: fvogel tags: bug-2945130fff-shift
15:16
merge trunk check-in: 387cd37e user: jan.nijtmans tags: novem-support
14:44
Change Tk_FreeXId() into a macro. A few end-of-line spacing eliminations. check-in: 0d1b696e user: jan.nijtmans tags: trunk
2016-08-11
18:24
Added touch configuration check-in: a9abb0a0 user: pspjuth tags: pspjuth-touch
12:22
Left and right Control and Alt keys are distinguished using the Extended flag (the previously implemented trick only worked for KeyPress, not for KeyRelease). Closed-Leaf check-in: 92c04257 user: fvogel tags: bug-2945130fff
12:12
Consider the Extended flag for both KeyPress and KeyRelease events coming 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. check-in: 3db46b9d user: fvogel tags: bug-2945130fff
00:00
Handle gestures check-in: 82a228e1 user: pspjuth tags: pspjuth-touch
2016-08-10
22:12
Touch work check-in: f689bc8d user: pspjuth tags: pspjuth-touch
00:53
Experimental branch for touch support check-in: cfdf5a3c user: pspjuth tags: pspjuth-touch
2016-08-03
10:19
Fixed [e8a111970a] - Misleading documentation for menu accelerator option Closed-Leaf check-in: f1d876ec user: fvogel tags: bug-e8a111970a
2016-07-31
14:07
End of fix for [5660d11c3f] - text tag -background option overrules -lmargincolor - DOcumentation update check-in: 80eb2bd0 user: fvogel tags: trunk
14:06
End of fix for [5660d11c3f] - text tag -background option overrules -lmargincolor - DOcumentation update check-in: d97ca2db user: fvogel tags: core-8-6-branch
13:58
Added missing space Closed-Leaf check-in: 51693900 user: fvogel tags: bug-5660d11c3f
2016-07-29
19:28
Clarified documentation about precedence of color specifications: -[lr]margincolor tag option > -background tag option > -background widget option check-in: 9dbcde85 user: fvogel tags: bug-5660d11c3f
2016-07-26
09:36
merged core-8-6-branch check-in: 962d6e22 user: fvogel tags: bug-5660d11c3f
09:30
Fixed [5660d11c3f] - text tag -background option overrules -lmargincolor check-in: 316b16bd user: fvogel tags: bug-5660d11c3f
2016-07-21
20:08
[450bb0ecad] Fix corruption [tk busy] creates on OSX. check-in: d3a347d2 user: dgp tags: core-8-6-branch
20:06
merge 8.6 Closed-Leaf check-in: 0cb77e7f user: dgp tags: bug-450bb0ecad
2016-07-19
23:48
Final tweak for OS X wm crash, thanks to Marc Culler check-in: 30856df3 user: kevin_walzer tags: core-8-6-branch
2016-07-17
03:19
Fix for Ticket c84f660833546b1b84e7fd3aef930c2f17207461 (Tk crashes when toplevel placed on second display, Mac); thanks to Marc Culler for patch check-in: 0dff4e5f user: kevin_walzer tags: core-8-6-branch
2016-07-15
10:47
Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks to Marc Culler for assistance check-in: 132ff991 user: kevin_walzer tags: core-8-6-branch
2016-07-08
01:21
Fix for bitmap distortion on Mac OS; thanks to Marc Culler for patch check-in: 02f7db4b user: kevin_walzer tags: core-8-6-branch
2016-07-06
03:00
Fix for excessive label padding in Tk/Mac; thanks to Brad Lanam for bug report check-in: 18b19e31 user: kevin_walzer tags: core-8-6-branch
2016-06-28
21:25
[ce92c79bc6] Improve the 'configure' method of the internal megawidget framework. Thanks to Schelte Bron for pointing out the problems with it. check-in: e1099ee9 user: dkf tags: core-8-6-branch
2016-06-27
19:23
Fixed [4cb3dab4eb] - Improvements to the documentation of Tk_FindPhoto et al. Patch provided by Simon Bachmann. check-in: 16bb032e user: fvogel tags: core-8-6-branch
2016-06-26
20:18
Fixed typos Closed-Leaf check-in: c94ac140 user: fvogel tags: bug-4cb3dab4eb
2016-06-22
18:17
Modernize Tk_Init() to use Tcl 8.6 features. check-in: 36fecf99 user: dgp tags: core-8-6-branch
18:10
[787adc5ed7] Workaround potential crash in Tcl_DStringAppend. check-in: 2bd85d72 user: dgp tags: core-8-6-branch
17:48
[787adc5ed7] Workaround potential crash in Tcl_DStringAppend. check-in: 68d594b8 user: dgp tags: core-8-5-branch
2016-06-21
21:19
Fixup the typecasting Closed-Leaf check-in: ad28669b user: dgp tags: dgp-modernize-init
20:31
work in progress check-in: 5955d9d9 user: dgp tags: dgp-modernize-init
14:31
Start bringing Tk_Init up to date with facilities Tcl provides. check-in: 54ec3725 user: dgp tags: dgp-modernize-init
2016-06-15
10:01
Whitespace fixes check-in: 557038bb user: jan.nijtmans tags: core-8-6-branch
2016-06-11
20:11
Fixed [4cb3dab4eb] - Improvements to the documentation of Tk_FindPhoto et al. Patch provided by Simon Bachmann. check-in: c26274ec user: fvogel tags: bug-4cb3dab4eb
14:50
Fixed [6976e4b3b2] - -undo options not correct for peers check-in: 09fa3e79 user: fvogel tags: core-8-6-branch
2016-06-08
15:33
Added test case text-27.16a to guard against regressions regarding [6976e4b3b2] check-in: 168b5515 user: fvogel tags: bug-6976e4b3b2
15:27
Fixed [6976e4b3b2] - -undo options not correct for peers check-in: 3ff41efa user: fvogel tags: bug-6976e4b3b2
2016-06-01
15:11
Fix 3bd69eba99a395ee: 'make dist' fails when tclsh9.0 is on $PATH check-in: 48fe0012 user: jan.nijtmans tags: core-8-6-branch
15:08
Fix 3bd69eba99a395ee: 'make dist' fails when tclsh9.0 is on $PATH check-in: aa6515f7 user: jan.nijtmans tags: core-8-5-branch
2016-05-30
20:20
Fixed tests cases bad interactions and a forgotten mouse warping case (event generate {} <...> -warp 1 is valid) check-in: 2131f788 user: fvogel tags: core-8-6-branch
20:16
A mouse button once pressed should be released. Doing otherwise messes up with assumptions in other (later) tests from the test suite, which reasonably think they start with all mouse buttons depressed. In the present case, canvas-13.1 failed because event generation of <ButtonRelease-1> was missing in test bind-32 Closed-Leaf check-in: 3b56aa53 user: fvogel tags: bug-79549a9134
19:38
Fixed crash when calling event generate {} <Motion> -warp 1 check-in: 0d6f2de7 user: fvogel tags: bug-79549a9134
18:33
Fixed [79549a9134] - Mouse pointer warping crashes check-in: af79c31a user: fvogel tags: core-8-6-branch
18:14
Fixed [f2655bb0ec] - bind-15.23 fails if the mouse is inside the test window check-in: 2fc6c6a8 user: fvogel tags: core-8-6-branch
18:05
Merged TIP #446 accepted by TCT vote. This fixes [1273358] - Ask a text widget for the depth of its undo and redo stacks. check-in: 85fe3473 user: fvogel tags: core-8-6-branch
2016-05-26
20:46
More complete fix for [79549a9134] - Mouse pointer warping crashes, with a non-regression test case. check-in: 89b1343f user: fvogel tags: bug-79549a9134
18:21
Fixed [79549a9134] - Mouse pointer warping crashes check-in: 3a4c49a5 user: fvogel tags: bug-79549a9134
2016-05-25
21:19
Fixed [f2655bb0ec] - bind-15.23 fails if the mouse is inside the test window Closed-Leaf check-in: e610cbad user: fvogel tags: bug-f2655bb0ec
19:35
Fixed [109865fa01] - ttk::menubutton unsafe wrt widget destruction check-in: 392d70f3 user: fvogel tags: core-8-6-branch
2016-05-22
20:55
Added test checkbutton-1.7 to guard against regressions regarding [109865fa01] Closed-Leaf check-in: 265212e3 user: fvogel tags: bug-109865fa01
19:56
Fixed [109865fa01] - ttk::menubutton has an unprotected winfo check-in: 6545d24e user: fvogel tags: bug-109865fa01
2016-05-20
15:31
Fixed [011706ec42] for the scrollbar case check-in: b79e2703 user: fvogel tags: core-8-6-branch
2016-05-18
18:27
Fixed [545f10fcf3] - Poor Xft coloured font performance on X11. Thanks to James Bonfield for the bug report, to Rob Davies for the patch, and to Brian Griffin for the testing check-in: 0072d910 user: fvogel tags: core-8-6-branch
10:14
Fixed [011706ec42] for the scrollbar case. Closed-Leaf check-in: 17c4cb5e user: fvogel tags: bug-011706ec42
02:26
Tweak to allow Tk to build on 10.5; thanks to Marc Culler for patch check-in: 334ba4c1 user: kevin_walzer tags: core-8-6-branch
2016-05-17
20:36
Added (currently failing) test case scrollbar-11.1 - Note that it will only fail on x11 and on aqua, not on Win because on Windows there is no binding of <2> for the Scrollbar class check-in: a59d8940 user: fvogel tags: bug-011706ec42
20:00
Took comments from Koen Danckaert into account (with my thanks) to simplify the implementation of TkUndoCanUndo() and TkUndoCanRedo() in tkUndo.c, and in tkText.c to remove direct calls to internals of the undo or redo stack Closed-Leaf check-in: b699eb0e user: fvogel tags: tip-446
2016-05-12
22:21
Unified branched tip-446-undodepth and tip-446-canundo to become branch tip-446 check-in: 2bfc04af user: fvogel tags: tip-446
21:42
Aligned GenerateModifiedEvent() on GenerateUndoStackEvent() regarding generation of the event for each peer Closed-Leaf check-in: ef7364ed user: fvogel tags: tip-446-canundo
21:35
Added test for the <<UndoStack>> event check-in: efe4cb36 user: fvogel tags: tip-446-canundo
21:24
Removed useless precision regarding the <<UndoStack>> event check-in: bab37fee user: fvogel tags: tip-446-canundo
21:22
Documented the <<UndoStack>> event check-in: 5ddbec41 user: fvogel tags: tip-446-canundo
21:12
Added <<UndoStack>> event, triggering when either the undo stack or the redo stack becomes empty or unempty check-in: 1dfd1615 user: fvogel tags: tip-446-canundo