Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42c6918

Browse files
committed
Import Tk 8.6.10
1 parent 5ba5cbc commit 42c6918

File tree

365 files changed

+24373
-12882
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+24373
-12882
lines changed

ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
A NOTE ON THE CHANGELOG:
22
Starting in early 2011, Tk source code has been under the management of
3-
fossil, hosted at http://core.tcl-lang.org/tk/ . Fossil presents a "Timeline"
3+
fossil, hosted at https://core.tcl-lang.org/tk/ . Fossil presents a "Timeline"
44
view of changes made that is superior in every way to a hand edited log file.
55
Because of this, many Tk developers are now out of the habit of maintaining
66
this log file. You may still find useful things in it, but the Timeline is

ChangeLog.2002

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5218,7 +5218,7 @@
52185218
2000-05-31 Eric Melski <[email protected]>
52195219

52205220
* library/bgerror.tcl: Improved bgerror based on work by Donal
5221-
K. Fellows; no longer dependant on tk_dialog; features a
5221+
K. Fellows; no longer dependent on tk_dialog; features a
52225222
Windows-esque "Details" button, and a customizable extra function
52235223
button that allows the user to (for example) save the stack trace
52245224
to a file.

README

Lines changed: 0 additions & 41 deletions
This file was deleted.

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,37 @@
1-
# cpython-source-deps
2-
Source for packages that the cpython build process depends on
1+
# README: Tk
2+
3+
This is the **Tk 8.6.10** source distribution.
4+
5+
You can get any source release of Tk from [our distribution
6+
site](https://sourceforge.net/projects/tcl/files/Tcl/).
7+
8+
9+
## <a id="intro">1.</a> Introduction
10+
11+
This directory contains the sources and documentation for Tk, a
12+
cross-platform GUI toolkit implemented with the Tcl scripting language.
13+
14+
For details on features, incompatibilities, and potential problems with
15+
this release, see [the Tcl/Tk 8.6 Web page](https://www.tcl.tk/software/tcltk/8.6.html)
16+
or refer to the "changes" file in this directory, which contains a
17+
historical record of all changes to Tk.
18+
19+
Tk is maintained, enhanced, and distributed freely by the Tcl community.
20+
Source code development and tracking of bug reports and feature requests
21+
takes place at [core.tcl-lang.org](https://core.tcl-lang.org/).
22+
Tcl/Tk release and mailing list services are [hosted by
23+
SourceForge](https://sourceforge.net/projects/tcl/)
24+
with the Tcl Developer Xchange hosted at
25+
[www.tcl-lang.org](https://www.tcl-lang.org).
26+
27+
Tk is a freely available open source package. You can do virtually
28+
anything you like with it, such as modifying it, redistributing it,
29+
and selling it either in whole or in part. See the file
30+
`license.terms` for complete information.
31+
32+
## <a id="tcl">2.</a> See Tcl README.md
33+
34+
Please see the README.md file that comes with the associated Tcl release
35+
for more information. There are pointers there to extensive
36+
documentation. In addition, there are additional README files
37+
in the subdirectories of this distribution.

changes

Lines changed: 138 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7072,7 +7072,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
70727072

70737073
2013-08-25 (bug fix)[3016181] Cocoa: [destroy $scrollbar] => crash (goddard)
70747074

7075-
--- Released 8.6.1, September 19, 2013 --- http://core.tcl.tk/tk/ for details
7075+
--- Released 8.6.1, September 19, 2013 --- https://core.tcl-lang.org/tk/ for details
70767076

70777077
2013-10-27 (bug fix) OSX drawing lags (deily,steffen,walzer)
70787078

@@ -7120,7 +7120,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
71207120

71217121
2014-08-01 (bug fix) OSX font config crash (rob@bitkeeper)
71227122

7123-
--- Released 8.6.2, August 27, 2014 --- http://core.tcl.tk/tk/ for details
7123+
--- Released 8.6.2, August 27, 2014 --- https://core.tcl-lang.org/tk/ for details
71247124

71257125
2014-08-27 (bug) Cocoa: Crash after [$button destroy] (walzer)
71267126

@@ -7144,7 +7144,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
71447144

71457145
2014-11-07 (bug)[3529885] [scale] handling of negative resolution (vogel)
71467146

7147-
--- Released 8.6.3, November 12, 2014 --- http://core.tcl.tk/tk/ for details
7147+
--- Released 8.6.3, November 12, 2014 --- https://core.tcl-lang.org/tk/ for details
71487148

71497149
2014-11-14 (bug)[d43a10] shimmer-related crash in [tk_getOpenFile] (nadkarni)
71507150

@@ -7166,7 +7166,7 @@ Many revisions to better support a Cygwin environment (nijtmans)
71667166
Tk Cocoa 2.0: App Store enabled (walzer,culler,desmera,owen,nyberg,reincke)
71677167
*** POTENTIAL INCOMPATIBILITY ***
71687168

7169-
--- Released 8.6.4, March 12, 2015 --- http://core.tcl.tk/tk/ for details
7169+
--- Released 8.6.4, March 12, 2015 --- https://core.tcl-lang.org/tk/ for details
71707170

71717171
2015-03-10 (bug) Cocoa: premature image free crash (walzer)
71727172

@@ -7265,7 +7265,7 @@ Tk Cocoa 2.0: App Store enabled (walzer,culler,desmera,owen,nyberg,reincke)
72657265

72667266
Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
72677267

7268-
--- Released 8.6.5, February 29, 2016 --- http://core.tcl.tk/tk/ for details
7268+
--- Released 8.6.5, February 29, 2016 --- https://core.tcl-lang.org/tk/ for details
72697269

72707270
2016-03-07 (bug)[3137232] spinbox teardown hygiene (vogel)
72717271

@@ -7312,7 +7312,7 @@ Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
73127312

73137313
2016-07-21 (bug)[450bb0] Aqua: memory corruption from [tk busy] (porter)
73147314

7315-
--- Released 8.6.6, July 27, 2016 --- http://core.tcl.tk/tk/ for details
7315+
--- Released 8.6.6, July 27, 2016 --- https://core.tcl-lang.org/tk/ for details
73167316

73177317
2016-08-23 (bug)[a2abc4] Wrong warp cursor position on 2nd display (vogel)
73187318

@@ -7414,7 +7414,7 @@ Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
74147414

74157415
2017-08-08 (bug)[4966ca] Scidb race in notebook tab selection (cramer)
74167416

7417-
--- Released 8.6.7, August 9, 2017 --- http://core.tcl.tk/tk/ for details
7417+
--- Released 8.6.7, August 9, 2017 --- https://core.tcl-lang.org/tk/ for details
74187418

74197419
2017-08-24 (bug)[f1a3ca] Memory leak in [text] B-tree (edhume3)
74207420

@@ -7494,7 +7494,7 @@ Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
74947494

74957495
2017-12-18 (bug)[b77626] Make [tk busy -cursor] silent no-op on macOS (vogel)
74967496

7497-
--- Released 8.6.8, December 22, 2017 --- http://core.tcl.tk/tk/ for details
7497+
--- Released 8.6.8, December 22, 2017 --- https://core.tcl-lang.org/tk/ for details
74987498

74997499
2017-12-31 (bug)[aa7679] crash using window after master destroyed (vogel)
75007500

@@ -7568,4 +7568,133 @@ Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
75687568

75697569
2018-11-04 (bug)[6b22d4] [treeview] binding fix (ohagan)
75707570

7571-
- Released 8.6.9, November 16, 2018 - http://core.tcl-lang.org/tk/ for details -
7571+
- Released 8.6.9, November 16, 2018 - https://core.tcl-lang.org/tk/ for details
7572+
7573+
2018-11-19 (bug)[0a9c91] crash in text-11a.22 (vogel)
7574+
7575+
2018-11-20 (bug)[9705d1] crash activating "Alt" theme (culler)
7576+
7577+
2018-11-24 (bug)[e3b954] cursor offset at full screen display (culler)
7578+
7579+
2019-01-04 (bug)[18a4ba] cross-platform [winfo containing] (culler)
7580+
7581+
2019-01-08 (feature) local grab on Mac OSX (culler)
7582+
7583+
2019-01-10 (build) 'None', 'ControlMask' symbol conflicts (nijtmans)
7584+
7585+
2019-01-20 (bug)[509caf] [treeview tag configure] regression (mcdonald,vogel)
7586+
7587+
2019-01-26 (bug)[3003895] [scale] res rounds and -from (tischler,pieper,vogel)
7588+
7589+
2019-02-02 (new)[TIP 533] [$mb post x y idx] (culler,vogel)
7590+
7591+
2019-02-08 (bug)[1529659] embed toplevel blocks outer menu (culler)
7592+
7593+
2019-02-10 (bug)[8814bd] crash in [NSMenu size] (culler)
7594+
7595+
2019-02-13 (bug)[b389df] Aqua: mouse position on dual screen (culler)
7596+
7597+
2019-02-23 (bug)[56a182] Aqua: [tk_getOpenFile] causes off-screen toplevels (culler,walzer)
7598+
7599+
2019-02-23 (bug)[9771ae] Aqua: workaround incompatible transient window models (culler,walzer)
7600+
7601+
2019-03-01 (bug)[1951ab] Prevent transient window cycles (crashed on Aqua) (culler,vogel)
7602+
*** POTENTIAL INCOMPATIBILITY ***
7603+
7604+
2019-03-04 (bug)[4da219] Incomplete read of multi-image GIF (oehlmann)
7605+
7606+
2019-03-14 (bug)[609e00] Aqua: wrong coords from MouseWheel binding (vogel,culler)
7607+
7608+
2019-03-25 (bug)[48c394] Aqua: recompute text layout for empty string (culler)
7609+
7610+
2019-03-31 (new)[TIP 535] Precision of ::scale widget tick mark values (vogel)
7611+
*** POTENTIAL INCOMPATIBILITY ***
7612+
7613+
2019-03-31 (bug)[da3914] [$treeview identify element] failure (ulfalizer,vogel)
7614+
7615+
2019-04-06 (bug)[897ffe] Prevent cross-manager loops of geom management (culler,vogel)
7616+
7617+
2019-04-11 (new) Apple Dark Mode support (culler)
7618+
7619+
2019-04-14 (new) Aqua: Use color names consistent with NSColor (culler)
7620+
*** POTENTIAL INCOMPATIBILITY ***
7621+
7622+
2019-04-14 (new) Aqua: [tk::unsupported::MacWindowStyle isdark] (culler)
7623+
7624+
2019-04-19 (bug)[368fa4] Prevent toggle of hidden treeview indicators (ulfalizer,vogel)
7625+
7626+
2019-04-24 (bug)[4d2e8d] Aqua: notebook pane redraws (culler)
7627+
7628+
2019-04-24 (bug)[928652] Apply TIP 533 for ttk::menubutton (culler,vogel)
7629+
7630+
2019-04-24 (bug)[1001070] X-platform rework of label options -highlight* (seal,culler,vogel)
7631+
7632+
2019-04-28 (bug)[6286fd] checkbutton handling of -selectcolor (ralfixx)
7633+
7634+
2019-04-30 (bug)[4f9a99] Win: crash in [style element create] (oehlman,vogel)
7635+
7636+
2019-05-08 (bug) Ttk scrolling bugs, see tests treeview-9.1, entry-3.[3-6] (vogel)
7637+
7638+
2019-05-08 (bug)[51b4b1] Aqua: combobox use native ttk scrollbar (bll,vogel)
7639+
*** POTENTIAL INCOMPATIBILITY ***
7640+
7641+
2019-05-18 (new)[eb2996] Win: support for horizontal scrolling (chavez,vogel)
7642+
7643+
2019-05-26 (new)[TIP 541] [combobox current] support "end" index (vogel)
7644+
7645+
2019-05-26 (bug)[2a6c62] <<TreeviewSelect>> trigger on item delete (vogel)
7646+
7647+
2019-06-05 (bug)[9ebc6f] Aqua: fix incorrect reports of mouse coords (chavez, culler)
7648+
7649+
2019-06-14 (bug)[436ad6] Corrected Aqua regressions in [wm manage] (walzer, culler)
7650+
7651+
2019-06-15 (bug)[75b8fb] Crash with some [event generate]d <ButtonRelease> (leunissen,vogel)
7652+
7653+
2019-06-15 (new)[TIP 536] New tk::mac::* commands for IPC on Mac OSX (walzer)
7654+
7655+
2019-07-13 (bug)[4566e2] Aqua: Make default background color of Tk and Ttk agree (walzer,culler)
7656+
*** POTENTIAL INCOMPATIBILITY ***
7657+
7658+
2019-07-16 (bug)[5ddeca] Stop app switching exposing withdrawn windows as zombies (culler)
7659+
7660+
2019-07-25 (new)[1fb7af] Win support for buttons 4 and 5 (chavez,vogel,nijtmans)
7661+
7662+
2019-08-18 (new) Refactor all MouseWheel bindings (nijtmans)
7663+
*** POTENTIAL INCOMPATIBILITY ***
7664+
7665+
2019-08-21 (bug)[c8ccd1] up array key in [text] takes to index 1.0 (ulfalizer,vogel)
7666+
7667+
2019-08-28 (new)[TIP 532] Tk event loop rewrite to prevent ring overflow (cramer)
7668+
*** POTENTIAL INCOMPATIBILITY ***
7669+
7670+
2019-08-28 (bug)[943d5e] Win: embedded widget destruction cancels window resize (nemethi,vogel,nijtmans)
7671+
7672+
2019-09-12 (bug)[2834776] Stop disabled spinbox from generating <<Increment>> & <<Decrement>> (vogel)
7673+
7674+
2019-09-24 (bug)[96bce5] Aqua: Prevent crash drawing 1x1 rounded rectangles (bll,culler)
7675+
7676+
2019-10-03 (bug)[3ed5b6] Win: root window position with highlightthickness>0 (leunissem,vogel,nijtmans)
7677+
7678+
2019-10-09 (bug)[a01b6f7] Workaround XWayland bug reporting screen width (werner,nijtmans)
7679+
7680+
2019-10-10 (bug) Aqua: Prevent crash deactivating menu during menu deletion (culler)
7681+
7682+
2019-10-21 (bug)[aea00b] Aqua: Better handling of resolution changes (chavez, culler)
7683+
7684+
2019-10-25 (bug)[b82bd4] Fix [style configure -compound] (culler,vogel)
7685+
7686+
2019-10-27 (bug)[f7a4f7] Aqua: embedded toplevel, forced focus and mouse coords (naaus,culler)
7687+
7688+
2019-11-13 (new) Win: keycodes Mail, AudioMedia, Launch0, Launch1 (nijtmans)
7689+
7690+
2019-11-15 (bug)[69b48f] failing test textTag-18.1 (vogel)
7691+
7692+
2019-11-17 (bug)[c4abd2] panic in stackorder command (culler)
7693+
7694+
2019-11-17 (bug)[53d280] [wm iconphoto] crash on empty image (culler)
7695+
7696+
2019-11-17 [90d555] workaround NSFontManager bad selections (culler)
7697+
7698+
2019-11-19 (new) Partial Emoji support in text displays (nijtmans,culler)
7699+
7700+
- Released 8.6.10, Nov 21, 2019 - https://core.tcl-lang.org/tk/ for details

doc/CanvTkwin.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ like this:
144144
.PP
145145
.CS
146146
static const Tk_CustomOption tagsOption = {Tk_CanvasTagsParseProc,
147-
Tk_CanvasTagsPrintProc, (ClientData) NULL
147+
Tk_CanvasTagsPrintProc, NULL
148148
};
149149

150150
static const Tk_ConfigSpec configSpecs[] = {

doc/CrtCmHdlr.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ drop applications.
3131
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
3232
this mechanism only works in programs that dispatch events
3333
through \fBTk_HandleEvent\fR (or through other Tk procedures that
34-
call \fBTk_HandleEvent\fR, such as \fBTk_DoOneEvent\fR or
34+
call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
3535
\fBTk_MainLoop\fR).
3636
.PP
3737
\fIProc\fR should have arguments and result that match the

doc/CrtGenHdlr.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use with Tk, and so on.
3838
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
3939
this mechanism only works in programs that dispatch events
4040
through \fBTk_HandleEvent\fR (or through other Tk procedures that
41-
call \fBTk_HandleEvent\fR, such as \fBTk_DoOneEvent\fR or
41+
call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
4242
\fBTk_MainLoop\fR).
4343
.PP
4444
\fIProc\fR should have arguments and result that match the

doc/EventHndlr.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ by \fImask\fR occurs in the window specified by \fItkwin\fR.
3838
The callback to \fIproc\fR will be made by \fBTk_HandleEvent\fR;
3939
this mechanism only works in programs that dispatch events
4040
through \fBTk_HandleEvent\fR (or through other Tk procedures that
41-
call \fBTk_HandleEvent\fR, such as \fBTk_DoOneEvent\fR or
41+
call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
4242
\fBTk_MainLoop\fR).
4343
.PP
4444
\fIProc\fR should have arguments and result that match the

doc/GetScroll.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Tk_GetScrollInfoObj, Tk_GetScrollInfo \- parse arguments for scrolling commands
1515
\fB#include <tk.h>\fR
1616
.sp
1717
int
18-
\fBTk_GetScrollInfoObj(\fIinterp, objc, objv, dblPtr, intPtr\fB)\fR
18+
\fBTk_GetScrollInfoObj(\fIinterp, objc, objv, fractionPtr, stepsPtr\fB)\fR
1919
.sp
2020
int
21-
\fBTk_GetScrollInfo(\fIinterp, argc, argv, dblPtr, intPtr\fB)\fR
21+
\fBTk_GetScrollInfo(\fIinterp, argc, argv, fractionPtr, stepsPtr\fB)\fR
2222
.SH ARGUMENTS
2323
.AS "Tcl_Interp" *fractionPtr
2424
.AP Tcl_Interp *interp in

doc/HandleEvent.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ that all unused fields of the structure be set to zero.
2525
.PP
2626
\fBTk_HandleEvent\fR is a lower-level procedure that deals with window
2727
events. It is called by \fBTcl_ServiceEvent\fR (and indirectly by
28-
\fBTk_DoOneEvent\fR), and in a few other cases within Tk.
28+
\fBTcl_DoOneEvent\fR), and in a few other cases within Tk.
2929
It makes callbacks to any window event
3030
handlers (created by calls to \fBTk_CreateEventHandler\fR)
3131
that match \fIeventPtr\fR and then returns. In some cases

doc/MoveToplev.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ menus that want to appear at a particular place on the screen.
4646
When \fBTk_MoveToplevelWindow\fR is called it does not immediately
4747
pass on the new desired location to the window manager; it defers
4848
this action until all other outstanding work has been completed,
49-
using the \fBTk_DoWhenIdle\fR mechanism.
49+
using the \fBTcl_DoWhenIdle\fR mechanism.
5050
.SH KEYWORDS
5151
position, top-level window, window manager

doc/NameOfImg.3

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'\"
44
'\" See the file "license.terms" for information on usage and redistribution
55
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6-
'\"
6+
'\"
77
.TH Tk_NameOfImage 3 4.0 Tk "Tk Library Procedures"
88
.so man.macros
99
.BS
@@ -14,10 +14,10 @@ Tk_NameOfImage \- Return name of image.
1414
\fB#include <tk.h>\fR
1515
.sp
1616
const char *
17-
\fBTk_NameOfImage\fR(\fItypePtr\fR)
17+
\fBTk_NameOfImage\fR(\fIimageMaster\fR)
1818
.SH ARGUMENTS
19-
.AS Tk_ImageMaster *masterPtr
20-
.AP Tk_ImageMaster *masterPtr in
19+
.AS Tk_ImageMaster imageMaster
20+
.AP Tk_ImageMaster imageMaster in
2121
Token for image, which was passed to image manager's \fIcreateProc\fR when
2222
the image was created.
2323
.BE

0 commit comments

Comments
 (0)