83 Commits

Author SHA1 Message Date
Serhiy Storchaka
96f5020597 [2.7] bpo-30310: tkFont now supports unicode options (e.g. font family). (#1567) 2017-05-26 08:15:51 +03:00
Serhiy Storchaka
199b7d5662 Issue #22115: Fixed tracing Tkinter variables.
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:41:14 +03:00
Serhiy Storchaka
d8b5942f7c Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
2016-06-14 12:46:14 +03:00
Serhiy Storchaka
9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Serhiy Storchaka
0fd213c5d7 Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. 2016-03-09 10:51:41 +02:00
Serhiy Storchaka
f64ccb9acf Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
failure when the test is ran the second time.

The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:32:54 +02:00
Ned Deily
9487043453 Issue #24408: Prevent test_font failures with non-ascii font names. 2015-06-21 13:57:30 -07:00
Serhiy Storchaka
18d69e0edc Issue #24408: Fixed test for tkinter.Font on OS X.
Based on patch by Martin Panter.
2015-06-21 14:41:36 +03:00
Serhiy Storchaka
66f8d75ba8 Issue #24408: Added more tkinter.Font tests. 2015-06-09 07:21:31 +03:00
Serhiy Storchaka
dacd7d0cd6 Use more precise Tcl version checks in tests. 2015-04-23 10:57:15 +03:00
Serhiy Storchaka
dcb12f46d1 Fixed full Tcl version parsing in tests for pre-final versions. 2015-04-22 08:35:53 +03:00
Serhiy Storchaka
f29bc70bff Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
always returns bool.  tkinter.BooleanVar now validates input values (accepted
bool, int, long, str, unicode, and Tcl_Obj).  tkinter.BooleanVar.get() now
always returns bool.
2015-04-04 12:42:25 +03:00
Serhiy Storchaka
7a02582329 Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. 2014-11-07 12:02:11 +02:00
Serhiy Storchaka
e73b8c64b8 Always handle non-handled events before destoying root widget in tests.
This gets rid of  Tcl warnings when they are handled later when the root is
already destroyed.
2014-10-12 20:32:05 +03:00
Serhiy Storchaka
ceaf6827e2 Issue #22226: Added private function _splitdict() in the Tkinter module.
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
2014-09-06 22:47:02 +03:00
Serhiy Storchaka
d3ea06537c Issue #22236: Tkinter tests now don't reuse default root window. New root
window is created for every test class.

Fixed Tkinter images copying operations in NoDefaultRoot mode.

Tcl command names generated for "after" callbacks now contains a name of
original function.
2014-08-24 09:07:09 +03:00
Serhiy Storchaka
95cf98625b Import Tkinter as tkinter to help merging and avoid backporting errors. 2014-08-21 10:00:41 +03:00
Ned Deily
c208fe6789 Issue #1730136: Fix backported exception name. 2014-08-20 22:59:21 -07:00
Serhiy Storchaka
04fa704161 Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"
configure options of tkinter.PhotoImage.

Added private Tkapp method _createbytearray().
2014-07-31 07:48:14 +03:00
Serhiy Storchaka
186f66540d Issue #1730136: Fix comparison between a tk Font object and an object of a
different type.
2014-07-24 17:48:28 +03:00
Serhiy Storchaka
9cb68ca927 Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()
from 6ae34a948cb4.
2014-07-23 22:06:26 +03:00
Zachary Ware
9ce635f7bd Issue #18492: Allow all resources when tests are not run by regrtest.py.
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:16 -05:00
Serhiy Storchaka
f94686f6b8 Issue #6181: Fixed minor bugs in tkinter.Listbox methods:
bbox(), curselection() and get().
2014-06-02 21:30:53 +03:00
Serhiy Storchaka
e75a555073 Issue #21605: Added tests for Tkinter images. 2014-06-01 12:34:42 +03:00
Serhiy Storchaka
adad50c8fb Added missed calls of splitlist(). 2014-06-01 11:21:34 +03:00