Tk Source Code

Check-in [2320e601]
Login

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

Overview
Comment:Fix [a0c1a9c6c6]: Make the base chunk of the text layout thread-specific
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 2320e601035c49fce3cdc9d22d0c790db32dd47bae3cb66cee5ef79ff2976c2d
User & Date: jan.nijtmans 2026-10-06 10:37:01.048
References
2026-10-26
18:20 • Closed ticket [a0c1a9c6]: The fn RemoveFromBaseChunk is not thread safe plus 7 other changes artifact: a6dfc48a user: oehhar
Context
2026-10-06
11:36
Fix [d08538fd78]: Regression in 9.1: wrapped text counts spaces at end of line, splits words, breaks after leading spaces (X11 with bidi, Windows) check-in: 123cc66f user: serhiy.storchaka tags: trunk, main
10:54
Fix [a0c1a9c6c6]: Make the base chunk of the text layout thread-specific check-in: 97d5c4b3 user: jan.nijtmans tags: core-9-0-branch
10:37
Fix [a0c1a9c6c6]: Make the base chunk of the text layout thread-specific check-in: 2320e601 user: jan.nijtmans tags: trunk, main
10:24
Missing changelog entry check-in: 1da33133 user: jan.nijtmans tags: trunk, main
2026-09-24
11:51
Make the base chunk of the text layout thread-specific.

The base chunk of the stretch being laid out was kept in a static variable, so text widgets laid out concurrently in several threads overwrote each other's pointer and crashed. Base chunks are used on macOS, and since the bidi text rendering also on Windows and X11. [Bug a0c1a9c6c6] closed check-in: 3f22f896 user: serhiy.storchaka tags: text-basechunk-threads

Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to generic/tkTextDisp.c.