summaryrefslogtreecommitdiffstats
path: root/win/tkWinEmbed.c
Commit message (Collapse)AuthorAgeFilesLines
* merge stable branch onto HEADdgp@users.sourceforge.net2007-12-131-1/+1
|
* Assorted minor cleanups.donal.k.fellows@manchester.ac.uk2007-09-081-5/+10
|
* * win/tkWinEmbed.c (TkpGetOtherWindow): [Bug 1212056] do not panichobbs2006-05-291-2/+1
| | | | | | * unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found - * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it in the caller
* More fixes (mostly getting rid of excess spaces)donal.k.fellows@manchester.ac.uk2005-12-021-26/+27
|
* ANSIficationdonal.k.fellows@manchester.ac.uk2005-12-021-322/+375
|
* Flushed idle events before mapping an embedded windowchengyemao2005-01-271-1/+2
|
* Minor change for correct initial embeddedMenuHwndchengyemao2005-01-181-1/+2
|
* Simplified TkpUseWindow; got rid of unnecessary code for saving an embedded ↵chengyemao2005-01-171-53/+50
| | | | window info in a container struct; stopped using a destruction event handler for an embedded window since it has nothing to do
* Added TK_INFO message for use in an embedded window attachment protocol; ↵chengyemao2005-01-161-41/+89
| | | | modified TkpUseWindow to allow to attach to a legacy container with a warning; modified some return values of messages from an embedded window to differentiate a case of unprocessed
* A better way to map an embbedded windowchengyemao2005-01-121-6/+35
|
* Minor bug fix to support embedding/embeddedchengyemao2005-01-121-3/+8
|
* corrected return values and added comments for embedded window messageschengyemao2005-01-101-23/+156
|
* Modified to support a container of either a toplevel or a framechengyemao2005-01-091-13/+25
|
* Changed to make platform implementation ready for a toplevel -use option; ↵chengyemao2005-01-091-2/+24
| | | | completed a full toplevel -use option configuration for Windows
* Implemented TK_STAT message to support {wm state} for embedded windowchengyemao2005-01-071-1/+13
|
* Removed unnecsssary panic from TkpUseWindow and forced redraw container ↵chengyemao2005-01-071-5/+2
| | | | after the embedded detached
* Made the remarks of TkpUseWindow clearer regarding the embedding/embedded ↵chengyemao2005-01-051-6/+10
| | | | attachment protocol
* Modified to support embedded menu widgetchengyemao2004-12-281-2/+45
|
* implemented overrideredirect for an embedded; corrected incorrect frame ↵chengyemao2004-12-201-1/+39
| | | | upper left x and y of an embedded toplevel
* featrue implementation of Tk container and embedded including TK_MOVEWINDOW, ↵chengyemao2004-12-201-15/+23
| | | | TK_ICONIFY, TK_DEICONIFY, TK_WITHDRAW; replaced TK_TITLE with TK_GETFRAMEWID for setting container's title across process boundary; bug fix in wm overrideredirect for TK_EMBEDDED window
* Bug fix and feature implementation of embedded/embedding Tkchengyemao2004-12-191-7/+92
|
* Bug fix [222677]chengyemao2004-12-181-25/+24
|
* bug fix (842945,831627)chengyemao2004-12-171-31/+10
|
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* * generic/tkEvent.c: Added three new functions: TkCreateExitHandler,davygrvy2003-12-211-3/+3
| | | | | | | | | | | | | | | | | * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds * generic/tkMenu.c: an insertion point so Tk's exit handlers can be * generic/tkWindow.c: called on their own from tk85.dll's DllMain * mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to * unix/tkUnixEvent.c: the binary and not exported. It is possible * win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl * win/tkWinEmbed.c: under some conditions such as ExitProcess(). * win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl * win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded. * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with SEH as DeleteWindowsExitProc is causing an exception of its own under some teardown conditions. AT&T assembly syntax has not been added for MinGW yet. [Tcl Patch 858493]
* (TkWinEmbeddedEventProc) : for loop dereferences containerPtr but can'tdavygrvy2003-12-131-5/+7
| | | | | get to the if (containerPtr == NULL) test due to the unhandled read memory exception for when it really is NULL.
* Applied companion patch for Tcl Patch 585105,dgp@users.sourceforge.net2002-08-051-3/+3
| | | | | | | | | | | | | | | | | | | | | 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)
* * win/tkWinEmbed.c (EmbedWindowDeleted): added a check for a nullhobbs2002-06-221-1/+3
| | | | containerPtr. The core of this bug is likely elsewhere. [Bug #476176]
* * tests/embed.test: Added cross platform embed tests.mdejong2002-05-271-1/+11
| | | | | | | | | | | | | | 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.
* * generic/tkFileFilter.c (AddClause): Cast to match function prototype.mo2000-07-061-2/+2
| | | | | | | | | | | | | | | * win/stubs.c (_XInitImageFuncPtrs): Add return value for function. * win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle): Remove unused declarations. * win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused function declarations. * win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration. * win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype. * win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration. * win/tkWinWindow.c (StackWindow): Remove unused declaration. * win/tkWinWm.c (ConfigureEvent): Remove unused declaration. * win/tkWinX.c (winXMutex): Remove unused declaration. * xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
* * Merged 8.1 branch into the main trunkstanton1999-04-161-23/+38
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+645