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
Terry Jan Reedy
1375538b1a
De-'colour'ize stdlib except for idlelib.configDialog.
...
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
2014-10-09 18:44:26 -04:00
Serhiy Storchaka
2971c5e97d
Issue #22384 : An exception in Tkinter callback no longer crashes the program
...
when it is run with pythonw.exe.
Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.
2014-09-14 21:17:16 +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
44ae51347c
Issue #22068 : Avoided reference loops with Variables and Fonts in Tkinter.
2014-08-17 15:31:41 +03: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
2ce9ddd041
Issue #22061 : Add deprecation warnings in empty obsolete methods.
2014-07-25 12:23:08 +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
Raymond Hettinger
b606d45fb2
Issue #21868 : Prevent turtle crash due to invalid undo buffer size.
2014-07-20 21:26:04 -07:00
Terry Jan Reedy
f7f746a828
Issue #21882 : In turtle demos, remove module scope gui and sys calls by
...
moving them to the module's main function.
2014-06-30 16:09:16 -04: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
417367a48a
Issue #6181 : Fixed errors in tkinter.Listbox docstrings.
...
Based on patch by Guilherme Polo.
2014-06-02 16:50:03 +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
Serhiy Storchaka
edb6428e43
Issue #21402 : tkinter.ttk now works when default root window is not set.
2014-05-28 18:38:15 +03:00
Serhiy Storchaka
65994395ce
Fixed new Tkinter tests added in issue #21522 with Tk 8.4.
2014-05-23 23:57:46 +03:00
Serhiy Storchaka
4f0e167414
Issue #21522 : Added Tkinter tests for Listbox.itemconfigure(),
...
PanedWindow.paneconfigure(), and Menu.entryconfigure().
2014-05-23 14:08:31 +03:00
Serhiy Storchaka
f19771f831
Issue #20635 : Added tests for Tk geometry managers.
2014-05-23 13:54:35 +03:00
Zachary Ware
2460dc880f
Issue #18604 : Consolidated checks for GUI availability.
...
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in runtktests.check_tk_availability. Also, every platform checks whether
Tk can be instantiated (if the platform-specific checks passed).
2014-05-02 10:33:49 -05:00
Terry Jan Reedy
09f4f253b5
Issue #15618 : Make turtle.py itself work when run from a module with
...
from __future__ import unicode_literals. Initial patch by Juancarlo Añez.
The demos at the end of turtle.py appear to be the only test, so I changed
some of the strings to unicode with a u prefix. If os.path.isfile or the Tk
image function have problems with Unicode input, that would be different issue.
2014-03-05 23:15:57 -05:00
Serhiy Storchaka
3e0cb09e33
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:33:30 +02:00
Serhiy Storchaka
942aaac705
Issue #19761 : Fixed Tkinter tests on OS X.
2014-02-03 21:33:21 +02:00
Serhiy Storchaka
ccffb25c54
Issue #20368 : The null character now correctly passed from Tcl to Python (in
...
unicode strings only). Improved error handling in variables-related commands.
2014-02-03 21:23:46 +02:00
Serhiy Storchaka
2e27ddd5a7
Fixed typo.
2014-01-13 14:22:45 +02:00
Serhiy Storchaka
2bca9deecb
tkinter.Text.debug() now always returns 0/1.
...
Fixed regression inroduced in issue #6157 .
2014-01-11 13:12:58 +02:00
Serhiy Storchaka
6183f70119
Try to fix some ttk tests. Error messages were changed in 8.6b3.
2014-01-11 00:09:50 +02:00
Serhiy Storchaka
9be238d313
Issue #20072 : Fixed multiple errors in tkinter with wantobjects is False.
...
* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
LabelFrame.panes() now always return a tuple.
* Fixed _stringify() for non-ASCII strings.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
2014-01-07 19:32:58 +02:00
Serhiy Storchaka
dbb9630c53
Backported tests for Tkinter variables.
2013-12-26 20:08:34 +02:00
Serhiy Storchaka
5e11655156
Issue #20067 : Tkinter variables now work when wantobjects is false.
2013-12-26 20:05:53 +02:00
Serhiy Storchaka
0356ff0493
test_debug in test_tkinter/test_text no longer fails when wantobjects is false.
2013-12-25 17:35:11 +02:00
Serhiy Storchaka
ec773cc9c3
Issue #19020 : Tkinter now uses splitlist() instead of split() in configure
...
methods.
2013-12-25 16:35:20 +02:00
Serhiy Storchaka
7610ec2693
Fixed merging error in changeset 3912934e99ba (issue #19733 ).
2013-11-24 18:26:20 +02:00
Serhiy Storchaka
9ec0722723
Issue #19733 : Temporary disable test_image on MacOSX.
2013-11-23 15:22:20 +02:00
Serhiy Storchaka
62cd124ada
Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654).
2013-11-21 19:24:04 +02:00
Antoine Pitrou
ca035a8b66
Fix buildbot failure
2013-11-17 21:27:20 +01:00
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