summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+15
|\ | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
| * Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+15
| | | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
* | Issue #13153: Tkinter functions now raise TclError instead of ValueError whenSerhiy Storchaka2013-02-181-1/+1
|\ \ | |/ | | | | a string argument contains non-BMP character.
| * Issue #13153: Tkinter functions now raise TclError instead of ValueError whenSerhiy Storchaka2013-02-181-1/+1
| |\ | | | | | | | | | a string argument contains non-BMP character.
| | * Issue #13153: Tkinter functions now raise TclError instead of ValueError whenSerhiy Storchaka2013-02-181-1/+1
| | | | | | | | | | | | a string argument contains non-BMP character.
* | | Issue #15721: apply PEP 384 Refactoring to tkinter module.Andrew Svetlov2012-10-301-6/+1
| | |
* | | Reformat _tkinter code to follow PEP7Andrew Svetlov2012-10-161-56/+72
| | |
* | | Issue #15721: make _tkinter module pep384 compatible.Andrew Svetlov2012-10-141-132/+142
| | |
* | | Remove unused functions from _tkinter.Andrew Svetlov2012-10-071-21/+0
| | |
* | | Utilize PyModule_Add{IntConstant,StringConstant,Object} in _tkinter.Andrew Svetlov2012-10-071-19/+19
| | |
* | | Utilize Py_RETURN_NONE in _tkinter module.Andrew Svetlov2012-10-071-26/+13
| | |
* | | Issue #14446: Remove deprecated tkinter functions: Delete an unused function ↵Jesus Cea2012-10-051-30/+0
| | | | | | | | | | | | to avoid a warning
* | | Issue #14446: Remove deprecated tkinter functions: Delete an unused function ↵Jesus Cea2012-10-051-76/+0
| | | | | | | | | | | | to avoid a warning
* | | Issue #14446: Remove deprecated tkinter functionsAndrew Svetlov2012-10-041-88/+0
|/ / | | | | | | Thanks to Michael Driscoll
* | #15094: fix incorrectly placed #endif in _tkinter.c.Andrew Svetlov2012-07-221-1/+1
| | | | | | | | Patch by Serhiy Storchaka.
* | MERGE: Closes #15396: memory leak in tkinterJesus Cea2012-07-191-1/+3
|\ \ | |/
| * Closes #15396: memory leak in tkinterJesus Cea2012-07-191-1/+3
| |
* | fix issue #5136: deprecate old unused functions from tkinter.Andrew Svetlov2012-03-311-1/+18
| | | | | | | | These functions are not documnted, so no documentation update.
* | Revert the patch for issue 3835 because failed on Windows buildbotAndrew Svetlov2012-03-141-7/+0
| | | | | | | | Windows build is compiled with no-threaded tcl/tk by default
* | Issue #3835: Refuse to use unthreaded Tcl in threaded Python.Martin v. Löwis2012-03-131-0/+7
| | | | | | | | Patch by Guilherme Polo and Andrew Svetlov.
* | Issue #12342: Fix compilation on Mac OS XVictor Stinner2011-11-041-1/+1
| |
* | (Merge 3.2) Issue #12342: Improve _tkinter error message on unencodable ↵Victor Stinner2011-11-031-2/+4
|\ \ | |/ | | | | character
| * Issue #12342: Improve _tkinter error message on unencodable characterVictor Stinner2011-11-031-2/+4
| |
* | Remove all other uses of the C tolower()/toupper() which could break with a ↵Antoine Pitrou2011-10-041-2/+2
|\ \ | |/ | | | | Turkish locale.
| * Remove all other uses of the C tolower()/toupper() which could break with a ↵Antoine Pitrou2011-10-041-2/+2
| | | | | | | | Turkish locale.
* | Implement PEP 393.Martin v. Löwis2011-09-281-43/+27
| |
* | Merge from 3.2Kurt B. Kaiser2011-05-111-1/+13
|\ \ | |/
| * Merge from 3.1Kurt B. Kaiser2011-05-111-1/+13
| |\
| | * Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.Kurt B. Kaiser2011-05-111-1/+13
| | | | | | | | | | | | | | | With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to exit. Converted to valid Unicode null in PythonCmd().
| | * Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-2018/+2018
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ ................
* | | Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead ofVictor Stinner2011-03-211-5/+3
| | | | | | | | | | | | | | | PyOS_snprintf() to avoid temporary buffer allocated on the stack and a conversion from bytes to Unicode.
* | | Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-221-2/+1
|/ /
* | Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a UnicodeVictor Stinner2010-05-151-3/+1
| | | | | | | | | | | | object to Py_FileSystemDefaultEncoding with the "surrogateescape" error handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
* | Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-2018/+2018
|/ | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Merged revisions 71210 via svnmerge fromGuilherme Polo2009-04-101-2/+2
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r71210 | guilherme.polo | 2009-04-04 23:11:19 -0300 (Sat, 04 Apr 2009) | 1 line Include tkinter.h only after including tk.h (or the equivalent for another platform). ........
* Initialize the tk_init_failed static variable to 0.Alexandre Vassalotti2009-04-051-1/+1
|
* Merged revisions ↵Benjamin Peterson2009-03-301-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line this is better written using assertRaises ........ r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line this can be slightly less ugly ........ r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines Adjusted _tkinter to compile without warnings when WITH_THREAD is not defined (part of issue #5035) ........ r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line Fix typo. ........ r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line give os.symlink and os.link() better parameter names #5564 ........ r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line Switch to fixed Sphinx version. ........ r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines Add section numbering to some of the larger subdocuments. ........ r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line Typo fix. ........ r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line Make life easier for non-CPython implementations. ........ r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line this has been fixed since 2.6 (I love removing these) ........ r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line thanks to guido's bytecode verifier, this is fixed ........ r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line use the awesome new status iterator ........ r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line there's actually three methods here #5600 ........
* Merged revisions 70218-70219 via svnmerge fromGuilherme Polo2009-03-071-1/+1
| | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string. ........ r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines Fixed issue #4792: Prevent a segfault in _tkinter by using the guaranteed to be safe interp argument given to the PythonCmd in place of the Tcl interpreter taken from a PythonCmd_ClientData. ........
* Merged revisions 69474 via svnmerge fromGuilherme Polo2009-02-091-2/+2
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69474 | guilherme.polo | 2009-02-09 18:57:45 -0200 (Mon, 09 Feb 2009) | 1 line Enforcing Tk 8.3.1 requirement. ........
* Merged revisions 69473 via svnmerge fromGuilherme Polo2009-02-091-25/+62
| | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69473 | guilherme.polo | 2009-02-09 18:50:27 -0200 (Mon, 09 Feb 2009) | 3 lines Fixed issue #5122: Synchronize tk load failure check to prevent a potential deadlock. ........
* Merged revisions 69376-69377 via svnmerge fromGuilherme Polo2009-02-061-18/+28
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69376 | guilherme.polo | 2009-02-06 20:26:22 -0200 (Fri, 06 Feb 2009) | 3 lines Partial fix to issue #1731706: memory leak in Tkapp_Call when calling from a thread different than the one that created the Tcl interpreter. ........ r69377 | guilherme.polo | 2009-02-06 20:48:07 -0200 (Fri, 06 Feb 2009) | 5 lines Issue #1731706: Call Tcl_ConditionFinalize for Tcl_Conditions that will 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. ........
* Merged revisions 69217,69219 via svnmerge fromGuilherme Polo2009-02-021-2/+1
| | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69217 | guilherme.polo | 2009-02-02 19:08:32 -0200 (Mon, 02 Feb 2009) | 1 line Fix for issue #1581476 ........ r69219 | guilherme.polo | 2009-02-02 19:14:14 -0200 (Mon, 02 Feb 2009) | 1 line NEWS entry for issue #1581476 ........
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-3/+3
| | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong.
* Issue #1717, stage 2: remove uses of tp_compare in Modules and mostMark Dickinson2009-02-011-45/+89
| | | | Objects.
* Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge fromBenjamin Peterson2009-01-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68884 | kristjan.jonsson | 2009-01-24 04:52:26 -0600 (Sat, 24 Jan 2009) | 1 line Add a test for UNC import paths, see issue 3677 ........ r68973 | georg.brandl | 2009-01-26 15:29:38 -0600 (Mon, 26 Jan 2009) | 2 lines Copy over docs on advanced role features from Sphinx docs. ........ r68978 | mark.dickinson | 2009-01-26 15:51:56 -0600 (Mon, 26 Jan 2009) | 3 lines Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks Hirokazu Yamamoto for the patch. ........ r69003 | benjamin.peterson | 2009-01-26 21:07:53 -0600 (Mon, 26 Jan 2009) | 1 line excellent place to use a set() #5069 ........ r69083 | benjamin.peterson | 2009-01-28 21:03:00 -0600 (Wed, 28 Jan 2009) | 1 line fix download url ........ r69112 | benjamin.peterson | 2009-01-29 20:02:25 -0600 (Thu, 29 Jan 2009) | 1 line pep8tify conditionals ........ r69113 | benjamin.peterson | 2009-01-29 20:24:39 -0600 (Thu, 29 Jan 2009) | 1 line make _tkinter._flatten check the result of PySequence_Size for errors #3880 ........
* Fix for issue #3638: Remove module level functions in _tkinter thatGuilherme Polo2009-01-031-66/+8
| | | | depend on TkappObject
* Issue #4313: Fixed segfault on IDLE exit. Reverted r57540 and reopened Issue ↵Hirokazu Yamamoto2008-11-181-8/+2
| | | | #1028.
* Rename PyUnicode_AsString -> _PyUnicode_AsString andMarc-André Lemburg2008-08-071-1/+1
| | | | | | | | | PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark them for interpreter internal use only. We'll have to rework these APIs or create new ones for the purpose of accessing the UTF-8 representation of Unicode objects for 3.1.
* #3247 Get rid of Py_FindMethod; use tp_members instead.Amaury Forgeot d'Arc2008-07-021-16/+34
| | | | | | | Otherwise dir(_sre.SRE_Match) returns an empty list. First step: handle most occurrences, remove tp_getattr and fill the tp_methods and tp_members slots. Add some test about attribute access.
* Merged revisions 64226 via svnmerge fromMartin v. Löwis2008-06-131-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r64226 | martin.v.loewis | 2008-06-13 09:47:47 +0200 (Fr, 13 Jun 2008) | 2 lines Make more symbols static. ........