Commit Graph

485 Commits

Author SHA1 Message Date
Serhiy Storchaka 3dbbef9d76 Fix merge error in issue #19602. 2013-11-17 12:49:28 +02:00
Serhiy Storchaka 3f2aade688 Issue #19602: Use specific asserts in tkinter tests. 2013-11-17 00:43:03 +02:00
Serhiy Storchaka f87854e7bf Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085). 2013-11-09 21:15:26 +02:00
Serhiy Storchaka 27cadd78fb Revert wrong change in previous commit (issue #19085). 2013-11-05 22:01:31 +02:00
Serhiy Storchaka 0a4b07be0d Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085). 2013-11-05 21:04:54 +02:00
Serhiy Storchaka 3ecd17e2b2 Issue #19085: Fix running test_ttk_textonly on displayless host. 2013-11-04 23:05:23 +02:00
Serhiy Storchaka c4051a8e34 Issue #19085: Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12. 2013-11-04 22:10:35 +02:00
Serhiy Storchaka 68f518ce4a Issue #19085: Fixed pixels rounding for last Tk patchlevels. 2013-11-03 18:24:04 +02:00
Serhiy Storchaka 31b9c845d3 Issue #6157: Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo. 2013-11-03 14:28:29 +02:00
Serhiy Storchaka 8630f16eb7 Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.
2013-11-03 14:13:08 +02:00
Serhiy Storchaka 6bf15d10a6 Issue #19085: Fixed some Tkinter tests on Windows. 2013-11-02 18:50:53 +02:00
Serhiy Storchaka 4a21726fe6 Issue #19085: Fix Tkinter tests with Tcl/Tk 8.4. 2013-11-02 17:27:59 +02:00
Serhiy Storchaka 090b6b1baf Issue #10734: Fix and re-enable test_ttk test_heading_callback. 2013-11-02 10:54:17 +02:00
Serhiy Storchaka dd80816973 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:46:21 +02:00
Serhiy Storchaka b445558d84 Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6. 2013-08-22 17:53:16 +03:00
Ezio Melotti f5469cff1f #18705: fix a number of typos. Patch by Févry Thibault. 2013-08-17 15:43:51 +03:00
Antoine Pitrou ba7620cbff Fix tkinter regression introduced by the security fix in #16248. 2013-08-01 22:25:12 +02:00
Terry Jan Reedy cc8506ecbe Update int division to quiet 2to3 warning. 2013-07-27 20:28:53 -04:00
Terry Jan Reedy a70f60acf3 Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:56:17 -04:00
Serhiy Storchaka e39ba04e22 Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
2013-01-15 18:01:21 +02:00
Andrew Svetlov 4bb142b1b7 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:37 +02:00
Andrew Svetlov 33b9b71e8d Issue #16582: use int exit code in tkinter._exit 2012-12-10 00:05:08 +02:00
Antoine Pitrou 7dddec4e9d Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.
2012-12-09 14:46:18 +01:00
Andrew Svetlov 2d96848c7e Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog. 2012-07-30 20:04:53 +03:00
Ned Deily 724a55c525 Issue #14777: In an X11 windowing environment, tkinter may return
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:05:57 -07:00
Georg Brandl f14a2bf3bc Transplant 45287f2799f5 from default branch. 2012-04-04 20:19:09 +02:00
Benjamin Peterson c7bbd7be94 don't rely on dict order 2012-02-21 00:15:10 -05:00
Petri Lehtinen 49e49a218c Issue #13439: Fix many errors in turtle docstrings. 2011-12-02 21:22:53 +02:00
Ezio Melotti 1e87da16ea Remove duplication. 2011-10-19 10:39:35 +03:00
Sandro Tosi 1381a31e39 #12677: correct turtle orientation in doc 2011-08-07 17:09:15 +02:00
Senthil Kumaran 4af1c6a4fc Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them with a high number so that code relying on them does not break. 2011-07-28 22:30:27 +08:00
Ned Deily 885b164bfe Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.
2011-07-05 19:08:38 -07:00
Ned Deily 09f6ab0d0f Issue #8716: Back out temporary changeset 18ce15f841cf 2011-07-05 15:09:32 -07:00
Ned Deily 8c653e094b Issue #8716: Add temporary code for 2.7 to help diagnose buildbot failure. 2011-07-05 14:16:03 -07:00
Ned Deily eee1048e7b Issue #8716: Fix errors in the non-OS X path of the 27 backport. 2011-07-03 23:16:49 -07:00
Ned Deily 46268c49f6 Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
test_tk or test_ttk_guionly under a username that is not currently logged
in to the console windowserver (as may be the case under buildbot or ssh).
2011-07-03 21:52:35 -07:00
Ned Deily 9a7a4cc3a7 Issue #10734: Temporarily disable test_ttk test_heading_callback on 2.7 as well. 2011-07-03 21:37:03 -07:00
Ned Deily 64e59959f2 Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
on Mac OS X.  (Patch by Ronald Oussoren)
2011-06-27 23:09:31 -07:00
Ezio Melotti c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
Alexander Belopolsky ab016d21a6 Merged revisions 85930 via svnmerge from
http://svn.python.org/projects/python/branches/py3k

