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-05-28
18:19
[70f50bf6] Leaf: Fixed errors of commit [b2f64dc3df] that prevented tests textDisp-2.23, textDisp-5.1 and textDisp-22.9 from passing (user: fvogel, tags: revised_text, tip-466)
15:39
[12dcee81] Fix new test textIndex-19.14 introduced in [d0a7426b10] (user: fvogel, tags: revised_text, tip-466)
12:39
[9b9d7ec2] Formatting error in manual fixed. (user: gcramer, tags: revised_text, tip-466)
12:25
[d0a7426b] Bugfix [df89872c94]: (1) Case "lines" now is based on character position, not byte position as before (2) Test case textIndex-19.14 added (3) Update of manual, with refinment of the concerned descriptions. (user: gcramer, tags: revised_text, tip-466)
2017-05-27
07:57
[6892f446] Bugfix [46d7a4d153]: erroneous reallocation with NULL instead of bitset. (user: gcramer, tags: revised_text, tip-466)
2017-05-26
14:53
[b2f64dc3] Bugfix [cda289a8ea]: The old handling/implementation of the selection options is tohubohu, so I used the opportunity to overwork it: (1) I added the tag options -inactivebackground and -inactiveforegound, and these options are tied to widget options -inactiveselectbackground and -inactiveselectforeground. (2) For symmetry reasons I added the tag options -inactiveselectbackground and -inactiveselectforeground, these options will overrule the options -inactivebackground and -inactivebackgound of the "sel" tag, provided that the actual tag has a higher priority. (3) The manual has been updated with new options. Furthermore section "THE SELECTION" has been refined. (4) In legacy widget tag option -selectbackground is tied to widget option -selectbackground if the tag option -selectbackground is not null, otherwise the widget option is tied to tag option "-background", this is very confusing, and not conform to documentation, this binding has been changed. Now the widget option -selectbackground is tied with tag option "-background" (of the "sel" tag), this is conform to (revised and legacy) documentation, it is a clear behavior, and allows more freedom in configuration. The tag options "-selectbackground" and "-selectforeground" now will overrule the options "-background" and "-foreground" of the "sel" tag, provided that the actual tag has a higher priority. (5) I changed test case textTag-5.23 according to (3). Moreover this test case has been extended for testing all bindings. BTW: Test case text-5.24 has been removed, it was a duplicate of prior textTag-5.23. (6) Complete rework of function MakeStyle(), the "sel" tag now will be handled separately, after all other tags have been processed, this makes it easier to follow the flow. (7) The old implementation has an erroneous resource management with the shared (tied) options of the "sel" tag and the selection options of the widget. This has been replaced with a proper implementation. Unfortunately the new implementation for resource management of shared options is a bit tricky, because the option table does not support shared options. (8). DEF_TEXT_INACTIVE_SELECT_BG_COLOR has been set to NULL for Windows, this should finally fix the issue of this bug report. (user: gcramer, tags: revised_text, tip-466)
2017-05-25
09:38
[a232ec01] "#ifdef MAC_OSX_TK" code replaced, the generic implementation should not contain platform specific code (only debugging code is an exception). (user: gcramer, tags: revised_text, tip-466)
2017-05-24
16:24
[b61d5510] Correction of typo in comment. (user: gcramer, tags: revised_text, tip-466)
12:16
[b4542df5] (1) TkBTreeGetSegmentTags() now is sorting tags according to given sort method. This is simplifying function MakeStyle() significantly, and the tags in output of commands "dump" and "inspect" will also be sorted. (2) DEF_TEXT_INACTIVE_SELECT_FG_COLOR has been set to NULL for Windows. (user: gcramer, tags: revised_text, tip-466)
2017-05-23
14:58
[7796ff43] Leaf: merge 8.6 (user: dgp, tags: core-8-6-7-rc)
13:15
[9849b211] Leaf: merge rfe-6c0d7aec67 (user: jan.nijtmans, tags: androwish)
12:27
[1dd9a820] Leaf: merge core-8-6-branch (user: jan.nijtmans, tags: rfe-6c0d7aec67)
10:46
[3b2405df] Leaf: merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
10:45
[8271b8d2] Leaf: Fix test-case font-44.1: It looks like XftPatternAddDouble(... XFT_PIXEL_SIZE ..) doesn't take scaling into account, so we have to do our own scaling. (user: jan.nijtmans, tags: core-8-6-branch)
08:46
[deb8ba4c] merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
2017-05-22
09:54
[64bf47a3] Sync tcl.m4 with the version in Tcl's core-8-6-branch (user: jan.nijtmans, tags: core-8-6-branch)
2017-05-21
17:47
[09a36234] Cherrypick Fix build on OpenBSD. [82701b94c4] missed a couple of bits. Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful! (user: jan.nijtmans, tags: core-8-6-branch)
10:31
[ec4c6a81] Some corrections in manual. (user: gcramer, tags: revised_text, tip-466)
2017-05-20
19:12
[ff5757da] merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
19:11
[15f39c3e] .... missing else ... in previous commit (user: jan.nijtmans, tags: core-8-6-branch)
18:53
[af5d6901] merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
18:51
[9ab129aa] Bug-fix [434d294df] continuation: fix logic error detected by Christian Werner. Thanks! (user: jan.nijtmans, tags: core-8-6-branch)
13:00
[5a3344e5] Leaf: Merge trunk. (user: stu, tags: tk-stu-pkg)
12:49
[bd3b94ef] Fix build on OpenBSD. [3439d04a] missed a couple of bits. Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful! (user: stu, tags: trunk)
11:55
[c5e8968b] Add demo dir to tk.pc? (user: stu, tags: tk-stu-pkg)
11:47
[17d17f62] Pkgconfig. (user: stu, tags: tk-stu-pkg)
10:58
[a7a7bdb2] Set demo dir at config time. (user: stu, tags: tk-stu-pkg)
07:58
[b5764bfb] Avoid to trigger a wrong assertion, this is fixing bug [3cd0454c1d] (under Linux). (user: gcramer, tags: revised_text, tip-466)
2017-05-19
13:35
[5c5f5864] merge core-8-6-branch (user: jan.nijtmans, tags: rfe-6c0d7aec67)
13:33
[4a4cce3d] Eliminate empty if() statement, if DEBUG_LAYOUT_WITH_BASE_CHUNKS is not defined. (backported from androwish. Thanks, Christian!) (user: jan.nijtmans, tags: core-8-6-branch)
13:30
[8aa292c2] merge rfe-6c0d7aec67 (user: jan.nijtmans, tags: androwish)
13:29
[da86391c] merge core-8-6-branch (user: jan.nijtmans, tags: rfe-6c0d7aec67)
12:57
[b8d773c7] merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
12:56
[6c1859a0] Change internal field TkFontAttributes.size from type integer to double. This causes less roundings overall in various font calculations. Hopefully this fixes bug [434d294df], still to be confirmed, and makes Tk work again on modern Linux Mint/Fedora systems. (user: jan.nijtmans, tags: core-8-6-branch)
12:45
[36c5cf94] Closed-Leaf: Slightly use of more "int" in stead of double, for 100% compatibility at script level. (user: jan.nijtmans, tags: bug-434d294df)
2017-05-18
13:19
[9b2a9573] some upstream androwish changes (user: jan.nijtmans, tags: androwish)
12:56
[c8bec1e6] merge rfe-6c0d7aec67 (user: jan.nijtmans, tags: androwish)
12:49
[fd48b20c] merge core-8-6-branch (user: jan.nijtmans, tags: rfe-6c0d7aec67)
12:19
[09eec5d4] merge trunk. Make "font actual" return integers, for compatibility. (user: jan.nijtmans, tags: bug-434d294df)
12:18
[9c5ab47c] autoconf-2.59 (user: dgp, tags: core-8-6-branch)
11:13
[c3392309] merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
11:11
[e9d0658e] minor gcc warning (const usage) (user: jan.nijtmans, tags: core-8-6-branch)
09:28
[d8a1538c] Some comments added/changed. (user: gcramer, tags: revised_text, tip-466)
09:27
[38408c2a] merge core-8-6-branch (user: jan.nijtmans, tags: trunk)
09:18
[3439d04a] Cherry-pick All the world was a VAX for OpenBSD. Also fix [84a27b1c67]: Tcl and Tk's tcl.m4 not synced? (configure script not re-generated yet, I'm sure Don will do that in the rc branch) (user: jan.nijtmans, tags: core-8-6-branch)
08:07
[15047114] Fixed bug [2433781fff] (user: gcramer, tags: trunk)
08:04
[7f42aece] Fixed bug [2433781fff] (user: gcramer, tags: core-8-6-branch)
2017-05-17
16:13
[b796e758] Bugfix [39e510f69e]: Memory corruption eliminated. (user: gcramer, tags: revised_text, tip-466)
2017-05-15
19:28
[77d51936] merge 8.6 (user: dgp, tags: core-8-6-7-rc)
14:56
[0a5c866c] Another attempt to fix [434d294df8], this time (hopefully) suitable for 8.6. (less changes than the original attempt) (user: jan.nijtmans, tags: bug-434d294df)