summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20035: Reimplement tkinter._fix module as a C function.Zachary Ware2015-05-221-1/+118
| | | | | The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
* Use specialized functions intead of Py_BuildValue() in _tkinter.Serhiy Storchaka2015-05-061-4/+4
|
* Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.Serhiy Storchaka2015-05-061-7/+25
| | | | Tkinter's getdouble() now supports any numbers (in particular int).
* Issue #24001: Argument Clinic converters now use accept={type}Larry Hastings2015-05-041-3/+3
| | | | instead of types={'type'} to specify the types the converter accepts.
* Fix Windows build breakage from checkins on Issues #20148 and #20168.Larry Hastings2015-05-031-38/+33
|
* Issue #20168: Converted the _tkinter module to Argument Clinic.Serhiy Storchaka2015-05-031-246/+417
|
* Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka2015-04-221-3/+4
|\ | | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6. Removed TK_VERSION_HEX.
| * Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka2015-04-221-3/+4
| | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6.
* | Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.Serhiy Storchaka2015-04-201-1/+1
|\ \ | |/
| * Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.Serhiy Storchaka2015-04-201-1/+1
| |
* | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-9/+14
|\ \ | |/ | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
| * Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-9/+14
| | | | | | | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-16/+193
|\ \ | |/ | | | | arbitrary precision integers added in Tcl 8.5.
| * Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-16/+206
| | | | | | | | arbitrary precision integers added in Tcl 8.5.
* | Issue #21526: Fixed support of new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-4/+19
|\ \ | |/
| * Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-15/+34
| |
* | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-03-221-8/+12
| |
* | Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka2015-03-011-2/+2
|\ \ | |/
| * Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka2015-03-011-2/+2
| |
| * Shoould be Py_MIN, not Py_MAX.Serhiy Storchaka2015-02-161-1/+1
| |
* | Issue #23450: Fixed possible integer overflows.Serhiy Storchaka2015-02-161-20/+25
| |
* | Closes #22336: attemptckalloc() with PyMem_Malloc() in _tkinterVictor Stinner2014-09-111-12/+12
| | | | | | | | | | | | 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.
* | Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-0/+4
|\ \ | |/ | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
| * Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-0/+4
| | | | | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
* | Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka2014-09-111-10/+26
|\ \ | |/ | | | | | | ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
| * Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka2014-09-111-10/+26
| | | | | | | | | | ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
* | Issue #22215: Now ValueError is raised instead of TypeError when str or bytesSerhiy Storchaka2014-09-061-2/+2
| | | | | | | | argument contains not permitted null character or byte.
* | Issue #21951: Fix AsObj() of the _tkinter module: raise MemoryError on memoryVictor Stinner2014-09-041-2/+4
| | | | | | | | allocation failure
* | Issue #22156: Fix some "comparison between signed and unsigned integers"Victor Stinner2014-08-151-2/+2
| | | | | | | | compiler warnings in the Modules/ subdirectory.
* | Closes #22136: Fix MSVC compiler warnings introduced by #22085Zachary Ware2014-08-051-7/+7
| |
* | Issue #22085: Dropped support of Tk 8.3 in Tkinter.Serhiy Storchaka2014-07-301-26/+13
| |
* | Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-2/+2
|\ \ | |/ | | | | In particular this allows to initialize images from binary data.
| * Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-2/+2
| | | | | | | | In particular this allows to initialize images from binary data.
* | Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
|\ \ | |/
| * Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
| |
* | Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+35
|\ \ | |/ | | | | the tkinter module on 64-bit platforms.
| * Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+35
| | | | | | | | the tkinter module on 64-bit platforms.
* | Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 bySerhiy Storchaka2014-05-281-1/+1
| | | | | | | | default.
* | Issue #21525: Most Tkinter methods which accepted tuples now accept lists too.Serhiy Storchaka2014-05-211-33/+40
|/
* Issue #20515: Fix NULL pointer dereference introduced by issue #20368Christian Heimes2014-02-041-0/+3
|\ | | | | | | CID 1167595
| * Issue #20515: Fix NULL pointer dereference introduced by issue #20368Christian Heimes2014-02-041-0/+3
| | | | | | | | CID 1167595
* | Issue #20368: The null character now correctly passed from Tcl to Python.Serhiy Storchaka2014-02-031-68/+114
|\ \ | |/ | | | | Improved error handling in variables-related commands.
| * Issue #20368: The null character now correctly passed from Tcl to Python.Serhiy Storchaka2014-02-031-68/+114
| | | | | | | | Improved error handling in variables-related commands.
* | Issue #20315: Removed support for backward compatibility with early 2.x ↵Serhiy Storchaka2014-01-201-14/+0
|\ \ | |/ | | | | | | | | | | versions. Removed backward compatibility alias curses.window.nooutrefresh which should be removed in 2.3.
| * Issue #20315: Removed support for backward compatibility with early 2.x ↵Serhiy Storchaka2014-01-201-14/+0
| | | | | | | | versions.
| * Issue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments.Serhiy Storchaka2013-09-231-12/+3
| |
* | Issue #19034: repr() for tkinter.Tcl_Obj now exposes string reperesentation.Serhiy Storchaka2013-09-231-2/+7
| |
* | Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command callSerhiy Storchaka2013-09-201-4/+1
|\ \ | |/ | | | | returned empty string.
| * Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command callSerhiy Storchaka2013-09-201-4/+1
| | | | | | | | returned empty string.
* | (Merge 3.3) Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit,Victor Stinner2013-09-041-1/+1
|\ \ | |/ | | | | don't cast 64-bit pointer to long (32 bits).