summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
Commit message (Collapse)AuthorAgeFilesLines
* Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
|\
| * Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
| |
* | Add missing __stdcall (which crashes on win32)jan.nijtmans2014-02-041-1/+2
|\ \ | |/
| * Add missing __stdcall (which crashes on win32)jan.nijtmans2014-02-041-1/+2
| |
* | Fix [http://core.tcl.tk/tcl/info/651e828a52|651e828a52]: Wrong Windows ↵jan.nijtmans2014-02-041-9/+21
|\ \ | |/ | | | | | | version reported for Windows 8.1. Remove some dead code (since Win95/98/ME is no longer supported)
| * Fix [http://core.tcl.tk/tcl/info/651e828a52|651e828a52]: Wrong Windows ↵jan.nijtmans2014-02-041-9/+20
| | | | | | | | version reported for Windows 8.1
* | Some bit of Windows 8.1 compatibility: See ↵jan.nijtmans2013-11-201-6/+6
|\ \ | |/ | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
| * Some bit of Windows 8.1 compatibility: See ↵jan.nijtmans2013-11-201-6/+6
| | | | | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
* | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-5/+4
| | | | | | ** WORK IN PROGRESS **
* | Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-081-1/+2
|\ \ | |/ | | | | needed for Cygwin
| * Change XSetDashes signature and many others to match Xorg, needed for Cygwinjan.nijtmans2012-06-051-1/+2
| |\
| | * Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-011-34/+35
| | | | | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
* | | Remove tclWinProcs, as it is no longer being usedjan.nijtmans2011-10-051-18/+2
| | |
* | | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-6/+6
|\ \ \ | |/ /
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-6/+6
| |\ \ | | |/
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-2/+2
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * SEH-emulation for AMD64jan.nijtmans2011-03-111-1/+1
| | | | | | | | | | | | | | | mingw-w64 does not accept _WIN32_IE < 0x0501 Merged --cherrypick from core-8-5-branch (2010-12-13, f4ecadb40d) remove conflicting definition of timezone struct
| | * * 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.
| | * * 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-8/+21
| | | | | | | | | | | | correctly. [Bug 1374119] (pajas)
| | * * win/tkWinX.c (GenerateXEvent): correct %A translation onhobbs2005-02-281-8/+11
| | | | | | | | | | | | MouseWheel [Bug 1118340]
| | * * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
| | * * 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-231-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] * win/tkWinMenu.c: only provide a submenu handle when the MF_POPUP flag is given, fixing a recently-introduced crash when submenus are disabled. Also better error checking for this sort of situation in the future. * win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled (TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842] * win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window. * win/tkWinMenu.c (DrawMenuEntryAccelerator): (DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.
| | * * 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-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mac/tkMacXStubs.c: to being implemented in a platform * macosx/tkMacOSXXStubs.c: specific manner. The cleanup order was * unix/tkUnixEvent.c: bad at least on Windows, where we * win/tkWinX.c: reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
| * | Cross-compile support for Win and UNIX (backported)nijtmans2010-12-131-2/+2
| | |
| * | * 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.
| * | [Bug 2956548] TkpButtonSetDefaults only initializes one button typenijtmans2010-03-121-12/+11
| | | | | | | | | | | | | | | Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES
| * | Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-1/+2
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-13/+13
| | | | | | | | | using useful casts internally.
* | | [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
| | |