summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * READNE: Bump version number to 8.4.13 and updatedgp2006-03-072-3/+3
| | | | | | | | * changes: changes to start prep for an 8.4.13 release. * generic/tk.h: * unix/configure{.in}: * unix/tk.spec: * win/configure{.in}:
* * win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"hobbs2006-03-021-11/+11
| | | | path-as-escape issue.
* []-quote ac_defun functionshobbs2006-03-021-11/+11
|
* 2005-11-16 Don Porter <dgp@users.sourceforge.net>dgp2005-12-011-3/+3
| | | | | | | | | | | *** 8.4.12 TAGGED FOR RELEASE *** * changes: Update changes for 8.4.12 release * mac/tkMacWm.c: Restored consistent error checking and * macosx/tkMacOSXWm.c: messages among different platform's * tests/wm.test: [wm grid] commands. [Bug 1323972]. * win/tkWinWm.c:
* simplified makefile.vc a little bitKevin B Kenny2005-12-011-13/+5
|
* restored the ability to build from makefile.vcKevin B Kenny2005-12-011-14/+34
|
* * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspecthobbs2005-12-011-2/+14
| | | | before rewrapping. [Bug 1086049]
* * win/Makefile.in: place TCL_BIN_DIR first in PATH for targets tohobbs2005-12-011-5/+5
| | | | get Tcl built dll first.
* * win/tkWinWm.c (UpdateWrapper): Don't install frame menu on deadhobbs2005-11-301-2/+4
| | | | window. Backport of 1233635
* * win/tcl.m4: Add build support for Windows-x64 builds.hobbs2005-11-306-65/+140
| | | | | | | | | * win/configure: --enable-64bit now accepts =amd64|ia64 for * win/Makefile.in: Windows 64-bit build variants (default: amd64) * win/makefile.vc: [Bug 1369597] * win/configure.in: * win/wish.exe.manifest.in (new): manifest must map in MACHINE * win/rc/wish.exe.manifest (removed): and VERSION to be correct.
* * README: Bump version number to 8.4.12dgp2005-11-162-3/+3
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproc: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf * win/configure:
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): reset storedhobbs2005-10-051-1/+3
| | | | path to "" if it doesn't exist and -mustexist is true. [Bug 1309218]
* * win/tkWin32Dll.c (DllMain): Replace old asm SEHmdejong2005-08-231-104/+92
| | | | | approach with Kenny's new SEH implementation. [Tcl bug 1235544]
* * generic/tkFrame.c (DisplayFrame):hobbs2005-07-281-1/+28
| | | | | | | | | | | * generic/tkInt.decls: add TkpDrawFrame to allow for * generic/tkIntDecls.h: platform-specific drawing into the frame/ * generic/tkStubInit.c: toplevel area. Currently only differs on * generic/tkFrame.c: OS X (Aqua), which will draw a themed bg * win/tkWinDraw.c: if tk::mac::useThemedToplevel == 1. * unix/tkUnixDraw.c: Normal frames left alone until we can * mac/tkMacDraw.c: better factor out frame drawing to be * macosx/tkMacDraw.c: widget-specific.
* * unix/Makefile.in: Subst TCLSH_PROG andmdejong2005-07-254-33/+57
| | | | | | | | | | | | | | | | | | | BUILD_TCLSH into Makefile. Rework html target so that it depends on the tclsh installed on the system PATH. * unix/configure: Regen. * unix/configure.in: Invoke SC_PROG_TCLSH and SC_BUILD_TCLSH and subst into Makefile. * unix/tcl.m4: Update from Tcl. * win/Makefile.in: Subst TCLSH_PROG and BUILD_TCLSH into Makefile. Rework winhelp target so that it depends on the tclsh installed on the system PATH. * win/configure: Regen. * win/configure.in: Invoke SC_BUILD_TCLSH and subst into Makefile. * win/tcl.m4: Update from Tcl. [Tcl patch 1244153]
* * README: Bump version number to 8.4.11dgp2005-06-182-3/+3
| | | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproc: * unix/configure.in: * win/configure.in: * unix/configure.in: Updated LOCALES to cover all msgs catalogs. * unix/configure: autoconf * win/configure:
* * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, ↵mdejong2005-06-011-5/+7
| | | | | | | | | | | TkWmStackorderToplevel): * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Fix panic in wm stackorder when a toplevel is created on another diplay. The code now ignores toplevels that have a display that does not match the display of the parent window. [Bug 1152809]
* * README: Bumped patchlevel to 8.4.10hobbs2005-05-272-3/+3
| | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure, unix/configure.in, unix/tk.spec: * win/configure, win/configure.in:
* * win/tcl.m4, win/configure: do not require cygpath in macros tohobbs2005-03-302-48/+54
| | | | allow msys alone as an alternative.
* * win/makefile.vc: clarify necessary defined vars that can comehobbs2005-03-081-14/+18
| | | | from MSVC or the Platform SDK.
* * win/tkWinWm.c (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSM.hobbs2005-03-081-2/+2
|
* * win/tkWinX.c (GenerateXEvent): correct %A translation onhobbs2005-02-281-8/+11
| | | | MouseWheel [Bug 1118340]
* * win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval forhobbs2005-02-111-10/+11
| | | | determining icon ref (potential crash). [Bug 1105738]
* * win/tkWinWm.c (TkWinWmCleanup): clean up layered window classhobbs2005-01-041-1/+10
| | | | This caused crash in reinit of Tk (as seen in plugin).
* * win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, removehobbs2004-12-302-26/+32
| | | | | | -Gs (included in -O2) and -GD (outdated). Use "link -lib" instead of "lib" binary and remove -YX for MSVC7 portability. Add -fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
* bumped patchlevel to 8.4.9hobbs2004-11-252-3/+3
|
* * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-291-9/+11
| | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
* * win/makefile.vc (DOTVERSION): Was installing 8.4 relabelled as 8.5patthoyts2004-10-291-2/+2
|
* * win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler):mdejong2004-10-281-1/+120
| | | | | Back port HAVE_NO_SEH handler code from CVS HEAD to fix gcc build breakage caused by 2004-10-26 back port.
* * README: Bumped to patch level 8.4.8dgp2004-10-282-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:
* * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-274-21/+51
| | | | | | | | | | | | * 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/makefile.vc: Backport to the most recentdavygrvy2004-10-273-32/+191
| | | | | * win/rules.vc: changes on the HEAD. * win/nmakehlp.c:
* * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER tohobbs2004-10-211-2/+3
| | | | | SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order).
* Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-051-6/+117
| | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
* * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-233-70/+219
| | | | | | | | * 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-233-51/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHAmdejong2004-09-231-3/+5
| | | | defines so that compiling with mingw works again.
* * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attributehobbs2004-09-211-41/+41
| | | | | settings prior to window mapping and resort to more forceful wrapper update again for -toolwindow (to remove it from taskbar).
* (UpdateWrapper): don't adjust Z order of TOPMOST window.hobbs2004-09-181-12/+28
| | | | | (WmAttributesCmd): don't call UpdateWrapper for -disabled or -toolwindow attr changes.
* * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 settinghobbs2004-09-181-19/+14
| | | | and round the value.
* * tests/winWm.test: Add 'wm attributes -alpha' to control toplevelhobbs2004-09-172-21/+158
| | | | | * win/tkWinInt.h: alpha transparency on Win2K/XP+. * win/tkWinWm.c: TIP #222 [Patch 892194]
* * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z orderhobbs2004-09-171-11/+32
| | | | | | | * tests/winWm.test: and focus of preexisting window when replacing the wrapper window. * win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to XWithdrawWindow with proper code. (mdejong)
* * 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: