summaryrefslogtreecommitdiffstats
path: root/tests/unixWm.test
Commit message (Collapse)AuthorAgeFilesLines
* Dup test IDsdgp2010-08-031-4/+4
|
* TIP #359: Extended window manager hints support for X11.patthoyts2010-01-201-2/+49
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * tests/unixWm.test: note TIP#142 results and remove unnecessaryhobbs2007-10-301-150/+148
| | | | catches.
* * tests/constraints.tcl: ensure 'nonUnixUserInteraction' constraint isdas2007-05-091-3/+3
| | | | | | | | | | | set for aqua. * tests/choosedir.test: add 'notAqua' constraints to X11-only tests; * tests/clrpick.test: add 'nonUnixUserInteraction' to 'unix' tests * tests/menuDraw.test: requiring interaction on aqua. * tests/unixMenu.test: * tests/unixWm.test: * tests/winMenu.test:
* Added support for [wm attributes] on X11 [TIP#231, patch#1062022].jenglish2005-11-161-6/+32
|
* * doc/wm.n (iconphoto): added support for Tk photohobbs2004-10-051-3/+16
| | | | | | | | * 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]
* Use standard constraint namesdkf2004-06-241-2/+2
|
* Steps towards systematization of test constraints in Tk test suitedkf2004-06-171-3/+1
|
* Fix for #742882 "Potential division by zero in gridded wm geometry"jenglish2004-06-161-3/+3
|
* * tests/constraints.tcl:When running the test suite in a processdgp2003-11-181-5/+11
| | | | | | | | * tests/image.test: where Tk has been [load]ed, there's no * tests/select.test: guarantee that child processes created by * tests/unixWm.test: [exec [interpreter]] will have Tk in them. * tests/window.test: Made modifications to force a [load] of Tk in those situations.
* Delete WM_TRANSIENT_FOR property instead of setting it to Nonejenglish2003-10-151-3/+3
| | | | when making a window nontransient [Bug #632816 "cannot remove transient"]
* * tests/all.tcl: Made better use of a commondgp2003-04-011-10/+3
| | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13dgp2003-03-181-2/+2
| | | | commit. Thanks Larry Virden. [Bug 705567]
* * tests/unixWm.test: Constrained all tests older than revision 1.21dgp2003-03-131-170/+170
| | | | | | to run only on Unix. Alternative approach did not match maintainer habits. * tests/spinbox.test (spinbox-17.4): Avoid long failure message.
* * tests/unixWm.test: Add the testwrappermdejong2003-03-121-7/+7
| | | | | | constraint to tests that depend on the testwrapper command. These tests should not be run under Windows for example.
* * doc/wm.n (minimize, maximize): Remove claimmdejong2003-03-121-22/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* * tests/unixWm.test: Add short delay to test unixWm-51.7mdejong2002-11-071-1/+3
| | | | | to account for raise/lower changes in TIP 107. This allows the test case to pass under Window Maker on Linux.
* * tests/unixWm.test (unixWm-50.3): Constrained test that hangsdgp2002-09-061-2/+2
| | | | on Windows.
* * tests/unixWm.test: Corrected packaging of unixWm-50.3 so thatdgp2002-08-081-5/+9
| | | | | [setupbg] and [cleanupbg] always balance, no matter what tests are skipped.
* Objectifed wm. [Patch #564521]pspjuth2002-07-251-37/+37
|
* * Some tests needed "unix" constraint.dgp2002-07-151-3/+3
|
* * Fixes for [Bug 581627].dgp2002-07-151-5/+5
| | | | | | | | * generic/tkTest.c: Test commands not supported on non-Unix platforms should not be defined there in the first place. * tests/constraints.tcl: Fixed "secureserver" constraint. * tests/unixWm.test: Some tests needed "unix" constraint. * win/tkWinWm.c: Typo in error message.
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-3/+1
|
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-22/+15
|
* * Converted several files in the Tk test suite for testing bydgp2002-07-121-102/+88
| | | | tcltest 2.1.
* * Converted several files in the Tk test suite for testing bydgp2002-07-121-8/+14
| | | | tcltest 2.1.
* * doc/wm.n: TIP #95 Windows implementation andhobbs2002-06-221-18/+15
| | | | | | | | * mac/tkMacWm.c (Tk_WmCmd): docs with mac and unix stubs. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): * tests/unixWm.test: * tests/winWm.test: more wm attr tests will be needed.
* corrected test numberinghobbs2002-06-141-4/+4
|
* * tests/unixWm.test:mdejong2002-06-131-45/+5
| | | | | * tests/wm.test: Move wm minsize and wm maxsize usage tests into the cross platform wm tests.
* * changes: Add note about new transient behavior.mdejong2002-06-121-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/unixWm.test: Check that the WM_TRANSIENT_FOR property for a transient window is being cleared when the master is destroyed. * tests/wm.test: Source defs.tcl instead of using tcltest to match the rest of Tk's test files. Add new tests that ensure that a transient's state mirrors the state of the master. * unix/tkUnixWm.c (WmInfo, TkWmNewWindow, TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd, WmWaitMapProc): Add numTransients member to WmInfo structure. Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. When the master is mapped, map the transient. When the master is unmapped or iconified, withdraw the transient. * win/tkWinWm.c (TkWmMapWindow, TkpWmSetState, TkWmDeadWindow, Tk_WmCmd, WmWaitVisibilityOrMapProc): Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. Move masterPtr check from TkpWmSetState into TkWmMapWindow to deal with WM_NEVER_MAPPED transients. Cleanup numTransients and the callback in TkWmDeadWindow. Cleanup numTransients and the callback only after deleting a master in wm transient command to avoid deleting the callback when an error is raised. Add support for MapNotify and UnmapNotify events to the master callback.
* * mac/tkMacWm.c (Tk_WmCmd):mdejong2002-05-241-7/+1
| | | | | | | | | | | * tests/unixWm.test: Move wm transient checks over to wm.test so they will be run on all systems. * tests/wm.test: Add tests to check for error when an iconwindow is passed to the wm transient command. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): Raise an error if one of the windows passed to the wm transient command is an iconwindow for another toplevel.
* Add TK patch 481148 to implement TIP 74, themdejong2001-12-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | wm stackorder command. * doc/winfo.n: Update documentation for the winfo children command to indicate that top-level windows are not returned in stacking order. * doc/wm.n: Add documentation for wm stackorder. * generic/tkInt.decls (TkWmStackorderToplevel): Add decl for new function. * generic/tkIntDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/unixWm.test: Add stackorder command to test for wm command usage message. * tests/wm.test: Add new set of tests for generic window manager methods. * unix/tkUnixWm.c (Tk_WmCmd, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add unix implementation of new wm stackorder command. * win/tkWinWm.c (Tk_WmCmd, TkWmStackorderToplevelEnumProc, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add windows implementation of new wm stackorder command.
* Replaced all [load {} tk] in Tk test suite with [load {} Tk].dgp2001-03-281-2/+2
| | | | [Bug 220940, Patch 411952]
* * library/tkfbox.tcl: Moved an overlooked tkFDialog* function inscriptics_sc_2_0_fixedscriptics_sc_2_0_b5ericm2000-03-291-1/+27
| | | | | | | | | | | | | | ::tk::dialog::file namespace. * tests/unixWm.test: Added tests for memory leak conditions in tkUnixWm.c. * tests/canvas.test: Added test for bad configuration options on empty and non-empty canvas. * generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of CanvasWidgetCmd; this was causing non-empty canvases to improperly handle bad configuration options [Bug: 4456].
* * tests/winWm.test:hobbs2000-01-121-2/+22
| | | | | | | | | | | * tests/unixWm.test: * mac/tkMacWm.c: * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377] * win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077], fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338] and fixed mapping of transient window [Bug: 572] Also, for all wm's, extended 'wm state' command to allow setting of the state, and added official support of 'zoomed' state on Win.
* * tests/unixWm.test: nonPOrtable -> nonPortablehobbs1999-12-221-2/+2
|
* Added a couple of extra update calls to prevent some window managers fromwart1999-12-161-1/+3
| | | | forcing users to manually place toplevels.
* * tests/bind.test:hobbs1999-12-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/canvImg.test: * tests/canvPsArc.tcl: * tests/canvPsImg.tcl: (new file) * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test: * tests/defs.tcl: * tests/entry.test: * tests/event.test: * tests/font.test: * tests/frame.test: * tests/imgPhoto.test: * tests/safe.test: * tests/scale.test: * tests/scrollbar.test: * tests/select.test: * tests/text.test: * tests/textDisp.test: * tests/textTag.test: * tests/unixFont.test: * tests/unixWm.test: * tests/visual_bb.test: * tests/winClipboard.test: tests for the dash patch changes
* Merged 8-1-0 into mainline.rjohnson1999-04-211-1/+1
|
* changed tests--marked some nonPortable; added new constraints to fix bug 1770hershey1999-04-191-2/+2
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-21/+72
|
* * tests/main.test:stanton1999-02-041-1/+2
| | | | | | * tests/unixWm.test: Better cleanup of temporary files. Lint.
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* skips tests that require tktest executablehershey1998-08-121-0/+6
|
* Initial revisionrjohnson1998-04-011-0/+2352