Victor Stinner
|
bdd3567ccc
|
_tkinter: Fix refleak in getint() (#2153)
PyNumber_Int() creates a new reference: need to decrement result
reference counter.
|
2017-06-13 11:12:01 +02:00 |
|
Serhiy Storchaka
|
4089b50080
|
Fixed possible NULL decrefing.
|
2016-10-28 12:14:34 +03:00 |
|
Martin Panter
|
4e6e565368
|
Fix English spelling and grammar errors
|
2016-06-20 07:52:50 +00:00 |
|
Serhiy Storchaka
|
656ffdb4de
|
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.
|
2015-04-21 21:17:33 +03:00 |
|
Serhiy Storchaka
|
02d0298f41
|
Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.
|
2015-04-20 14:05:37 +03:00 |
|
Serhiy Storchaka
|
f29bc70bff
|
Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
always returns bool. tkinter.BooleanVar now validates input values (accepted
bool, int, long, str, unicode, and Tcl_Obj). tkinter.BooleanVar.get() now
always returns bool.
|
2015-04-04 12:42:25 +03:00 |
|
Serhiy Storchaka
|
c77c5b5f03
|
Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and
arbitrary precision integers added in Tcl 8.5.
|
2015-04-02 18:46:30 +03:00 |
|
Serhiy Storchaka
|
cba6b5d045
|
Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.
|
2015-04-02 10:35:57 +03:00 |
|
Serhiy Storchaka
|
17c01785ee
|
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.
|
2014-09-11 10:56:59 +03:00 |
|
Serhiy Storchaka
|
1c09c0ea11
|
Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
|
2014-09-11 10:38:08 +03:00 |
|
Serhiy Storchaka
|
04fa704161
|
Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"
configure options of tkinter.PhotoImage.
Added private Tkapp method _createbytearray().
|
2014-07-31 07:48:14 +03:00 |
|
Serhiy Storchaka
|
5d93f408d8
|
Call PyErr_NoMemory() when PyMem_Malloc() fails.
|
2014-07-14 12:20:01 +03:00 |
|
Serhiy Storchaka
|
529a639669
|
Fixed possible integer overflow in getint, getdouble and getboolean too (issue #21552).
|
2014-05-30 14:28:21 +03:00 |
|
Serhiy Storchaka
|
2a0220b18a
|
Issue #21552: Fixed possible integer overflow of too long string lengths in
the Tkinter module on 64-bit platforms.
|
2014-05-30 14:23:52 +03:00 |
|
Serhiy Storchaka
|
ccffb25c54
|
Issue #20368: The null character now correctly passed from Tcl to Python (in
unicode strings only). Improved error handling in variables-related commands.
|
2014-02-03 21:23:46 +02:00 |
|
Victor Stinner
|
930c3c9e43
|
Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
|
2013-09-05 00:26:15 +02:00 |
|
Serhiy Storchaka
|
2ac1c1a31d
|
Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.
This is needed for support Tcl/Tk 8.6.
|
2013-08-22 17:42:45 +03:00 |
|
Serhiy Storchaka
|
4203570d01
|
Issue #17119: Fixed integer overflows when processing large Unicode strings
and tuples in the tkinter module.
|
2013-08-21 21:46:12 +03:00 |
|
Serhiy Storchaka
|
fab65428d5
|
Issue #18101: Tcl.split() now process Unicode strings nested in a tuple as it
do with byte strings.
Added tests for Tcl.split() and tcl.splitline().
|
2013-07-11 20:32:48 +03:00 |
|
Serhiy Storchaka
|
4676448941
|
Issue #13153: Tkinter functions now raise TclError instead of ValueError when
a unicode argument contains non-BMP character.
|
2013-02-18 13:00:08 +02:00 |
|
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)
|
2011-10-04 13:55:37 +02:00 |
|
Antoine Pitrou
|
c83ea137d7
|
Untabify C files. Will watch buildbots.
|
2010-05-09 14:46:46 +00:00 |
|
Brett Cannon
|
99ac9147cb
|
Remove an unused variable.
Found using Clang's static analyzer.
|
2010-05-03 23:41:51 +00:00 |
|
Guilherme Polo
|
5d64c330dd
|
Include tkinter.h only after including tk.h (or the equivalent for another platform).
|
2009-04-05 02:11:19 +00:00 |
|
Guilherme Polo
|
41eb08616c
|
Typo fix
|
2009-03-28 19:17:16 +00:00 |
|