Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.8] bpo-42318: Fix support of non-BMP characters in Tkinter on macOS ↵ | Miss Islington (bot) | 2020-12-25 | 1 | -1/+53 |
| | | | | | | | (GH-23281). (GH-23784) (GH-23787) (cherry picked from commit a26215db11cfcf7b5f55cab9e91396761a0e0bcf) (cherry picked from commit 28bf6ab61f77c69b732a211c398ac882bf3f65f4) | ||||
* | bpo-38823: Clean up refleaks in _tkinter initialization. (GH-17206) | Miss Islington (bot) | 2019-11-18 | 1 | -0/+2 |
| | | | | | | https://bugs.python.org/issue38823 (cherry picked from commit 289cf0fbf78c4f38c38ac71ac8b772be7ec2672f) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> | ||||
* | bpo-13153: Use OS native encoding for converting between Python and Tcl. ↵ | Miss Islington (bot) | 2019-10-04 | 1 | -173/+202 |
| | | | | | | | | | | | | | | | (GH-16545) On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the "surrogatepass" error handler for converting to/from Tcl Unicode objects. On Linux use UTF-8 with the "surrogateescape" error handler for converting to/from Tcl String objects. Converting strings from Tcl to Python and back now never fails (except MemoryError). (cherry picked from commit 06cb94bc8419b9a24df6b0d724fcd8e40c6971d6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | [3.8] bpo-37206: Unrepresentable default values no longer represented as ↵ | Serhiy Storchaka | 2019-09-14 | 1 | -4/+4 |
| | | | | | | | | | | None. (GH-13933) (GH-16141) In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values (like in the optional third parameter of getattr). "None" should be used if None is accepted as argument and passing None has the same effect as not passing the argument at all. (cherry picked from commit 279f44678c8b84a183f9eeb85e0b086228154497) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661) | Eddie Elizondo | 2019-03-27 | 1 | -3/+0 |
| | | | | | * Incref heap-allocated types in PyObject_Init * Add documentation and porting notes to What's New | ||||
* | bpo-33029: Fix signatures of getter and setter functions. (GH-10746) | Serhiy Storchaka | 2018-11-27 | 1 | -2/+2 |
| | | | Fix also return type for few other functions (clear, releasebuffer). | ||||
* | bpo-34794: Fix a leak in Tkinter. (GH-10025) | Serhiy Storchaka | 2018-10-23 | 1 | -3/+1 |
| | | | Based on the investigation by Xiang Zhang. | ||||
* | Fix miscellaneous typos (#4275) | luzpaz | 2017-11-05 | 1 | -1/+1 |
| | |||||
* | bpo-23699: Use a macro to reduce boilerplate code in rich comparison ↵ | stratakis | 2017-11-02 | 1 | -32/+2 |
| | | | | functions (GH-793) | ||||
* | bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (#3866) | Serhiy Storchaka | 2017-10-03 | 1 | -2/+10 |
| | | | | | when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. | ||||
* | bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). (#3864) | Serhiy Storchaka | 2017-10-03 | 1 | -4/+4 |
| | |||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -62/+0 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | Use NULL rather than 0. (#778) | Serhiy Storchaka | 2017-03-23 | 1 | -1/+1 |
| | | | | | There was few cases of using literal 0 instead of NULL in the context of pointers. While this was a legitimate C code, using NULL rather than 0 makes the code clearer. | ||||
* | bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) | Serhiy Storchaka | 2017-03-12 | 1 | -5/+5 |
| | |||||
* | bpo-29548: Fix some inefficient call API usage (GH-97) | INADA Naoki | 2017-02-16 | 1 | -7/+4 |
| | |||||
* | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 1 | -3/+3 |
| | | | | UTF-8 represenatation of Unicode objects. | ||||
* | Fixed possible NULL decrefing. | Serhiy Storchaka | 2016-10-28 | 1 | -1/+1 |
|\ | |||||
| * | Fixed possible NULL decrefing. | Serhiy Storchaka | 2016-10-28 | 1 | -1/+1 |
| | | |||||
* | | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | | |||||
* | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -2/+0 |
| | | |||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -8/+8 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -8/+8 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Use macros instead of corresponding functions (they never fail) in _tkinter.c. | Serhiy Storchaka | 2016-06-19 | 1 | -22/+26 |
| | | |||||
* | | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -0/+3 |
|\ \ | |/ | | | | | _tkinter and curses.panel modules. | ||||
| * | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -0/+3 |
| | | | | | | | | _tkinter and curses.panel modules. | ||||
* | | Got rid of redundand "self" parameter declarations. | Serhiy Storchaka | 2016-05-02 | 1 | -12/+5 |
| | | | | | | | | Argument Clinic is now able to infer all needed information. | ||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -4/+4 |
|/ | | | | private functions. | ||||
* | Issue #20035: Reimplement tkinter._fix module as a C function. | Zachary Ware | 2015-05-22 | 1 | -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 Storchaka | 2015-05-06 | 1 | -4/+4 |
| | |||||
* | Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj. | Serhiy Storchaka | 2015-05-06 | 1 | -7/+25 |
| | | | | Tkinter's getdouble() now supports any numbers (in particular int). | ||||
* | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -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 Hastings | 2015-05-03 | 1 | -38/+33 |
| | |||||
* | Issue #20168: Converted the _tkinter module to Argument Clinic. | Serhiy Storchaka | 2015-05-03 | 1 | -246/+417 |
| | |||||
* | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵ | Serhiy Storchaka | 2015-04-22 | 1 | -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 Storchaka | 2015-04-22 | 1 | -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 Storchaka | 2015-04-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #16840: Turn on support of bignums only in final release of Tcl 8.5. | Serhiy Storchaka | 2015-04-20 | 1 | -1/+1 |
| | | |||||
* | | Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always | Serhiy Storchaka | 2015-04-04 | 1 | -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 always | Serhiy Storchaka | 2015-04-04 | 1 | -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 and | Serhiy Storchaka | 2015-04-02 | 1 | -16/+193 |
|\ \ | |/ | | | | | arbitrary precision integers added in Tcl 8.5. | ||||
| * | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 1 | -16/+206 |
| | | | | | | | | arbitrary precision integers added in Tcl 8.5. | ||||
* | | Issue #21526: Fixed support of new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -4/+19 |
|\ \ | |/ | |||||
| * | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -15/+34 |
| | | |||||
* | | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-03-22 | 1 | -8/+12 |
| | | |||||
* | | Issue #20204: Added the __module__ attribute to _tkinter classes. | Serhiy Storchaka | 2015-03-01 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #20204: Added the __module__ attribute to _tkinter classes. | Serhiy Storchaka | 2015-03-01 | 1 | -2/+2 |
| | | |||||
| * | Shoould be Py_MIN, not Py_MAX. | Serhiy Storchaka | 2015-02-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | 2015-02-16 | 1 | -20/+25 |
| | | |||||
* | | Closes #22336: attemptckalloc() with PyMem_Malloc() in _tkinter | Victor Stinner | 2014-09-11 | 1 | -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 with | Serhiy Storchaka | 2014-09-11 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory. |