summaryrefslogtreecommitdiffstats
path: root/tests/unixWm.test
Commit message (Collapse)AuthorAgeFilesLines
* * 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 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