summaryrefslogtreecommitdiffstats
path: root/win/tkWinEmbed.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [5ee8af61e5ef8e233158a43459624f4ecf58a6fe|5ee8af61e5] on Win64: Window ↵jan.nijtmans2015-11-101-2/+5
|\ | | | | | | embedding can not work on 64-bit Unix and Windows
| * Fix [5ee8af61e5ef8e233158a43459624f4ecf58a6fe|5ee8af61e5] on Win64: Window ↵jan.nijtmans2015-11-101-2/+5
| | | | | | | | embedding can not work on 64-bit Unix and Windows
* | Convert TkpTestembedCmd and TkpTesttextCmd to Tcl_Obj-based commands.jan.nijtmans2014-06-031-2/+2
| |
* | Working towards making the error codes more consistent.dkf2012-07-301-2/+2
| |
* | a few more placesdkf2012-07-241-10/+17
| |
* | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-8/+8
|\ \ | |/
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-8/+8
| |\
| * \ [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-1/+1
| |\ \ | | |/
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * win/tkWinEmbed.c (TkpGetOtherWindow): do not panic if no windowhobbs2006-04-111-2/+1
| | | | | | | | | | | | | | | | | | * win/tkWinWm.c (UpdateGeometryInfo): is found - handle it in * unix/tkUnixEmbed.c (TkpGetOtherWindow): the caller. [Bug 1212056] * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo):
| | * * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-271-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: dating from 2003-12-21 * generic/tkUtil.c: * generic/tkWindow.c: * mac/tkMacButton.c: * unix/tkUnixEvent.c: * win/tkWin32Dll.c: * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c:
| * | [Bug 2956548] TkpButtonSetDefaults only initializes one button typenijtmans2010-03-121-36/+1
| | | | | | | | | | | | | | | Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-6/+6
| | | | | | | | | using useful casts internally.
* | | Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-2/+2
| | | | | | | | | | | | | | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+2
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-3/+3
| | |
* | | * tkDecls.h: Reverted das's change of Tk's stubs pointersKevin B Kenny2008-04-081-36/+1
|/ / | | | | | | | | | | | | | | | | | | | | * tkIntDecls.h: from 'extern' to 'EXTERN'. Since the stubs pointer * tkPlatDecls.h: is always linked statically, its wrong to import or export it from a DLL, and the change causes trouble for extensions that build with -DUSE_TK_STUBS. * tkWinEmbed.c: Removed #if 0 code. Trust the revision control system, if you need it again, you can find it. * tkWinSend.c: Added conditional compilation to silence several compiler warnings.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Assorted minor cleanups.dkf2007-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)dkf2005-12-021-26/+27
| |
* | ANSIficationdkf2005-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,dgp2002-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
|