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

2018-01-22
15:13
merge-mark (still build with -DTCL_NO_DEPRECATED, since Tk 8.7 should not use anything deprecated in Tcl 8.7) Leaf check-in: 8e193bfa40 user: jan.nijtmans tags: trunk
15:11
Permit Tk 8.6 to use deprecated Tcl constructs (since we cannot look into the future, which constructs will be deprecated in Tcl 8.7+). Tk 8.6 should build independant of this. Leaf check-in: d4c00c635c user: jan.nijtmans tags: core-8-6-branch
2018-01-21
11:26
merge core-8-6-branch Leaf check-in: a5a7582757 user: fvogel tags: bug-de156e9efe
08:20
Fix error in documentation, in selection.n section SECURITY dealing with safe and unsafe interpreters. check-in: 0275356bea user: fvogel tags: bug-de156e9efe
2018-01-20
16:41
merge core-8-6-branch Leaf check-in: c3195a6688 user: jan.nijtmans tags: androwish
2018-01-19
20:54
Latest fix proposal from Christian Werner: revert the two previous commits and add XSync() just before the garbage collector, which minimizes the number of XSync() calls, therefore optimizing performance while still fixing the bug. Leaf check-in: 563b7081ff user: fvogel tags: bug-1938774fff, bug-1821174fff
20:39
Fix [657c389120] and [b4214b4712]: Segfault when destroying menu with checkbutton entry check-in: 26d5f8a21a user: fvogel tags: trunk
20:39
Fix [657c389120] and [b4214b4712]: Segfault when destroying menu with checkbutton entry check-in: 005c6b292a user: fvogel tags: core-8-6-branch
2018-01-18
14:23
Fix broken build (one line of the patch for [382712ade6] was missing) check-in: 1e73f2c548 user: fvogel tags: trunk
14:23
Fix broken build (one line of the patch for [382712ade6] was missing) check-in: 89cf5e33ae user: fvogel tags: core-8-6-branch
14:23
Fix broken build (one line of the patch was missing) Closed-Leaf check-in: 8038fd23ea user: fvogel tags: bug-382712ade6
00:42
Deal with the case of selection modification by insertion. All tests about <<Selection>> now pass, and no test is newly failing. This fix still needs refinement (beware the edge case) but here is the idea. Leaf check-in: 6e14c47337 user: fvogel tags: bug-b68710aed6
00:29
Add more <<Selection>> event generation tests. check-in: 14510abd5c user: fvogel tags: bug-b68710aed6
2018-01-17
20:46
Added an example to menu.tcl that uses both -compound and -image in the same entry. check-in: 7887f89206 user: gerald tags: trunk
15:14
Add tests in file tests/safePrimarySelection.test check-in: b32f9fd68a user: kjnash tags: bug-de156e9efe
07:18
More complete patch from Christian Werner to fix [1821174fff] and [1938774fff] check-in: c113197161 user: fvogel tags: bug-1938774fff, bug-1821174fff
2018-01-16
20:29
Deal with the case of selection modification by deletion. This makes text-27.15b and text-27.15c pass. check-in: 4599d5ab7c user: fvogel tags: bug-b68710aed6
20:13
Avoid confusion: the <<Selection>> event is documented to fire when the selection in the widget is changed. The previous commit message (and content) confused text widget selection and PRIMARY (X) selection. <<Selection>> shall fire whenever the text widget selection is changed, independently of whether the widget exports its selection or not, i.e. whether the PRIMARY selection is impacted or not. check-in: ed1d4fb13d user: fvogel tags: bug-b68710aed6
19:48
Fix [382712ade6]: X11: 'event generate . <KeyPress>' segfaults. Patch from Christian Werner. check-in: f19610bdb4 user: fvogel tags: trunk
19:48
Fix [382712ade6]: X11: 'event generate . <KeyPress>' segfaults. Patch from Christian Werner. check-in: a0f7468229 user: fvogel tags: core-8-6-branch
16:28
merge-mark check-in: df93ea2610 user: jan.nijtmans tags: trunk
16:27
Make Tk 8.6 loadable in a TIP #484-enhanced Tcl 8.7. Backported from trunk. check-in: 9348738344 user: jan.nijtmans tags: core-8-6-branch
2018-01-15
22:25
Add three (currently failing) tests text-27.15[abc] that will pass when <<Selection>> will fire from the text widget upon <<PasteSelection>>, <Delete> or <<Cut>>, when the text widget selection is impacted and it exports its selection (such events will therefore impact the PRIMARY selection, and this must trigger a <<Selection>> event) check-in: 55d3ab75a7 user: fvogel tags: bug-b68710aed6
21:23
Add fix #3 from [b68710aed6] (Fix mistake in ::tk::TextPrevPos using append). This only applies to the revised text widget, not to the legacy version, see comments in [b68710aed6]. Leaf check-in: 74f866878b user: fvogel tags: tip-466, revised_text
21:15
Add fix #1 from [b68710aed6] (Add test of -state normal to <Meta-d>). This only applies to the revised text widget, not to the legacy version, see comments in [b68710aed6]. check-in: 2fc3c5dcd7 user: fvogel tags: tip-466, revised_text
20:56
Remove unnecessary (in the legacy text widget) check for normal state when <Meta-d> check-in: 11ac36c26f user: fvogel tags: bug-b68710aed6
2018-01-14
15:42
Remove documentation of unused arguments of ::tk::TextInsertSelection check-in: 9b062db8c7 user: fvogel tags: tip-466, revised_text
15:18
Take some proposals from kjnash in [b68710aed6], namely 1. Add test of -state normal to <Meta-d>, and 2. Don't add autoseparators when doing <<Cut>> if the widget is disabled and the operation is therefore only a <<Copy>>. check-in: b3f050002d user: fvogel tags: bug-b68710aed6
14:54
Fix [1821174fff] and [1938774fff]: RenderBadPicture (invalid Picture parameter) error returned on application exit when 'send' was renamed to {}. Patch from Christian Werner. check-in: a597a915f3 user: fvogel tags: bug-1938774fff, bug-1821174fff
2018-01-13
13:50
Fix [657c389120] and [b4214b4712]: Segfault when destroying menu with checkbutton entry Closed-Leaf check-in: 95cf23087b user: fvogel tags: bug-b4214b4712, bug-657c389120
2018-01-12
14:34
Sync tcl.m4 with Tcl. See also https://core.tcl.tk/tcl/info/eb2c85495faaa9ed. check-in: d1cee38db4 user: stu tags: trunk
2018-01-10
20:45
Fix [382712ade6]: X11: 'event generate . <KeyPress>' segfaults. Patch from Christian Werner. check-in: 2f691822db user: fvogel tags: bug-382712ade6
07:29
The directory browser tree widget demo prefers normalized paths. Fixes [2780147f]. check-in: 1bd221ce69 user: stu tags: trunk
2018-01-09
15:18
Always reserve 4 bytes for UTF-8 character storage: It might be that Tk is compiled with TCL_UTF_MAX=3, but running in Tcl 8.7 with TIP #389 (TCL_UTF_MAX=3). Leaf check-in: 373e2f4f29 user: jan.nijtmans tags: bug-00a27923ee
2018-01-08
11:22
merge core-8-6-branch check-in: 06baa48758 user: jan.nijtmans tags: trunk
10:12
Some fixes for TCL_UTF_MAX == 4. Looks OK for other values of TCL_UTF_MAX. check-in: abd40ee6e6 user: jan.nijtmans tags: bug-00a27923ee
09:12
merge core-8-6-branch check-in: 72b54f9aaf user: jan.nijtmans tags: bug-00a27923ee
09:03
Some code cleanup, suggested by Christian Werner. Cherry-picked from bug-00a27923ee branch. check-in: 8acca87bc6 user: jan.nijtmans tags: core-8-6-branch
2018-01-07
20:33
This part of the patch was missing in the previous commit. check-in: 5d1eaee911 user: fvogel tags: bug-00a27923ee
20:32
Better patch from Christian Werner. check-in: 6a924878d1 user: fvogel tags: bug-00a27923ee
18:08
Merge changes form 8.6 branch except retain legacy MSVC build system. Leaf check-in: 55b0f4062b user: mistachkin tags: irontcl
16:59
Fix error in merging trunk on 2017-12-08, see [b1825a9d04]. The revised_text branch did not compile since then. check-in: fa928fb21c user: fvogel tags: tip-466, revised_text
16:51
merge trunk check-in: 3901ad12d1 user: fvogel tags: tip-466, revised_text
15:42
Complement fix for [84af709826] about alphabetical order of the widget-specific options of ttk:spinbox. check-in: 426c2897bd user: fvogel tags: trunk
15:42
Complement fix for [84af709826] about alphabetical order of the widget-specific options of ttk:spinbox. check-in: 72cf11e4d6 user: fvogel tags: core-8-6-branch
15:41
Fix (again) alphabetical order of the widget-specific options of ttk:spinbox. Closed-Leaf check-in: 2eb7351f66 user: fvogel tags: bug-84af709826
15:19
Further fix for [fa8de77936]: ttk::checkbutton handle empty variable graceful. Patch from Christian Werner again. check-in: 84a7a2b085 user: fvogel tags: trunk
15:19
Further fix for [fa8de77936]: ttk::checkbutton handle empty variable graceful. Patch from Christian Werner again. check-in: 850ce10505 user: fvogel tags: core-8-6-branch
15:18
Adapt test result for checkbutton-1.8 following addition of the invoke command on the checkbutton Closed-Leaf check-in: b46730c536 user: fvogel tags: bug-fa8de77936
15:17
Further fix for [fa8de77936]: ttk::checkbutton handle empty variable graceful. Patch from Christian Werner again. check-in: 368d714e70 user: fvogel tags: bug-fa8de77936