| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
<royterry@earthlink.net> for his assistence with this.
FossilOrigin-Name: 63d761c9fe7c2b364b644ddc6ff97566efef8278
|
|
|
| |
FossilOrigin-Name: 7084752cc1be137e6ef4ba7d6d4bf201c05a6f32
|
|
|
| |
FossilOrigin-Name: 4cbec30087ab76fe37f011d2eef28bda678f043f
|
|
|
|
|
|
|
| |
2002-06-06 because it broke the ability to use built-in cursors
like left_ptr.
FossilOrigin-Name: 9dee7eedf2f29d6b8eeb6f8e9c2250c1fdb95ad4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: 490767a8ed3439f7f419a237d2ca7e7386868e3a
|
|
|
|
|
|
| |
Reported by Roy Terry <royterry@earthlink.net>.
FossilOrigin-Name: 1307a5e44849d9400128cc7629bf795a9d223341
|
|
|
|
|
|
| |
supposed to be first-and-foremost a list...
FossilOrigin-Name: a146a14fbcd4ed9776f6e44e4ecf158d6db858f6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
resolved. Added the same logic to INSTALLDIR, too. [Bug #553208]
FossilOrigin-Name: e3c32ab93d2eb5581eaa3bc3922eea4f831f1cc9
|
|
|
| |
FossilOrigin-Name: 7ebd909a179a349a7a98bf3d9137c81a256b0eb7
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and place the IME position within Tk_SetCaretPos. Cache results in
Tk_SetCaretPos to reduce unnecessary repositioning. Also call
DestroyCaret if we receive WM_KILLFOCUS.
(TkpOpenDisplay): ZeroMemory the initial display structures.
(TkWinGetUnicodeEncoding): Added so that Windows only needs to
cache this value one, and then free it in TkWinXCleanup.
(HandleIMEComposition): add support for Win98 and ATOK13
IME. (yamamoto)
FossilOrigin-Name: 584decd87473126d02435d2e43ce6c28441284fd
|
|
|
|
|
|
|
|
|
| |
* win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding
* win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding
* win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static
unicodeEncoding.
FossilOrigin-Name: ca09d55644cd9006092eec025b62e54ee611bf11
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4: Enabled COFF as well as CV style debug info with
--enable-symbols to allow Dr. Watson users to see function info.
More info on debugging levels can be obtained at:
http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
FossilOrigin-Name: a38bcfe0978f822090ea08793b3b8c862796b776
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* generic/tkTextMark.c (TkTextInsertDisplayProc):
* generic/tkCanvText.c (DisplayCanvText):
* generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls.
FossilOrigin-Name: eb1f6c15c2ec7a1c61a0faeeee4eda55fb73b9c6
|
|
|
|
|
|
| |
all binaries before running (otherwise an error often occured).
FossilOrigin-Name: 732f078d7efb560b960bea8f3d9bd7816a412145
|
|
|
|
|
|
| |
correctly when WM_IME_STARTCOMPOSITION is received.
FossilOrigin-Name: 82d048b498cb9bcf2daa024e16081601dcd096a2
|
|
|
| |
FossilOrigin-Name: dcc45900b96e019c5830f63426c1ebd73d3df9bf
|
|
|
| |
FossilOrigin-Name: c22ae872b3d0438a4fdb4743f2842bb5597a8f66
|
|
|
| |
FossilOrigin-Name: 44b9cc58511bbee20f38bcc3c48ae2255b42b670
|
|
|
| |
FossilOrigin-Name: cbf3fc84f54600697972d336714b642051cb402d
|
|
|
|
|
|
|
| |
contents file as part of the install target and rebuilding the
contents table as desired. [Bug 527941]
FossilOrigin-Name: 4a326cb1e4f723412a1599333bf2c59809ac78ae
|
|
|
| |
FossilOrigin-Name: 0d5bdb02a47e9f8bd1fa1d662682aa6f229ec8fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/lamp.bmp (new):
* win/makefile.vc:
* win/nmakehlp.c (new):
* win/rules.vc: Brought the makefile up-to-date with Tcl's one.
This now has support for Win9x issues and the winhelp target now
exists. Color scheme can be changed. I'm just imparting a first
suggestion using orange :) I'll have to think about the install
portion of the helpfile as I'll need to do some tricks to insert
tk's contents file into Tcl's using some special winhlp32.exe
switches. [Bug 533862 527941]
FossilOrigin-Name: 8bb6331b52c3c5354d532404f7dc125089c6b701
|
|
|
| |
FossilOrigin-Name: c1a533e15fafe54c9166b0dee1b13d89fa807f2f
|
|
|
| |
FossilOrigin-Name: 6542bf338591f065d4768901fa52168624a8129a
|
|
|
|
|
|
|
|
| |
before including commctrl.h so that we can
access the InitCommonControlsEx API when
building Tk with mingw.
FossilOrigin-Name: c524eb8b1f8def1b4a0a56b6c16c5c7ed553289d
|
|
|
|
|
|
| |
easier for now.
FossilOrigin-Name: 7472801139405296ccc3c3b2e111902f93bc3bbe
|
|
|
| |
FossilOrigin-Name: c57468da5f1f17910ee05fca7963bb3c3ad140aa
|
|
|
| |
FossilOrigin-Name: 8383ba3542ca5589e281e9f136fbabd3a77db6e1
|
|
|
| |
FossilOrigin-Name: 7314a88b0f4af54da1dbbef59b183da7dd715071
|
|
|
|
|
|
| |
were restored to return (char *) pointing into Tcl_DStrings.
FossilOrigin-Name: f49c1699589cd69f47093575953d7ee75a28cf4f
|
|
|
|
|
|
| |
[Bug 511652]
FossilOrigin-Name: 0706b485edcd5b2fc7ecccb7f685787a542a4197
|
|
|
| |
FossilOrigin-Name: 15f338bab29cbbf8e66c4b944f44bc426196c9af
|
|
|
|
|
|
|
| |
not write into the CONST path returned by "argv0" and
Tcl_SplitPath anymore.
FossilOrigin-Name: 6b1785497d20fd266cac609d492d2d09e65a5136
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/configure.in: Don't subst vars that are already
taken care of in SC_LOAD_TCLCONFIG.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
FossilOrigin-Name: 178a19e30ac1930ca02d550822059d0cd157f01c
|
|
|
|
|
|
|
|
|
|
|
| |
* Updated callers of Tcl_GetStringResult.
Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
directly on interp->result.
* Updated callers of Tcl_GetVar, Tcl_GetVar2
* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
Tcl_TranslateFileName.
FossilOrigin-Name: 933dcfe881579bb3925ff2a05e925a0bd8d67087
|
|
|
| |
FossilOrigin-Name: 78e880525bb5a1240f24ac264df24f0fc87f641b
|
|
|
|
|
|
| |
API changes (see Tcl Patch 471509). [Patch 471513]
FossilOrigin-Name: 061e364d6f7bae391846089032e5501a301d0dde
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
FossilOrigin-Name: b5febdbfd80d2878cd0757f3e4d126eb86575970
|
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/configure.in: Define and use libdir.
* win/configure: Regen.
* win/configure.in: Define libdir.
FossilOrigin-Name: 616ed4052e7d8dbe340b1510f2273ddbed4f89e2
|
|
|
|
|
|
|
|
|
| |
then the next time the parent menu is posted, the cascade entry appears active.
Also, if you traverse to a disabled menu entry using keystrokes and press
ENTER on the disabled entry, then that entry appears active the next time
the menu is posted. The same patch fixes both problems.
FossilOrigin-Name: 6069b52dd4b62ea9164bafee3e456a57b216b213
|
|
|
|
|
|
|
|
| |
* win/tkWinButton.c: added updated patch #463234 which returns the
default sizing behavior (not so native), but enables native L&F
with negative sizing (-11 for example).
FossilOrigin-Name: 1212ac05ffc669b8894ad1f69c35fabd8fa6438a
|
|
|
|
|
|
|
| |
allow unicode in window titles on Windows (for Win2K/XP).
(TkWmStackorderToplevel): Corrected casts to enable debug compile
FossilOrigin-Name: f3c178ef5e236e37afc583d44e1ae98e3c6fa0c0
|