| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
component of a window to NULL after its memory has been
deallocated to avoid a possible illegal memory access
as a result of a call to Tk_PathName() on a Tk_Window
structure of a window that has already been destroyed.
[Tk bug 521946]
FossilOrigin-Name: b0622bc882ffe5036314560dd0c4678f2ad3ee92
|
|
|
|
|
|
|
|
| |
memory with ckalloc not malloc. This keeps
Tk from erroring out when built with
TCL_MEM_DEBUG.
FossilOrigin-Name: 03e2b01f81c64038608049573d7ee03104e16c1f
|
|
|
| |
FossilOrigin-Name: 92af4f1df4c72b3d61a34c61745ca9e80d69d74b
|
|
|
|
|
|
|
| |
* generic/tkInt.h: changed warpInProgress boolean from int to a
bit in the flags variable (TK_DISPLAY_IN_WARP)
FossilOrigin-Name: 6c6a1f616f68808270aa1c99e33da30973656a4c
|
|
|
| |
FossilOrigin-Name: b5a08bfb65fa65081b407e4909d9648ce8893094
|
|
|
|
|
|
|
|
|
| |
* unix/tkUnixKey.c (TkpGetString):
* generic/tkEvent.c (Tk_HandleEvent):
* generic/tkInt.h: changed useInputMethods boolean from int to a
bit in the flags variable (TK_DISPLAY_USE_IM)
FossilOrigin-Name: e07ed1cc5a967c0b9363ff1d0b2bf5dda93e30e8
|
|
|
|
|
|
|
|
|
| |
* generic/tkCmds.c (Tk_WmObjCmd):
* unix/tkUnixWm.c (Tk_WmCmd):
* win/tkWinWm.c (Tk_WmCmd): changed wmTracing from being an int to
just a bit in the flags variable (TK_DISPLAY_WM_TRACING)
FossilOrigin-Name: bdc985bf1e3425faffc75d12dd8d12dae526486f
|
|
|
| |
FossilOrigin-Name: fb49550f9a9154838aa2e800cf6aa4a94264d9c5
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tkUnixEvent.c (OpenIM):
* unix/tkUnixKey.c (TkpGetString):
* generic/tkInt.h: added TK_USE_XIM_SPOT flag bit for TkDisplay
and used this to allow a runtime check to see if over-the-spot XIM
is possible. If not it will try and fallback to the old-style
input context, which handles things like dead keys input.
FossilOrigin-Name: f90dbdf6569d10b781b5d6833561518c76a9f665
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkDecls.h: Tk_CollapseMotionEvents API which controls
* generic/tkEvent.c: Tk's collapsing of incoming motion events
* generic/tkInt.h: on its windows. The default remains to do
* generic/tkStubInit.c: collapsing. Added a flags parameter to the
* generic/tkWindow.c: internal display structure to support this
* doc/QWinEvent.3: and be used in the future for other bits.
FossilOrigin-Name: d7c9b34a70edc02037561a0e13a3a0f074580623
|
|
|
| |
FossilOrigin-Name: af827bbecdafb1b3e8cc97f8baa131f405f80eca
|
|
|
|
|
|
| |
function to avoid compiler error with VC++.
FossilOrigin-Name: 1eb4ae1d266d719689de32e27eac4f61eb2f8a20
|
|
|
| |
FossilOrigin-Name: 8973d74d1804811c00b8c0602b293c271b61fbb0
|
|
|
|
|
|
| |
Tk_GetAtomName in order to avoid compiler warning.
FossilOrigin-Name: cc516b139caf463e77c69044e8c21d2103b2dd03
|
|
|
| |
FossilOrigin-Name: e3ef54b46e02cfce872691fe9f3f5d6a80818c36
|
|
|
| |
FossilOrigin-Name: cf65916f266eb096467d2121fec363b9fe719b3f
|
|
|
| |
FossilOrigin-Name: 56886018de3390fc232c44fce8fccb921a1911d9
|
|
|
|
|
|
|
|
|
|
| |
(patch from Neil McKay).
* Add CirculateRequest, Create, MapRequest, ResizeRequest,
and ConfigureRequest event types;
* Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER,
TK_WIN_MANAGED, and TK_TOP_HIERARCHY.
FossilOrigin-Name: ad38fbacd7328c607131ee691e933fcc9aa67d3e
|
|
|
|
|
|
| |
to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter.
FossilOrigin-Name: fc6c28a712d86e2a1f18de3ce33d612edca0b21c
|
|
|
| |
FossilOrigin-Name: 76d94990256a8ab8f78b017468543535b06b3b7f
|
|
|
|
|
|
| |
<royterry@earthlink.net> for his assistence with this.
FossilOrigin-Name: 63d761c9fe7c2b364b644ddc6ff97566efef8278
|
|
|
| |
FossilOrigin-Name: fbcab50453e2286611c4747f2d42fce87a1af4d2
|
|
|
| |
FossilOrigin-Name: 9b5f7ecc695132915b30f60095686bf35211e685
|
|
|
| |
FossilOrigin-Name: 7084752cc1be137e6ef4ba7d6d4bf201c05a6f32
|
|
|
| |
FossilOrigin-Name: e0d4e3a4f9e1c18850f1720f475abcaba0eb811c
|
|
|
|
|
|
|
| |
* tests/wm.test: Move wm minsize and wm maxsize
usage tests into the cross platform wm tests.
FossilOrigin-Name: 52e7d297f27a0720ec2c249dca41a6a58d9db969
|
|
|
|
|
|
|
| |
* tests/defs.tcl: Added enhancements to Tk's fake version of
tcltest required by recent cursor.test changes.
FossilOrigin-Name: 2fcc76d8105283a0c48bcc17b77015ec7ef4ce7d
|
|
|
| |
FossilOrigin-Name: 4cbec30087ab76fe37f011d2eef28bda678f043f
|
|
|
|
|
|
|
|
|
|
| |
a POTENTIAL INCOMPATIBILITY.
* doc/wm.n: Remove "some window managers will" text
and explicitly state what behavior a transient
window will display. Also mention that it is an
error to make a window a transient of itself.
FossilOrigin-Name: 15f78072e4c62acfbfe68a9bd5ce9a5a4b8f5545
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/clrpick.tcl (tk::dialog::file::chooseDir):
* library/msgbox.tcl (tk::MessageBox):
* library/tkfbox.tcl (tk::dialog::file):
* library/xmfbox.tcl (tk::MotifFDialog): Remove the
transient property on dialogs after they have been
dismissed to insulate them from further state changes
in the master. This keeps a withdrawn dialog from
being mapped when the master is deiconified. [Tk patch 568278]
FossilOrigin-Name: e3449e31355a45e3e239f8ad595515b228bd311c
|
|
|
|
|
|
|
| |
2002-06-06 because it broke the ability to use built-in cursors
like left_ptr.
FossilOrigin-Name: 9dee7eedf2f29d6b8eeb6f8e9c2250c1fdb95ad4
|
|
|
| |
FossilOrigin-Name: 56735136911d6920a2d38e8924407651721b7931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/clrpick.tcl (tk::dialog::color):
* library/dialog.tcl (tk_dialog):
* library/msgbox.tcl (tk::MessageBox):
* library/tkfbox.tcl (tk::dialog::file):
* library/xmfbox.tcl (tk::MotifFDialog_Create):
Only make the dialog window a transient if
the master is visible. This check already
appeared in some of the dialogs. This patch
just copies the check into those that were
lacking.
FossilOrigin-Name: 627fc4dfc42deeb3dc0a7098e4b91919e6ba543d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
| |
FossilOrigin-Name: ec3df4860b616cfa4a960b17f9cfd4519a2afb67
|
|
|
| |
FossilOrigin-Name: 490767a8ed3439f7f419a237d2ca7e7386868e3a
|
|
|
|
|
|
| |
Reported by Roy Terry <royterry@earthlink.net>.
FossilOrigin-Name: 1307a5e44849d9400128cc7629bf795a9d223341
|
|
|
|
|
|
|
| |
All translations were modified to work with "magic ampersand".
Russian translations added.
FossilOrigin-Name: f34dcf01ddf22dc24ff6457fca33d8e39ad2c134
|
|
|
|
|
|
|
| |
Don't set the bgerror dialog as a transient of
itself since this operation is ill defined.
FossilOrigin-Name: 70bae675185cfdfe4a0012d34a8894a51dcda8fd
|
|
|
|
|
|
| |
supposed to be first-and-foremost a list...
FossilOrigin-Name: a146a14fbcd4ed9776f6e44e4ecf158d6db858f6
|
|
|
| |
FossilOrigin-Name: a07f013b57427f0132695186c5086cc040fc47d1
|
|
|
|
|
|
|
|
|
| |
one char is always one byte, and that required
subfont for the last character in any string is
the same as for the previous character
[Bug #559435] [Patch #559437]
FossilOrigin-Name: bc358b934e8a2165d575175e4920c9422a76d602
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd): Replace
WmInfo's master and masterWindowName members with
a masterPtr member. This implementation is much
simpler and mirrors the Win32 implementation. This
change makes it easy to check the flags of the
master window. No user visible changes.
FossilOrigin-Name: 13269e5d6a55b64c5febe56e0c75cd35f16c0e4e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
if the -variable was created by the radiobutton. [Bug #548765]
FossilOrigin-Name: 43f195e282d0c2f80354413944f3ffaab6c33d5f
|
|
|
|
|
|
| |
displacement. [Bug #556526]
FossilOrigin-Name: b0bf63ff21d0842b6fcc47905d34c0fc6d5e3e47
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|