Tk Source Code

Timeline
Login
Bounty program for improvements to Tcl and certain Tcl packages.

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

50 most recent check-ins

2021-04-19
21:27
Eliminate the one call to setTkDirtyRect, which is unnecessary. Leaf check-in: acef4200 user: culler tags: core-8-6-branch
17:57
Another try... Leaf check-in: 434231ca user: fvogel tags: gcc_unstable_tests_87
16:42
Merge 8.6 Leaf check-in: cfb47bb9 user: jan.nijtmans tags: trunk, main
16:41
Sync rules.vc with Tcl Leaf check-in: f4edd49e user: jan.nijtmans tags: core-8-6-branch
15:46
Merge 8.6 check-in: 3eb80b73 user: culler tags: trunk, main
15:44
Additional fixes to Aqua default colors and handling of fieldbackground for entry and spinbox widgets. Thanks to Christopher Chavez for patches. check-in: c107fe29 user: culler tags: core-8-6-branch
02:07
Remove some compiler warnings, still more work to get build in place Leaf check-in: 1f15bd3d user: kevin_walzer tags: tk_print
2021-04-18
21:14
Try focussing the window in which we will warp. check-in: 281747ab user: fvogel tags: gcc_unstable_tests_87
12:07
Fix [0ca1768080]: @x,y index and insert mark placement - Documentation error. Leaf check-in: 063bd133 user: fvogel tags: revised_text, tip-466
12:07
Fix [0ca1768080]: @x,y index and insert mark placement - Documentation error. check-in: f3966017 user: fvogel tags: trunk, main
12:06
Fix [0ca1768080]: @x,y index and insert mark placement - Documentation error. check-in: 71154291 user: fvogel tags: core-8-6-branch
12:02
Fix [ea876b3e8a]: Text peer widget ignores set -startline when scrolling with the scrollbar. check-in: 16205cec user: fvogel tags: revised_text, tip-466
12:01
Propagate [0671a980] to the revised_text test suite. Closed-Leaf check-in: 12d00381 user: fvogel tags: bug-ea876b3e8_revised_text
11:57
merge-mark trunk check-in: 1eb791d8 user: fvogel tags: revised_text, tip-466
11:56
merge-mark trunk check-in: 34e824a9 user: fvogel tags: revised_text, tip-466
11:54
Fix [ea876b3e8a]: Text peer widget ignores set -startline when scrolling with the scrollbar. check-in: 82ba423f user: fvogel tags: trunk, main
11:54
Fix [ea876b3e8a]: Text peer widget ignores set -startline when scrolling with the scrollbar. check-in: b32c0568 user: fvogel tags: core-8-6-branch
11:48
Fix [34db75c0ac]: Text peer widget error on Down arrow key when passed -endline line. Also, propagate the fix for [1630271fff] from marks to embedded images and windows. check-in: f2befe19 user: fvogel tags: revised_text, tip-466
11:47
merge-mark trunk check-in: ffb98d41 user: fvogel tags: revised_text, tip-466
11:45
Fix [34db75c0ac]: Text peer widget error on Down arrow key when passed -endline line. Also, propagate the fix for [1630271fff] from marks to embedded images and windows. check-in: a8bac7ee user: fvogel tags: trunk, main
11:45
Fix [34db75c0ac]: Text peer widget error on Down arrow key when passed -endline line. Also, propagate the fix for [1630271fff] from marks to embedded images and windows. check-in: 74ef24d1 user: fvogel tags: core-8-6-branch
10:18
Fix copy/paste error in comment. Closed-Leaf check-in: cead2fb4 user: fvogel tags: bug-34db75c0ac
10:16
Trying to get the index of an embedded image or window should trigger an error when located outside of -startline/-endline (same as for marks, this was bug [1630271fff], which was fixed for marks only). Closed-Leaf check-in: 1a63da9a user: fvogel tags: bug-34db75c0ac_revised_text
09:40
Change the expected result for textMark-6.6: the revised text widget behaves differently. While the legacy widget on key down from last line of text will position the insert cursor at end of text, the revised version will not move it. check-in: bd98d375 user: fvogel tags: bug-34db75c0ac_revised_text
09:34
Add tests checking bug [34db75c0ac]: Text peer widget error on Down arrow key when passed -endline line. At this point textIndex-26.2 triggers a failed assertion, and textMark-6.6 fails. check-in: ad57cdeb user: fvogel tags: bug-34db75c0ac_revised_text
09:31
Slightly simplify test textMark-6.6 check-in: b1038fb7 user: fvogel tags: bug-34db75c0ac
09:17
Remove extra empty line. check-in: 0de0c5ee user: fvogel tags: bug-34db75c0ac
09:15
Extend textIndex-26.2 to tags located outside -startline/-endline check-in: 5dbaca4b user: fvogel tags: bug-34db75c0ac
09:00
Fix syntax error in textIndex-26.2 testcase. check-in: 6831ba9a user: fvogel tags: bug-34db75c0ac
08:56
Trying to get the index of an embedded image or window should trigger an error when located outside of -startline/-endline (same as for marks, this was bug [1630271fff]). check-in: 14d971a8 user: fvogel tags: bug-34db75c0ac
02:09
Add print.tcl check-in: 80c69034 user: kevin_walzer tags: tk_print
02:05
Major re-work to printing API on Windows; initial Windows script implementation of printing; still need to build and test, but want to get this milestone committed check-in: 27b57a22 user: kevin_walzer tags: tk_print
2021-04-17
21:57
Fix [3540e4929cd]: Revised [text]: textDisp-17.10 fails. The tests of the TkTextScanCmd procedure combine xview, yview and scan commands, and typically check what is the resulting index @0,0. However, the text widget updates its view at idle time, and the tests shall take this fact into account, otherwise the results may be linked between tests. Especially textDisp-17.9 has wrong expected result (see also commit [bf453137e1]). check-in: 294f377a user: fvogel tags: revised_text, tip-466
21:54
Fix [3540e4929cd]: Revised [text]: textDisp-17.10 fails. The tests of the TkTextScanCmd procedure combine xview, yview and scan commands, and typically check what is the resulting index @0,0. However, the text widget updates its view at idle time, and the tests shall take this fact into account, otherwise the results may be linked between tests. Especially textDisp-17.9 has wrong expected result (see also commit [bf453137e1]). check-in: 150dedc4 user: fvogel tags: trunk, main
21:52
Fix [3540e4929cd]: Revised [text]: textDisp-17.10 fails. The tests of the TkTextScanCmd procedure combine xview, yview and scan commands, and typically check what is the resulting index @0,0. However, the text widget updates its view at idle time, and the tests shall take this fact into account, otherwise the results may be linked between tests. Especially textDisp-17.9 has wrong expected result (see also commit [bf453137e1]). check-in: d7eff56c user: fvogel tags: core-8-6-branch
17:28
Cosmetic style changes check-in: 8b61cc93 user: fvogel tags: bug-34db75c0ac
13:28
Avoid code duplication by calling TkTextIndexAdjustToStartEnd(). Closed-Leaf check-in: 35dbde08 user: fvogel tags: bug-ea876b3e8a
13:16
Augment test text-32.3 so that it fails if previous commit is backed out. check-in: 0671a980 user: fvogel tags: bug-ea876b3e8a
13:11
Fix old commit [5528cb094a]. This commit changed NULL into tPtr in the call to TkTextMakeByteIndex() and introduced a check against -startline. However from then on this check is always false since the index returned by TkTextMakeByteIndex() is relative to tPtr and can never be located before the -startline of this peer. The error in [5528cb094a] was to replace NULL by tPtr. The line in this call is relative to textPtr, not to a peer tPtr, and NULL must be kept (and then the check against -startline is useful and runs in several tests of the test suite). check-in: c3fdec3a user: fvogel tags: bug-ea876b3e8a
12:32
Remove leftover debug line check-in: bc5af5ea user: fvogel tags: bug-ea876b3e8a
12:31
Backout the first three commits of the present branch, and implement a better fix. It's not the business of TkTextSetYView() to adjust the index it's receiving, it shall rather receive an index that is already within the -starline/-endline limits. check-in: 5d80049a user: fvogel tags: bug-ea876b3e8a
11:19
Add an update after tkwait visibility in event-9. check-in: 27071ef0 user: fvogel tags: gcc_unstable_tests_87
11:12
merge core-8-6-branch Leaf check-in: 6fa092c3 user: fvogel tags: gcc_unstable_tests
2021-04-16
21:32
Fix [0ca1768080]: @x,y index and insert mark placement Closed-Leaf check-in: 1be076e6 user: fvogel tags: bug-0ca1768080
2021-04-15
15:49
Small code optimization. With NULL textPtr argument, the result of this test is the same but TkBTreeLinesTo() is run only once instead of twice (a call with non-NULL textPtr re-enters TkBTreeLinesTo() with NULL textPtr). check-in: b2fc6ffb user: fvogel tags: bug-ea876b3e8_revised_text
15:46
Fix [ea876b3e8] for the revised text widget. check-in: f5924886 user: fvogel tags: bug-ea876b3e8_revised_text
2021-04-14
13:53
Merge 8.7 Leaf check-in: 5e420b84 user: jan.nijtmans tags: mac_styles_87
13:52
Merge enhanced-index branch Leaf check-in: 4215d259 user: jan.nijtmans tags: glyph_indexing_2
13:51
Merge 8.7 check-in: f804749b user: jan.nijtmans tags: tk_print
13:50
Merge 8.7 Leaf check-in: 604a4eba user: jan.nijtmans tags: strict-index, enhanced-index