Tk Source Code

Timeline
Login

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

50 most recent check-ins

2026-07-09
04:04
More responsive event loop; some progress on keynav; SNI needs revision to remove Tk window because it is out of place on Wayland Leaf check-in: ff9b48d9eb user: kevin_walzer tags: wayland
2026-07-08
18:41
revert bd330108 - it makes resizing worse. Leaf check-in: 776bd8350c user: culler tags: wayland_nvg
16:11
[72f6496b] ttk::treeview: -selecttype should be a scalar, not a one-element list Since [ea378fca79] (TIP 740) it is read via GetEnumSetFromObj(), which shimmers selectTypeObj to a list, so [$w cget -selecttype] returns a one-element list. Read it as a scalar index like -selectmode instead. Leaf check-in: 3d0b5e1570 user: serhiy.storchaka tags: selecttype-scalar
15:54
Fix B-tree inconsistency ("level zero node is not root for tag") after [load]: ClearText swaps in a fresh empty tree but, when tags are preserved (clearTags == 0), it left each surviving tag's rootPtr pointing into the destroyed tree, so AddTagToNode (which only sets rootPtr when NULL) never rebuilt it. Reset the preserved tags' rootPtr to NULL. With regression test. Leaf check-in: 637d0e0c6b user: nab tags: nab-load-tag-reset
15:39
Fix abort ("assert SegmentIsElided" in TkBTreeFindStartOfElidedRange) when an enclosing elide tag is applied over an already elided inner range: the insert-link path of UpdateElideInfo now reuses the branch inserted earlier in the same pass (newBranchPtr) instead of searching for a start which is elided only by the tag being processed. With regression test. Leaf check-in: 6d101e2d47 user: nab tags: nab-elide-updateinfo
15:37
Fix B-tree inconsistency ("CheckSegments: segment is protected") when removing an expired branch/link in UpdateElideInfo: a removed structural segment kept its transient protectionFlag and, once parked for reuse, was recycled as a live branch/link still marked protected. Clear the flag before unlinking. Triggered by tag remove/delete over elided ranges. With regression tests. check-in: 477e677962 user: nab tags: nab-elide-updateinfo
15:33
Fix [pathName checksum -displaytext] / -displaychars including elided text: after skipping an elided run via the branch->link shortcut, linePtr was left on the branch's line, so once the segment chain ended the walk resumed on an already-visited line, re-hashing the elided lines. Resync linePtr onto the link's line. With regression test. Leaf check-in: ad45cbc540 user: nab tags: nab-checksum-displaytext
15:29
Widget -locale changes now trigger a relayout (TK_TEXT_LINE_GEOMETRY typeMask, like -lang): [pathName locale index] and word handling used to keep the old locale until an unrelated relayout happened. With regression test. Leaf check-in: 61544b8845 user: nab tags: nab-locale-relayout
15:26
Fix numeric tab alignment with -wrap none: the unbounded else branch of AdjustForTab's NUMERIC case computed the position from maxX (== -1, the no-wrap sentinel) instead of the tab stop itself; align it with the RIGHT case. With regression test. Leaf check-in: bf81eba9bf user: nab tags: nab-tabs-numeric
14:05
Fix [5d950fd28a]: default tab stops collapse with -wrap none. In AdjustForTab, guard the modulo against maxX == -1 (the no-wrap sentinel), matching the guards already used by the explicit-tabs cases in the same function. With regression test. Leaf check-in: d1d20c723d user: nab tags: nab-tabs-wrap-none
13:53
Merge nab-elide-missing-branch: fix [ad458a3a72] - dangling branch/link connections when toggling -elide across interleaved tag ranges Leaf check-in: dadebc845f user: nab tags: revised_text, tip-466
13:17
Merge revised_text Closed-Leaf check-in: 02718f3188 user: nab tags: nab-elide-missing-branch
12:47
Add new test + debug statements Leaf check-in: fb20a7e4a4 user: erikleunissen tags: bug-f093ef6765
11:38
New branch for ticket [f093ef6765] check-in: 619e0b2bb0 user: erikleunissen tags: bug-f093ef6765
03:24
Merge trunk; end segfaults on shutdown check-in: 82178df0a6 user: kevin_walzer tags: wayland
01:32
Fix for [54ecf9a21b] Leaf check-in: 8e88882c02 user: kevin_walzer tags: trunk, main
2026-07-07
15:01
Indenting check-in: 2a59f6e4b0 user: jan.nijtmans tags: trunk, main
14:38
Undo EXEC flag from LICENSE_SHEENBIDI check-in: 44e55ad59b user: jan.nijtmans tags: trunk, main
14:11
Manifest is already in rc, so no need to run mt tool Leaf check-in: 595af23c57 user: jan.nijtmans tags: manifest-in-rc-only
12:21
Merge trunk Leaf check-in: 1da9faef5e user: kevin_walzer tags: insertion_cursor
11:58
Additional cleanup check-in: 7cd09d2a66 user: kevin_walzer tags: insertion_cursor
11:41
Sync rules-ext.vc with Tcl check-in: 1c631e1e93 user: jan.nijtmans tags: trunk, main
11:14
Comment cleanup check-in: 38f88d4209 user: kevin_walzer tags: insertion_cursor
03:41
Some progress on keyboard navigation check-in: 4f5875f1dc user: kevin_walzer tags: wayland
03:32
Menu entry configuration improved; menu keyboard navigation and systray management (menus, tooltips) still WIP check-in: 41cfd73ab3 user: kevin_walzer tags: wayland
01:09
Merge trunk check-in: 21b189c54b user: kevin_walzer tags: wayland
01:05
Fix spike to 100% CPU on accessibility initialization on X11 check-in: a4c7d99c05 user: kevin_walzer tags: trunk, main
00:54
Potential fix for insertion cursor bug check-in: 61f85fe642 user: kevin_walzer tags: insertion_cursor
2026-07-06
21:45
Merge trunk check-in: f3c1d2d0c7 user: jan.nijtmans tags: revised_text, tip-466
20:44
Fix [7db001b384]: Entry and spinbox key binding bug check-in: 22e11f3b46 user: jan.nijtmans tags: trunk, main
12:19
No need to worry about Windows 8.1 any more check-in: 27dc0e7ac7 user: jan.nijtmans tags: trunk, main
11:31
Correct segfault during certain image write operations on Wayland - thanks to Weiwu Zhang for patch check-in: d508e155db user: kevin_walzer tags: wayland
2026-07-05
21:47
Comment cleanup check-in: d19311e3dc user: kevin_walzer tags: wayland
21:09
Improvements in menu display - highlights, cascades and indicators check-in: 7a6dac0376 user: kevin_walzer tags: wayland
20:23
Remove unused xdg_popup implementation; improve menu geometry to ensure menu is drawn/placed inside toplevel check-in: 5046367f14 user: kevin_walzer tags: wayland
20:05
Merge wayland_nvg check-in: eef9e13e8d user: kevin_walzer tags: wayland
00:13
Orderly shutdown check-in: af4d855a2f user: kevin_walzer tags: wayland
2026-07-04
22:46
Additional refinements check-in: b6c677f8de user: kevin_walzer tags: wayland
19:51
Remove the callback count; poll the wayland connection in the SetupProc. check-in: bd330108cc user: culler tags: wayland_nvg
19:14
Merge trunk check-in: 844a346443 user: kevin_walzer tags: wayland
19:13
Clean up segfaults on shutdown / popup destruction check-in: e79ab9f828 user: kevin_walzer tags: wayland
18:32
Refine menus - cascades check-in: 732b15641c user: kevin_walzer tags: wayland
18:20
Fix for [e1c681ba80] check-in: c9a1a38161 user: kevin_walzer tags: trunk, main
15:21
Correct angled text bug with bidi Leaf check-in: 3ddfa38290 user: kevin_walzer tags: bidi-angle
15:04
Merge trunk check-in: 4bbebcca17 user: kevin_walzer tags: wayland
15:01
Cascades now post check-in: e93bc9997e user: kevin_walzer tags: wayland
03:56
Remove duplicate comment check-in: 41e277ae38 user: kevin_walzer tags: wayland
03:49
Progress on images in menus check-in: 3cb442914a user: kevin_walzer tags: wayland
02:55
Highlights and indicators now drawing in menus - cascades still need work check-in: 2def9d32dc user: kevin_walzer tags: wayland
01:03
Minor updates check-in: b7ffb869ae user: kevin_walzer tags: wayland