Tk Source Code

Check-in [b4d7bf8c]
Login

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

Overview
Comment:Rebase to main
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | text-metrics-idle-wait
Files: files | file ages | folders
SHA3-256: b4d7bf8cabc6cb8a1fae51ef68e3155588a5ca6220abcd27501e2203d984b712
User & Date: serhiy.storchaka 2026-10-15 16:42:54.233
Context
2026-10-19
17:09
Merge main. Test textDisp-40.1 renumbered to textDisp-41.1. closed check-in: 15457ad5 user: serhiy.storchaka tags: text-metrics-idle-wait
2026-10-15
16:42
Rebase to main check-in: b4d7bf8c user: serhiy.storchaka tags: text-metrics-idle-wait
16:21
Fix [451cb358d9]: LastKnownRequestProcessed() assigned to unsigned int check-in: e0fcdf0c user: jan.nijtmans tags: trunk, main
2026-09-24
10:53
Fix [1348333fff]: Do not starve idle handlers with many text widgets.

While a redisplay was pending, AsyncUpdateLineMetrics() polled for it with a 1 ms timer. With several hundred text widgets these timers were always due, so the idle handlers, including the redisplay itself, never ran: "update" never returned and the application kept the CPU busy. Now the line metrics update waits for the redisplay in an idle handler instead. check-in: 5478e577 user: serhiy.storchaka tags: text-metrics-idle-wait

Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkTextDisp.c.
Changes to tests/textDisp.test.