........
  r85930 | alexander.belopolsky | 2010-10-29 13:16:49 -0400 (Fri, 29 Oct 2010) | 1 line

  Issue 7061: Explained 'gon'
........
2010-11-05 01:56:24 +00:00
Antoine Pitrou 0b481ca321 Merged revisions 85018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85018 | antoine.pitrou | 2010-09-26 18:36:33 +0200 (dim., 26 sept. 2010) | 4 lines

  Issue #8445: try to fix some buildbot failures on test_ttk_guionly.
  Patch by Guilherme.
........
2010-10-09 10:09:06 +00:00
Martin v. Löwis eba67c0eac Issue #6470: Drop UNC prefix in FixTk.py
Patch by Christop Gohlke and Amaury Forgeot d'Arc.
2010-06-04 19:39:07 +00:00
Martin v. Löwis e84089e3f1 Issue #8204: Fix test_ttk notebook test by forcing focus. 2010-04-08 17:38:32 +00:00
Martin v. Löwis 1b287c7434 Issue #8344: Fix test_ttk bug on FreeBSD. 2010-04-08 09:47:40 +00:00
Florent Xicluna dfd3618422 #7092: silence some py3k warnings 2010-04-02 08:30:21 +00:00
Florent Xicluna c8a730bf72 Syntax cleanup `== None` -> `is None` 2010-03-25 20:32:07 +00:00
Matthias Klose 8b41168bab - Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
with Tcl/Tk-8.5.
2010-03-16 10:48:52 +00:00
Florent Xicluna 0b9a18a42f #6906: TCL_LIBRARY and TK_LIBRARY environment variables should be encoded. 2010-03-06 11:01:08 +00:00
Benjamin Peterson b3be23ad27 remove the svn:executable property from files that don't have shebang lines 2010-03-05 03:20:06 +00:00
Georg Brandl 8cdc9bc901 More yearly updates. 2010-01-01 13:07:05 +00:00
Benjamin Peterson 6e3dbbdf39 replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
Benjamin Peterson de0559998f replace callable() 2009-10-09 22:05:45 +00:00
R. David Murray ddfb6cdc2b Applying patches backported from 3.1, by Gregor Lingl. 2009-09-28 18:29:28 +00:00
Guilherme Polo 6f1fa214c5 Added missing static option for OptionMenu. Issue #5961. 2009-08-18 16:39:36 +00:00
Guilherme Polo 7b50c4fa7c Issue #1356969: Add missing info methods in Tix.HList. 2009-08-18 14:46:57 +00:00
Guilherme Polo 397bd1e740 Fixes for Tix.Grid from issue #1522587. 2009-08-18 14:34:44 +00:00
Guilherme Polo 6b3c7098f3 Issue #1522587: New constants and methods for the Tix.Grid widget. 2009-08-18 14:23:00 +00:00
Guilherme Polo 57f9b7298a Mark the "radio" option of Tix.CheckList as static. 2009-08-18 13:33:30 +00:00
Guilherme Polo 6c823f8720 Issue #1250469: Fix the return value of Tix.PanedWindow.panes. 2009-08-18 13:29:20 +00:00
Guilherme Polo d3e6e4bb8f Issue #1119673: Do not override Tkinter.Text methods when creating a ScrolledText. 2009-08-18 13:23:08 +00:00
Guilherme Polo 75e1f9985a Clarifying Entry.selection_present's docstring. 2009-08-14 14:43:43 +00:00
Guilherme Polo e45f017023 Issue #1135: Add the XView and YView mix-ins to avoid duplicating
the xview* and yview* methods.
2009-08-14 14:36:45 +00:00
Benjamin Peterson 5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
Guilherme Polo 7f146ab0ca Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
test_ttkguionly.
2009-06-21 17:22:50 +00:00
Guilherme Polo 1c6787f9de Improved PanedWindow.add's docstring. 'subcomand' is a Tcl term, and the possible options and values are the same accepted by paneconfigure (not configure). 2009-05-31 21:31:21 +00:00
Walter Dörwald 2827709d6d Fix typos. 2009-05-04 16:03:03 +00:00
Guilherme Polo 15d57653f1 Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only
after it is has been populated and properly configured in order to prevent
window flashing.
2009-03-07 02:14:38 +00:00
Guilherme Polo 6d6c1fd04e Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string. 2009-03-07 01:19:12 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Mark Dickinson 2752e9b527 Issue #5295: Typos in turtle.py 2009-02-20 20:42:53 +00:00
Guilherme Polo bbb7efd72b Some tests for Tkinter.Text.search 2009-02-09 19:21:21 +00:00
Guilherme Polo d2ea0332ab Fixed issue #4890: Handle empty text search pattern in
Tkinter.Text.search
2009-02-09 16:41:09 +00:00
Guilherme Polo 190c35f928 Turned setup_master public 2009-02-09 16:09:17 +00:00
Guilherme Polo 8e5e438d21 Eliminated the need to use ttk.__loadtk__ and the problems related it. 2009-02-07 02:20:29 +00:00
Guilherme Polo b98cb43e4a Moving to importlib 2009-02-02 20:28:59 +00:00
Guilherme Polo b64c989efc Restore the previous geometry before leaving the test 2009-02-02 20:23:29 +00:00
Guilherme Polo 905c6b7f48 Use a single Tcl interpreter through all these tests, this may help some
failing buildbots.
2009-02-02 00:38:54 +00:00
Guilherme Polo 6d51f12c5e Make sure the root windows gets destroyed 2009-01-28 20:02:01 +00:00
Guilherme Polo 6785cf0169 Added support for collecting tests only from specific packages. 2009-01-28 19:23:28 +00:00
Guilherme Polo cda93aafde Added the ttk module. See issue #2983: Ttk support for Tkinter. 2009-01-28 13:09:03 +00:00
Martin v. Löwis f081e1c9d9 Issue #3881: Help Tcl to load even when started through the
unreadable local symlink to "Program Files" on Vista.
2009-01-24 15:47:27 +00:00
Martin v. Löwis 732479f50b Issue #3767: Convert Tk object to string in tkColorChooser. 2008-12-29 16:22:25 +00:00
Martin v. Löwis e2eb2b4bc3 Issue #3248: Allow placing ScrolledText in a PanedWindow. 2008-12-29 15:51:01 +00:00
Martin v. Löwis bb9b1f1d4a Issue #4116: Resolve member name conflict in ScrolledCanvas.__init__ 2008-11-19 09:09:41 +00:00
Hirokazu Yamamoto b9828f67b8 Issue #3774: Fixed an error when create a Tkinter menu item without command
and then remove it. Written by Guilherme Polo (gpolo).
2008-11-03 18:03:06 +00:00
Martin v. Löwis e563aa4383 Issue #3965: Allow repeated calls to turtle.Screen, by making it a
true singleton object.

