Tk Source Code

Timeline
Login

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

50 descendants of 516a0cca809ed044

2016-01-28
17:40
Bump to 8.6.5 check-in: 032c1ee1 user: dgp tags: core-8-6-5-rc
2016-01-25
21:30
merge trunk. upstream androwish refactoring check-in: 185d0a96 user: jan.nijtmans tags: androwish
20:48
NotebookAddCommand: fix off-by-one error counting objc/objv when readding an already-managed window with arguments.

Bug reported on tcl-core by Sam Bromley (22 Jan 2016) check-in: 4561021a user: jenglish tags: trunk

2016-01-22
09:35
merge trunk check-in: 3343f7e5 user: jan.nijtmans tags: androwish
09:32
merge trunk check-in: c053d1ef user: jan.nijtmans tags: novem-support
09:21
Implement TIP #441: Add -justify Configuration Option to the listbox Widget check-in: 12499582 user: jan.nijtmans tags: trunk
09:00
Merge trunk. many changes to make SDL based tk compile on Win32 (backported from androwish.org) check-in: 51aac894 user: jan.nijtmans tags: androwish
2016-01-20
22:03
Fixed bug [9e606527af] - && instead of & used in generic/tkOption.c check-in: 36728caf user: fvogel tags: trunk
21:17
Patch [960391] from Erik Leunissen (rebased to latest trunk) to improve listbox performance when selecting items in extended mode. Closed-Leaf check-in: 7144449a user: fvogel tags: bug-960391ffff
2016-01-18
18:45
Removed unfinished test case committed by error in the previous commit. Closed-Leaf check-in: 9a244ba8 user: fvogel tags: tip-441
18:43
Reverted [5f396dacdc]. check-in: d1731afd user: fvogel tags: tip-441
18:17
Removed attempt of adjustment of the startup xview according to the -justify option. Anyway this does not work. check-in: 87072faf user: fvogel tags: tip-441
10:19
Documented what listbox-3.18b intends to test. check-in: eff8237f user: fvogel tags: tip-441
10:08
Use GetMaxOffset when possible to reduce code duplication. The change in ListboxScanTo is not exactly equivalent but I believe the previous version was a bug. check-in: 3bb0cf88 user: fvogel tags: tip-441
09:47
Fixed bug with the listbox justify patch: with large borders, when moving the horizontal scrollbar fully to the right the edge of the border could not be seen, one needed to push once on the right arrow of the scrollbar to see it. Test case:
package require Tk destroy .top toplevel .top listbox .top.l -justify right -borderwidth 17 -highlightthickness 19 -selectborderwidth 22 scrollbar .top.hs -command ".top.l xview" -orient horizontal .top.l configure -xscrollcommand ".top.hs set" set huge [concat "START -" [string repeat "Huge Item... " 20] "- END"] .top.l insert end $huge pack .top.l -expand 1 -fill both pack .top.hs -expand 1 -fill x
check-in: 5f396dac user: fvogel tags: tip-441
2016-01-17
21:09
Addressed question 4 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). check-in: ae788ecf user: fvogel tags: tip-441
20:40
Addressed questions 3 and 5 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). It is not desirable to make the listbox xview jump on resizing. check-in: 33195408 user: fvogel tags: tip-441
2016-01-16
15:45
Removed test listbox-3.18c since it is irrelevant (the rendering of the selected items is made in a code that depends on existence of a selection but this is untestable by bboxing since bbox is independent from the presence of a selection in the listbox) check-in: 7bc53e6b user: fvogel tags: tip-441
15:43
Decided about test results for listbox-3.18a check-in: 712e2125 user: fvogel tags: tip-441
15:22
Rebased to latest trunk check-in: 83dfa2db user: fvogel tags: tip-441
15:21
Fixed bug [639558ac83] - Lots of listbox tests fail on Linux check-in: 6543f30d user: fvogel tags: trunk
14:20
Addressed issue B (see artifact [9d48a9c212] of ticket [3f456a5bb9]) check-in: ff7d0131 user: fvogel tags: tip-441
14:16
Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket [3f456a5bb9]).

