Tk Source Code

Timeline
Login

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

50 most recent check-ins

2026-10-25
21:04
Fix segfault in pointer handling. Thanks to Nicolas Bats. leaf check-in: d1c2c94e user: culler tags: tip_765
20:54
Set required GLFW version at 3.4 or greater leaf check-in: 62038001 user: kevin_walzer tags: wayland
20:50
Merge trunk check-in: c92f6d49 user: kevin_walzer tags: wayland
20:32
Fix for [fde9dc2392]: X error BadDrawable when using ttk::style element create with multiple displays leaf check-in: 5ace0365 user: csaba tags: core-8-6-branch
20:12
Fix for [fde9dc2392]: X error BadDrawable when using ttk::style element create with multiple displays leaf check-in: 07e021e2 user: csaba tags: core-9-0-branch
12:42
Fix for [fde9dc2392]: X error BadDrawable when using ttk::style element create with multiple displays leaf check-in: 85428671 user: csaba tags: trunk, main
11:44
Fix for [220931ffff]: option get command responding to invalid input check-in: 5e360f9f user: csaba tags: core-8-6-branch
11:39
Fix for [220931ffff]: option get command responding to invalid input check-in: b9ea3c8a user: csaba tags: core-9-0-branch
11:35
Fix for [220931ffff]: option get command responding to invalid input check-in: 0a7003b0 user: csaba tags: trunk, main
10:12
Fix [cc736f8692]: Ctrl+Left (<<PrevWord>>, <<SelectPrevWord>>, Meta-b, Meta-BackSpace, Meta-Delete) in the text widget skipped a one-character word just before the cursor: TextPrevPos passes "end", the index of the last character, so the word starting there was not found. New ::tk::TextPrevWord appends a space so that "end" is the cursor position. New tests text-42.1 and text-42.2. leaf check-in: edb46a27 user: serhiy.storchaka tags: text-prev-word-one-char
07:57
Fix [3464070fff]: when a menu entry could not be created, MenuNewEntry() freed it but left it in the entries array, and on Windows no error message was set. The slot is now removed again, and on Windows running out of menu command IDs gives "No more menu entries can be allocated." with error code TK MENU SYSTEM_RESOURCES. GetNewID() also tries the last allocated ID before giving up. New test winMenu-36.1. leaf check-in: 18d8a385 user: serhiy.storchaka tags: menu-new-entry-error
07:51
Fix [3515522fff]: [wm forget] did not release the menubar of the toplevel, so destroying it or the menu later crashed on Windows (TkWinGetWrapperWindow() dereferenced the NULL wmInfoPtr of the frame). The menubar is now released when a toplevel becomes a frame, and TkWinGetWrapperWindow() returns NULL for a window which is not a toplevel. New tests wm-forget-2.2 and wm-forget-2.3. leaf check-in: 0a7452d8 user: serhiy.storchaka tags: wm-forget-release-menubar
07:48
window-2.13: explain why the delay of "destroy ." must be 0, as suggested by chrstphrchvz in [8e32cb7ece]. leaf check-in: 7c3fb7d9 user: serhiy.storchaka tags: macos-root-destroyed-early
00:22
Fix [02d5f7cc]: canvText test failures when using dark mode leaf check-in: a50a3641 user: chrstphrchvz tags: bug-02d5f7cc
2026-10-24
17:34
Fix for [562c3a3da5]: transient windows don't appear on Windows check-in: 8fcd84d4 user: csaba tags: core-8-6-branch
17:22
Fix for [562c3a3da5]: transient windows don't appear on Windows check-in: 83373d40 user: csaba tags: core-9-0-branch
17:10
Fix for [562c3a3da5]: transient windows don't appear on Windows check-in: b56b1a05 user: csaba tags: trunk, main
16:28
Fix configuration failure in wayland test runner check-in: 9cef8721 user: kevin_walzer tags: wayland
15:36
Merge trunk. The new trunk test textDisp-40.2 becomes textDisp-48.2 (textDisp-40.2 is taken). The fix of [18f35ed566] in tkTextDisp.c is for the legacy widget: the revised one already gives the right display lineend. leaf check-in: bb20aeff user: nab tags: revised_text, tip-466
15:18
Merge trunk check-in: 66950943 user: kevin_walzer tags: wayland
14:09
Fix for [c81e0ccee2]: Named font late creation check-in: a344fe53 user: csaba tags: core-8-6-branch
13:41
Merge main. Main moved stippled drawing into RenderStippled(): the last point of a thin polyline is now also drawn in DrawPathProc(). leaf check-in: 0fbe298a user: serhiy.storchaka tags: win-thin-line-endpoints
13:41
Merge main. leaf check-in: 356c7028 user: serhiy.storchaka tags: unix-zipfs-mkzip
13:41
Merge main. leaf check-in: abb3ccc3 user: serhiy.storchaka tags: x11-embed-focus-return
13:41
Merge main. leaf check-in: a9a328bb user: serhiy.storchaka tags: embed-container-destroyed-pixmap
13:40
Fix for [c81e0ccee2]: Named font late creation check-in: 3e71cad9 user: csaba tags: core-9-0-branch
12:41
Fix for [c81e0ccee2]: Named font late creation check-in: f89023e3 user: csaba tags: trunk, main
11:30
Remove unused useDarkAppearance parameter in SetStipplePattern() check-in: 55239438 user: jan.nijtmans tags: core-9-0-branch
11:07
Implement stippling on macOS using CGPattern based on Christopher Chavez's suggestion check-in: e620e5fe user: jan.nijtmans tags: core-9-0-branch
11:07
Implement stippling on macOS using CGPattern based on Christopher Chavez's suggestion check-in: e1bf1272 user: jan.nijtmans tags: trunk, main
10:47
Merge main, which fixes imgPhInstance-7.2 on Retina displays [bd4e055d]. On the platforms which render RGBA images, do not allocate the dithering error array at the default gamma and palette, as suggested by Nicolas. leaf check-in: c3c4cf29 user: serhiy.storchaka tags: rgba-gamma-palette
10:33
Fix [aeb2ed51ab] and [8e32cb7ece]: on macOS, destroying "." before the root window was first shown (e.g. [after 0 {destroy .}]) crashed in the showRootWindow() idle handler, which used the possibly deallocated NSWindow and the NULL Tk window. Retain the NSWindow until the handler runs, and do nothing there if its Tk window is gone. Also fix a background error on Windows in the console, whose idle script for erasing the "% " prompt ran after the application was destroyed. Test window-2.13. check-in: 996b73f3 user: serhiy.storchaka tags: macos-root-destroyed-early
09:51
Fix for [1723059fff]: entryconfigure destroys submenus check-in: edff8f53 user: csaba tags: core-8-6-branch
09:36
Fix for [1723059fff]: entryconfigure destroys submenus check-in: a3f03a58 user: csaba tags: core-9-0-branch
09:32
Fix for [1723059fff]: entryconfigure destroys submenus check-in: 5f1de6fb user: csaba tags: trunk, main
08:52
Stipple tests canvas-27.1, canvas-27.2 and canvRect-13.1 to 13.3 (from [220787]) fail on Aqua, which does not support stippling: add the notAqua constraint. check-in: e277e5e5 user: serhiy.storchaka tags: trunk, main
08:50
textDisp-41.1: wait up to 10 seconds for the line metrics update instead of one, since it did not complete in time on the slower Windows and macOS CI machines. Without the fix, no widget gets synchronized at all. leaf check-in: 1f9685c9 user: serhiy.storchaka tags: text-metrics-after-redraw
08:35
Fix [586f722cdd] and [220856ffff] in Tk_CoordsToWindow() on X11. A toplevel that was just withdrawn was still found while the window manager had not yet unmapped its frame, which made winfo-4.8 fail with a slow window manager; new test winfo-4.9. With a virtual root window manager, the point was checked against the toplevel with coordinates relative to the wrong window, and the search stopped at the first toplevel found in a frame, so [winfo containing] returned "" there (since 8.6.10). leaf check-in: 8a0667c7 user: serhiy.storchaka tags: x11-coords-to-window
02:08
Implement stippling on macOS using CGPattern based on Christopher Chavez's suggestion closed check-in: c99dc16b user: kevin_walzer tags: macos-stipple
01:36
Comment cleanup check-in: fb4c92c2 user: kevin_walzer tags: wayland
2026-10-23
22:43
Tweak iconbadge command for Wayland check-in: f532fc7b user: kevin_walzer tags: wayland
22:11
Fix [3da0592db4]: after [auto_reset], the Tk file dialogs failed with "invalid command name .__tk_filedialog.contents.icons" (X11), or with "Duplicate element ComboboxPopdownFrame.border" (Tk dialogs on Windows). auto_reset removes the TclOO classes of the icon list, which destroys the cached dialog's icon list, and the commands of tk.tcl, so tk.tcl and ttk.tcl get sourced again. Recreate the dialog when its icon list is gone, let megawidget.tcl be sourced again, and load the ttk themes only once. Test choosedir-6.1. leaf check-in: a2611c44 user: serhiy.storchaka tags: dialogs-after-auto-reset
21:55
started initial conversion to markdown leaf check-in: 98bf269c user: Torsten tags: tip-700
21:23
make directories and move original nroff to a subfolder (just as for the Tcl manual pages) check-in: 3cb3dba3 user: Torsten tags: tip-700
21:16
branch for TIP 700 implementation check-in: 8265f723 user: Torsten tags: tip-700
20:48
Fix [b298b92ba7]: when Tk was loaded into one thread after another on X11, a later thread died with a random X error. Xft's close-display hook frees glyphs through RENDER after RENDER's own hook has run, which registers RENDER again for the dying display, and a new display at the same address inherits the stale extension codes. Initialize RENDER in TkpOpenDisplay() before Xft, so that its hook runs last. leaf check-in: 423012d7 user: serhiy.storchaka tags: x11-render-before-xft
20:20
Fix [360434]: no longer replace "::" in manual page with "_" on installation check-in: 588acd0b user: jan.nijtmans tags: core-9-0-branch
20:19
Fix [360434]: no longer replace "::" in manual page with "_" on installation check-in: a248516e user: jan.nijtmans tags: trunk, main
20:15
Merge-mark closed check-in: 974d5f04 user: jan.nijtmans tags: man-colon-names
19:53
Corrections in a manpage. check-in: 93911806 user: csaba tags: core-8-6-branch