Reviewed by Gregor Lingl.
2008-09-29 22:09:07 +00:00
Benjamin Peterson 52d52f185a #3950 fix missing scale factors in turtle.py
reviewers: Georg, Benjamin
2008-09-24 22:11:59 +00:00
Robert Schuppenies af1aae3aa6 Issue #1342811: Fixed broken patch. Reviewed by benjamin.peterson. 2008-08-22 08:03:43 +00:00
Robert Schuppenies 14646337bf Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to
menu entries were not deleted.
2008-08-10 11:01:53 +00:00
Brett Cannon ff6868cf10 Remove a use of callable() from Tkinter to silence warnings under -3. 2008-08-04 21:24:43 +00:00
Martin v. Löwis aabf404ecc Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
Tcl command objects.
2008-08-02 07:20:25 +00:00
Benjamin Peterson e70f8e1205 remove usage of MacOS from Tkinter 2008-07-31 15:15:45 +00:00
Martin v. Löwis 8718459f0f Patch #1513695: New turtle module, with demos. 2008-06-04 06:29:55 +00:00
Georg Brandl 4ed3ed13c5 Fix Tkinter sequence passing. #2906. 2008-06-03 10:23:15 +00:00
Georg Brandl 7943a3295d #2906: accept lists for options, and some cosmetic fixes in Tkinter. 2008-05-29 07:18:49 +00:00
Guilherme Polo 6acb075f03 Fixed an import that remained from the lib-tk -> tkinter -> lib-tk renaming 2008-05-24 18:24:49 +00:00
Georg Brandl ae019e14bd #615772: raise a more explicit error from Tkinter.Misc.__contains__. 2008-05-20 08:48:34 +00:00
Georg Brandl 06d2a2cb0e Remove debugging line. 2008-05-20 07:23:59 +00:00
Georg Brandl 6634bf2919 Tkinter rename reversal: remove tkinter package, adapt imports and docs. 2008-05-20 07:13:37 +00:00