Tk Source Code

Timeline
Login

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

50 most recent check-ins related to "revised_text"

2026-11-04
17:03
Merge trunk. leaf check-in: f098cfbb user: nab tags: revised_text, tip-466
15:11
Move misplaced brace to the correct location in showRootWindow. check-in: ce86d2e3 user: culler tags: trunk, main
13:41
Merge trunk check-in: bf519099 user: jan.nijtmans tags: revised_text, tip-466
13:35
Fix wm-stackorder-3.* testcase hangs on Windows check-in: bd78025a user: jan.nijtmans tags: trunk, main
2026-11-03
07:10
Merge trunk (TIP 765). [517e4ef666] does not affect the revised widget. check-in: a64ae61c user: nab tags: revised_text, tip-466
04:52
Merge tip_675 check-in: f370e760 user: culler tags: trunk, main
2026-11-02
04:56
Merge nab-revised-arabic-cut: Arabic text keeps its shape at the cuts of a stretch on aqua. check-in: a507910f user: nab tags: revised_text, tip-466
04:56
Aqua: in the clip of right-to-left text, inner edges go on pixels and a ligature is drawn with its first letter only. leaf check-in: 77f76f04 user: nab tags: nab-revised-arabic-cut
04:56
On aqua, a mark, the insertion cursor or a tag edge inside an Arabic word no longer moves its letters: the cuts of a stretch are placed with the whole stretch. check-in: 6bcd37c8 user: nab tags: nab-revised-arabic-cut
04:56
Merge trunk. The new trunk tests textDisp-42.1 to 42.9 become textDisp-50.1 to 50.9. check-in: 62323140 user: nab tags: revised_text, tip-466
2026-11-01
15:57
Shimmer in bidi selection on macOS fixed; --disable-bidi now builds again on X11; thanks to Nicolas Bats for patches check-in: 7d90e42b user: kevin_walzer tags: trunk, main
2026-10-30
16:19
Merge trunk. The new trunk test textDisp-41.1 becomes textDisp-49.1; [1348333] does not affect the revised widget. check-in: 38fb1946 user: nab tags: revised_text, tip-466
14:53
Fix 32-bit warning: tkWinWm.c:1585:25: warning: comparison of integer expressions of different signedness check-in: 2adf72ba user: jan.nijtmans tags: trunk, main
2026-10-28
08:56
Merge trunk. The new trunk tests text-42.1 and text-42.2 become text-48.1 and text-48.2 (text-42.1 and text-42.2 are taken). check-in: a4ffdbd1 user: nab tags: revised_text, tip-466
01:14
Fix [c70fe74bc4]: Aqua displays incorrect menubar after destroying a window check-in: b728a5f5 user: culler tags: trunk, main
2026-10-24
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. check-in: bb20aeff user: nab tags: revised_text, tip-466
12:41
Fix for [c81e0ccee2]: Named font late creation check-in: f89023e3 user: csaba tags: trunk, main
2026-10-20
15:54
Merge nab-text-embwin-unmap: fix [f60666e6cd], an embedded window of a line scrolled out at the bottom stayed on screen (test textWind-19.1). check-in: ccff1b30 user: nab tags: revised_text, tip-466
15:48
Unmap an embedded window when the display chunk that drew it is released. Cached and metric display lines also hold chunks of the window, so the chunk count could stay above zero and the window of a line scrolled out at the bottom stayed on screen (test textWind-19.1). closed check-in: 7aa1ebc3 user: nab tags: nab-text-embwin-unmap
12:15
Merge trunk. The new trunk test textDisp-40.1 becomes textDisp-48.1 (textDisp-40.1 is taken). check-in: 9c50134a user: nab tags: revised_text, tip-466
11:27
Fix for [88ffa70453]: Above roughly 10000 widgets wish hangs on Windows check-in: 92ccdec3 user: csaba tags: trunk, main
2026-10-14
15:12
Merge nab-text-rtl-layout: fix [e7c85cd941], right-to-left text in visual order (tests textDisp-46.1 to 46.15). check-in: 371cf58a user: nab tags: revised_text, tip-466
15:12
Fix [e7c85cd941]: right-to-left text is laid out in visual order: the bidi levels of each logical line are resolved (UAX #9, mojibake), the chunks are cut where the level changes and reordered on each display line (rule L2), and the characters of a right-to-left chunk are mirrored; bbox, @x,y, the cursor, the selection and the underline follow. Tests textDisp-46.1 to 46.15. closed check-in: bd243152 user: nab tags: nab-text-rtl-layout
15:12
Merge nab-tag-unset-options: fix [6bd3a32690], a tag without -underline cancelled the underline of a lower tag (tests textTag-21.1 and 21.2). check-in: 902c9bd6 user: nab tags: revised_text, tip-466
15:12
Fix [6bd3a32690]: a new tag leaves -underline, -overstrike and -indentbackground unset, as in the classic text widget, instead of setting them to 0 (tests textTag-21.1 and 21.2). closed check-in: 90672523 user: nab tags: nab-tag-unset-options
15:08
Merge trunk check-in: f3cd8864 user: nab tags: revised_text, tip-466
15:04
Fix [ecfcec3a40]: on Windows, a range of right-to-left text is measured with the leading edge of its characters, not one character too wide (test textDisp-37.3). check-in: a9090d02 user: nab tags: trunk, main
10:24
Merge trunk check-in: ae5d4848 user: nab tags: revised_text, tip-466
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). check-in: c5d59287 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 check-in: 6ba3b05e 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: c329fb07 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 check-in: 794f9876 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: bdbf23ce user: nab tags: nab-btree-uaf
08:34
canvText-22.1: constrained by aquaKnownBug until ticket [271f61c768] is fixed. check-in: b6303a5a 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: 6b9cd9fa 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 check-in: 49dbc141 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: 1a815a47 user: nab tags: nab-text-fixes
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: 5580484f 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 check-in: 76bc9f50 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: 07716463 user: nab tags: revised_text, tip-466
17:43
Merge nab-softhyphen-insert: fix [bbaa3c1e5f], inserting soft hyphens (tests btree-14.120 to 14.122). check-in: f4fe4eb7 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 check-in: 8d5b000d user: nab tags: nab-softhyphen-insert
17:21
Merge nab-elide-empty-option: fix [67335ebb70], changing -elide to or from {} (tests textTag-20.5 to 20.7). check-in: eea33273 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 check-in: fc1274dd user: nab tags: nab-elide-empty-option
15:06
Merge trunk check-in: 9c104a31 user: nab tags: revised_text, tip-466
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: 36572376 user: nab tags: trunk, main
04:21
Merge trunk check-in: 3e331d56 user: nab tags: revised_text, tip-466
04:13
Fix [5d983ebf48] and [3d6de81648]: speed up the RTL auto-detection of the text widget and keep its pending state per widget. Merge text-rtl-detection (Serhiy Storchaka, with nab-text-rtl-scan): text-46.1 to 46.6, textTag-19.1 to 19.5. check-in: 3a6ffd3b user: nab tags: trunk, main
2026-10-12
04:30
Merge trunk check-in: e6fec576 user: nab tags: revised_text, tip-466
2026-10-11
23:34
Update emoji picker to support accessibilty check-in: d38ac26b user: kevin_walzer tags: trunk, main