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
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
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.
12 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.
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
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.
13 years ago
Serhiy Storchaka
463bd4b5c6
Issue #19034 : repr() for tkinter.Tcl_Obj now exposes string reperesentation.
13 years ago
Serhiy Storchaka
31f477c7eb
Issue #3015 : Fixed tkinter with wantobject=False. Any Tcl command call
returned empty string.
13 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.
14 years ago
Andrew Svetlov
d0ad0b3ae2
Reformat _tkinter code to follow PEP7
14 years ago
Andrew Svetlov
11dc6c311d
Issue #15721 : make _tkinter module pep384 compatible.
14 years ago
Andrew Svetlov
09c61bef2d
Remove unused functions from _tkinter.
14 years ago
Andrew Svetlov
885dc287d3
Utilize PyModule_Add{IntConstant,StringConstant,Object} in _tkinter.
14 years ago
Andrew Svetlov
9dc5bdddc0
Utilize Py_RETURN_NONE in _tkinter module.
14 years ago
Jesus Cea
6efe9dff14
Issue #14446 : Remove deprecated tkinter functions: Delete an unused function to avoid a warning
14 years ago
Jesus Cea
bf0f34421c
Issue #14446 : Remove deprecated tkinter functions: Delete an unused function to avoid a warning
14 years ago
Andrew Svetlov
456b2b8777
Issue #14446 : Remove deprecated tkinter functions
Thanks to Michael Driscoll
14 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
Andrew Svetlov
c5ceb0aaaf
Revert the patch for issue 3835 because failed on Windows buildbot
Windows build is compiled with no-threaded tcl/tk by default
14 years ago
Martin v. Löwis
df50cebbed
Issue #3835 : Refuse to use unthreaded Tcl in threaded Python.
Patch by Guilherme Polo and Andrew Svetlov.
14 years ago
Victor Stinner
3d7acb08c4
Issue #12342 : Fix compilation on Mac OS X
15 years ago
Victor Stinner
7ab4192e82
Issue #12342 : Improve _tkinter error message on unencodable character
15 years ago
Antoine Pitrou
44b3b5457a
Remove all other uses of the C tolower()/toupper() which could break with a Turkish locale.
(except in the strop module, which is deprecated anyway)
15 years ago
Antoine Pitrou
ed8ba14441
Remove all other uses of the C tolower()/toupper() which could break with a Turkish locale.
15 years ago
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
15 years ago
Kurt B. Kaiser
e147806da9
Issue #1028 : Tk returns invalid Unicode null in %A: UnicodeDecodeError.
With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to
exit. Converted to valid Unicode null in PythonCmd().
15 years ago
Victor Stinner
6ced7c4333
Issue #10833 : Use PyErr_Format() and PyUnicode_FromFormat() instead of
PyOS_snprintf() to avoid temporary buffer allocated on the stack and a
conversion from bytes to Unicode.
15 years ago
Brett Cannon
b94767ff44
Issue #8914 : fix various warnings from the Clang static analyzer v254.
15 years ago
Victor Stinner
ae6265f8d0
Issue #8715 : Create PyUnicode_EncodeFSDefault() function: Encode a Unicode
object to Py_FileSystemDefaultEncoding with the "surrogateescape" error
handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set,
fall back to UTF-8.
16 years ago
Antoine Pitrou
7f14f0d8a0
Recorded merge of revisions 81032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
................
16 years ago
Antoine Pitrou
f95a1b3c53
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
16 years ago