Tk Source Code

Timeline
Login

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

50 most recent check-ins

2026-10-24
02:08
Implement stippling on macOS using CGPattern based on Christopher Chavez's suggestion leaf check-in: c99dc16b user: kevin_walzer tags: macos-stipple
01:36
Comment cleanup leaf 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 leaf check-in: 588acd0b user: jan.nijtmans tags: core-9-0-branch
20:19
Fix [360434]: no longer replace "::" in manual page with "_" on installation leaf 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. leaf check-in: 93911806 user: csaba tags: core-8-6-branch
19:51
Corrections in two manpages. check-in: 6ce9242e user: csaba tags: core-9-0-branch
19:47
Corrections in two manpages. check-in: 657f9204 user: csaba tags: trunk, main
19:16
Fix [131adc6b77]: on Windows and macOS, when the window that got a ButtonPress was destroyed while the button was down, the following ButtonRelease and Motion events went to the window then under the pointer. Discard them until all buttons are released, as X11 does. Document that the release can still reach another application, e.g. when the application exits from a Button binding. leaf check-in: 27801b13 user: serhiy.storchaka tags: pointer-dead-restrict-window
18:27
Draw same borders/shadows on wm overrideredirect windows as on menus check-in: 29e448c8 user: kevin_walzer tags: wayland
18:00
Merge trunk leaf check-in: 430b18f4 user: kevin_walzer tags: x11-desktop-portal
17:24
Add wayland as supported branch check-in: c58fabac user: kevin_walzer tags: wayland
17:22
Refine wayland-build.yml check-in: ed8f0443 user: kevin_walzer tags: wayland
16:20
Manpage markup fixes check-in: 19868e7a user: jan.nijtmans tags: core-9-0-branch
16:18
Manpage markup fixes check-in: e4c9f6e9 user: jan.nijtmans tags: trunk, main
16:14
Merge trunk check-in: 87ff14cc user: kevin_walzer tags: wayland
15:13
Fix [481255]: photo images with -palette 2 were corrupted on Windows check-in: 710caca0 user: jan.nijtmans tags: trunk, main
14:46
Fix [600313]: the icon list of the file dialog no longer clears the selection when it loses focus check-in: 1994866f user: jan.nijtmans tags: trunk, main
14:28
Fix [546607ffff]: Do not reset the cursor over a window not managed by Tk check-in: e836917d user: jan.nijtmans tags: trunk, main
13:45
Fix [220787]: Stipple patterns don't work in arc/oval items on Windows check-in: f34f83d4 user: jan.nijtmans tags: trunk, main
13:39
Fix [1348333fff]: with many text widgets, the asynchronous line metrics update polled with 1 ms timers while a redisplay was pending, which starved the idle handlers, including the redisplay itself. Now the update waits without a timer, and DisplayText() restarts it when the redisplay is no longer pending. Unlike the backed-out [4b3b840a41], which waited in a when-idle handler, a nested [update] during the redisplay (as in textWind-17.10) cannot loop. Test textDisp-41.1. leaf check-in: 009b2c8f user: serhiy.storchaka tags: text-metrics-after-redraw, core-text-metrics-after-redraw
13:36
Update changes.md closed check-in: 5b6f94ab user: jan.nijtmans tags: win-canvas-arc-stipple
13:25
Fix [220787]: Stipple patterns don't work in arc/oval items on Windows check-in: f2d5d1a9 user: jan.nijtmans tags: win-canvas-arc-stipple
13:16
Remove gnu version of if syntax in Makefile.in check-in: fad5161c user: jan.nijtmans tags: trunk, main
13:07
Merge trunk leaf check-in: 2beb55ac user: jan.nijtmans tags: x11-xcursor-file, core-x11-xcursor-file
12:47
Backout [4b3b840a41], Because it creates a hang in textWind-17.10. See: [1348333] check-in: 00ba90d1 user: jan.nijtmans tags: trunk, main
09:20
Fix [3164867]: Add Xcursor support on X11 (rebased to trunk) check-in: 6d6d3807 user: jan.nijtmans tags: x11-xcursor-file
08:58
Merge in missing cursor test-files (another try) check-in: efa72637 user: jan.nijtmans tags: core-9-0-branch
08:55
Merge in missing cursor test-files (another try) check-in: 73142d71 user: jan.nijtmans tags: trunk, main
08:52
Merge in missing cursor test-files check-in: 35aa3475 user: jan.nijtmans tags: trunk, main
08:42
[458a562c4275e37e] MS-Win: winfo isdark crashes on a window which was never mapped check-in: bdb7edf9 user: oehhar tags: trunk, main
07:53
Fix 'make dist'. There are no *.ani files (yet) check-in: 67f11624 user: jan.nijtmans tags: trunk, main
07:47
Fix 'make dist'. There are no *.ani files (yet) check-in: b2f4956b user: jan.nijtmans tags: core-9-0-branch
2026-10-22
22:30
Increase font buffer size to guard against crashes - noted in emoji picker check-in: 47b8dcd0 user: kevin_walzer tags: wayland
22:03
Fix [cccd0b7f81]: on Windows, [winfo isdark] crashed on a window which was never mapped, because TkpWindowIsDark() took the HWND of a window which did not exist yet. Create the window first. Tests winfo-15.1 and winfo-15.2. closed check-in: 458a562c user: serhiy.storchaka tags: win-isdark-unmapped
18:36
Fix for [853414]: Document undefined bindings check-in: e5120791 user: csaba tags: core-8-6-branch
18:28
Fix for [853414]: Document undefined bindings check-in: b0a2037b user: csaba tags: core-9-0-branch
18:23
Fix for [853414]: Document undefined bindings check-in: fb166f9f user: csaba tags: trunk, main
17:37
Fix the constraints of test imgPhInstance-7.2: a stray quote made "notWayland\"" an unknown constraint, so the test was skipped on all platforms. check-in: 4f9f02c8 user: serhiy.storchaka tags: wayland
17:32
[1348333] Create many text widgets causes idle event overload check-in: 4b3b840a user: oehhar tags: trunk, main
16:57
Fix [18f35e]: "display lineend" landed inside a multi-byte character check-in: eda59475 user: jan.nijtmans tags: core-8-6-branch
16:43
Merge wayland_test_constraints, updated and corrected constraints for tests on Wayland check-in: f93888ba user: kevin_walzer tags: wayland
15:31
Fix for [911951]: Menu geometry info wrong if cascaded check-in: 1bba1531 user: csaba tags: core-8-6-branch
15:18
Fix for [911951]: Menu geometry info wrong if cascaded check-in: 21db2d8e user: csaba tags: core-9-0-branch