summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * win/configure:hobbs2003-11-112-2/+2
| | | | * win/tcl.m4: add necessary ole libs to VC LIBS_GUI line.
* * 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-19/+35
| | | | | | * 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]
* Fixed an error in returning the name actually registered for 'send'.patthoyts2003-11-081-4/+5
|
* TIP 155 implementationvincentdarley2003-10-311-1/+2
|
* compound menu entriesvincentdarley2003-10-311-5/+23
|
* * win/tkWinImage.c (XGetImageZPixmap): add separate 16bpphobbs2003-10-281-1/+28
| | | | | XGetImage code to correctly handle 16bpp requests. This appears to never have worked correctly.
* * win/makefile.vc: Applied patches from tcl bug #801467 frompatthoyts2003-10-142-6/+48
| | | | * win/winMain.c: Joe Mistachkin
* correct imageYOffset for buttons with just imageshobbs2003-10-101-4/+4
|
* * win/tcl.m4: Add TIP #150 items to the TEA makefiles.patthoyts2003-10-085-67/+79
| | | | | | | | * win/configure: * win/Makefile.in: * win/tkWinSend.c: Clean up some warnings from gcc -Wall. * win/tkWinSendCom.c:
* * win/configure:hobbs2003-10-062-50/+2
| | | | | | * win/tcl.m4: removed incorrect checks for existence of optimization. TCL_CFG_OPTIMIZED is now defined whenever the user does not build with --enable-symbols.
* * win/makefile.vc: Implementation of TIP #150, "Providepatthoyts2003-09-264-5/+1363
| | | | | | * win/tkWinSend.c: 'send' command for Windows" * win/tkWinSendCom.h: * win/tkWinSendCom.c:
* Don't do a string compare on the $(DBGX) variable, use the $(DEBUG)davygrvy2003-08-251-7/+11
| | | | | boolean directly. Also, don't try to regen the stubs table if $(TCLSH) doesn't exist.
* * win/tkWin3d.c: Applied Tk patch 791273 from Jeremy Collins whichpatthoyts2003-08-201-5/+5
| | | | improves the 3d lines for sunken widgets under windows.
* * win/configure: Regen.mdejong2003-08-182-0/+99
| | | | | * win/tcl.m4: Update from Tcl to fix Tcl bug 781109.
* * win/tkWinDialog.c: Applied patch from bug #611615 which fixes apatthoyts2003-07-281-1/+52
| | | | | problem with double clicks in file dialogs falling through to the window underneath in win32.
* * win/tkWinCursor.c: Fix for bug #776646 for a native hand2 andpatthoyts2003-07-241-3/+12
| | | | | fleur (move) cursor under win. * tests/cursor.test: Check that documented cursors are available.
* * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to providepatthoyts2003-07-181-2/+2
| | | | consistency between unix and windows -cursor option.
* * 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)
* space in path bug fixvincentdarley2003-05-131-2/+2
|
* * 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: regenhobbs2003-04-182-1/+11
| | | | | * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x uses /bin/bash, which can fail to find exes in the path (ie: lib).
* * win/tkWinMenu.c (TkpInitializeMenuBindings):mdejong2003-04-151-11/+11
| | | | | | Rename the private menu helper cmd from tk::tkWinMenuKey to tk::WinMenuKey. [Bug 721514]
* * generic/tkBind.c (TkpGetBindingXEvent): Add helper methodmdejong2003-04-141-35/+97
| | | | | | | | | | | | | | that can be used to query the XEvent* for the currently executing binding. * generic/tkInt.h: Declare TkpGetBindingXEvent. * win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd, TkpInitializeMenuBindings): Rename MenuKeyBindProc to TkWinMenuKeyObjCmd and convert it into a Tcl command named tk::tkWinMenuKey. Bind keyboard accelerator actions to this Tcl command instead of using a native C binding. This makes it possible to extend the existing binding with Tcl code and makes the Windows version work just like the unix version.
* * win/configure: Regen.mdejong2003-04-033-3/+11
| | | | | | | * 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-28/+2
| | | | | | | | | | * 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. Don't subst vars that are either not used, or already covered by a subst in SC_LOAD_TCLCONFIG. [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.
* * win/tkConfig.sh.in: Add TK_DLL_FILE entrymdejong2003-03-191-1/+3
| | | | | to mirror the TCL_DLL_FILE entry in tclConfig.sh. [Patch 694271]
* * win/configure: Regen.mdejong2003-03-192-92/+75
| | | | | | | | | * win/configure.in: Don't run the AC_CYGWIN macro since it uses AC_CANONICAL_HOST under autoconf 2.5X. Just check to see if __CYGWIN__ is defined by the compiler and set the ac_cv_cygwin variable based on that. [Tcl Bug 705912]
* Require autoconf 2.57 or newer, see TIP 34mdejong2003-03-133-1043/+3592
| | | | | | | | | | | | | for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. * unix/tcl.m4: Update from Tcl. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. * win/tcl.m4: Update from Tcl.
* * doc/wm.n (minimize, maximize): Remove claimmdejong2003-03-121-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the resizable command keeps scripts from changing the size of windows since it is not true. The resizable command only applies to user sizing via user interaction. * tests/unixWm.test: Replace broken tests with the nonPortable constraint with new tests for maxsize and minsize options. These tests verify that setting the minsize and maxsize will resize the window if needed, and that the wm hints will be updated with the new sizes. * tests/wm.test: Add an exhaustive set of tests for the wm maxsize and wm minsize commands. These tests verify that setting the minsize and maxsize will resize the window if needed. These tests have only been run under Win98 and Window Maker under Linux, so further tweaking may be needed for other systems. * unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. Pass new width and height values to the UpdateSizeHints method so that it can properly set the window min and max sizes for a window that cannot be resized by the user. This fixes a bug where the window resizes back to the original size when the user clicks on the window border. * win/tkWinWm.c (UpdateGeometryInfo): Fixup comments and initialization for the minWidth, minHeight, maxWidth, maxHeight, width, and height members of the WmInfo struct. Check to ensure that a new toplevel window size is not larger than the maxsize or smaller than the minsize when updating the geometry at idle time. [Patch 568861]
* Backported the code that makes the makefile build pkgIndex.tcl as part Kevin B Kenny2003-03-111-1/+8
| | | | of the install step.
* updated default tcl version to 8.5davygrvy2003-03-061-2/+2
|
* * README: Bumped version number ofdgp2003-03-045-25/+25
| | | | | | | | | | | | | | | | | * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4: * unix/configure: autoconf * win/configure:
* * 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]
* * generic/tkInt.decls: add TkWinSetHINSTANCE declhobbs2002-12-083-14/+46
| | | | | | | | | | * 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-063-18/+20
| | | | | | * 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.
* * tests/wm.test: Add wm-transient-6.3 tomdejong2002-12-011-17/+9
| | | | | | | | | | | check that a transient remains withdrawn when it is first withdrawn and then turned into a transient. * unix/tkUnixWm.c: * win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN and set this flag whenever a window is explicitly withdrawn. This fixes the test case added above. [Bug 644356]
* * unix/configure: Regen.mdejong2002-11-062-39/+59
| | | | | | | * unix/tcl.m4: Update from Tcl. * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
* * win/winMain.c (Tcl_AppInit): Calls Registry_Init() anddavygrvy2002-11-044-108/+187
| | | | | | | | | | | | | Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde static lib files to the link of the shell. [Patch 479697] * win/rules.vc: Matches the one from Tcl. * win/buildall.vc.bat: More useful commentary.