Larry Hastings
dbfdc380df
Issue #24001 : Argument Clinic converters now use accept={type}
instead of types={'type'} to specify the types the converter accepts.
11 years ago
Larry Hastings
2d0a69a456
Fix Windows build breakage from checkins on Issues #20148 and #20168 .
11 years ago
Serhiy Storchaka
5abdf48430
Issue #20168 : Converted the _tkinter module to Argument Clinic.
11 years ago
Serhiy Storchaka
3af7a38c61
Issue #16840 . Turn off bignum support in tkinter with with Tcl earlier than 8.5.8
(tclTomMath.h was broken) and non-final Tcl 8.6.
11 years ago
Serhiy Storchaka
77e8311deb
Issue #16840 : Turn on support of bignums only in final release of Tcl 8.5.
11 years ago
Serhiy Storchaka
9a6e201f7d
Issue #15133 : _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
returns bool. tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
11 years ago
Serhiy Storchaka
ea134da929
Issue #16840 : Tkinter now supports 64-bit integers added in Tcl 8.4 and
arbitrary precision integers added in Tcl 8.5.
11 years ago
Serhiy Storchaka
f7de3dd02d
Issue #21526 : Tkinter now supports new boolean type in Tcl 8.5.
11 years ago
Serhiy Storchaka
f07a4b663d
Issue #21526 : Tkinter now supports new boolean type in Tcl 8.5.
11 years ago
Serhiy Storchaka
efdc16f978
Issue #20204 : Added the __module__ attribute to _tkinter classes.
11 years ago
Serhiy Storchaka
3584056ca5
Shoould be Py_MIN, not Py_MAX.
11 years ago
Serhiy Storchaka
26861b0b29
Issue #23450 : Fixed possible integer overflows.
11 years ago
Victor Stinner
ee6c3c7162
Closes #22336 : attemptckalloc() with PyMem_Malloc() in _tkinter
The PyMem_Malloc(size) function has a well defined behaviour: if size is 0, a
pointer different than NULL is returned. PyMem_Malloc() allocations are
tracked by tracemalloc, attemptckalloc() allocations are not tracked.
11 years ago
Serhiy Storchaka
abf68ce164
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
11 years ago
Serhiy Storchaka
0794088379
Issue #21951 : Use attemptckalloc() instead of ckalloc() in Tkinter.
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
11 years ago
Serhiy Storchaka
d8a1447c99
Issue #22215 : Now ValueError is raised instead of TypeError when str or bytes
argument contains not permitted null character or byte.
12 years ago
Victor Stinner
60a64d6812
Issue #21951 : Fix AsObj() of the _tkinter module: raise MemoryError on memory
allocation failure
12 years ago
Victor Stinner
706768c687
Issue #22156 : Fix some "comparison between signed and unsigned integers"
compiler warnings in the Modules/ subdirectory.
12 years ago
Zachary Ware
037605b50e
Closes #22136 : Fix MSVC compiler warnings introduced by #22085
12 years ago
Serhiy Storchaka
6716d60cec
Issue #22085 : Dropped support of Tk 8.3 in Tkinter.
12 years ago
Serhiy Storchaka
74596a887a
Issue #21580 : Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.
12 years ago
Serhiy Storchaka
b1ebfdddb3
Call PyErr_NoMemory() when PyMem_Malloc() fails.
12 years ago
Serhiy Storchaka
79851d755b
Issue #21552 : Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.
12 years ago
Serhiy Storchaka
9e7cbda1ef
Issue #3015 : _tkinter.create() now creates tkapp object with wantobject=1 by
default.
12 years ago
Serhiy Storchaka
2b00c4999d
Issue #21525 : Most Tkinter methods which accepted tuples now accept lists too.
12 years ago
Christian Heimes
d33491ea76
Issue #20515 : Fix NULL pointer dereference introduced by issue #20368
CID 1167595
12 years ago
Serhiy Storchaka
1317e14468
Issue #20368 : The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
12 years ago
Serhiy Storchaka
7e52705ee3
Issue #20315 : Removed support for backward compatibility with early 2.x versions.
12 years ago
Serhiy Storchaka
369606df2f
Issue #19028 : Fixed tkinter.Tkapp.merge() for non-string arguments.
12 years ago
Serhiy Storchaka
463bd4b5c6
Issue #19034 : repr() for tkinter.Tcl_Obj now exposes string reperesentation.
12 years ago
Serhiy Storchaka
31f477c7eb
Issue #3015 : Fixed tkinter with wantobject=False. Any Tcl command call
returned empty string.
12 years ago
Victor Stinner
e1040e276b
Issue #18909 : Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
13 years ago
Serhiy Storchaka
203eb317d2
Issue #16809 : Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.
This is needed for support Tcl/Tk 8.6.
13 years ago
Serhiy Storchaka
9e6b97502f
Issue #17119 : Fixed integer overflows when processing large strings and tuples
in the tkinter module.
13 years ago
Antoine Pitrou
584e815114
Fix refcounting issue with extension types in tkinter.
(issue #15721 )
13 years ago
Serhiy Storchaka
275d5fdbe4
Issue #18101 : Tcl.split() now process strings nested in a tuple as it
do with byte strings.
Added tests for Tcl.split() and Tcl.splitline().
13 years ago
Serhiy Storchaka
59f5dee3d6
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
a string argument contains non-BMP character.
13 years ago
Serhiy Storchaka
4676448941
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
a unicode argument contains non-BMP character.
13 years ago
Andrew Svetlov
d2217a83d4
Issue #15721 : apply PEP 384 Refactoring to tkinter module.
13 years ago
Andrew Svetlov
d0ad0b3ae2
Reformat _tkinter code to follow PEP7
13 years ago
Andrew Svetlov
11dc6c311d
Issue #15721 : make _tkinter module pep384 compatible.
13 years ago
Andrew Svetlov
09c61bef2d
Remove unused functions from _tkinter.
13 years ago
Andrew Svetlov
885dc287d3
Utilize PyModule_Add{IntConstant,StringConstant,Object} in _tkinter.
13 years ago
Andrew Svetlov
9dc5bdddc0
Utilize Py_RETURN_NONE in _tkinter module.
13 years ago
Jesus Cea
6efe9dff14
Issue #14446 : Remove deprecated tkinter functions: Delete an unused function to avoid a warning
13 years ago
Jesus Cea
bf0f34421c
Issue #14446 : Remove deprecated tkinter functions: Delete an unused function to avoid a warning
13 years ago
Andrew Svetlov
456b2b8777
Issue #14446 : Remove deprecated tkinter functions
Thanks to Michael Driscoll
13 years ago
Andrew Svetlov
80823d7ed7
#15094 : fix incorrectly placed #endif in _tkinter.c.
Patch by Serhiy Storchaka.
14 years ago
Jesus Cea
ef86d12979
Closes #15396 : memory leak in tkinter
14 years ago
Andrew Svetlov
9e892bbf28
fix issue #5136 : deprecate old unused functions from tkinter.
These functions are not documnted, so no documentation update.
14 years ago