Tk Source Code

Timeline
Login

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

50 most recent check-ins

2026-10-14
11:13
Merge trunk Leaf check-in: 438c60c73f user: kevin_walzer tags: wayland
11:10
Merge color emoji support check-in: 5926adb608 user: kevin_walzer tags: wayland
11:08
Merge ATK updates check-in: df21db421a user: kevin_walzer tags: wayland
10:08
Merge nab-uchars-base-chunks: fix use after free of the chars of a char chunk, whose base chunk string may be reallocated by the next chunks (tests textDisp-47.1 and 47.2). Leaf check-in: c5d5928734 user: nab tags: revised_text, tip-466
10:06
Fix use after free in the layout of char chunks: a chunk kept a pointer into the string of its base chunk, which the next chunks of the stretch may reallocate (bbox, hyphenation rules). The chars are now read from the base chunk at each use. Tests textDisp-47.1 and textDisp-47.2 (seen with ASan). Closed-Leaf check-in: 6ba3b05ec2 user: nab tags: nab-uchars-base-chunks
09:51
Merge nab-btree-uaf: fix four use after free found with ASan, in the elide walk, the cleanup of split points, DeleteMarksOnLastLine and the insertion of soft hyphens (tests btree-14.131 to 14.135). check-in: c329fb0714 user: nab tags: revised_text, tip-466
09:47
Fix use after free in TkBTreeInsertChars: the split at a soft hyphen freed the segment holding the first inserted chunk. Tests btree-14.130, btree-14.134 and btree-14.135 (seen with ASan). Closed-Leaf check-in: 794f987679 user: nab tags: nab-btree-uaf
09:47
Fix use after free in DeleteMarksOnLastLine: the walk read the unset mark, and its saved successor which the unset may free by joining the neighboring chars. Tests btree-14.115 and btree-14.133 (seen with ASan). check-in: a492ae4fa6 user: nab tags: nab-btree-uaf
09:47
Fix use after free of a split point: DeleteIndexRange and TkBTreeClearTags cleaned up a boundary segment already freed, a switch pulled into the deleted range or removed by the elide recompute, or a mark deleted with -marks. Tests btree-14.29, btree-14.72, btree-14.131 and btree-14.132 (seen with ASan). check-in: ae510e6c55 user: nab tags: nab-btree-uaf
09:47
Fix use after free in UpdateElideInfo: a removed switch was freed while the fork of its partner still pointed to it, and the walk read it again. The removed switches are now freed at the end of the walk. Tests btree-14.5 and btree-14.67 (seen with ASan). check-in: bdbf23ce9a user: nab tags: nab-btree-uaf
09:22
Fix [5f7ba8c5a3]: Restore the fix for [4a25f316f7] Leaf check-in: d5effc94df user: csaba tags: core-9-0-branch
08:34
canvText-22.1: constrained by aquaKnownBug until ticket [271f61c768] is fixed. Leaf check-in: b6303a5a40 user: serhiy.storchaka tags: trunk, main
06:47
Merge nab-text-fixes: fix [a1e1030543], [3d27c3e636], [555b4c1130], [7dd531ff5f] and [7f951f0aa8], insertion with soft hyphens and tag lists (tests btree-14.127 to 14.130, text-47.1 to 47.4). check-in: 6b9cd9fac9 user: nab tags: revised_text, tip-466
06:47
Fix [7f951f0aa8]: the elided ranges of an insertion are recomputed from the tags when the soft hyphens have another elide tag than the chars. Test btree-14.130. Closed-Leaf check-in: 49dbc14178 user: nab tags: nab-text-fixes
06:47
Fix [7dd531ff5f]: an empty tagList in insert and replace gives no tags. Test text-47.4. check-in: e4bd309f56 user: nab tags: nab-text-fixes
06:47
Fix [555b4c1130]: chars inserted before a soft hyphen, an image or a window are appended to the preceding chars. Test btree-14.129. check-in: 1a1201037f user: nab tags: nab-text-fixes
06:47
Fix [3d27c3e636]: tk_textInsert and tk_textReplace accept -hyphentags before the indices, as documented; after the indices only -hyphentags itself is an option, other chars starting with "-" are inserted. Synopsis of tk_textReplace fixed. Tests text-47.1 to 47.3. check-in: d29a1c0dcf user: nab tags: nab-text-fixes
06:47
Fix [a1e1030543]: the first inserted segment is remembered when it is an untagged soft hyphen; the update of the elided ranges read it through a NULL pointer. Tests btree-14.127 and 14.128. check-in: 1a815a4726 user: nab tags: nab-text-fixes
03:16
Implementation of TIP 765: off screen rendering for macOS Leaf check-in: 7b8042ef71 user: culler tags: tip_765
01:09
Improve keyboard navigation of emoji pickers on macOS and Unix check-in: 835c583a40 user: kevin_walzer tags: trunk, main
01:09
Improve keyboard navigation for Linux emoji picker Leaf check-in: a1cc0cfd7d user: kevin_walzer tags: emoji-tweak
00:52
Emoji picker refinements for macOS and Linux check-in: cef06fb2b7 user: kevin_walzer tags: emoji-tweak
2026-10-13
19:55
Merge nab-softhyphen-newline: fix [cddda7d44e], newline after a soft hyphen (tests btree-14.123 and 14.124). check-in: 5580484fd8 user: nab tags: revised_text, tip-466
19:55
Fix [cddda7d44e]: after a soft hyphen, the tag information of the lines split by the insertion is recomputed from their segments instead of being derived from the tags of the soft hyphens. Tests btree-14.123 and 14.124. Closed-Leaf check-in: 76bc9f50f6 user: nab tags: nab-softhyphen-newline
19:54
Merge elide0-insert-in-elided-range and elide-walk-skipped-lines (Serhiy Storchaka): fix [05411ee533] and [ad458a3a72] (tests btree-14.121 and 14.120). The tests of [bbaa3c1e5f] btree-14.120 and 14.121 become btree-14.125 and 14.126. check-in: 07716463c0 user: nab tags: revised_text, tip-466
18:56
Fix [1b22c74dc7]: on Windows, a label with Hebrew text in Courier hung. Courier claims the Hebrew letters, but Uniscribe cannot shape Hebrew with it (USP_E_SCRIPT_NOT_IN_FONT), so the range was dropped, nothing was measured, and the line layout did not advance. Reshape such a range with a fallback font, and if nothing can be shaped, measure the characters with the base font. Test winfont-12.1. Leaf check-in: d428fb8606 user: serhiy.storchaka tags: win-script-not-in-font
18:49
Close fork check-in: 2b69ad6d32 user: kevin_walzer tags: trunk, main
17:43
Merge nab-softhyphen-insert: fix [bbaa3c1e5f], inserting soft hyphens (tests btree-14.120 to 14.122). check-in: f4fe4eb72b user: nab tags: revised_text, tip-466
17:43
Fix [bbaa3c1e5f]: inserting soft hyphens. The -hyphentags tags are added to the node only if a soft hyphen is inserted; the elide update of the soft hyphens is dropped before the cleanup of the split points when it uses the same tag; the chars after a soft hyphen are merged with the following chars. Tests btree-14.120 to 14.122. Closed-Leaf check-in: 8d5b000d09 user: nab tags: nab-softhyphen-insert
17:31
Fix [d40ec3d41b]: on Windows, the paragraph direction of a string is that of its first strong character (UAX #9 P2, P3), as on X11 and macOS, and Uniscribe runs its bidi algorithm. Merge nab-win-bidi-paragraph: winfont-10.4, winfont-11.1 to 11.4. check-in: 5f33cd9ec1 user: nab tags: trunk, main
17:21
Merge nab-elide-empty-option: fix [67335ebb70], changing -elide to or from {} (tests textTag-20.5 to 20.7). check-in: eea332730c user: nab tags: revised_text, tip-466
17:21
Fix [67335ebb70]: changing -elide to or from {} recomputes the elide state of the ranges of the tag from the tag information, as for a priority change, instead of inverting -elide. Tests textTag-20.5 to 20.7. Closed-Leaf check-in: fc1274dd3e user: nab tags: nab-elide-empty-option
17:18
Fix [0c3bb74e37]: without a window manager, an application keeps the implicit focus after another application takes the focus. Add the utility proc movePointerAwayFromTestArea. Leaf check-in: 561469cd03 user: serhiy.storchaka tags: core-8-6-branch
17:09
focus-9.1: the x11 constraint instead of unix, so that it is not run on aqua or Wayland. check-in: 995d772eda user: serhiy.storchaka tags: trunk, main
17:03
focus-9.1: the x11 constraint instead of unix, so that it is not run on aqua or Wayland. check-in: 920b8c19bf user: serhiy.storchaka tags: core-9-0-branch
16:59
Rebase to main Leaf check-in: b43aaaa17b user: serhiy.storchaka tags: tests-platform-constraints
16:46
Restore the constraints in the unix*.test and win*.test files, and skip these files on the other platforms again: the portable tests in them will be moved to the general test files separately. check-in: d44a35fbab user: serhiy.storchaka tags: tests-platform-constraints
16:35
Fix menubutton-10.2 on Windows and macOS: tk::MbButtonUp got the type of a menu which does not exist (bug 680884). check-in: af6dfb2c01 user: serhiy.storchaka tags: core-8-6-branch
16:35
Fix menubutton-10.2 on Windows and macOS: tk::MbButtonUp got the type of a menu which does not exist (bug 680884). check-in: 4d07010115 user: serhiy.storchaka tags: core-9-0-branch
16:35
Fix menubutton-10.2 on Windows and macOS: tk::MbButtonUp got the type of a menu which does not exist (bug 680884). check-in: a5c4e4d6dc user: serhiy.storchaka tags: trunk, main
16:26
Windows: the paragraph direction of a string is that of its first strong character (UAX #9 P2, P3), as on X11 and macOS: ScriptItemize gets a bidi state and resolves the neutrals and the digits by their context; without one it did no bidi analysis, and a neutral or a number after a right-to-left word was drawn on its right. winfont-10.4 asserts the bidi placement, winfont-11.1 to 11.4 the paragraph direction. Closed-Leaf check-in: dfe7373bb0 user: nab tags: nab-win-bidi-paragraph
15:06
Merge trunk check-in: 9c104a31bb user: nab tags: revised_text, tip-466
15:02
Rebase to main check-in: f23a74508c user: serhiy.storchaka tags: tests-platform-constraints
14:55
Merge nab-win-color-emoji [fb670c4d9f]: color emoji on Windows (DirectWrite/Direct2D over the Uniscribe layout) and on X11 (HarfBuzz, color faces), with the UTS #51 classification shared by the font engines (mojibake, TkFontEmojiPresentation and TkFontEmojiContinuation). Tests winfont-8.x to 10.x, font-48.x. check-in: 36572376e3 user: nab tags: trunk, main
14:55
Merge trunk Closed-Leaf check-in: 8737025ef8 user: nab tags: nab-win-color-emoji
14:25
Fix for [2995339fff]: ttk::sizegrip strange behaviour. check-in: 2067f3d7f4 user: csaba tags: core-8-6-branch
14:06
Fix for [2995339fff]: ttk::sizegrip strange behaviour. check-in: 6873ef21c0 user: csaba tags: core-9-0-branch
13:38
Fix for [2995339fff]: ttk::sizegrip strange behaviour. check-in: a0496a5855 user: csaba tags: trunk, main
13:04
tk-1.2: "accessible" is among the subcommands only if Tk was built with accessibility support (on X11: ATK). check-in: a36af3bb82 user: serhiy.storchaka tags: tests-platform-constraints
11:40
Fix for [680884]: menubutton scripts are confused about their owning menu. check-in: 81890c079f user: csaba tags: core-8-6-branch