summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
Commit message (Collapse)AuthorAgeFilesLines
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * [Bug 2645457] check for dead windows after calling Tk_MakeWindowExist to ↵patthoyts2009-02-281-1/+8
| | | | | | | | | | | | avoid a crash when mapping dead windows.
| | * * generic/tkWindow.c (Initialize): fix double-free on Tk_ParseArgvhobbs2008-04-071-2/+1
| | | | | | | | | | | | * tests/main.test (main-3.*): error. [Bug 1937135]
| | * * generic/tkConsole.c: Complete reversal of the changes of Sep 22.andreas_kupries2006-09-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: For compat reason the Tcl core will not change * generic/tkWindow.c: the registered version to include the patchlevel, * library/tk.tcl: making the changes to Tk unnecessary. * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
| | * * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
| | * * generic/tkWindow.c: add #include "tclInt.h" now required due to usedas2006-09-071-1/+3
| | | | | | | | | | | | of tcl internal Tcl_CreateNamespace() in previous commit.
| | * * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkTextBTree.c: controlled by ::tk::AlwaysShowSelection * generic/tkTextDisp.c: (boolean, private). [Bug 1553691] * generic/tkWindow.c: * library/tk.tcl * unix/tkUnixPort.h:
| | * * generic/tkWindow.c (Initialize): Modify change of 2006-05-25andreas_kupries2006-07-141-2/+8
| | | | | | | | | | | | | | | | | | (jeffh). Release mutex a bit earlier, to prevent lock when OS X creates its console windows (recursively enters Tk_Init). Patch by JeffH.
| | * * generic/tkWindow.c (Initialize): Correct mutex (un)lockhobbs2006-05-251-16/+14
| | | | | | | | | | | | pairing. [Bug 1479587]
| | * * generic/tkWindow.c (DeleteWindowsExitProc): added commentshobbs2006-03-301-2/+4
| | | | | | | | | | | | | | | * generic/tkOption.c (TkOptionDeadWindow): handle OptionThreadExitProc being called before DeleteWindowsExitProc.
| | * * generic/tkWindow.c (CreateTopLevelWindow): use thread exithobbs2006-03-291-6/+7
| | | | | | | | | | | | handler for DeleteWindowsExitProc.
| | * * generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd.hobbs2005-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkWindow.c: Ditto. (neil madden) * macosx/tkMacOSXInt.h: Added TkMacOSXWindowClass decl * macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function. (TkUnsupported1ObjCmd): New function, replaces the un-objectified version of the command, recognizes more classes and attributes. (TkMacOSXWindowClass): private function to return OS X class of a Tk window. * macosx/tkMacOSXSubwindows.c (XMapWindow, XUnmapWindow): recognize special show/hide functions for sheets
| | * Add missing Tcl_ResetResult [697915]dkf2005-01-071-1/+2
| | |
| | * * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-271-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
| | * Backport of 923555 fixesdkf2004-03-261-2/+2
| | |
| | * Backport Mac OS X specific fixes from TOT. See ChangeLog for details.wolfsuit2004-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | | In tk_getOpenFile filters, handle the case where you have a Macintosh file type and the files have no filetype. Fix various formatting nits.
| | * * generic/tkWindow.c (Initialize): do not free uninit'ed dstring.hobbs2003-07-161-2/+1
| | | | | | | | | | | | [Bug 755906] (mistachkin)
| * | Trivial CYGWIN fixes (backported from trunk)nijtmans2010-01-061-2/+2
| | |
| * | * generic/tkConsole.c: Relax the runtime version requirements on Tcldgp2009-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: so that Tk 8.5.8 can [load] into Tcl 8.6 (and * generic/tkWindow.c: later 8.*) interps. * library/tk.tcl * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc:
| * | [Bug 2645457] check for dead windows after calling Tk_MakeWindowExist to ↵patthoyts2009-02-271-1/+8
| | | | | | | | | | | | avoid a crash when mapping dead windows.
| * | * generic/tkWindow.c (Initialize): fix double-free on Tk_ParseArgvhobbs2008-04-071-2/+1
| | | | | | | | | | | | * tests/main.test (main-3.*): error. [Bug 1937135]
| * | * generic/tkStubLib.c (Tcl_InitStubs): Added missing error message.dgp2008-04-021-1/+3
| | | | | | | | | | | | * generic/tkWindow.c (Tk_PkgInitStubsCheck):
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-13/+12
| | | | | | | | | using useful casts internally.
* | | Revise Tcl_Panic() calls ending with a newline removing the newline, because ↵nijtmans2010-11-191-2/+2
| | | | | | | | | | | | Tcl_Panic() outputs a final newline already
* | | [Patch #3019624] fix "place" command segfault on half-dead app main window.a_kovalenko2010-06-221-2/+2
| | |
* | | [Patch 3009998]: Replace binding procedures with ordinary event handlersjenglish2010-06-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c. Simplifications enabled by previous change: * TkCreateBindingProcedure() and associated machinery no longer needed. * TkBindDeadWindow() no longer needed. * TK_DEFER_MODAL_LOOP and associated machinery no longer needed. * Tests related to C binding procedures no longer needed.
* | | tkWindow.c/tkStubInit.c adapted from stub changes in Tclnijtmans2010-02-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tkArgv.c make defaultTable const tkScrollbar.c Store default for "-with" in static non-const memory tkWinInt.h make tkWinProcs const, and 5 tkWinX.c procs MODULE_SCOPE tkWinColor.c make sysColors const tkWinKey.c make keymap const tkWinScrlbr.c Simplify copying of "-with" default value. tkUnixWm.c make TkSetTransientFor static tests/textImage.test textImage-1.13 depends on hash-order
* | | use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-131-5/+5
| | | | | | | | | | | | | | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* | | Make more internal tables "const"nijtmans2010-02-051-3/+3
| | | | | | | | | | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
* | | CONSTify Tk_SetClassProcsnijtmans2010-01-101-2/+2
| | |
* | | [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-061-2/+2
| | | | | | | | | | | | to work on OSX too.
* | | Fix gcc warning, using gcc-4.3.4 on cygwinnijtmans2009-12-121-2/+2
| | | | | | | | | | | | warning: array subscript has type 'char'
* | | Finish purging remains of old XID hacks (a bunch of unused/write-only fields indkf2009-09-041-5/+2
| | | | | | | | | | | | the TkDisplay structure...)
* | | Give an error if grid and pack are used in the same master. [Patch 2475855]pspjuth2009-08-191-1/+6
| | |
* | | [Bug 2645457] check for dead windows after calling Tk_MakeWindowExist to ↵patthoyts2009-02-271-1/+8
| | | | | | | | | | | | avoid a crash when mapping dead windows.
* | | Implementation of TIP #244, PNG image support.dkf2008-12-281-1/+2
| | |
* | | * generic/tkInt.h: Turn [tk] into an ensemble (thoyts, steffen)das2008-12-101-67/+71
| | | | | | | | | | | | | | | | | | * generic/tkBusy.c: * generic/tkCmds.c: * generic/tkWindow.c:
* | | Fix potential null dereference flagged by clang static analyzerdas2008-12-071-42/+42
| | |
* | | Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-2/+2
| | |
* | | CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindownijtmans2008-10-281-4/+4
| | | | | | | | | | | | | | | and Tk_ParseArgv. move TkSelGetSelection to internal stub table (needed in tkWinTest.c)
* | | Implementation of the [tk busy] command on non-OSX.dkf2008-10-181-1/+3
| | | | | | | | | | | | Adapted from [Patch 1997907]
* | | After some discussion with Joe English and subsequently thegeorgeps2008-08-191-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X.org developers (Keith Packard in particular), it was discovered that Tk is doing management of XIDs that it shouldn't need to do. The very common XC-MISC extension which has come with every version of X for the last 15 years is used with Xlib now, to retrieve the information about the used/unused XIDs. The public Tk_FreeXId is now a no-op. Joe English reviewed the patch, and said "please commit." The patch is associated with the bug tracker id: 2039720 generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted. generic/tkInt.decls: Update the declarations for the now unused internalstubs. generic/tkIntDecls.h: Regenerated based on tkInt.decls. generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls. generic/tkStubInit.c generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId. macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro definitions. macosx/tkMacOSXXStubs.c: Remove the no-op TkpWindowWasRecentlyDeleted. unix/tkUnixEvent.c: Remove call to TkFreeXId. unix/tkUnixXId.c: Remove a lot of unnecessary code (see above). win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId. win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-53/+50
| | |
* | | * generic/tkStubInit.c: make stubs tables static constdas2008-04-161-3/+3
| | | | | | | | | | | | | | | * generic/tkWindow.c (Initialize): and export only a module-scope pointer to to the main stubs table (for package init). [Patch 1938497]
* | | * generic/tkWindow.c (Initialize): fix double-free on Tk_ParseArgvhobbs2008-04-071-2/+1
| | | | | | | | | | | | * tests/main.test (main-3.*): error. [Bug 1937135]
* | | typodgp2008-04-021-1/+3
| | |
* | | * generic/tkWindow.c: Revised package initialization so thatdgp2008-04-021-7/+1
| | | | | | | | | | | | | | | | | | * unix/Makefile.in: "tkStubsPtr" is not present in libtk.so, but is present only in libtkstub.a. This tightens up the rules for users of the stubs interfaces. [Tcl Bug 1819422].
* | | * README: Bump version number to 8.6a0dgp2008-04-011-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * macosx/Wish-Common.xcconfig: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6 * generic/tkMain.c: might [load] into a Tcl 8.5 interp. * generic/tkWindow.c: * generic/tkStubLib.c: Update to compatibility with a libtcl.so that contains no "tclStubsPtr" [Tcl Bug 1819422]. * generic/tkDecls.h: make genstubs * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: