summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1.andreas_kupries2002-11-011-2/+2
|
* * win/configure: Regen.hobbs2002-10-192-15/+66
| | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version of windres and work around that case by passing a POSIX path instead of a Windows native path. One can't always pass a POSIX path because the mingw native toolchain accepts only Windows native paths. (dejong)
* * win/tkWinPort.h: define OPEN_MAX only if not defined.hobbs2002-10-191-1/+3
| | | | [Patch #625472] (howell)
* * win/winMain.c (WinMain, main): remove obsolete SetMessageQueue callhobbs2002-10-191-21/+1
|
* * win/configure:hobbs2002-10-162-20/+54
| | | | * win/tcl.m4: Add --enable-shared=mem support.
* * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use ofhobbs2002-10-101-56/+65
| | | | | | | | TkColormapData on Windows (Windows now requires RGB pixel data from image). * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded widgets on canvases on Windows, tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
* * tests/canvPs.test: tests for canvas embedded window ps generationhobbs2002-10-101-26/+324
| | | | | | | | | | * generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop. * generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of TkColormapData on Windows. Non-separated data may need correction as well. * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded windows on canvases.
* * README: Bumped to version 8.4.1 to avoid confusiondgp2002-09-272-3/+3
| | | | | | | | | | | * generic/tk.h: of CVS snapshots with release 8.4.0. * unix/README: * unix/configure.in: * unix/tk.spec * win/configure.in: * unix/configure: autoconf * win/configure:
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-274-31/+88
| | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure: Regenerate. * win/tkWinPort.h (tchar.h): Do not include on Cygwin. (_T): Define for Cygwin. * win/winMain.c (main): Conditionally define.
* * win/Makefile.in (install-libraries): Added code section toandreas_kupries2002-09-041-2/+10
| | | | | | install the message catalogs. Copied same section from unix/Makefile.in and adapted it to the slightly different environment.
* correction to r1.19 fix to only incr inset when no image is usedhobbs2002-09-031-5/+7
|