summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
Commit message (Collapse)AuthorAgeFilesLines
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-061-60/+5
|
* [Bug 3080953] Malformed Unicode characters in %A substitutionnijtmans2010-10-051-5/+3
| | | | Problem was in the static function GetTranslatedKey().
* [Bug 3080953] Malformed Unicode characters in %A substitutionnijtmans2010-10-051-10/+12
| | | | The problem is somewhere in tkWinX.c, so temporary don't compile it with -DUNICODE, until the real problem is found.
* Add -Wdeclaration-after-statementnijtmans2010-09-231-19/+14
| | | | | tkWinX.c,winMain.c: Make compilable with -DUNICODE tkAppInit.c,winMain.c: Many clean-ups in comments, so all (tcl|tk)AppInit.c variants use the same style.
* win/tkWinX.c (_WIN32_IE): update to IE5.5 base expectationhobbs2010-09-161-2/+2
|
* Move definitions of WINVER/_WIN32_WINNT to one place, now that we only ↵nijtmans2010-09-131-9/+1
| | | | support Win2000+
* Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-1/+7
| | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* win/rules.vc: (sync with tcl version)nijtmans2010-09-091-24/+2
| | | | | | mingw should always link with -ladvapi32 Remove ascii variant of tkWinPocs table, it is no longer necessary.
* * win/tkWinX.c (HandleIMEComposition): [Bug 2992129]: Ensure that alldkf2010-05-201-1/+5
| | | | | places that generate key events zero them out first; Tk relies on that being true for the generic parts of the fix for Bug 1924761.
* Unnessarary TCL_STORAGE_CLASS re-definitionsnijtmans2010-04-291-3/+3
| | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char.
* tkWindow.c/tkStubInit.c adapted from stub changes in Tclnijtmans2010-02-161-37/+25
| | | | | | | | | | | | 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
* Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-1/+2
|
* eliminate various gcc and msvc compiler warningsnijtmans2009-08-021-15/+16
|
* TIP#171 implementation - sanity for <MouseWheel> event handling!dkf2008-12-281-7/+18
|
* TIP #324 IMPLEMENTATIONdas2008-12-101-1/+5
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-6/+6
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * win/tkWinInt.h: remove CS_CLASSDC (not recommended for any apps now)hobbs2007-12-051-15/+1
| | | | | | | * win/tkWinX.c: and simplify WNDCLASS to one style. * win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow change only and set WS_EX_LAYERED as sticky (once set on a window, do not remove it) to reduce alpha transition flicker.
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-11/+13
|
* * win/tkWinKey.c: Add WM_UNICHAR window message support (used byhobbs2006-08-301-1/+43
| | | | * win/tkWinX.c: virtual keyboard apps). [Bug 1518677] (petasis)
* * win/tkWinX.c (TkWinXInit): init default keyboard charsethobbs2006-04-051-2/+15
| | | | correctly. [Bug 1374119] (pajas)
* More fixes (mostly getting rid of excess spaces)dkf2005-12-021-221/+235
|
* Fix problems in last commitdkf2005-12-021-3/+3
|
* ANSIficationdkf2005-12-021-556/+573
|
* Fix for [Bug 1216006]Joe Mistachkin2005-08-211-2/+2
|
* * win/tkWinX.c: Define _WIN32_WINNT with NT SP 3 datamdejong2005-07-231-3/+3
| | | | | | | to fix compiler error because SendInput was not defined. The new msys_mingw7 release is now needed to compile the HEAD with mingw gcc. [Bug 1210712]
* * win/tkWinX.c (Tk_ResetUserInactiveTime): cast to squelchhobbs2005-06-011-8/+8
| | | | compiler warning.
* Partial implementation of TIP#245; thanks Reinhard!dkf2005-05-271-1/+95
|
* correct xany -> xkey typo from 2005-02-28 commithobbs2005-03-041-2/+2
|
* * win/tkWinX.c (GenerateXEvent): correct %A translation onhobbs2005-02-281-6/+9
| | | | MouseWheel [Bug 1118340]
* Modified to handle a wide-character title string of a toplevelchengyemao2005-01-311-1/+3
|
* Added TK_INFO message for use in an embedded window attachment protocol; ↵chengyemao2005-01-161-1/+2
| | | | 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
* Implemented TK_STAT message to support {wm state} for embedded windowchengyemao2005-01-071-1/+2
|
* Modified to support embedded menu widgetchengyemao2004-12-281-1/+2
|
* implemented overrideredirect for an embedded; corrected incorrect frame ↵chengyemao2004-12-201-1/+2
| | | | upper left x and y of an embedded toplevel
* featrue implementation of Tk container and embedded including TK_MOVEWINDOW, ↵chengyemao2004-12-201-2/+2
| | | | 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-1/+7
|
* bug fix (842945,831627)chengyemao2004-12-171-1/+2
|
* * win/tkWinX.c: Signature for tkWinXCleanup needed to bedavygrvy2004-10-271-5/+5
| | | | | | | * generic/tkInt.decls: changed so it matches the Tcl_ExitProc * generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast. * win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
* * win/tkWinX.c: Added declaration for advapi32 now that this filepatthoyts2004-09-241-1/+2
| | | | uses the Reg* functions (req'd for nmake build system).
* * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-231-68/+106
| | | | | | | | * win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color and screen resolution changes. Tested for 16/24/32 bpp changes on XP. May need more fixes for 8bpp switch, use of special colormaps, or other special palette handling cases. [Bug 223689]
* * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.mdejong2004-09-211-1/+56
| | | | | | | | | | | | | | | | It is only defined under Win32. * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw a disabled 3D text highlight for the accelerator only with the Win95/98 look. Same goes for the menu entry text. * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme): Automatically detect the Windows theme in use and return either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme function is invoked. [Patch 866194]
* TIP#158 implementation; keypad keys on Win are now distinguishable.dkf2004-07-051-1/+8
|
* * win/tkWinX.c: fix drawing of unicode chars in menuhobbs2004-05-031-1/+5
| | | | | * win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl) * win/tkWinMenu.c (ReconfigureWindowsMenu):
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-16/+49
| | | | | | | | * macosx/tkMacOSXXStubs.c: to being implemented in a platform * unix/tkUnixEvent.c: specific manner. The cleanup order was * win/tkWinX.c: bad at least on Windows, where we reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2/+2
| | | | | | | | | | | | | | | | | * 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]
* (TkWinXInit): Don't restric InitCommonControlsEx. It's valid on all platformsdavygrvy2003-12-131-10/+9
| | | | | | given IE 3.0+ is installed. As tkWinX.c does set #define _WIN32_IE 0x0300, I guess we can accept IE3 as the lowest denominator and use version 4.71 features of Comctl32.dll
* * generic/tkInt.decls: add TkWinSetHINSTANCE declhobbs2002-12-081-4/+29
| | | | | | | | | | * generic/tkIntPlatDecls.h: regen * generic/tkStubInit.c: regen * win/tkWinInit.c (TkpInit): While init and cleanup aren't correct * win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the * win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a dynamic Tk weren't being loaded correctly. Created a new function TkWinSetHINSTANCE for this purpose.
* * win/tkWinX.c (TkWinXInit): Move cleanup into an exit handlerhobbs2002-12-061-1/+7
| | | | | | * win/tkWin32Dll.c (DllMain): to ensure that it will be called * win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll. Also reset the static int initialized on cleanup to allow reinit.