Tk Source Code

Timeline
Login

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

50 check-ins occurring around 9b639dbb5e539b19.

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-21
20:04
Update changes file. check-in: 945304bf user: dgp tags: core-8-5-19-rc
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
19:23
merge 8.5 check-in: 2684817a user: dgp tags: core-8-5-19-rc
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
07:49
More typos fixed check-in: 2eedd5f1 user: fvogel tags: tip-441
07:16
Typo fixed check-in: a61ce95b user: fvogel tags: tip-441
2016-01-12
15:08
Added more tests check-in: 6c1319b0 user: fvogel tags: tip-441
09:55
(cherry-pick) Fix [2049429]: Some options aren't picked up from the options database. check-in: 09b95886 user: jan.nijtmans tags: core-8-5-branch
09:49
Fix [2049429]: Some options aren't picked up from the options database. check-in: dfbbb8ed user: jan.nijtmans tags: trunk
09:46
Bring back DEF_TEXT_SPACING[123], since "0" is not exactly equal to NULL (just to be 100% sure there will not be a behavioral change) Closed-Leaf check-in: 45baac3b user: jan.nijtmans tags: bug-2049429fff
2016-01-11
18:00
Added some tests check-in: 6adb42a0 user: fvogel tags: tip-441
16:23
Polished listbox justification demo check-in: b976a36c user: fvogel tags: tip-441
14:32
Improved patch formatting. No functional change check-in: c83c6499 user: fvogel tags: tip-441
13:23
merged trunk check-in: d9f9c7f5 user: fvogel tags: tip-441
10:31
Merge trunk. ttkButton.c: Invalid use of TK_OPTION_DONT_SET_DEFAULT, should have been TK_OPTION_NULL_OK as in normal button. tkTextTag.c: Use of TK_OPTION_DONT_SET_DEFAULT means that the default value "0" is ignored, so better use NULL. check-in: 9d6cd6ae user: jan.nijtmans tags: bug-2049429fff
01:11
Merge mark check-in: 92a35a10 user: kevin_walzer tags: trunk
00:45
Additional tweaks for dialog check-in: 3f634e02 user: kevin_walzer tags: core-8-5-branch
00:44
Additional tweaks for dialog check-in: 783ce25f user: kevin_walzer tags: trunk
00:28
Fix for 63c3542c06, messageboxes in Tk-Cocoa; thanks to Marc Culler for patch check-in: f5ac7533 user: kevin_walzer tags: core-8-5-branch
00:24
Fix for 63c3542c06, messageboxes in Tk-Cocoa; thanks to Marc Culler for patch check-in: 4f738003 user: kevin_walzer tags: trunk
2016-01-10
14:02
Rebase to 8.6, getting rid of DEF_TEXT_SPACING[123] check-in: dd92246a user: jan.nijtmans tags: bug-2049429fff
2016-01-09
23:09
Merge trunk. Add missing android_webcam.tcl check-in: 2a40dbe2 user: jan.nijtmans tags: androwish
22:30
(cherry-pick) Fix [1927212]: MouseWheel unbound for non-aqua scrollbars. Thanks to Francois Vogel for the actual work check-in: abd55889 user: jan.nijtmans tags: core-8-5-branch
22:16
Fix [1927212]: MouseWheel unbound for non-aqua scrollbars. Thanks to Francois Vogel for the actual work check-in: 2d95721f user: jan.nijtmans tags: trunk
08:29
-spacing[123] use TK_OPTION_NULL_OK instead of TK_OPTION_DONT_SET_DEFAULT check-in: 9341848d user: fvogel tags: bug-2049429fff
03:19
Merge mark check-in: d3bde360 user: kevin_walzer tags: trunk
03:03
Additional fixes for memory leaks, window flickering on OS X 10.11; thanks to Marc Culler for patch check-in: d7abca98 user: kevin_walzer tags: core-8-5-branch