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
13 years ago
Serhiy Storchaka
1317e14468
Issue #20368 : The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
13 years ago
Serhiy Storchaka
7e52705ee3
Issue #20315 : Removed support for backward compatibility with early 2.x versions.
13 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.
14 years ago
Serhiy Storchaka
4676448941
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
a unicode argument contains non-BMP character.
14 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
15 years ago
Martin v. Löwis
df50cebbed
Issue #3835 : Refuse to use unthreaded Tcl in threaded Python.
Patch by Guilherme Polo and Andrew Svetlov.
15 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.
16 years ago
Brett Cannon
b94767ff44
Issue #8914 : fix various warnings from the Clang static analyzer v254.
16 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
Antoine Pitrou
c7c96a90bc
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
c83ea137d7
Untabify C files. Will watch buildbots.
16 years ago
Brett Cannon
99ac9147cb
Remove an unused variable.
Found using Clang's static analyzer.
16 years ago
Guilherme Polo
2d87e42921
Merged revisions 71210 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r71210 | guilherme.polo | 2009-04-04 23:11:19 -0300 (Sat, 04 Apr 2009) | 1 line
Include tkinter.h only after including tk.h (or the equivalent for another platform).
........
18 years ago
Guilherme Polo
5d64c330dd
Include tkinter.h only after including tk.h (or the equivalent for another platform).
18 years ago
Alexandre Vassalotti
2145595f74
Initialize the tk_init_failed static variable to 0.
18 years ago
Benjamin Peterson
5879d4122a
Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line
this is better written using assertRaises
........
r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line
this can be slightly less ugly
........
r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines
Adjusted _tkinter to compile without warnings when WITH_THREAD is not
defined (part of issue #5035 )
........
r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line
Fix typo.
........
r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line
give os.symlink and os.link() better parameter names #5564
........
r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line
Switch to fixed Sphinx version.
........
r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines
Add section numbering to some of the larger subdocuments.
........
r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line
Typo fix.
........
r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line
Make life easier for non-CPython implementations.
........
r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line
this has been fixed since 2.6 (I love removing these)
........
r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line
thanks to guido's bytecode verifier, this is fixed
........
r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line
use the awesome new status iterator
........
r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line
there's actually three methods here #5600
........
18 years ago
Guilherme Polo
41eb08616c
Typo fix
18 years ago
Guilherme Polo
1972d16230
Adjusted _tkinter to compile without warnings when WITH_THREAD is not
defined (part of issue #5035 )
18 years ago