Commit Graph

353 Commits

Author SHA1 Message Date
Serhiy Storchaka fabdc827a5 Issue #24408: Added more tkinter.Font tests. 2015-06-09 07:21:00 +03:00
Serhiy Storchaka c0ed707b2f Issue #24408: Added more tkinter.Font tests. 2015-06-09 07:18:54 +03:00
Serhiy Storchaka 4fafda731a Issue #24408: Fixed AttributeError in measure() and metrics() methods of
tkinter.Font.
2015-06-08 18:43:55 +03:00
Zachary Ware 7dc9dea778 Issue #20035: Reimplement tkinter._fix module as a C function.
The new private C function makes no permanent changes to the environment
and is #ifdef'd out on non-Windows platforms.
2015-05-22 11:36:53 -05:00
Serhiy Storchaka e98209c2b4 Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
2015-05-20 16:10:04 +03:00
Serhiy Storchaka 645058d11a Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.
Tkinter's getdouble() now supports any numbers (in particular int).
2015-05-06 14:00:04 +03:00
Serhiy Storchaka f28d54d3b9 Use more precise Tcl version checks in tests. 2015-04-23 10:58:15 +03:00
Serhiy Storchaka 3bd66abb94 Use more precise Tcl version checks in tests. 2015-04-23 10:57:40 +03:00
Serhiy Storchaka aec0509193 Fixed full Tcl version parsing in tests for pre-final versions. 2015-04-22 08:36:41 +03:00
Serhiy Storchaka 462c357d70 Fixed full Tcl version parsing in tests for pre-final versions. 2015-04-22 08:36:03 +03:00
Berker Peksag dfa4e045a3 Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2015-04-14 09:35:51 +03:00
Berker Peksag 4882cacab6 Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2015-04-14 09:30:01 +03:00
Brett Cannon f299abdafa Issue #23731: Implement PEP 488.
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
2015-04-13 14:21:02 -04:00
Serhiy Storchaka 06e66108c6 Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
returns bool.  tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj).  tkinter.BooleanVar.get() now always returns bool.
2015-04-04 12:44:30 +03:00
Serhiy Storchaka 9a6e201f7d Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
returns bool.  tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj).  tkinter.BooleanVar.get() now always returns bool.
2015-04-04 12:43:01 +03:00
Serhiy Storchaka 7c28999cb2 Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. 2014-11-07 12:03:09 +02:00
Serhiy Storchaka 8e92f57274 Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. 2014-11-07 12:02:31 +02:00
Zachary Ware 740e1dcdc2 Issue #17896: Move Windows external lib sources from .. to externals. 2014-11-01 22:48:24 -05:00
Zachary Ware 4b2b1de0bd Issue #17896: Move Windows external lib sources from .. to externals. 2014-11-01 22:39:21 -05:00
Serhiy Storchaka 0f032a0456 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:36:03 +03:00
Serhiy Storchaka 4cfb5bee89 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:35:30 +03:00
Terry Jan Reedy e66dc2aecc Merge with 3.4: decolourize 2014-10-09 18:45:07 -04:00
Terry Jan Reedy 867579972d De-'colour'ize stdlib except for idlelib.configDialog.
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
2014-10-09 18:44:32 -04:00
Serhiy Storchaka 4ff91eb5e3 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:18:31 +03:00
Serhiy Storchaka 9502487781 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:32 +03:00
Serhiy Storchaka 87a2803eb4 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:49:07 +03:00
Serhiy Storchaka 8f0a1d0f28 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:58 +03:00
Serhiy Storchaka 66106626ed 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:10:58 +03:00
Serhiy Storchaka d00aff2f62 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:47 +03:00
Serhiy Storchaka 0879001f00 Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter. 2014-08-17 15:32:42 +03:00
Serhiy Storchaka 87bbf257ef Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter. 2014-08-17 15:31:59 +03:00
Serhiy Storchaka 26f9feb3b3 Back out of changes to Tkinter variables trace commands (issue #22085). 2014-07-31 07:46:08 +03:00
Serhiy Storchaka 6716d60cec Issue #22085: Dropped support of Tk 8.3 in Tkinter. 2014-07-30 19:19:21 +03:00
Serhiy Storchaka f44611cadf Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.
2014-07-30 18:34:01 +03:00
Serhiy Storchaka 74596a887a Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.
2014-07-30 18:33:13 +03:00
Serhiy Storchaka 68a470f65d Issue #22061: Restored empty obsolete methods removed in issue #4350 and
added deprecation warnings to them.
2014-07-25 12:29:40 +03:00
Serhiy Storchaka 1a901cc952 Issue #22061: Add deprecation warnings in empty obsolete methods. 2014-07-25 12:24:07 +03:00
Serhiy Storchaka e6d9805ec4 Issue #4350: Removed a number of out-of-dated and non-working for a long time
Tkinter methods.
2014-07-23 22:33:50 +03:00
Serhiy Storchaka 1ce2289342 Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()
from 6ae34a948cb4.
2014-07-23 22:08:45 +03:00
Serhiy Storchaka 320f339131 Issue #6167: Scrollbar.activate() now returns the name of active element if
the argument is not specified.  Scrollbar.set() now always accepts only 2
arguments.  Added tests for Scrollbar.activate() and Scrollbar.set().
2014-07-23 22:00:44 +03:00
Zachary Ware e7e1375e57 Issue #18492: Merge with 3.4 2014-06-02 16:04:25 -05:00
Zachary Ware 66f2928479 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:29 -05:00
Serhiy Storchaka 07bcf14b60 Issue #6181: Fixed minor bugs in tkinter.Listbox methods:
bbox(), curselection() and get().
2014-06-02 21:32:49 +03:00
Serhiy Storchaka fc14ad9962 Issue #6181: Fixed minor bugs in tkinter.Listbox methods:
bbox(), curselection() and get().
2014-06-02 21:31:07 +03:00
Serhiy Storchaka 0db1a52227 Issue #6181: Fixed errors in tkinter.Listbox docstrings.
Based on patch by Guilherme Polo.
2014-06-02 16:52:16 +03:00
Serhiy Storchaka ca3cd004f3 Issue #6181: Fixed errors in tkinter.Listbox docstrings.
Based on patch by Guilherme Polo.
2014-06-02 16:51:44 +03:00
Serhiy Storchaka 3ffa7ab2ef Issue #21605: Added tests for Tkinter images. 2014-06-01 12:36:39 +03:00
Serhiy Storchaka 694c3153b0 Issue #21605: Added tests for Tkinter images. 2014-06-01 12:34:56 +03:00
Serhiy Storchaka 05ef4d3ead Added missed calls of splitlist(). 2014-06-01 11:22:21 +03:00
Serhiy Storchaka 8381f90ee0 Added missed calls of splitlist(). 2014-06-01 11:21:55 +03:00