| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| |
| |
| |
| | |
Just the strcpy->memcpy part, to prevent anything like [Bug #3164879]
|
| | |
|
| |
| |
| |
| |
| |
| | |
* win/tkWinWm.c (UpdateGeometryInfo): is found - handle it in
* unix/tkUnixEmbed.c (TkpGetOtherWindow): the caller. [Bug 1212056]
* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo):
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TkWmStackorderToplevel):
* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel):
* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel):
Fix panic in wm stackorder when a toplevel is created on another
diplay. The code now ignores toplevels that have a display
that does not match the display of the parent window.
[Bug 1152809]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes: #959973 "wm title bug" (support Unicode titles)
Fixes: #742882 "Potential division by zero in gridded wm geometry"
Use Tcl_GetTime instead of TclpGetTime [#874745]
Use Tcl_Panic() instead of "panic" [#865264]
Fixes: #632816 "cannot remove transient"
Fixes: #568861 "Fix for wm minsize and maxsize commands"
tests/unixWm.test, tests/wm.test: Updated test suite for
#632816 (unixWm-37.3, unixWm-37.4, wm-grid-1.11, wm-grid-1.12)
and #742882 (unixWm-20.9, unixWm-20.11).
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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]
|
| |
| |
| |
| | |
(patch from Colin McDonald).
|
| |
| |
| |
| | |
shouldn't" and #922336 "Tk apps have no maximize window button under KDE-3.2.1"
|
| |
| |
| |
| | |
Just the strcpy->memcpy part, to prevent anything like [Bug #3164879]
|
| | |
|
| | |
|
| |
| |
| |
| | |
correctly.
|
| | |
|
| |
| |
| |
| | |
with it.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
| | |
|
| |
| |
| |
| | |
fix bug #1627732
|
| | |
|
| |
| |
| |
| |
| | |
anything other than what is implemented, so no need for additional script
control over it.
|
| |
| |
| |
| |
| |
| | |
* unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found -
* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it
in the caller
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TkWmStackorderToplevel):
* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel):
* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel):
Fix panic in wm stackorder when a toplevel is created on another
diplay. The code now ignores toplevels that have a display
that does not match the display of the parent window.
[Bug 1152809]
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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]
|
| |
| |
| |
| |
| | |
(from 'const char *') to satisfy Solaris 8 Forte C compiler
[Bug #1012325]
|
| |
| |
| |
| | |
(patch from Colin McDonald).
|
| |
| |
| |
| |
| |
| |
| | |
in addition to WM_NAME and WM_ICON_NAME (ICCCM). This allows
the full Unicode character set to be used in window manager strings
(but only for newer WMs that support the EWMH spec).
[Tk Bug #959973]
|
| | |
|
| |
| |
| |
| | |
and #922336 "Tk apps have no maximize window button under KDE-3.2.1"
|
| |
| |
| |
| | |
dependency on tclInt.h [Bug 874745].
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tkBind.c: to 'Tcl_Panic' (the function). The #define
* generic/tkBitmap.c: of panic in tcl.h clearly states it is
* generic/tkCanvArc.c: deprecated in the comments.
* generic/tkCanvBmap.c: [Tcl Patch 865264]
* generic/tkCanvImg.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkColor.c:
* generic/tkConfig.c:
* generic/tkCursor.c:
* generic/tkError.c:
* generic/tkEvent.c:
* generic/tkFocus.c:
* generic/tkFont.c:
* generic/tkFrame.c:
* generic/tkGC.c:
* generic/tkGrid.c:
* generic/tkImgBmap.c:
* generic/tkImgPhoto.c:
* generic/tkImgUtil.c:
* generic/tkMenu.c:
* generic/tkObj.c:
* generic/tkPack.c:
* generic/tkPlace.c:
* generic/tkRectOval.c:
* generic/tkSelect.c:
* generic/tkText.c:
* generic/tkTextBTree.c:
* generic/tkTextDisp.c:
* generic/tkTextImage.c:
* generic/tkTextIndex.c:
* generic/tkTextMark.c:
* generic/tkTextWind.c:
* generic/tkVisual.c:
* generic/tkWindow.c:
* mac/tkMacAppInit.c:
* mac/tkMacAppearanceStubs.c:
* mac/tkMacButton.c:
* mac/tkMacDraw.c:
* mac/tkMacEmbed.c:
* mac/tkMacFont.c:
* mac/tkMacInit.c:
* mac/tkMacMenus.c:
* mac/tkMacPort.h:
* mac/tkMacSubwindows.c:
* mac/tkMacWm.c:
* mac/tkMacXStubs.c:
* macosx/tkMacOSXEmbed.c:
* macosx/tkMacOSXFont.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXNotify.c:
* macosx/tkMacOSXPort.h:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXXStubs.c:
* unix/tkUnix3d.c:
* unix/tkUnixColor.c:
* unix/tkUnixEmbed.c:
* unix/tkUnixEvent.c:
* unix/tkUnixFocus.c:
* unix/tkUnixFont.c:
* unix/tkUnixSelect.c:
* unix/tkUnixSend.c:
* unix/tkUnixWm.c:
* win/tkWin3d.c:
* win/tkWinButton.c:
* win/tkWinColor.c:
* win/tkWinDialog.c:
* win/tkWinDraw.c:
* win/tkWinEmbed.c:
* win/tkWinFont.c:
* win/tkWinPixmap.c:
* win/tkWinPointer.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c:
* win/tkWinX.c:
|
| |
| |
| |
| | |
when making a window nontransient [Bug #632816 "cannot remove transient"]
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
| |
as well as Configure events during WaitFor{Configure|Map}Notify.
Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap
events out of order, making Tk think a window was unmapped when
it really wasn't).
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
* unix/tkUnixWm.c: remove possible 2-second delay in 'raise'.
[Patch #601518] (english) TIP #107
|
|
|
|
|
| |
wm transient assertion error that was applied
to tkWinWm.c for Tk Bug #592201.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.
This patch includes purging Tk of its last
direct access to interp->result. [Bug 589853]
The substantial changes include copying
event sequence strings into Tcl_DStrings
in tkBind.c, and copying [text] indices into
Tcl_DStrings because parsing them involved
overwriting them. If this causes performance
trouble, that can be resolved by further
converting them to Tcl_Obj's.
The #defines USE_NON_CONST and USE_COMPAT_CONST
have the same effect for Tk as they do for Tcl.
(They actually change tcl.h)
|
| |
|