summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* * win/tkWinWm.c (UpdateGeometryInfo) : wmPtr->wrapper mightdavygrvy2003-12-161-2/+3
| | | | | be NULL. No exception is thrown, but it isn't correct to ignore. discovered with NuMega's BoundsChecker.
* (ReconfigureWindowsMenu) : Only redraw the menubar when a menubardavygrvy2003-12-161-2/+6
| | | | | exists. Although the invalid handle doesn't cause an exception, it was discovered with NuMega's BoundsChecker and flagged as a problem.
* updated version stringdavygrvy2003-12-131-1/+1
|
* (TkWinXInit): Don't restric InitCommonControlsEx. It's valid on all platformsdavygrvy2003-12-131-10/+9
| | | | | | given IE 3.0+ is installed. As tkWinX.c does set #define _WIN32_IE 0x0300, I guess we can accept IE3 as the lowest denominator and use version 4.71 features of Comctl32.dll
* (TkWinEmbeddedEventProc) : for loop dereferences containerPtr but can'tdavygrvy2003-12-131-5/+7
| | | | | get to the if (containerPtr == NULL) test due to the unhandled read memory exception for when it really is NULL.
* fixed bad commit from before. my mistake. This is 1.16 now.davygrvy2003-12-121-4/+45
|
* Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl'sdavygrvy2003-12-121-45/+4
| | | | | DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax.
* * (Tk_MeasureChars): Initialize size.cx in case of errors.cc_benny2003-12-101-2/+5
| | | | | Initialize lastsize (fixes bug with wrong *lenghtPtr results in case no chars fit at all).
* fix to memory leaks and reading of freed memoryvincentdarley2003-12-091-18/+20
|
* * (Tk_MeasureChars): Fix indentation. Fix memory leak. Fixcc_benny2003-12-051-40/+32
| | | | handling of TK_WHOLE_WORDS.
* font measurement fixvincentdarley2003-12-041-121/+130
|
* winSend cleanup and bug fix -- these files need better documentationvincentdarley2003-11-202-107/+88
|
* * win/makefile.vc: Restored consistency of pkgIndex.tcl filedgp2003-11-171-7/+3
| | | | | | | with that generated by Makefile. Let's discuss whether there's really need for a change, and if so, let's make it consistently in all Makefiles.
* Fixes pkgIndex.tcl generation so a symbols build is loaded when Tcl is symbolsdavygrvy2003-11-161-3/+7
|
* * 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: