Tk Source Code

Timeline
Login

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

50 most recent check-ins related to "main"

2026-11-19
16:20
Merge trunk (except for the backout of ourselves) check-in: b2b087d0 user: erikleunissen tags: ftd-eyefriendly
15:35
Rebase tests-high-dpi branch to trunk leaf check-in: 4fd2c27f user: jan.nijtmans tags: tests-high-dpi, core-tests-high-dpi
14:39
Merge trunk. Improve end-of-line spacing check-in: 33071794 user: jan.nijtmans tags: wayland
13:38
Backout [e6e08d8684]: options specific for the Tk test suite break invocations with "-singleproc 0" leaf check-in: 41e2b9c1 user: erikleunissen tags: trunk, main
12:32
Fix [356526]: On X11, invoke buttons when mouse button 1 is released check-in: 517d6eef user: jan.nijtmans tags: trunk, main
2026-11-18
20:09
Merge trunk check-in: 0f58d9b4 user: jan.nijtmans tags: wayland
20:05
Remove leftover documentation of ::tk::mac::useCompatibilityMetrics. See [562b4a29] check-in: cc7be3e7 user: jan.nijtmans tags: trunk, main
20:04
Remove leftover documentation of ::tk::mac::useCompatibilityMetrics. See [562b4a29] check-in: 6fef11ab user: jan.nijtmans tags: core-9-0-branch
19:56
Fix [3565268]: On X11, classic checkbuttons and radiobuttons are now invoked when mouse button 1 is released over them, not when it is pressed closed check-in: a762cb40 user: jan.nijtmans tags: x11-check-toggle-on-release
14:44
Accept RFE [b8ca45daf1]: Make fixed-time delays to satisfy the human eye optional. check-in: ba5c0b9d user: erikleunissen tags: core-9-0-branch
14:41
Accept RFE [b8ca45daf1]: Make fixed-time delays to satisfy the human eye optional. check-in: e6e08d86 user: erikleunissen tags: trunk, main
11:13
Merge trunk check-in: 54b062a4 user: erikleunissen tags: ftd-progstate
02:29
Begin to streamline integration of mojibake in Tk across platforms check-in: c982b2cb user: kevin_walzer tags: mojibake_integration
2026-11-17
23:31
Fix [a36cc56738] and [27e24f092d]: clean up tkMacOSXAccessibility.c. check-in: 40c6c7f6 user: culler tags: trunk, main
20:21
Simplify TkpReadPixelSRGB() by getting the colorspace for the window, rather than duplicating the approach in resetTkLayerBitmapContext. check-in: 099854b4 user: chrstphrchvz tags: tk-mac-usesrgb
20:02
Simplify TkpReadPixelSRGB() by getting the colorspace for the window, rather than duplicating the approach in resetTkLayerBitmapContext. check-in: 7eb396fe user: chrstphrchvz tags: aqua-wm-attributes-srgb
17:19
Fix [ead4782b08]: the test suite exited with status 0 when tests failed, so CI reported success, even when no test ran check-in: 4593d12d user: jan.nijtmans tags: core-9-0-branch
17:15
Fix [ead4782b08]: the test suite exited with status 0 when tests failed, so CI reported success, even when no test ran check-in: d18552b3 user: jan.nijtmans tags: trunk, main
15:13
Rebase to trunk closed check-in: 1f9358e2 user: jan.nijtmans tags: ci-test-exit-status
14:56
Fix for [f64df5e666]: Remove unused troughGC and copyGC from MacScrollbar (thanks to Christopher Chavez) check-in: fd36ad56 user: csaba tags: trunk, main
14:53
Fix for [f64df5e666]: Remove unused troughGC and copyGC from MacScrollbar (thanks to Christopher Chavez) check-in: c8aef156 user: csaba tags: core-9-0-branch
14:22
Merge trunk check-in: 5eccf6ec user: jan.nijtmans tags: wayland
14:19
Tests: do not depend on the default sizes in points set in tk.tcl check-in: 59636476 user: jan.nijtmans tags: trunk, main
10:36
Fix for [703a7fdda7]: Every Tk_Init registers another thread exit handler check-in: 72f3c9ef user: csaba tags: core-9-0-branch
10:32
Fix for [703a7fdda7]: Every Tk_Init registers another thread exit handler check-in: 2e51198f user: csaba tags: trunk, main
07:27
Merge main, which fixes the detection of Xft in the tests (canvText-21.1, [03c66d8453] and [787e0bd278]). leaf check-in: b5a53f67 user: serhiy.storchaka tags: rgba-gamma-palette
02:01
Prototype for [9cec00748e]: a "snapshot" subcommand of photo images, which copies a mapped window of the application, as it is shown and with its child windows, into the image: imageName snapshot window ?-from x1 y1 x2 y2? ?-to x1 y1 x2 y2? ?-zoom x y? ?-subsample x y? ?-shrink?. Pending redraws are done first. The pixels are read by the new TkpCaptureWindow(): with XGetImage on X11, with BitBlt from the window's DC on Windows, and on macOS with XGetImage and a conversion from the display's color profile to sRGB, as testpixel does (untested). Add tests imgPhoto-27.*. leaf check-in: 65d435b4 user: serhiy.storchaka tags: photo-snapshot
2026-11-16
23:18
Fix [703a7fdda7]: every Tk_Init registered another thread exit handler for DeleteWindowsExitProc, so each interpreter that loaded Tk added 24 bytes, freed only at thread exit. Register it only once per thread. closed check-in: efa4dae6 user: serhiy.storchaka tags: tk-init-exit-handler-once
09:58
Fix [ead4782b08]: the test suite exited with status 0 when tests failed, so CI reported success, even when no test ran. Under Tk, tcltest exits with status 0 at the end of runAllTests, before it reports test files with errors and returns its result (Tcl ticket 7abc1460c0). all.tcl now prevents that exit and exits with the result of runAllTests when ERROR_ON_FAILURES is set; tests/all.tcl skips the ttk directory explicitly, since runAllTests now reaches it. The Linux and macOS workflows run both the classic and the ttk tests and fail if either exited with an error. On Windows, where the exit status is lost in the pipe through cat32, the workflow requires a summary with at least one test, no failures and no test file errors. (user: serhiy.storchaka) check-in: 6f50976f user: serhiy.storchaka tags: ci-test-exit-status
09:26
tests/font.test: use TkFixedFont on win32 instead of "courier 12". See ticket [deca13e833]. Thanks to Serhiy Storchaka. check-in: f9b64280 user: erikleunissen tags: core-9-0-branch
09:22
tests/font.test: use TkFixedFont on win32 instead of "courier 12". See ticket [deca13e833]. Thanks to Serhiy Storchaka. check-in: 2e318316 user: erikleunissen tags: trunk, main
2026-11-15
22:23
Add testverifysnapshot for aqua; use in textDisp.text check-in: 876c4520 user: culler tags: snapshot-test
20:50
Add tk_restorePalette command check-in: d2d74441 user: kevin_walzer tags: restore_palette
20:33
Merge trunk check-in: 32bb9044 user: kevin_walzer tags: wayland
20:19
Improve accessibility in Tk file dialogs check-in: 4b402676 user: kevin_walzer tags: trunk, main
19:50
Merge main, which now has the palette completion of [807b2f8916]: the branch no longer rests on ttk-derive-missing-colors, whose leaf is closed. check-in: 5c83407b user: serhiy.storchaka tags: x11-appearance
18:58
Map toplevels created in a row in the order of their creation. MapFrame() processed the idle events before mapping its window, which ran the MapFrame() of the next toplevels first, so they were mapped in the reverse order, on all platforms. Now a MapFrame() called from that event loop only queues its frame, and the outer one maps the queued frames in order. An embedded toplevel is still mapped at once, so that its container gets its size from it. With this, the wm-stackorder tests need only one "update idletasks" after the last toplevel, and only where they query the stacking order before the event loop runs. See [f85877eac2]. leaf check-in: 23fafba3 user: serhiy.storchaka tags: mapframe-creation-order
18:14
Merge 9.1 check-in: 46305d6a user: chrstphrchvz tags: aqua-mrc-fixes
15:03
Merge trunk check-in: 150855b8 user: jan.nijtmans tags: wayland
14:57
Prepare tkCanvas.c for anti-aliasing (backported from Wayland branch) check-in: 93dd6ad1 user: jan.nijtmans tags: trunk, main
14:04
Merge trunk. Build with Tcl 9.1 check-in: 7f5ee17e user: jan.nijtmans tags: wayland
13:29
Remove the leftover "unset fs" from tests/constraints.tcl: since [03c66d8453] the withXft constraint does not set fs, so every test file failed to load ("can't unset fs: no such variable"). check-in: 787e0bd2 user: serhiy.storchaka tags: trunk, main
04:41
Merge trunk check-in: cd33fcef user: kevin_walzer tags: wayland
04:39
Clean up tkUnixAccessibility.c check-in: 1362ca3e user: kevin_walzer tags: trunk, main
01:44
Fix [1ccface1]: tkMacOSXFileTypes.c does not compile on 10.15; patch from Christopher Chavez. check-in: cc51739e user: culler tags: trunk, main
01:35
Fix [1ccface1]: tkMacOSXFileTypes.c does not compile on 10.15; patch from Christopher Chavez. check-in: 7bdecbc6 user: culler tags: core-8-6-branch
2026-11-14
16:46
Merge trunk check-in: fe497197 user: jan.nijtmans tags: wayland
16:45
Fix CFG_FONTSYSTEM in combination withHAVE_BIDI. see [220796] (Thanks, Serhiy) check-in: 03c66d84 user: jan.nijtmans tags: trunk, main
12:53
Merge trunk check-in: ee77c4d8 user: erikleunissen tags: ftd-progstate
09:00
Use Tcl_SetVar2Ex() for LOG() to avoid performance penalty of generating the string which Tcl_SetVar2() returns but nothing uses. See [21252a15] leaf check-in: 93287425 user: chrstphrchvz tags: textdisp-faster-log