summaryrefslogtreecommitdiff
path: root/Modules/_tkinter.c
AgeCommit message (Collapse)AuthorLines
2018-11-27[3.6] bpo-33029: Fix signatures of getter and setter functions. (GH-10746) ↵Serhiy Storchaka-2/+2
(GH-10749) Fix also return type for few other functions (clear, releasebuffer). (cherry picked from commit d4f9cf5545d6d8844e0726552ef2e366f5cc3abd)
2018-10-23bpo-34794: Fix a leak in Tkinter. (GH-10025)Miss Islington (bot)-3/+1
Based on the investigation by Xiang Zhang. (cherry picked from commit df13df41a25765d8a39a77220691698498e758d4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2017-10-03[3.6] bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and ↵Miss Islington (bot)-2/+10
split() (GH-3866) (#3874) when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. (cherry picked from commit 27c623c845dd6e4b8e1782666ca3a956636da266)
2017-10-03[3.6] bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). ↵Serhiy Storchaka-4/+4
(GH-3864). (#3873) (cherry picked from commit 929b40a601db868530d6beaafb3256822103a7fb)
2017-06-27[3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). ↵Serhiy Storchaka-1/+1
(GH-2285) (#2443) Raise a ValueError if the second argument is NULL and the wchar_t\* string contains null characters.. (cherry picked from commit e613e6add5f07ff6aad5802924596b631b707d2a)
2016-10-28Fixed possible NULL decrefing.Serhiy Storchaka-1/+1
2016-10-28Fixed possible NULL decrefing.Serhiy Storchaka-1/+1
2016-09-07replace PY_SIZE_MAX with SIZE_MAXBenjamin Peterson-1/+1
2016-09-05require a long long data type (closes #27961)Benjamin Peterson-2/+0
2016-07-07- Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka-8/+8
generated by Argument Clinic. Patch by Petr Viktorin.
2016-07-07Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka-8/+8
generated by Argument Clinic. Patch by Petr Viktorin.
2016-06-19Use macros instead of corresponding functions (they never fail) in _tkinter.c.Serhiy Storchaka-22/+26
2016-05-08Issue #23815: Fixed crashes related to directly created instances of types inSerhiy Storchaka-0/+3
_tkinter and curses.panel modules.
2016-05-08Issue #23815: Fixed crashes related to directly created instances of types inSerhiy Storchaka-0/+3
_tkinter and curses.panel modules.
2016-05-02Got rid of redundand "self" parameter declarations.Serhiy Storchaka-12/+5
Argument Clinic is now able to infer all needed information.
2015-12-25Issue #25923: Added more const qualifiers to signatures of static and ↵Serhiy Storchaka-4/+4
private functions.
2015-05-22Issue #20035: Reimplement tkinter._fix module as a C function.Zachary Ware-1/+118
The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
2015-05-06Use specialized functions intead of Py_BuildValue() in _tkinter.Serhiy Storchaka-4/+4
2015-05-06Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.Serhiy Storchaka-7/+25
Tkinter's getdouble() now supports any numbers (in particular int).
2015-05-04Issue #24001: Argument Clinic converters now use accept={type}Larry Hastings-3/+3
instead of types={'type'} to specify the types the converter accepts.
2015-05-03Fix Windows build breakage from checkins on Issues #20148 and #20168.Larry Hastings-38/+33
2015-05-03Issue #20168: Converted the _tkinter module to Argument Clinic.Serhiy Storchaka-245/+416
2015-04-22Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka-3/+4
8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6. Removed TK_VERSION_HEX.
2015-04-22Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka-3/+4
8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6.
2015-04-20Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.Serhiy Storchaka-1/+1
2015-04-20Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.Serhiy Storchaka-1/+1
2015-04-04Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka-9/+14
returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
2015-04-04Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka-9/+14
returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
2015-04-02Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka-16/+193
arbitrary precision integers added in Tcl 8.5.
2015-04-02Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka-16/+206
arbitrary precision integers added in Tcl 8.5.
2015-04-02Issue #21526: Fixed support of new boolean type in Tcl 8.5.Serhiy Storchaka-4/+19
2015-04-02Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka-15/+34
2015-03-23Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka-8/+12
2015-03-01Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka-2/+2
2015-03-01Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka-2/+2
2015-02-16Shoould be Py_MIN, not Py_MAX.Serhiy Storchaka-1/+1
2015-02-16Issue #23450: Fixed possible integer overflows.Serhiy Storchaka-20/+25
2014-09-11Closes #22336: attemptckalloc() with PyMem_Malloc() in _tkinterVictor Stinner-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.
2014-09-11Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka-0/+4
empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
2014-09-11Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka-0/+4
empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
2014-09-11Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka-10/+26
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
2014-09-11Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka-10/+26
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
2014-09-06Issue #22215: Now ValueError is raised instead of TypeError when str or bytesSerhiy Storchaka-2/+2
argument contains not permitted null character or byte.
2014-09-04Issue #21951: Fix AsObj() of the _tkinter module: raise MemoryError on memoryVictor Stinner-2/+4
allocation failure
2014-08-16Issue #22156: Fix some "comparison between signed and unsigned integers"Victor Stinner-2/+2
compiler warnings in the Modules/ subdirectory.
2014-08-05Closes #22136: Fix MSVC compiler warnings introduced by #22085Zachary Ware-7/+7
2014-07-30Issue #22085: Dropped support of Tk 8.3 in Tkinter.Serhiy Storchaka-26/+13
2014-07-30Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka-2/+2
In particular this allows to initialize images from binary data.
2014-07-30Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka-2/+2
In particular this allows to initialize images from binary data.
2014-07-14Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka-1/+3