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

Skip to content

Commit a0c46cb

Browse files
committed
Import Tk 8.6.13
1 parent 0379c46 commit a0c46cb

File tree

232 files changed

+9785
-5140
lines changed

Some content is hidden

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

232 files changed

+9785
-5140
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# README: Tk
22

3-
This is the **Tk 8.6.12** source distribution.
3+
This is the **Tk 8.6.13** source distribution.
44

55
You can get any source release of Tk from [our distribution
66
site](https://sourceforge.net/projects/tcl/files/Tcl/).

changes

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7903,3 +7903,156 @@ Tk Cocoa 2.0: More drawing internals refinements (culler,walzer)
79037903
2021-10-30 (bug)[6ea0b3] Mac: grab from menu makes dead window (culler)
79047904

79057905
- Released 8.6.12, Nov 5, 2021 - https://core.tcl-lang.org/tk/ for details
7906+
7907+
2021-11-09 (bug)[e699a7] Fix build on macOS < 10.12 (culler)
7908+
7909+
2021-11-10 (bug)[8aebca,ce5d98] Mac: fix minimize button details (culler)
7910+
7911+
2021-11-24 (bug)[18682c,733dae] Mac: Enter/Leave events for toplevels (culler)
7912+
7913+
2021-11-29 (bug)[4ac9d2] Mac: canvas screenshot with Img package position
7914+
correction (chavez)
7915+
7916+
2021-11-30 (documentation cleanup) [bad305] improve wm protocol
7917+
WM_DELETE_WINDOW documentation (culler)
7918+
7919+
2021-11-30 (new) Mac: new color index "SelectedMenuItemTextColor".
7920+
7921+
2021-12-01 (new)[TIP 599] Extended build information (nijtmans)
7922+
7923+
2021-12-04 (bug)[440c52] fix PPM/PGM read with graylevel > 255 (vogel)
7924+
7925+
2021-12-04 (bug)[5fb814] canvas redraw region for lines/polygones (vogel)
7926+
7927+
2021-12-04 (new)[631a0b] text widget: direct mouse events to insert mark, not
7928+
current (vogel)
7929+
7930+
2021-12-06 (bug)[b164ef] fix mouse events for multiple toplevels (culler)
7931+
7932+
2021-12-07 (bug)[be8f5b] crash setting -type empty for a menu (vogel)
7933+
7934+
2021-12-10 (bug)[50fc02,50fc02,25894d,156e58] ImgPhoto pointer issues (chavez)
7935+
7936+
2021-12-20 (bug)[617861] -justify/-anchor defaults for ttk::label (nijtmans)
7937+
7938+
2021-12-20 (bug)[6be8b0] Mac: crash on drag and Cmd-w (culler)
7939+
7940+
2021-12-22 (bug)[a132b5] Mac: esc on combobox menu influences click reopening
7941+
(culler)
7942+
7943+
2021-12-24 (bug)[915316] Mac: drag events not to initial widget (culler)
7944+
7945+
2021-12-27 (bug)[eb26d4] Mac: wrong beep when clicking outside a combobox
7946+
(culler)
7947+
7948+
2021-12-30 (bug)[822450] Mac: crash on exit (culler)
7949+
7950+
2022-01-06 (bug)[b7d851] Mac: crash on tkdnd drop and window close (culler)
7951+
7952+
2022-01-09 (bug)[40bc81] embedding error test failure (vogel)
7953+
7954+
2022-01-16 (bug)[b1d115] No <Enter> event on new toplevel on current toplevel
7955+
destruction (vogel)
7956+
7957+
2022-02-03 (bug)[3fefb3] crash in empty ttk::combobox when end index requested
7958+
(vogel)
7959+
7960+
2022-02-07 (new)[247d80] Chinese message file (NewbieXvwu)
7961+
7962+
2022-02-07 (new) Support Windows ARM platform (nijtmans)
7963+
7964+
2022-02-11 (bug)[e331bc] NULL to memset in photo blank (chavez)
7965+
7966+
2022-02-12 (bug)[fc5073] Mac: crash on native file dialog and tooltip (walzer)
7967+
7968+
2022-02-17 (bug)[864b06] PNG photo image color numeric issue (chavez)
7969+
7970+
2022-02-24 (bug)[141a11] Mac: dialog box with global grab inresponsive on
7971+
click in other toplevel (walzer)
7972+
7973+
2022-02-25 (bug)[f75190] tk_fontchooser: multiple font families, locale
7974+
change, button activation (holger,vogel)
7975+
7976+
2022-02-25 (bug)[ce6b42] (in TCL bug tracker) ttk::spinbox increment event
7977+
endless invokation (vogel)
7978+
7979+
2022-02-26 (bug)[c7052d] Win: middle mouse click blocks system clipbord
7980+
(vogel)
7981+
7982+
2022-02-27 (bug)[292598,01acde,e02fc96,0c3dbe,ee49f3,d175bb] Mac: memory leaks
7983+
(images, focus ring) (chavez)
7984+
7985+
2022-03-07 (bug)[2a6c62] Avoid invalid <<TreeviewSelect>> events
7986+
(vogel,spjuth)
7987+
7988+
2022-03-16 (new)[f47920] Updates to Finnish message catalog (hippelainen)
7989+
7990+
2022-03-16 (bug)[424773] crash in test canvPs-5.1 (chavez,vogel)
7991+
7992+
2022-03-19 (bug)[5412c6] crash in test canvWind-2.1 (SVID,vogel,griffin)
7993+
7994+
2022-03-19 (bug)[54fe7a] crash in test textWind-18.3 (akuli,vogel)
7995+
7996+
2022-04-04 (bug)[29b5c2] error in tk_popup with separator entry selected
7997+
(griffin)
7998+
7999+
2022-04-07 (bug)[415415] scale advances multiple steps on single click (vogel)
8000+
8001+
2022-04-10 (bug)[dc4c55] tk_popup entry index (mcdonald)
8002+
8003+
2022-04-15 (bug)[c0bf1b] XVirtualEvent buffer overflows (chavez)
8004+
8005+
2022-04-19 (new)[8dd3d5] Mac : use Fn + e to access Emoji (nijtmans)
8006+
8007+
2022-05-11 (bug)[88cfdc] Mac: dialog memory, avoid use after free (chavez)
8008+
8009+
2022-04-21 (new)[bf0f48] Mac: Optimization for compilation is now -O2
8010+
(nijtmans)
8011+
8012+
2022-05-08 (bug)[eedd79] potential crashes in option parsing when sizeof(enum)
8013+
not equal to int (nijtmans)
8014+
8015+
2022-05-08 (bug)[0ce975] panedwindow calls memcpy with NULL pointer (chavez)
8016+
8017+
2022-05-22 (bug)[bee96b] Win: cursor warp, [tk busy] (mcdonald)
8018+
8019+
2022-06-07 (bug) GIF with multiple images may reuse transparent color (oehhar)
8020+
8021+
2022-06-12 (bug)[e4a051] Mac: map embedded window immediately (vogel)
8022+
8023+
2022-06-15 (bug)[b18434] cygwin path compiling issues (fassel)
8024+
8025+
2022-06-27 [aefdb8,be29f7] Updates to Russian message catalog (pylypenko)
8026+
8027+
2022-07-04 Updates to Esperanto message catalog (ender)
8028+
8029+
2022-07-19 (bug)[91ca77] Mac: map event handling (rosenburger,culler,landers)
8030+
8031+
2022-07-20 (bug)[40bc81,17f44d,150174,61e0bb] embedding error test failures
8032+
(vogel)
8033+
8034+
2022-07-25 (bug)[a3b03f] Linux, Windows: improve (ttk) menubutton menu
8035+
position (danckaert,vogel)
8036+
8037+
2022-07-29 Update keysym tables to latest X11R6 (nijtmans)
8038+
8039+
2022-08-22 [f6e4d4] consistent cross-platform polygon fill (akuli,chavez)
8040+
8041+
2022-09-04 (bug)[bc6020] test treeview-bc602049ab (bende,spjuth)
8042+
8043+
2022-09-08 (bug)[e17b6f] Mac: crash in test unixW-50.4 (chavez)
8044+
8045+
2022-09-20 [33de84] Mac: handle Apple deprecation of OSTypes (culler)
8046+
8047+
2022-09-20 (bug)[412b80] Mac menu: arrow key and menu selection (nab,culler)
8048+
8049+
2022-09-22 (bug)[1a46d8,1fa325] Mac: memleak, crash safety in color (chavez)
8050+
8051+
2022-10-17 [d93c81] Workaround faulty compiler optimization in VS 2022 (vogel)
8052+
8053+
2022-10-26 (bug)[435739] crash in test bind-37.1 (csok,vogel)
8054+
8055+
2022-10-28 (bug)[5e4e44] ttk::panedwindow drag robust wrt orientation variants
8056+
(xolodho,vogel)
8057+
8058+
- Released 8.6.13, Nov 16, 2022 - https://core.tcl-lang.org/tk/ for details

compat/stdlib.h

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
*
44
* Declares facilities exported by the "stdlib" portion of the C library.
55
* This file isn't complete in the ANSI-C sense; it only declares things
6-
* that are needed by Tk. This file is needed even on many systems with
6+
* that are needed by Tcl. This file is needed even on many systems with
77
* their own stdlib.h (e.g. SunOS) because not all stdlib.h files declare
8-
* all the procedures needed here (such as strtod).
8+
* all the procedures needed here (such as strtol/strtoul).
99
*
1010
* Copyright (c) 1991 The Regents of the University of California.
1111
* Copyright (c) 1994-1998 Sun Microsystems, Inc.
@@ -17,23 +17,22 @@
1717
#ifndef _STDLIB
1818
#define _STDLIB
1919

20-
#ifndef _TCL
21-
# include <tcl.h>
22-
#endif
23-
2420
extern void abort(void);
2521
extern double atof(const char *string);
2622
extern int atoi(const char *string);
2723
extern long atol(const char *string);
28-
extern char * calloc(unsigned int numElements, unsigned int size);
24+
extern void * calloc(unsigned long numElements, unsigned long size);
2925
extern void exit(int status);
30-
extern int free(char *blockPtr);
26+
extern void free(void *blockPtr);
3127
extern char * getenv(const char *name);
32-
extern char * malloc(unsigned int numBytes);
33-
extern void qsort(void *base, int n, int size, int (*compar)(
28+
extern void * malloc(unsigned long numBytes);
29+
extern void qsort(void *base, unsigned long n, unsigned long size, int (*compar)(
3430
const void *element1, const void *element2));
35-
extern char * realloc(char *ptr, unsigned int numBytes);
36-
extern double strtod(const char *string, char **endPtr);
31+
extern void * realloc(void *ptr, unsigned long numBytes);
32+
extern char * realpath(const char *path, char *resolved_path);
33+
extern int mkstemps(char *templ, int suffixlen);
34+
extern int mkstemp(char *templ);
35+
extern char * mkdtemp(char *templ);
3736
extern long strtol(const char *string, char **endPtr, int base);
3837
extern unsigned long strtoul(const char *string, char **endPtr, int base);
3938

compat/unistd.h

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@
1515
#define _UNISTD
1616

1717
#include <sys/types.h>
18-
#ifndef _TCL
19-
# include <tcl.h>
20-
#endif
2118

2219
#ifndef NULL
23-
#define NULL 0
20+
# define NULL 0
2421
#endif
2522

2623
/*
@@ -38,9 +35,9 @@ extern int dup2(int oldfd, int newfd);
3835
extern int execl(const char *path, ...);
3936
extern int execle(const char *path, ...);
4037
extern int execlp(const char *file, ...);
41-
extern int execv(const char *path, char **argv);
42-
extern int execve(const char *path, char **argv, char **envp);
43-
extern int execvp(const char *file, char **argv);
38+
extern int execv(const char *path, char *const argv[]);
39+
extern int execve(const char *path, char *const argv[], char *const *envp);
40+
extern int execvp(const char *file, char *const argv[]);
4441
extern pid_t fork(void);
4542
extern char * getcwd(char *buf, size_t size);
4643
extern gid_t getegid(void);
@@ -77,4 +74,3 @@ extern int vfork(void);
7774
#endif /* _POSIX_SOURCE */
7875

7976
#endif /* _UNISTD */
80-

doc/SetOptions.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ internal representation is set to zero.
429429
The value must be standard relief such as \fBraised\fR.
430430
The internal form is an integer relief value such as
431431
\fBTK_RELIEF_RAISED\fR. This option type supports the \fBTK_OPTION_NULL_OK\fR
432-
flag; if the empty string is specified as the value for the option,
433-
the integer relief value is set to \fBTK_RELIEF_NULL\fR.
432+
flag; if a NULL value is set, the internal representation is set to
433+
\fBTK_RELIEF_NULL\fR.
434434
.TP
435435
\fBTK_OPTION_STRING\fR
436436
The value may be any string. The internal form is a (char *) pointer

doc/bind.n

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ tags provide the following behavior:
5454
If a tag is the name of an internal window the binding applies
5555
to that window.
5656
.IP \(bu 3
57+
If the tag is the name of a class of widgets, such as \fBButton\fR,
58+
the binding applies to all widgets in that class.
59+
.IP \(bu 3
5760
If the tag is the name of a toplevel window the binding applies
5861
to the toplevel window and all its internal windows.
5962
.IP \(bu 3
60-
If the tag is the name of a class of widgets, such as \fBButton\fR,
61-
the binding applies to all widgets in that class;
62-
.IP \(bu 3
6363
If \fItag\fR has the value \fBall\fR,
6464
the binding applies to all windows in the application.
6565
.SH "EVENT PATTERNS"

doc/canvas.n

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,8 @@ in the \fBCOORDINATES\fR section above.
12181218
\fB\-disabledfill \fIcolor\fR
12191219
.
12201220
Specifies the color to be used to fill item's area.
1221-
in its normal, active, and disabled states,
1221+
in its normal, active, and disabled states.
1222+
The even-odd fill rule is used.
12221223
\fIColor\fR may have any of the forms accepted by \fBTk_GetColor\fR.
12231224
For the line item, it specifies the color of the line drawn.
12241225
For the text item, it specifies the foreground color of the text.
@@ -1696,7 +1697,7 @@ should also be drawn as a curve but where the list of coordinates is
16961697
such that the first coordinate pair (and every third coordinate pair
16971698
thereafter) is a knot point on a cubic Bezier curve, and the other
16981699
coordinates are control points on the cubic Bezier curve. Straight
1699-
line segments can be venerated within a curve by making control points
1700+
line segments can be generated within a curve by making control points
17001701
equal to their neighbouring knot points. If the last point is not the
17011702
second point of a pair of control points, the point is repeated (one or two
17021703
times) so that it also becomes the second point of a pair of control

0 commit comments

Comments
 (0)