summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* * tests/button.test: added button-14.1hobbs2002-09-021-61/+79
| | | | | | | * win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button sizing to be equal for one-line buttons with -height of 0 or 1, as well as -height 0 buttons with empty text and no image, which should be the same as single-line text buttons. [Bug #565485]
* Bumped version number to 8.4.0hobbs2002-09-022-3/+3
|
* Fix for bug #582457: make radio and checkbuttons work like Windows whenmacosx_8_4_premerge_2002_08_31_trunkmacosx_8_4_merge_2002_08_30_trunkdrh2002-08-281-4/+31
| | | | -relief is sunken, -offrelief is flat, and -overrelief is raised.
* * win/Makefile.in: Removed dependence on the (parts of) thedgp2002-08-262-44/+4
| | | | | * win/winMain.c: tcltest executable on Windows. It was not used, and the dependency complicated the Makefile. [Bug 592638].
* * README: Bumped version number to 8.4b3 to distinguishmacosx_8_4_merge_2002_08_20_trunkdgp2002-08-202-3/+3
| | | | | | | | | | | | | | * generic/tk.h: HEAD from the 8.4b2 release. * unix/configure.in: * win/configure.in: * unix/tk.spec: * unix/configure: autoconf * win/configure: * generic/tk.h: Added compile-time check that the tcl.h header file #included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure that new #defines like CONST84 are available. [Bug 597432].
* * unix/Makefile.in (install-binaries): simplified pkgIndex.tclhobbs2002-08-161-9/+9
| | | | | | file created on installation. * win/Makefile.in (install-binaries): corrected and simplified creation of pkgIndex.tcl file on installation.
* compilation, link fixesvincentdarley2002-08-143-6/+21
|
* Fix for Tk Bug #592201 "wm transient fails with two masters".jenglish2002-08-081-4/+4
|
* * win/configure:hobbs2002-08-082-4/+4
| | | | | * win/tcl.m4: added shell32 to libs for updated native Windows tk_chooseDirectory dialog.
* * win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in whenhobbs2002-08-081-4/+3
| | | | to idle call ReconfigureWindowsMenu.
* * win/tkWinDialog.c: enabled use of the updated native Windowshobbs2002-08-081-7/+3
| | | | | directory browser (tk_chooseDirectory). This does require shell32.dll v4.71 or greater. [Patch #468139]
* * win/tkWinFont.c: Additional changes to fix CONST warnings ondgp2002-08-052-7/+7
| | | | * win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley.
* Applied companion patch for Tcl Patch 585105,dgp2002-08-055-15/+15
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* Objectifed wm. [Patch #564521]pspjuth2002-07-251-1347/+2310
|
* * win/tkWinButton.c (TkpDisplayButton): corrected display of focushobbs2002-07-241-9/+10
| | | | | ring around the actual text when the button is a compound button. [Bug #583691]
* * unix/configure:mdejong2002-07-192-44/+46
| | | | | | | | | * unix/configure.in: * win/configure: * win/configure.in: Add AC_PREREQ(2.13) in an attempt to make it more clear that the configure scripts must be generated with autoconf version 2.13. [Tcl Bug 583573]
* code cleanupvincentdarley2002-07-171-38/+80
|
* * unix/Makefile.in:mdejong2002-07-161-2/+4
| | | | | * win/Makefile.in: Add a more descriptive warning in the event `make genstubs` needs to be rerun.
* WinWm fixesvincentdarley2002-07-161-20/+216
|
* re-add of the borland makefile. Submitted by Helmut Giese ↵davygrvy2002-07-161-0/+534
| | | | <hgiese@ratiosoft.com>.
* * Fixes for [Bug 581627].dgp2002-07-151-2/+2
| | | | | | | | * generic/tkTest.c: Test commands not supported on non-Unix platforms should not be defined there in the first place. * tests/constraints.tcl: Fixed "secureserver" constraint. * tests/unixWm.test: Some tests needed "unix" constraint. * win/tkWinWm.c: Typo in error message.
* * Bumped HEAD to version 8.4b2 in order to distinguish it fromdgp2002-07-142-3/+3
| | | | | the 8.4b1 release. Also extended LOCALES to cover all message catalogs.
* * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): initializehobbs2002-07-111-4/+9
| | | | | utfTitle to NULL, add a few more notes about limitations of possible new Tk_ChooseDirectoryObjCmd function.
* * win/Makefile.in (install-binaries): Fix of troubled Makefileandreas_kupries2002-06-271-7/+7
| | | | | quoting introduced by [Patch 521356] causing the installed to fail.
* * Expanded install-binaries target to create and install adgp2002-06-261-3/+17
| | | | pkgIndex.tcl file to enable Tk as a loadable package [Patch 521356]
* * tests/winWm.test: Verify that both an unmappedmdejong2002-06-241-3/+13
| | | | | | | | | | | | | | | | | | | | and already mapped toplevel are raised and receive the focus when deiconified. * tests/wm.test: Add wm deiconify tests. Check that a toplevel that has never been mapped is not mapped by the deiconify command since it should be done at idle by MapFrame. * win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED flag while processing the wm deiconify command. The WM_UPDATE_PENDING flag should never be set when WM_NEVER_MAPPED is set, but double check so that the implementation is more explicit and matches the comment just above. Return without invoking TkWmRestackToplevel or TkSetFocusWin on a toplevel that has never been mapped. This fixes a bug where a toplevel is mapped with the wrong size and is then resized by the idle call to MapFrame. [Tk bug 233150]