Tk Source Code

Timeline
Login

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

50 descendants and 50 ancestors of 516a0cca809ed04409505ccd8fba34f341ad0597

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
08:43
Adjusted when <<WidgetViewSync>> fires. Also %d now only has boolean value. Implementation in sync with TIP #438 rev. 1.10 check-in: 615bbce0 user: fvogel tags: tip-438
2015-11-19
22:02
Rename "yupdate" to "sync" and fix various test-cases check-in: 625b52ac user: jan.nijtmans tags: tip-438
21:59
Tcl_Preserve should be first I guess check-in: ab37b4ef user: fvogel tags: tip-438
21:57
Make it compile with Visual 2008 check-in: a6d84c73 user: fvogel tags: tip-438
21:41
Code Formatting check-in: 52465dd9 user: jan.nijtmans tags: tip-438
21:04
better argument checking check-in: 70ea2f72 user: jan.nijtmans tags: tip-438
20:46
First test-implementation of "$t yupdate -command <command>". TODO: more testcases and documentation check-in: 602f9502 user: jan.nijtmans tags: tip-438
2015-11-16
17:21
Better test for bug [2677890] since [19960bcef8] breaks relevance/efficiency of the previous version of textDisp-34.1 check-in: 18c0eaf0 user: fvogel tags: tip-438
13:54
Merge core-8-5-branch check-in: 5b73d5ef user: jan.nijtmans tags: tip-438
13:26
Improve user experience related to dancing scrollbars. Patch by Koen Danckaert. check-in: 5b11cf19 user: jan.nijtmans tags: core-8-5-branch
2015-11-14
13:05
TIP #438 - <<TextLineHeightsInvalid>> event added, with corresponding new tests check-in: 83bb08d7 user: fvogel tags: tip-438
09:11
TIP #438 - [.text pendingyupdate] command added, with corresponding new tests check-in: f815da13 user: fvogel tags: tip-438
00:02
TIP #438 - [.text yupdate] command added, with corresponding new tests check-in: 85025549 user: fvogel tags: tip-438
2015-11-13
14:54
Fix test-cases textDisp-33.2 and textDisp-33.3 Closed-Leaf check-in: f27f448d user: jan.nijtmans tags: tip-438-bettercode
08:44
Fix 34eb6911af, taken over from SQLite: Fix uses of ctype functions (ex: isspace()) on signed characters in test programs and in some obscure extensions. No changes to the core. check-in: caf013a6 user: jan.nijtmans tags: core-8-5-branch
2015-11-12
22:50
Moved comment to follow the moved code in previous commit check-in: ed634e6f user: fvogel tags: tip-438-bettercode
21:59
Koen Danckaert's patch to speed up line metrics update check-in: 19960bce user: fvogel tags: tip-438-bettercode
2015-11-10
21:03
Implementation of TIP #438 - Solution using virtual events Closed-Leaf check-in: 94b42ed3 user: fvogel tags: tip-438-events
18:38
Typos in comments check-in: a44fe929 user: fvogel tags: core-8-5-branch
13:54
Fix [5ee8af61e5] on Win64: Window embedding can not work on 64-bit Unix and Windows check-in: 52eed870 user: jan.nijtmans tags: core-8-5-branch
2015-11-09
15:43
Fix [5ee8af61e5] on Unix: Window embedding can not work on 64-bit Unix and Windows check-in: d68520f9 user: jan.nijtmans tags: core-8-5-branch
11:11
clean-up end-of-line spacing check-in: 820d2676 user: jan.nijtmans tags: core-8-5-branch
2015-11-08
22:23
Fixed bug [3601604fff] - [listbox $path -takefocus 0] steals focus check-in: abbf049f user: fvogel tags: core-8-5-branch
22:18
Resolved unintended fork check-in: 36c66db3 user: fvogel tags: core-8-5-branch
22:06
Fixed bug [297442da29] - tk_strictMotif not correctly taken into account check-in: 73ae023b user: fvogel tags: core-8-5-branch
22:02
Cleanup of last patch to Tk-Cocoa check-in: 620ab19d user: kevin_walzer tags: core-8-5-branch
21:44
Fixed entry (and final) part of bug [542199fff] - Double click on a lone character in an entry does not work check-in: e1b50df1 user: fvogel tags: core-8-5-branch
21:00
Fixed bug [220854fff] - Trailing tab characters in entry widgets are not displayed check-in: 6c111ba0 user: fvogel tags: core-8-5-branch
20:50
Fixed [2160206fff] - Panic when posting a menu of type menubar check-in: 0c9ea037 user: fvogel tags: core-8-5-branch
2015-11-07
18:52
Fix for issues with bitmap rendering and mouse events in Tk-Cocoa; thanks to Marc Culler for patches check-in: f418f126 user: kevin_walzer tags: core-8-5-branch
2015-11-06
17:49
Fixed bug [3601604fff] - [listbox $path -takefocus 0] steals focus Closed-Leaf check-in: 197841b1 user: fvogel tags: bug-3601604fff
2015-11-05
07:06
Fixed bug [297442da29] - tk_strictMotif not correctly taken into account Closed-Leaf check-in: 8892f4a6 user: fvogel tags: bug-297442da29
2015-11-03
10:45
Fixed entry part of bug [542199fff] - Double click on a lone character in an entry does not work Closed-Leaf check-in: d1e85ca4 user: fvogel tags: bug-542199fff
2015-10-31
20:30
Fixed bug [e51941c1b9] - text-9.2.47 fails sometimes check-in: 1669f9d3 user: fvogel tags: core-8-5-branch
2015-10-29
20:19
Fixed bug [220854fff] - Trailing tab characters in entry widgets are not displayed Closed-Leaf check-in: 4158ee3d user: fvogel tags: bug-220854fff
2015-10-27
20:14
Added missing word in man event check-in: 9d7103a3 user: fvogel tags: core-8-5-branch
2015-10-26
11:31
Fix for PNG rendering on OS X 10.11; thanks to Stephan Meier for patch check-in: 43cfa58d user: kevin_walzer tags: core-8-5-branch
2015-10-25
22:54
Re-generate "configure" check-in: 4cbcf9df user: jan.nijtmans tags: core-8-5-branch
22:00
Fix [477949]: option readfile cannot use multibytes. Implementation adopted from AndroWish, but added support for UTF-8 BOM and added test-case. check-in: ad879218 user: jan.nijtmans tags: core-8-5-branch
19:58
Added new test to check for error triggering when posting a menu of type menubar Closed-Leaf check-in: 9af4a2ed user: fvogel tags: bug-2160206fff
19:22
Make compile with later Visual Studio versions (backported from Tk 8.6) check-in: cc3cd2d4 user: jan.nijtmans tags: core-8-5-branch
2015-10-23
16:20
Fixed [ac6ca22363] - ttk/spinbox-1.8.4 test fails on Win7 check-in: f249a37f user: fvogel tags: core-8-5-branch
07:43
Fix [916c1095438eae56]: Tk does not compile because GetVersionExW triggers warnings check-in: f51c25b1 user: jan.nijtmans tags: core-8-5-branch
2015-10-22
22:07
Fixed bug [1414025] - Thin insertion cursor not visible in entry check-in: 2bc47222 user: fvogel tags: core-8-5-branch
21:50
Fixed bug [1520118fff] - -validate resets to none check-in: df73cd38 user: fvogel tags: core-8-5-branch
2015-10-20
08:28
Fixed bug [1414025] - Thin insertion cursor not visible in entry Closed-Leaf check-in: 7da13b9c user: fvogel tags: bug-1414025
2015-10-19
20:32
Robustified text-9.2.46, which failed on Linux Debian 6.0 (bug [cc0ba31920]) check-in: 68d70a48 user: fvogel tags: core-8-5-branch
2015-10-18
21:24
Proposed fix for [2160206fff] - Panic (Linux) when posting a menu of type menubar check-in: 780bfd90 user: fvogel tags: bug-2160206fff
2015-10-16
20:48
Fixed bug [1520118fff] - -validate resets to none Closed-Leaf check-in: 6e7129b1 user: fvogel tags: bug-1520118fff
2015-10-09
19:54
Fixed bug [1815161] - .text count -ypixels wrong until widget is managed check-in: eaab2c13 user: fvogel tags: core-8-5-branch