summaryrefslogtreecommitdiffstats
path: root/win/tkWinWindow.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-2/+2
| | | using useful casts internally.
* Fix various 64-bit gcc(-4.5.2) warnings: cast from pointer to integer of ↵nijtmans2010-11-291-5/+8
| | | | different size
* Unnessarary TCL_STORAGE_CLASS re-definitionsnijtmans2010-04-291-2/+1
| | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char.
* - eliminate some unnessary type castsnijtmans2009-01-281-2/+2
| | | | | - some internal const decorations - spacing
* Factor out the platform-specific bits of [tk busy]. [Bug 2180919]dkf2008-10-201-3/+179
|
* After some discussion with Joe English and subsequently thegeorgeps2008-08-191-27/+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.
* bug #2026405: Check for 0x prefix in sprintf %p and redo if necessary. Works ↵patthoyts2008-07-261-1/+4
| | | | around cygwin issue.
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-2/+2
|
* Reduce the number of warningsdkf2007-02-231-3/+3
|
* Less of that K&R or wrongly indented function header style!dkf2007-02-221-2/+3
|
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-7/+6
|
* More fixes (mostly getting rid of excess spaces)dkf2005-12-021-18/+19
|
* ANSIficationdkf2005-12-021-149/+150
|
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish2002-06-141-4/+4
| | | | | | | | (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.
* * win/tkWinWindow.c: made use of standard Tk_GetHWND instead ofhobbs2001-10-011-11/+10
| | | | older, private TkWinGetHWND.
* * Corrected definition ofdgp2001-09-251-2/+2
| | | | | TkpScanWindowId to handle situation where types Window and int do not have the same number of bits. CONST-ified too.
* * win/tkWinWindow.c (TkpPrintWindowId, TkpScanWindowId): fixed tohobbs2001-09-211-5/+18
| | | | work on Win64 with 64bit XIDs.
* * generic/tkFileFilter.c (AddClause): Cast to match function prototype.mo2000-07-061-3/+1
| | | | | | | | | | | | | | | * 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-24/+26
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Reduced message traffic by setting WS_EX_NOPARENTNOTIFY on TkChild windows.stanton1998-08-051-3/+3
|
* plugin updateswelch1998-06-271-1/+6
|
* Initial revisionrjohnson1998-04-011-0/+796