| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: 3f2db3b4e12e6a79d1b9a84887483e4fc1da9bd6
|
|
|
|
|
|
|
| |
* macosx/tkMacOSXWm.c: [wm iconphoto] with the test suite and across
all platforms. [Bug 2021443]
FossilOrigin-Name: 5059871b859dc024e48f5d9c89c8487feb40e6dc
|
|
|
|
|
|
| |
[wm iconphoto] to match the new message. [Bug 2021443]
FossilOrigin-Name: 001b25a8e2f2f3d9edee132c06439ab2a2ddfd5f
|
|
|
|
|
| |
in entry tests
FossilOrigin-Name: 8b1e5e36ffab41bc77f0bdc9effadf5798afc361
|
|
|
| |
FossilOrigin-Name: 74f3c9813d04e65069301ff28a4d8f860124a5e7
|
|
|
| |
FossilOrigin-Name: 08c95e0bf7ad266336e5c9d7f4c31a05447b111e
|
|
|
| |
FossilOrigin-Name: def570d7bdd7211b4c17c706781050222d16890f
|
|
|
| |
FossilOrigin-Name: 3a036b1b70211ce93158f3c035569ac680da68fe
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: 64f2c3cc7b49703bd34d9a17d043dc7c4d4ce995
|
|
|
|
|
|
|
| |
so that tests pass after addition of
-transparentcolor for Win32.
FossilOrigin-Name: 9b6fc1d4d44036cc5b6d70c40ecd15684a19590b
|
|
|
| |
FossilOrigin-Name: b8ddb299b6bd6873f85bf3b3c197851c4bf94949
|
|
|
| |
FossilOrigin-Name: c14beb210aed99a5c9f3d08b218c4b6335715218
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
FossilOrigin-Name: ccc511b09d1e067130758ee044fc476810c31a63
|
|
|
|
|
| |
platform
FossilOrigin-Name: aafb22fa04056cf2cf3bc4517b0c4b6167e44e90
|
|
|
| |
FossilOrigin-Name: cc18c3feb45bc2b5dc363f3a89dbd6a79da7d779
|
|
|
| |
FossilOrigin-Name: ec83248e2f017fe67641e1ea93ccd3d9b7fae7cb
|
|
|
|
|
|
|
|
| |
subcommand.
* win/tkWinWm.c (WmAttributesCmd): Fixup broken
option processing logic for attributes subcommand.
FossilOrigin-Name: ad5c91fdde6b8fff79a32e6743178a978da6b1cd
|
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 96b7bb4f893670fa9c634d5ff0ccda037ad686b2
|
|
|
| |
FossilOrigin-Name: 0a4b1ea276bad8bb15e66d7c4e639fd69c87e534
|
|
|
| |
FossilOrigin-Name: b68974466ed32e033503df6749aeba87a041e4f6
|
|
|
| |
FossilOrigin-Name: 4ca47059991de03c386b154f86b55de423cfb8d9
|
|
|
| |
FossilOrigin-Name: 8e6c4d129ce99dffc495e03b82bb2f284e6c1ffb
|
|
|
| |
FossilOrigin-Name: 28ec831e756a8fba6e184ce2667ee594c4901904
|
|
|
|
|
|
|
| |
* tests/constraints.tcl: -loadfile to hold definitions
* tests/*.test: common to all test files.
FossilOrigin-Name: 01af81ecf20f3111d08ac51117da1c5ca09c567d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
FossilOrigin-Name: 1047136cd828a543b628dac9491711e6f662cb3e
|
|
|
|
|
|
|
| |
Reworked windowObj type.
Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
FossilOrigin-Name: f02d9ee02ce346aa3fee49bee5a9ed47d5cf4d8a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
FossilOrigin-Name: 35f7ae4fdc9831ebce4991bb57ad16ee1347afd6
|
|
|
|
|
|
|
| |
* unix/tkUnixWm.c: remove possible 2-second delay in 'raise'.
[Patch #601518] (english) TIP #107
FossilOrigin-Name: 1d77e81a202a0a43c9f2463d6bccacb8640c53a5
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 8bf516653dec88df045f4ede9bd20a29f36a2772
|
|
|
| |
FossilOrigin-Name: 4e600e965166da9366159ab1c056fa4f581c2dc9
|
|
|
| |
FossilOrigin-Name: 92401d20cc4325169eeb6ae277fea3cd22014fb3
|
|
|
| |
FossilOrigin-Name: d5cee69da5b97ba8cb9ce46fc2770f0605d39e2a
|
|
|
|
|
|
| |
tcltest 2.1.
FossilOrigin-Name: 3892bfbf58651928daf7fae82d0d6453eb050f88
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and already mapped toplevel are raised and receive
the focus when deiconified.
* tests/wm.test: Add wm deiconify tests. Check that
a toplevel that has never been mapped is not mapped
by the deiconify command since it should be done
at idle by MapFrame.
* win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED
flag while processing the wm deiconify command.
The WM_UPDATE_PENDING flag should never be set when
WM_NEVER_MAPPED is set, but double check so that
the implementation is more explicit and matches
the comment just above.
Return without invoking TkWmRestackToplevel or
TkSetFocusWin on a toplevel that has never been
mapped. This fixes a bug where a toplevel is mapped
with the wrong size and is then resized by the
idle call to MapFrame. [Tk bug 233150]
FossilOrigin-Name: 1dd500e6c2a03f2824568f52e6022bb3e9d985ff
|
|
|
|
|
|
|
|
|
|
|
|
| |
calls to wm transient tests so that idle handlers get
run. This is needed to get the tests to pass under Win32.
* unix/tkUnixWm.c (WmWaitMapProc): Move the special
transient withdrawn check into the if body to
make it easier to set a breakpoint on this test
inside a debugger. No functional changes.
* win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.
FossilOrigin-Name: 033a5a14b699169c2ef9e9277c3b97bbfac41cd4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
transient does not get remapped by state changes
in the master.
* unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc):
* win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc):
Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the
withdraw, deiconify, or state wm subcommands. Check
this flag before mapping a transient when processing
a MapNotify event. [Tk bug 570764]
FossilOrigin-Name: 18c2fcbb3135b4363ddb86da2a2e33b37dbbe0e5
|
|
|
|
|
|
|
| |
* tests/wm.test: Move wm minsize and wm maxsize
usage tests into the cross platform wm tests.
FossilOrigin-Name: 52e7d297f27a0720ec2c249dca41a6a58d9db969
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: b05e1154cf5528e467289fd82864e519f2a7c69b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/wm.test: Check that setting a window
as a transient of itself raises an error. Check
that passing a non-toplevel window to the wm
transient command uses the enclosing toplevel.
* unix/tkUnixWm.c (Tk_WmCmd): Raise an error
if the user tries to make a toplevel a
transient of itself.
* win/tkWinWm.c (Tk_WmCmd): Raise an error
if the user tries to make a toplevel a
transient of itself. Test for other error
before checking for the transient self error.
FossilOrigin-Name: c9b836ac06039b02353fba98ada7fb240b3fb2b4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkIntPlatDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* tests/wm.test: Test state changes between iconic,
normal, and withdrawn both before and after initial
mapping.
* unix/tkUnixWm.c (Tk_WmCmd, TkpWmSetState): Move
state change code into TkpWmSetState to more closely
match the Win32 implementation. No functional changes.
FossilOrigin-Name: 4f8883ed4b1b2d41c7beed32ab103ff4b8a2f0c6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check that window passed to -use has the -container
option set.
* tests/wm.test: Remove useless catch call. Deiconify
. just in case, stackorder tests will not pass unless
it is in the normal state. Add -container flag to
embedded stackorder test.
* unix/tkUnixEmbed.c (TkpUseWindow):
* win/tkWinEmbed.c (TkpUseWindow): Lookup Tk window
based on the id passed in as the value for -use.
Generate an error if the Tk window did not have
the -container option set.
FossilOrigin-Name: 45a2053f23903de93a1d692f69fb0c79323eb69f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: 7e89e7df59b461e3f3179063e3ef13a04505a48c
|
|
|
|
|
|
|
|
|
|
| |
* tests/wm.test: Add embedded Window test case for
the stackorder command.
* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap):
* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap):
Ignore embedded windows during wm stackorder command.
FossilOrigin-Name: 847f6d256e60a0a9036c23b1f727ceacf69aa64b
|
|
|
|
|
|
|
|
|
|
|
| |
* mac/tkMacWm.c:
* tests/wm.test:
* unix/tkUnixWm.c:
* win/tkWinWm.c: Update wm stackorder usage message
to make it clear that either 1 or 3 arguments are
required. [Bug 540013]
FossilOrigin-Name: 6a63d1d7a0f1be3097d743ebd8b1a1c3c46b07b5
|
|
|
|
|
|
|
| |
deal with toplevels that have the overrideredirect
flag set. [Tk bug 492259]
FossilOrigin-Name: 9dab9a25b927b3b5bf2ce3a937e8b88b01be2c52
|
|
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.
FossilOrigin-Name: 45e73f13a603eba5167ba98b8dbe8ecbbab7a443
|