summaryrefslogtreecommitdiffstats
path: root/generic/tkFocus.c
Commit message (Collapse)AuthorAgeFilesLines
* more places convertednijtmans@users.sourceforge.net2013-01-241-1/+1
|
* Merge core-8-5-branchnijtmans@users.sourceforge.net2013-01-241-2/+2
|\ | | | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* \ [Bug 3574708]: Move window liveness checks to better location.donal.k.fellows@manchester.ac.uk2012-11-071-3/+9
|\ \ | |/
| * [Bug 3574708]: Move window liveness checks to better location.donal.k.fellows@manchester.ac.uk2012-11-071-3/+9
| |
| * [Bug 533519]: Window placement with multiple screensnijtmans@users.sourceforge.net2012-05-021-5/+3
| |\
* | | Much more cleaning up of result handling.donal.k.fellows@manchester.ac.uk2012-07-231-8/+9
| | |
* | | same bugfix, but now applied to trunknijtmans@users.sourceforge.net2012-04-211-5/+3
|\ \ \ | | |/ | |/|
| * | fix (hopefully) menu posting in the same way as window placementnijtmans@users.sourceforge.net2012-04-201-5/+3
| | |
* | | Purge RCS Keywordsdgp@users.sourceforge.net2011-06-081-2/+0
|\ \ \ | | |/ | |/|
| * | Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| | |
| | * [Bug 2496114]: Ensure that focus desynchronization doesn't cause a crash.donal.k.fellows@manchester.ac.uk2009-07-221-1/+13
| | |
| | * Fix [Bug 1252702]donal.k.fellows@manchester.ac.uk2005-08-111-5/+5
| | |
| * | eliminate unneeded variable displayFocusPtrjan2011-04-211-2/+1
| | |
| * | [Bug 2496114]: Ensure that focus desynchronization doesn't cause a crash.donal.k.fellows@manchester.ac.uk2009-07-221-1/+11
| | |
* | | Eliminate some more unneeded write-only variables (discovered by gcc-4.6)nijtmans@users.sourceforge.net2011-03-141-2/+1
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedonal.k.fellows@manchester.ac.uk2011-03-121-10/+9
| | | | | | | | | using useful casts internally.
* | | * generic/tkFocus.c: fix potential null dereference flagged by clangdas2009-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: static analyzer. * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextIndex.c: * generic/tkConsole.c: silence false positives from clang static * generic/tkTest.c: analyzer about potential null dereference. * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextTag.c: * generic/tkVisual.c:
* | | [Bug 2496114]: Ensure that focus desynchronization doesn't cause a crash.donal.k.fellows@manchester.ac.uk2009-07-221-1/+11
| | |
* | | - eliminate some unnessary type castsnijtmans2009-02-031-2/+2
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | [Bug 1389270] event generate silently ignored focus events. These can now be ↵patthoyts@users.sourceforge.net2008-11-231-11/+3
| | | | | | | | | | | | generated.
* | | Lots of small changes to make code more pretty and C89-like.donal.k.fellows@manchester.ac.uk2008-11-081-3/+3
| | |
* | | Add "const" to many internalnijtmans2008-10-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | Get rid of pre-C89-isms (esp. CONST vs const).donal.k.fellows@manchester.ac.uk2008-04-271-53/+72
|/ /
* | merge stable branch onto HEADdgp@users.sourceforge.net2007-12-131-1/+1
| |
* | * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:hobbs2007-10-151-1/+128
| | | | | | | | | | | | | | | | * 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.
* | header cleanupdgp@users.sourceforge.net2007-09-071-2/+1
| |
* | ANSI function declsdonal.k.fellows@manchester.ac.uk2005-11-161-43/+40
| |
* | Getting more systematic about styledonal.k.fellows@manchester.ac.uk2005-08-101-291/+282
| | | | | | | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
* | * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tkFocus.c (TkFocusFilterEvent): Ignore event if we arehobbs2002-10-081-3/+10
| | | | focusing into a dead window. [Bug #588831] (griffin)
* * generic/tkBind.c (TkBindDeadWindow):mdejong2002-06-191-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish@flightlab.com2002-06-141-3/+3
| | | | | | | | (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.
* generic/tkFocus.c (TkFocusFree): frees TkMainInfo datahobbs2002-04-121-1/+37
|
* * Updates to handle change in type of tablePtrdgp@users.sourceforge.net2002-01-171-3/+4
| | | | | argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705]
* 1999-08-10 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-101-9/+8
| | | | | * generic/tkInt.decls: added TkSetFocusWin * generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
* * Merged 8.1 branch into the main trunkstanton1999-04-161-77/+86
|
* * generic/tkFocus.c (SetFocus): Changed to focus window is alwaysstanton1999-02-041-2/+9
| | | | | set if -force is specified. This fixes the problem on Windows where Tk does not activate the window if it already has focus.
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+998