summaryrefslogtreecommitdiffstats
path: root/mac/tkMacXStubs.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkBind.c (TkBindDeadWindow):mdejong2002-06-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkClipboard.c (TkClipCleanup): Invoke Tk_DestroyWindow to cleanup the dispPtr->clipWindow. Call Tcl_Preserve and Tcl_Release on the window to avoid an invalid memory ref on shutdown. * generic/tkEvent.c (Tk_HandleEvent): Panic if XCreateIC is invoked twice for the same window. This should never happen, the check were just added to make sure it does not since this could lead to crashes in XCloseIM. * generic/tkFocus.c (TkFocusDeadWindow): Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkOption.c (TkOptionDeadWindow): Ditto. * generic/tkWindow.c (TkCloseDisplay): Move deletion of dispPtr->winTable after TkpCloseDisplay call since Tk_DestroyWindow uses it and could be called by TkpCloseDisplay for clipboard/send windows. Also invoke ckfree for the dispPtr instead of doing it in TkpCloseDisplay. (Tk_DestroyWindow): Check for a null winPtr->mainPtr before doing certain cleanup tasks so the we can invoke Tk_DestroyWindow on clipboard and send windows. We need to do this so that XDestroyIC will get invoked for the input contexts of each window. * mac/tkMacXStubs.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixEvent.c (TkpCloseDisplay, OpenIM): Remove conditional compilation around calls to XCloseIM since I am confident that the crashes related to input contexts has been fixed. Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixSend.c (TkSendCleanup): Invoke the Tk_DestroyWindow method to cleanup the special send window. This will call XDestroyIC and thereby avoid a crash in XCloseIM. The send window needs to be Tcl_Preserve and Tcl_Release to avoid an invalid memory ref on shutdown. * win/tkWinX.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay.
* * generic/tkCmds.c (Tk_TkObjCmd):hobbs2002-06-171-4/+9
| | | | | | | | | | * 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.
* * mac/tkMacXStubs.c (TkpOpenDisplay): memset the initial displayhobbs2002-04-121-1/+3
| | | | structures to 0.
* added Tk_SetCaretPos stub (does nothing)hobbs2002-04-051-1/+18
|
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-251-4/+4
| | | | | | | | | * 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.
* Comment some functions that have moved.jingham2000-02-101-1/+3
|
* fix for mac happinesshobbs1999-12-221-37/+36
|
* * mac/tkMacDraw.c: mac still needs pointer warping routinehobbs1999-12-141-1/+61
| | | | | | | * mac/tkMacXStubs.c: * win/tkWinDraw.c: * win/tkWinPointer.c: added support for pointer warping and platform specific support for dash patch items
* Changes needed to get Tk8.1 to compile with stubs on the Macjingham1999-05-221-34/+27
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-43/+50
|
* * Merged changes from 8.0.5:stanton1999-04-161-8/+13
| | | | - Updated for Mac release
* integrated stubs into 8.0 main branchstanton1999-03-101-1/+31
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* plugin updateswelch1998-06-271-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+709