summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the righthobbs2004-09-131-15/+10
| | | | size for both icons ('?:' order of precedence mistake).
* (UpdateWrapper): update to Kovalenko to account for whether thehobbs2004-09-101-14/+16
| | | | | | override window has a transient parent, and apply WS_POPUP in the correct case. The makes splash screens pop up as well as making dropdowns not grab focus away from the parent.
* * win/tkWinWm.c (ActivateWindow): SetFocus to grab window whenhobbs2004-09-101-4/+9
| | | | clicking outside the grab window hierarchy. [Bug 220908]
* * win/tkWinWm.c: backport of several items from 8.5 head:hobbs2004-09-101-64/+152
| | | | | | | | | | | | | | (ReadIconFromFile): when using SHGetFileInfo to retrieve icon, get regular icon as well for correct Alt-Tab icon. (hobbs) Fix for #742882 "Potential division by zero in gridded wm geometry" (jenglish) (UpdateWrapper): Let overrideredirect'ed window's wrapper be the child of desktop window, thus making it to behave more similarly to X11 Override Redirect. Esp. useful for combobox-like megawidgets. (kovalenko) (InstallColormaps): Check for TK_ALREADY_DEAD to avoid handling of dead windows. (kovalenko) Change 'panic' to 'Tcl_Panic' (davygrvy)
* * win/tkWinDialog.c (EatSpuriousMessageBugFix): Fix a problem withhobbs2004-08-201-2/+50
| | | | | double clicks in file dialogs falling through to the window underneath in win32. [Patch #611615]
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon fromhobbs2004-08-203-15/+140
| | | | | * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
* * tests/canvText.test:mdejong2004-08-091-2/+2
| | | | | | | | | * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text under Win32. A long wrapping string that had leading spaces was being incorrectly wrapped. This change makes the Win32 implementation behave the same as the Unix implementation. [Patch 100628
* * README, macosx/Wish.pbproj/project.pbxproj: bumped tohobbs2004-07-132-3/+3
| | | | | * unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7 * win/configure, win/configure.in:
* Modified UpdateWrapper to fix bug 767176chengyemao2004-05-151-3/+3
|
* Apply fix from tcl bug #950049 for make docs.patthoyts2004-05-101-2/+2
|
* * win/tkWinFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make surehobbs2004-05-051-15/+33
| | | | | that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug #618872] (dkf, hobbs)
* * win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): placehobbs2004-05-031-1/+15
| | | | | images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte)
* * win/tkWinX.c: fix drawing of unicode chars in menuhobbs2004-05-033-5/+12
| | | | | * 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]
* * win/tkWinFont.c (Tk_MeasureChars): backport fixes to bold/italichobbs2004-02-141-144/+159
| | | | | | font handling. [Patch 852669] [Bug 478568] * tests/textDisp.test: added test for the font measurement problem.
* update to patchlevel 8.4.6hobbs2004-02-132-3/+3
|
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidlhobbs2004-02-131-7/+40
| | | | | for -initialdir if we have a UNC path because BFFM_SETSELECTION doesn't support UNC paths in strings.
* Backported fix for bug #776646 which makes hand2 and fleur native on windows.patthoyts2004-01-281-3/+12
|
* Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl'sdavygrvy2003-12-121-7/+5
| | | | | DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax.
* (WishPanic) : placed ExitProcess() in a __try block (SEH) to catch anydavygrvy2003-12-111-4/+6
| | | | | | | | | | | | exceptions that might happen. As Tcl will call Tcl_Finalize from its DllMain due to the unload from ExitProcess() unloading Tcl, and if Tcl_Panic had gotten called in an __except block, this avoid the possibility of not being able to exit. Falls to TerminateProcess() in the __except case. Removed the #ifdef _MSC_VER around DebugBreak as that function exists in kernel32.dll and is not compiler dependent. I'd prefer to use if (IsDebuggerPresent()) DebugBreak(); but IsDebuggerPresent() isn't available in all kernel32.dll modules for all versions of windows.
* * generic/tk.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-032-3/+3
| | | | | | | | | * unix/configure.in: CVS snapshots from the 8.4.5 release. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-032-3/+3
| | | | | | | | | | | * generic/tk.h: CVS snapshots from the 8.4.5 release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: autoconf (2.13) * win/configure:
* * win/makefile.vc: Restored consistency of pkgIndex.tcl filedgp2003-11-171-7/+3
| | | | with that generated by Makefile.
* Fixes pkgIndex.tcl generation so a symbols build is loaded when Tcl is symbolsdavygrvy2003-11-161-3/+7
|
* * win/tkWinDraw.c (XFillRectangles): correctly handle thehobbs2003-11-111-6/+25
| | | | | XGCValues.function parameter when filling rectangles. [Bug #820278] [Patch #820282]
* * win/configure:hobbs2003-11-112-17/+33
| | | | | | * win/configure.in: define TK_LIB_FLAG, TK_LIB_SPEC, TK_BUILD_LIB_SPEC, TK_STUB_LIB_SPEC, TK_STUB_LIB_PATH, and TK_BUILD_STUB_LIB_PATH for tkConfig.sh [Bug #826614]
* * win/tkWinImage.c (XGetImageZPixmap): add separate 16bpphobbs2003-10-291-4/+30
| | | | | XGetImage code to correctly handle 16bpp requests. This appears to never have worked correctly.
* correct imageYOffset for buttons with just imageshobbs2003-10-101-4/+4
|
* * README: Bumped to patch level 8.4.5dgp2003-10-032-3/+3
| | | | | | | | | | | * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to providehobbs2003-07-191-2/+2
| | | | consistency between unix and windows -cursor option. (thoyts)
* * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K.hobbs2003-07-181-3/+3
| | | | | This is a short-term solution until the -multiple option is extended. [Bug 641261]
* * win/tkWinImage.c (XGetImage): correct init of biSizeImage inhobbs2003-07-171-2/+2
| | | | bitmap header. [Bug 703697] (cap)
* * README: Bumped patchlevel to 8.4.4 in preparationdgp2003-07-152-3/+3
| | | | | | | | | | | * generic/tk.h: for the Tk 8.4.4 release. * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* Bumped version to 8.4.3hobbs2003-05-152-3/+3
|
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-261-31/+42
| | | | | | | | | | * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
* * unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc whenhobbs2003-04-251-9/+12
| | | | | | * win/tkWinButton.c (TkpDisplayButton): displaying disabled text that have images, as they get a gray50 stipple as well and the disabledGc is not set up correctly for font drawing. [Bug #477740]
* * win/configure: Regen.mdejong2003-04-033-22/+40
| | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4: Update from Tcl to get new LIBFLAGSUFFIX variable.
* * win/configure: Regen.mdejong2003-04-032-15/+1
| | | | | | | | * win/configure.in: Don't set TCL_DLL_FILE, TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG, and TCL_BUILD_STUB_LIB_SPEC. These variables are already set in tclConfig.sh. [Bug 691908]
* Corrected several problems that prevented OPTS=symbols from building Kevin B Kenny2003-03-232-9/+17
| | | | properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes.
* Backed the version to 8.4 on the 8.4 branch. Kevin B Kenny2003-03-131-2/+2
| | | | (I just loathe sticky tags).
* Backported the code that makes the makefile build pkgIndex.tcl as part Kevin B Kenny2003-03-111-2/+9
| | | | of the install step.
* * win/tkWinInt.h:hobbs2003-02-263-7/+42
| | | | | | * win/tkWinDraw.c: * win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text drawing on Windows. [Patch #685388] (martin)
* * win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL tohobbs2003-02-211-1/+7
| | | | | "disable" scrollbar when on Windows when there is nothing to scroll. This is Windows style, and fixes [Bug #624116].
* * win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox stringhobbs2003-02-181-1/+10
| | | | | to 1024 chars to prevent possible oversized window errors. May be necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]
* * README: Bumped to 8.4.2.hobbs2003-02-152-3/+3
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
* matched to the Tcl one. build option 'linkexten' renamed to 'staticpkg'.davygrvy2003-02-141-6/+7
|
* matched to the Tcl one.davygrvy2003-02-141-6/+19
|
* * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd,mdejong2003-01-141-5/+4
| | | | | | | | ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd): Remove unused tsdPtr variable. Use TEXT macro instead of _T macro since _T does not work under Cygwin. Declare flags as UINT to avoid compiler warning when compiling with mingw.
* * win/Makefile.in: Add TCL_DEFS to AC_FLAGSmdejong2003-01-133-28/+72
| | | | | | | | | | | | | so that compiler flags defined by Tcl get passed to the compiler. Add empty rule for cat.c so that Tk compiles under msys. * win/configure: Regen. * win/tcl.m4: Update from Tcl, this pulls in a subst of TCL_DEFS, it also defines USE_THREAD_ALLOC when threads are used and it updates the SC_ENABLE_SYMBOLS and SC_PROG_TCLSH macros to match the ones used in Tcl.
* * win/makefile.vc: tclThreadTest.obj not required to linkdavygrvy2002-12-101-3/+2
| | | | tktest.exe [Bug 651396]