Issue A is fixed. Test case: package req Tk listbox .l .l insert end M M M M M M M M M pack .l .l conf -just center ; # or right .l conf -highlightthickness 40 .l selection set 4

Regarding question 6, Tk_TextWidth is a bit lower level function in the API, which must be slightly beneficial regarding performance. Tk_TextWidth is therefore preferred. check-in: bfbd8ae6 user: fvogel tags: tip-441

14:03
Addressed question 2 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). This code arranges for the correct xview when creating the listbox with non-default justification. It is correctly placed in Tk_ListboxObjCmd. When changing justification later, i.e. in ConfigureListbox, there is no reason to change the xview, it would not be desired that the listbox xview jumps when configuring -justify. check-in: ce7ce2f5 user: fvogel tags: tip-441
14:00
Addressed question 1 (see artifact [9d48a9c212] of ticket [3f456a5bb9]) check-in: e85c0d6b user: fvogel tags: tip-441
2016-01-13
20:57
merge trunk check-in: 9b639dbb user: jan.nijtmans tags: androwish
18:07
Rebased to latest trunk check-in: 51daaaff user: fvogel tags: tip-441
17:56
TIP #438 (Ensure Line Metrics are Up-to-Date) accepted by vote check-in: 15b7aa7e user: fvogel tags: trunk
2016-01-07
13:08
rebase "tip-438" branch to latest trunk. Closed-Leaf check-in: 9f400abe user: jan.nijtmans tags: tip-438
2016-01-05
17:00
Harmonized use of NULL for textPtr->afterSyncCmd check-in: 0eb8f1f5 user: fvogel tags: tip-438
16:48
Polished documentation a bit check-in: 5b31d1d1 user: fvogel tags: tip-438
16:25
Moved RunAfterSyncCmd procedure check-in: 905b566a user: fvogel tags: tip-438
16:12
Typo fixed in comment check-in: 1f922920 user: fvogel tags: tip-438
2015-12-26
21:23
Merged core-8-5-branch check-in: 078644f1 user: fvogel tags: tip-438
20:52
[.text sync -command $cmd] schedules execution of $cmd by the event loop at idle time check-in: 86e88288 user: fvogel tags: tip-438
2015-12-21
12:12
Merged core-8-5-branch check-in: a888e911 user: fvogel tags: tip-438
2015-12-20
22:16
Test text-11a.41 now correctly written passes. check-in: 8213d743 user: fvogel tags: tip-438
22:09
There could be false negatives with [.text pendingsync] when line metrics calculation is in the middle of a long line. check-in: 5fc26426 user: fvogel tags: tip-438
2015-12-19
21:48
Tests reordered. Two issues currently: 1. text-11a.22 currently hangs but should pass once [.text sync -command $cmd] will be correctly implemented. 2. text-11a.41 fails (unsure why) check-in: 54b68217 user: fvogel tags: tip-438
2015-12-13
20:58
Better (and more correct) description of what [.text sync -command $command] does check-in: 37ed6fc5 user: fvogel tags: tip-438
20:10
Merged core-8-5-branch check-in: 5a61887f user: fvogel tags: tip-438
2015-12-09
19:27
Merged core-8-5-branch check-in: 40704173 user: fvogel tags: tip-438
2015-11-28
22:35
Clearer separation between what [.text sync] and [.text sync -command] exactly perform check-in: f72cd1f4 user: fvogel tags: tip-438
22:18
Fixed indentation check-in: ec3ea7f7 user: fvogel tags: tip-438
21:39
Merged core-8-5-branch check-in: ff1b18fe user: fvogel tags: tip-438
21:38
Text widget documentation updated according to TIP #438 check-in: 1e6f4294 user: fvogel tags: tip-438
19:45
[.text pendingsync] returns a boolean check-in: c1620a30 user: fvogel tags: tip-438
2015-11-22
20:59
Merged core-8-5-branch check-in: 04fc47f2 user: fvogel tags: tip-438
20:11
Use the new sync command instead of the 'count -update' workaround check-in: 10ad3b21 user: fvogel tags: tip-438
2015-11-21
12:47
Respect alphabetical order check-in: 09256d04 user: fvogel tags: tip-438
09:08
Improved the tests a bit check-in: 516a0cca user: fvogel tags: tip-438