| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Frederic Bonnet to supply docs+tests as soon as possible.
|
| |
|
|
|
|
|
|
| |
Tcl_Preserve and Tcl_Release for the masterPtr->winPtr
window to avoid accessing memory that had already
been deallocated in DeleteImage.
|
|
|
|
|
|
|
|
|
|
| |
scripts from Tcl's accepted FR #565088.
* generic/tk.h: Changed RESOURCE_INCLUDED to be RC_INVOKED
as the RC tool defines this already by default.
* win/rc/tk.rc:
* win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines.
|
|
|
|
| |
wish.exe.manifest to DISTDIR target directory.
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.h (struct TkCaret):
* mac/tkMacXStubs.c (Tk_SetCaretPos):
* unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos):
* win/tkWinX.c (Tk_SetCaretPos):
* tests/tk.test: Added 'tk caret' implementation of TIP#96
* doc/SetCaret.3 (new): which adds a TkCaret structure element to
* doc/tk.n: TkDisplay for maintaining state.
|
|
|
|
| |
Currently includes only Color -> Colour translation.
|
|
|
|
|
| |
checkbutton and radiobutton to allow those widgets to have a
MS-Office look and feel.
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
memory with ckalloc not malloc. This keeps
Tk from erroring out when built with
TCL_MEM_DEBUG.
|
|
|
|
|
| |
* generic/tkInt.h: changed warpInProgress boolean from int to a
bit in the flags variable (TK_DISPLAY_IN_WARP)
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
function to avoid compiler error with VC++.
|
| |
|
|
|
|
| |
Tk_GetAtomName in order to avoid compiler warning.
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tests/wm.test: Move wm minsize and wm maxsize
usage tests into the cross platform wm tests.
|
|
|
|
|
| |
* tests/defs.tcl: Added enhancements to Tk's fake version of
tcltest required by recent cursor.test changes.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
| |
2002-06-06 because it broke the ability to use built-in cursors
like left_ptr.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
Reported by Roy Terry <royterry@earthlink.net>.
|
|
|
|
|
| |
All translations were modified to work with "magic ampersand".
Russian translations added.
|
|
|
|
|
| |
Don't set the bgerror dialog as a transient of
itself since this operation is ill defined.
|
|
|
|
| |
supposed to be first-and-foremost a list...
|
| |
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
if the -variable was created by the radiobutton. [Bug #548765]
|
|
|
|
| |
displacement. [Bug #556526]
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* unix/configure.in: Invoke SC_ENABLE_SHARED before
calling SC_CONFIG_CFLAGS so that the SHARED_BUILD
variable can be checked inside SC_CONFIG_CFLAGS.
* unix/tcl.m4: Update from Tcl.
|
|
|
|
| |
latest revisions to avoid defining new global commands.
|