summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
Commit message (Collapse)AuthorAgeFilesLines
* Added test case wm-forget-2 related to test the fix for bug [e9112ef96e] ↵fvogel2016-03-071-0/+26
| | | | (cherrypicked [a6c6d3bd08])
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * Fix test for the ewmh attributes additionpatthoyts2010-01-231-2/+2
| | |
| | * * tests/wm.test: -transparentcolor added to windows wm attributes testspatthoyts2007-09-041-4/+4
| | |
| | * * macosx/tkMacOSXEmbed.c:das2006-04-221-2/+5
| | | | | | | | | | | | | | | | | | * macosx/tkMacOSXWm.c: * tests/constraints.tcl: * tests/wm.test: sync with 2006-04-18 commit to HEAD. (darley)
| | * 2005-11-16 Don Porter <dgp@users.sourceforge.net>dgp2005-12-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** 8.4.12 TAGGED FOR RELEASE *** * changes: Update changes for 8.4.12 release * mac/tkMacWm.c: Restored consistent error checking and * macosx/tkMacOSXWm.c: messages among different platform's * tests/wm.test: [wm grid] commands. [Bug 1323972]. * win/tkWinWm.c:
| | * * tests/winfo.test: Wait until child window is visiblepatthoyts2005-10-101-3/+3
| | | | | | | | | | | | * tests/wm.test: Modified test to match actual error output.
| | * unix/tkUnixWm.c: Sync with CVS HEAD (r1.47):jenglish2005-01-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #959973 "wm title bug" (support Unicode titles) Fixes: #742882 "Potential division by zero in gridded wm geometry" Use Tcl_GetTime instead of TclpGetTime [#874745] Use Tcl_Panic() instead of "panic" [#865264] Fixes: #632816 "cannot remove transient" Fixes: #568861 "Fix for wm minsize and maxsize commands" tests/unixWm.test, tests/wm.test: Updated test suite for #632816 (unixWm-37.3, unixWm-37.4, wm-grid-1.11, wm-grid-1.12) and #742882 (unixWm-20.9, unixWm-20.11).
| | * * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-291-2/+17
| | | | | | | | | | | | | | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
| | * Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-051-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
| | * missed wm attr testhobbs2004-09-191-2/+2
| | |
| * | TIP #359: Extended window manager hints support for X11.patthoyts2010-01-201-2/+2
| | |
| * | [Bug 1163496]: Allow windows to be set to be transients for withdrawn mastersdkf2010-01-061-1/+18
| | | | | | | | | | | | correctly.
| * | [Bug 2239034] Only frame widgets are acceptable for [wm manage]patthoyts2008-11-151-15/+103
| | |
| * | Backported fixes for handling unmapped parent toplevels. [Bug 2009788, 2028703]patthoyts2008-08-011-1/+38
| | |
* | | Fix 3 tests on Ubuntu 10.4, two of them timing dependent, one wm-dependent.nijtmans2010-05-261-7/+9
| | |
* | | TIP #359: Extended window manager hints support for X11.patthoyts2010-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modern unix window managers use a set of window properties to give hints as to the purpose of a toplevel window. They then use these hints to apply various animation and decoration options based on the type (dialog, menu, tooltip and more). This patch adds a [wm attributes $w -type] option to control and read the type hint and makes use of this for the ttk::combobox and the dialogs raised from the Tk library scripts. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* | | [Bug 1163496]: Allow windows to be set to be transients for withdrawn mastersdkf2010-01-061-1/+18
| | | | | | | | | | | | correctly.
* | | bug 2239034: restrict [wm manage] to Frame type widgetspatthoyts2008-11-151-15/+103
| | |
* | | * unix/tkUnixWm.c: Restored consistency of error messages fromdgp2008-10-081-3/+3
| | | | | | | | | | | | | | | * macosx/tkMacOSXWm.c: [wm iconphoto] with the test suite and across all platforms. [Bug 2021443]
* | | * tests/wm.test: Update expected error messages fromdgp2008-10-081-3/+3
| | | | | | | | | | | | [wm iconphoto] to match the new message. [Bug 2021443]
* | | Fixed some incorrect error string results and removed precision dependencies ↵patthoyts2008-10-061-3/+3
| | | | | | | | | | | | in entry tests
* | | Check wmPtr is valid in TopLevelReqProc to fix [Bug 2028703]patthoyts2008-08-011-1/+11
| | |
* | | Check that the parent has been mapped before calling RemapWindows. [Bug 2009788]patthoyts2008-07-261-1/+28
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-3/+3
|/ /
* | Rewrote so that tests clean up after themselves, not after the preceding test.dkf2008-03-201-885/+945
| |
* | * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:hobbs2007-10-151-2/+48
| | | | | | | | | | | | | | | | * macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c: * doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125] Adds [wm manage|forget] for dockable frames. Finished X11 and Windows code, needs OS X completion.
* | * tests/wm.test: Update wm attributes outputmdejong2006-12-281-4/+4
| | | | | | | | | | so that tests pass after addition of -transparentcolor for Win32.
* | fix tests for TkAquavincentdarley2006-04-181-2/+5
| |
* | (wm-attributes-1.2.4): correct expected resulthobbs2006-04-051-2/+6
| |
* | * doc/wm.n: Add documentation for -fullscreen attribute.mdejong2005-02-171-4/+299
| | | | | | | | | | | | | | | | | | | | | | * tests/winWm.test: Add -fullscreen to wm attribute usage message. * tests/wm.test: Add -fullscreen to wm attribute usage message. Add -fullscreen attribute test cases for Windows. * win/tkWinWm.c (WmInfo, UpdateWrapper, TkpWmSetFullScreen, WmAttributesCmd, UpdateGeometryInfo): Implement TIP 223 [wm attributes -fullscreen].
* | Modified for the latest embedded/container window implementation for Windows ↵chengyemao2005-02-151-2/+30
| | | | | | | | platform
* | Use more tcltest 2 features so test contents can be less cluttered...dkf2005-02-091-224/+267
| |
* | Tidy up coding style (better grouping of related tests)dkf2005-02-091-185/+39
| |
* | * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-291-2/+17
| | | | | | | | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
* | * doc/wm.n (iconphoto): added support for Tk photohobbs2004-10-051-2/+19
| | | | | | | | | | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
* | missed wm attr testhobbs2004-09-191-2/+2
| |
* | Use standard constraint namesdkf2004-06-241-6/+6
| |
* | Fix for #742882 "Potential division by zero in gridded wm geometry"jenglish2004-06-161-3/+3
| |
* | First step towards improving test style. Also start using Tcl 8.5 features.dkf2004-05-231-4/+1
| |
* | Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-3/+3
| |
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
| | | | | | | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* | * doc/wm.n (minimize, maximize): Remove claimmdejong2003-03-121-4/+139
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the resizable command keeps scripts from changing the size of windows since it is not true. The resizable command only applies to user sizing via user interaction. * tests/unixWm.test: Replace broken tests with the nonPortable constraint with new tests for maxsize and minsize options. These tests verify that setting the minsize and maxsize will resize the window if needed, and that the wm hints will be updated with the new sizes. * tests/wm.test: Add an exhaustive set of tests for the wm maxsize and wm minsize commands. These tests verify that setting the minsize and maxsize will resize the window if needed. These tests have only been run under Win98 and Window Maker under Linux, so further tweaking may be needed for other systems. * unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. Pass new width and height values to the UpdateSizeHints method so that it can properly set the window min and max sizes for a window that cannot be resized by the user. This fixes a bug where the window resizes back to the original size when the user clicks on the window border. * win/tkWinWm.c (UpdateGeometryInfo): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. [Patch 568861]
* Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.jenglish2003-01-281-1/+9
| | | | | Reworked windowObj type. Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
* * tests/wm.test: Add wm-transient-6.3 tomdejong2002-12-011-1/+16
| | | | | | | | | | | check that a transient remains withdrawn when it is first withdrawn and then turned into a transient. * unix/tkUnixWm.c: * win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN and set this flag whenever a window is explicitly withdrawn. This fixes the test case added above. [Bug 644356]
* * tests/wm.test:hobbs2002-09-021-1/+20
| | | | | * unix/tkUnixWm.c: remove possible 2-second delay in 'raise'. [Patch #601518] (english) TIP #107
* * tests/wm.test: Add deleteWindows at start ofmdejong2002-08-081-1/+6
| | | | | | | new transient tests so they do not fail if the toplevels already exist. * unix/tkUnixWm.c: Revert patch for Tk Bug #592201 which incorrectly removed numTransients member.
* Fix for Tk Bug #592201 "wm transient fails with two masters".jenglish2002-08-081-1/+57
|