Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter. | Serhiy Storchaka | 2014-09-11 | 1 | -12/+28 |
| | | | | | ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails. | ||||
* | Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata" | Serhiy Storchaka | 2014-07-31 | 1 | -0/+28 |
| | | | | | | configure options of tkinter.PhotoImage. Added private Tkapp method _createbytearray(). | ||||
* | Call PyErr_NoMemory() when PyMem_Malloc() fails. | Serhiy Storchaka | 2014-07-14 | 1 | -1/+3 |
| | |||||
* | Fixed possible integer overflow in getint, getdouble and getboolean too ↵ | Serhiy Storchaka | 2014-05-30 | 1 | -0/+3 |
| | | | | (issue #21552). | ||||
* | Issue #21552: Fixed possible integer overflow of too long string lengths in | Serhiy Storchaka | 2014-05-30 | 1 | -1/+32 |
| | | | | the Tkinter module on 64-bit platforms. | ||||
* | Issue #20368: The null character now correctly passed from Tcl to Python (in | Serhiy Storchaka | 2014-02-03 | 1 | -99/+116 |
| | | | | unicode strings only). Improved error handling in variables-related commands. | ||||
* | Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast | Victor Stinner | 2013-09-04 | 1 | -1/+1 |
| | | | | 64-bit pointer to long (32 bits). | ||||
* | Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj | Serhiy Storchaka | 2013-08-22 | 1 | -12/+53 |
| | | | | | | argument. This is needed for support Tcl/Tk 8.6. | ||||
* | Issue #17119: Fixed integer overflows when processing large Unicode strings | Serhiy Storchaka | 2013-08-21 | 1 | -10/+33 |
| | | | | and tuples in the tkinter module. | ||||
* | Issue #18101: Tcl.split() now process Unicode strings nested in a tuple as it | Serhiy Storchaka | 2013-07-11 | 1 | -0/+27 |
| | | | | | | do with byte strings. Added tests for Tcl.split() and tcl.splitline(). | ||||
* | Issue #13153: Tkinter functions now raise TclError instead of ValueError when | Serhiy Storchaka | 2013-02-18 | 1 | -2/+4 |
| | | | | a unicode argument contains non-BMP character. | ||||
* | Remove all other uses of the C tolower()/toupper() which could break with a ↵ | Antoine Pitrou | 2011-10-04 | 1 | -2/+2 |
| | | | | | | Turkish locale. (except in the strop module, which is deprecated anyway) | ||||
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -2102/+2102 |
| | |||||
* | Remove an unused variable. | Brett Cannon | 2010-05-03 | 1 | -2/+1 |
| | | | | Found using Clang's static analyzer. | ||||
* | Include tkinter.h only after including tk.h (or the equivalent for another ↵ | Guilherme Polo | 2009-04-05 | 1 | -2/+2 |
| | | | | platform). | ||||
* | Typo fix | Guilherme Polo | 2009-03-28 | 1 | -1/+1 |
| | |||||
* | Adjusted _tkinter to compile without warnings when WITH_THREAD is not | Guilherme Polo | 2009-03-27 | 1 | -6/+29 |
| | | | | defined (part of issue #5035) | ||||
* | Fixed issue #4792: Prevent a segfault in _tkinter by using the | Guilherme Polo | 2009-03-07 | 1 | -1/+1 |
| | | | | | guaranteed to be safe interp argument given to the PythonCmd in place of the Tcl interpreter taken from a PythonCmd_ClientData. | ||||
* | Enforcing Tk 8.3.1 requirement. | Guilherme Polo | 2009-02-09 | 1 | -2/+2 |
| | |||||
* | Fixed issue #5122: Synchronize tk load failure check to prevent a | Guilherme Polo | 2009-02-09 | 1 | -26/+63 |
| | | | | potential deadlock. | ||||
* | Issue #1731706: Call Tcl_ConditionFinalize for Tcl_Conditions that will | Guilherme Polo | 2009-02-06 | 1 | -17/+25 |
| | | | | | | not be used again (this requires Tcl/Tk 8.3.1), also fix a memory leak in Tkapp_Call when calling from a thread different than the one that created the Tcl interpreter. | ||||
* | Partial fix to issue #1731706: memory leak in Tkapp_Call when calling | Guilherme Polo | 2009-02-06 | 1 | -1/+3 |
| | | | | from a thread different than the one that created the Tcl interpreter. | ||||
* | Fix for issue #1581476 | Guilherme Polo | 2009-02-02 | 1 | -2/+1 |
| | |||||
* | make _tkinter._flatten check the result of PySequence_Size for errors #3880 | Benjamin Peterson | 2009-01-30 | 1 | -1/+3 |
| | |||||
* | The _tkinter module functions "createfilehandler", "deletefilehandler", | Guilherme Polo | 2009-01-03 | 1 | -0/+36 |
| | | | | | "createtimerhandler", "mainloop", "dooneevent" and "quit" have been deprecated for removal in 3.x (part of issue #3638). | ||||
* | Make more symbols static. | Martin v. Löwis | 2008-06-13 | 1 | -2/+2 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -41/+41 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -41/+41 |
| | |||||
* | Bug #1301: fixed a bad assert in _tkinter. | Guido van Rossum | 2008-01-03 | 1 | -3/+5 |
| | |||||
* | Return results from Python callbacks to Tcl as Tcl objects. | Martin v. Löwis | 2008-01-01 | 1 | -12/+5 |
| | | | | Fixes Tk issue #1851526 | ||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -5/+5 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | Backport r56875 from py3k; double LEAVE_PYTHON when AsString() fails | Guido van Rossum | 2007-08-09 | 1 | -1/+3 |
| | | | | in PythonCmd(). | ||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -9/+7 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
* | Many calls to tk.call involve an arglist containing a single tuple. | Kurt B. Kaiser | 2007-07-05 | 1 | -0/+6 |
| | | | | | | | | | | Calls using METH_OLDARGS unpack this tuple; calls using METH_VARARG don't. Tcl's concatenation of args was affected; IDLE doesn't start. Modify Tkapp_Call() to unpack single tuple arglists. Bug 1733943 Ref http://mail.python.org/pipermail/python-checkins/2007-May/060454.html | ||||
* | Stop using METH_OLDARGS | Neal Norwitz | 2007-05-22 | 1 | -3/+3 |
| | |||||
* | Don't deref v if it's NULL. | Neal Norwitz | 2006-08-12 | 1 | -2/+4 |
| | | | | Klocwork #214 | ||||
* | self is dereffed (and passed as first arg), so it's known to be good. | Neal Norwitz | 2006-07-16 | 1 | -2/+2 |
| | | | | | | func is returned from PyArg_ParseTuple and also dereffed. Reported by Klocwork, #30 (self one at least). | ||||
* | Fix some Py_ssize_t issues | Neal Norwitz | 2006-06-12 | 1 | -2/+3 |
| | |||||
* | [Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler. | Andrew M. Kuchling | 2006-06-03 | 1 | -15/+15 |
| | | | | | | | | | | Fix by renaming the variable. In a different module, Neal fixed it by renaming _self to self. There's already a variable named 'self' here, so I used selfptr. (I'm committing this on a Mac without Tk, but it's a simple search-and-replace. <crosses fingers>, so I'll watch the buildbots and see what happens.) | ||||
* | Work around deadlock risk. Will backport. | Martin v. Löwis | 2006-05-01 | 1 | -3/+15 |
| | |||||
* | Get rid of warnings about using chars as subscripts | Neal Norwitz | 2006-04-10 | 1 | -1/+1 |
| | | | | on Alpha (and possibly other platforms) by using Py_CHARMASK(). | ||||
* | Coverity found refleak: need to free 'v' after calling Tkinter_Error(). | Thomas Wouters | 2006-03-07 | 1 | -2/+5 |
| | | | | Will backport to release24. | ||||
* | unconst. | Martin v. Löwis | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Fix icc warnings: try to set TCL_UNIX_FD for #if TCL_WIN_SOCKET == ↵ | Neal Norwitz | 2006-01-08 | 1 | -0/+11 |
| | | | | TCL_UNIX_FD. res is not used, add a XXX comment | ||||
* | Remove extra parens | Neal Norwitz | 2005-12-19 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #1072182, problems with signed characters. | Neal Norwitz | 2005-12-19 | 1 | -1/+1 |
| | | | | Most of these can be backported. | ||||
* | Add const to several API functions that take char *. | Jeremy Hylton | 2005-12-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | In C++, it's an error to pass a string literal to a char* function without a const_cast(). Rather than require every C++ extension module to put a cast around string literals, fix the API to state the const-ness. I focused on parts of the API where people usually pass literals: PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type slots, etc. Predictably, there were a large set of functions that needed to be fixed as a result of these changes. The most pervasive change was to make the keyword args list passed to PyArg_ParseTupleAndKewords() to be a const char *kwlist[]. One cast was required as a result of the changes: A type object mallocs the memory for its tp_doc slot and later frees it. PyTypeObject says that tp_doc is const char *; but if the type was created by type_new(), we know it is safe to cast to char *. | ||||
* | Build with --disable-unicode again. Fixes #1158607. | Martin v. Löwis | 2005-03-08 | 1 | -1/+3 |
| | | | | Will backport to 2.4. |