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

2017-04-26
19:20
[40340286] Leaf: (1) Watch command now triggers changes in image or window. (2) Handling of the watch command a bit simplified. (3) Update of manual. (4) Minor fix in text-27.26. (user: gcramer, tags: revised_text, tip-466)
10:31
[af2458bb] Fix in handling options -start/endline. (user: gcramer, tags: revised_text, tip-466)
09:59
[644e9ee4] Minor corrections in comments. (user: gcramer, tags: revised_text, tip-466)
09:04
[031f51c7] Changed expected results for textDisp-4.9. Actually deletion at end of text is now different in the revised version of the text widget. This is explained at http://scidb.sourceforge.net/tk/delete-index-range.html and more highlight is available in function TkTextGetUndeletableNewline() in tkText.c. Strictly speaking this is an incompatibility with the legacy text widget, but it's intended for the better. (user: fvogel, tags: revised_text, tip-466)
08:53
[6e37e626] Re-added constraint textfont to textDisp-16.25, because scrolling by pages depends on the font height when the widget height is very small, which is the case in this test. (user: fvogel, tags: revised_text, tip-466)
08:50
[14b751ce] Fix in function TriggerWatchEdit(). (user: gcramer, tags: revised_text, tip-466)
08:35
[bb585d14] Fix in triggering the watch command, it has not worked correctly when 'triggerAlways' was involved. (user: gcramer, tags: revised_text, tip-466)
2017-04-25
12:37
[272c57bf] (1) Fix for test case textWind-10.3, Tcl_BackgroundException() was called with wrong code. (2) Minor corrections of test cases in textWind-10.3, because bgerror will not be called twice anymore. (user: gcramer, tags: revised_text, tip-466)
11:56
[00088beb] Last fix has broken "dlineinfo -extents", this has been corrected. (user: gcramer, tags: revised_text, tip-466)
11:50
[53dabd04] Fix for test case textDisp-23.7, TkTextDLineInfo() returned wrong width. (user: gcramer, tags: revised_text, tip-466)
11:17
[c6c9bf4f] Leaf: merge core-8-6-branch (user: jan.nijtmans, tags: androwish)
10:44
[99ce86b1] Leaf: merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
10:42
[11b293ff] Leaf: Let the unimplemented function XDrawSegments() return BadDrawable in stead of Success: It's only in the stub table since [a0883a07026127ef], before that the function was only internal and returned void. (user: jan.nijtmans, tags: core-8-6-branch)
09:36
[3816b4fd] (1) Two minor corrections. (2) Fix in TextInvalidateLineMetrics(). (user: gcramer, tags: revised_text, tip-466)
09:23
[ee3dfb0a] (1) Fix in function TkRangeListDelete(). (2) Deletion in respect of newline behavior overworked. (3) Undo/redo of deletion fixed. (4) Test cases text-37.1-11 added, especially important edge cases will be tested. (5) Replacement of tags now is respecting undo correctly. (6) TkTextInvalidateLineMetrics() fixed. (7) CheckLineMetricConsistency() refined. (8) Corrections in AdjustPixelClient(). (9) TextChanged() in tkTextWind.c optimized, because only the corresponding peer will be affected, a window is not sharable. (10) Some more fixes of subtle problems, especially in display stuff. (11) Some more useful assertions. (user: gcramer, tags: revised_text, tip-466)
2017-04-23
18:36
[f9765065] Leaf: Several corrections to the manpage photo.n (user: simonbachmann, tags: tip-166)
13:18
[644b135b] Removed wrong constraint 'win' flagging 14 textDisp tests. 13 of these tests are now flagged with '-constraints textfonts' instead, which is the adequate one (the test results don't depend on the platform, but on specific fonts being available). The 14th test, textDisp-16.25 is now unconstrained because it should pass on all platforms regardless of the available fonts. (user: fvogel, tags: revised_text, tip-466)
12:33
[dfdfbad3] Made textDisp-17.10 pass on both Windows and Linux. Previous commit placed the update at the wrong place. Test result is now back to the expected result with the legacy code. (user: fvogel, tags: revised_text, tip-466)
10:25
[c83e2316] Reverted [fe16c966], which was wrong about the expected results of textDisp-17.10, and fixed that tests results (note they depend on textDisp-17.9 to be run before, with the added update) (user: fvogel, tags: revised_text, tip-466)
10:16
[8e9dd5bf] Adapted expected results of textDisp-24.9, textDisp-24.10 and textDisp-24.11 to the wrapping alrgorithm that is different from the legacy code. (user: fvogel, tags: revised_text, tip-466)
09:30
[7ae87d65] Restore the correct expected result for textDisp-19.11.17 and textDisp-19.11.20, which also is the result expected from the legacy version of the text widget. Same fix for textDisp-24.18, with the addition of one further bbox to check whether the wrapping actually happened at the expected place. (user: fvogel, tags: revised_text, tip-466)
07:37
[fe16c966] Restore the correct expected result for textDisp-17.10, which also is the result expected from the legacy version of the text widget. (user: fvogel, tags: revised_text, tip-466)
2017-04-22
20:56
[bf453137] Fixed expected result of textDisp-17.9. The correct result really is 14.44, and this is in fact true for the legacy code as well. The reason why the legacy code has 18.44 as expected result, and the revised version has 14.44 is as follows. The test is executing two 'scan dragto' commands in sequence, and the text widget updates its view at idle time. When inserting an 'update' in between the two 'scan dragto' commands in the legacy text widget code, the test result with the legacy version becomes the corect one: 14.44. So this difference is due to a somewhat poorly written test which results depend on the details of how the text widget updates its view. Results expected in legacy version are in fact wrong (since the beginning of Tk history in fossil). (user: fvogel, tags: revised_text, tip-466)
17:12
[352af911] Documented the optional gravity parameter in the 'mark set' subcommand (user: fvogel, tags: revised_text, tip-466)
2017-04-21
08:03
[4db130cd] Bugfix [73175271]: forgotten increasement of tag set added. (user: gcramer, tags: revised_text, tip-466)
08:01
[81e02b4d] Corrections in manual. (user: gcramer, tags: revised_text, tip-466)
2017-04-20
12:16
[262bdb98] Leaf: merge 8.6 (user: dgp, tags: core-8-6-7-rc)
08:34
[7c562ed9] merge trunk (user: fvogel, tags: revised_text, tip-466)
06:04
[0ba2671e] Leaf: merge trunk (user: jan.nijtmans, tags: novem-support)
06:03
[363febf5] Merge core-8-6-branch (merge-mark and eol-spacing) (user: jan.nijtmans, tags: trunk)
01:53
[06b1ee41] 1. Fix for segfault with latest version of Xcode on macOS 10.12; thanks to Bill Joye for patch. 2. Improvements to HITheme scroller on macOS: smoother scrolling, and scrollbar now correctly highlights when being pressed and during enter/leave events. Thanks to Tortsen Reincke for bug report (061bf93176a5684a4a855f8177b290c59dd39bf2). (user: kevin_walzer, tags: trunk)
01:47
[6cac4ac6] 1. Fix for segfault with latest version of Xcode on macOS 10.12; thanks to Bill Joye for patch. 2. Improvements to HITheme scroller on macOS: smoother scrolling, and scrollbar now correctly highlights when being pressed and during enter/leave events. Thanks to Tortsen Reincke for bug report (061bf93176a5684a4a855f8177b290c59dd39bf2). (user: kevin_walzer, tags: core-8-6-branch)
2017-04-19
19:24
[6e794b56] changes file update (user: dgp, tags: core-8-6-7-rc)
14:49
[c6bd8af8] Many corrections in manual, especially typos, wrong formatting, and wrong usage of nroff macros. (user: gcramer, tags: revised_text, tip-466)
13:55
[4057e6ce] (1) Overwork of function TextInvalidateRegion(), the readability has been increased. (2) New helper function ComputeCursorExtents() for computation of cursor extents. (user: gcramer, tags: revised_text, tip-466)
11:32
[44ef0932] Minor correction in function TextUndoRedoCallback. (user: gcramer, tags: revised_text, tip-466)
10:53
[9fab8fa7] Fix of bug [ef14e354]: (1) Fix of simple bug in program logic. (2) Also forgotten release of tag (on undo stack) implemented. (user: gcramer, tags: revised_text, tip-466)
09:52
[7714a6f6] Fix of bug [ef14e354f51328157e9c553a731af5199cba2bee]: I had to remove an optimization failure, the list of changed display lines were empty although some exists. (user: gcramer, tags: revised_text, tip-466)
03:55
[a7187878] merge trunk (user: fvogel, tags: tip-166)
03:53
[e4914f00] merge trunk (user: fvogel, tags: revised_text, tip-466)
2017-04-18
19:44
[15f68900] In the revised [text] implementation, the insertion cursor is allowed to leak (i.e. be partially displayed) inside the padding area (but not inside the border). Take this fact into account when assessing whether the REDRAW_BORDERS flag should be set in TextInvalidateRegion(). This makes the following 31 tests now pass (they failed on Windows so far): textDisp-4.8, textDisp-4.10, textDisp-4.11, textDisp-4.13, textDisp-4.15, textDisp-6.1, textDisp-6.2, textDisp-6.3, textDisp-6.4, textDisp-8.7, textDisp-8.9, textDisp-8.10, textDisp-9.1, textDisp-9.2, textDisp-9.3, textDisp-9.4, textDisp-9.5, textDisp-9.7, textDisp-9.8, textDisp-9.9, textDisp-9.12, textDisp-9.13, textDisp-11.2, textDisp-11.3, textDisp-11.4, textDisp-11.6, textDisp-11.7, textDisp-11.8, textDisp-11.9, textDisp-11.12, textDisp-11.13. (user: fvogel, tags: revised_text, tip-466)
19:18
[a9c60bfe] merge core-8-6-branch (user: jan.nijtmans, tags: androwish)
17:45
[3e6a5b3b] merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
17:44
[a1c0156c] code styling (wrong indent) (user: jan.nijtmans, tags: core-8-6-branch)
16:42
[3bb8d43e] merge 8.6 (user: dgp, tags: core-8-6-7-rc)
2017-04-17
20:17
[f5fd01b6] Minor changes to the [text] man page. (user: fvogel, tags: revised_text, tip-466)
20:05
[72b5b9f0] Fix [3602901fff]: Documentation of -padding and -border in ttk (user: fvogel, tags: trunk)
19:34
[41cae345] Fix [3602901fff]: Documentation of -padding and -border in ttk (user: fvogel, tags: core-8-6-branch)
18:38
[3a1b5a2c] merge 8.6 (user: dgp, tags: core-8-6-7-rc)
12:51
[ba581d9c] More problems with pseudo UTF-8 (TCL_UTF_MAX > 4). (user: gcramer, tags: revised_text, tip-466)