summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * 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: FossilOrigin-Name: 4404a5cbd0f4594cee308d8d93a647263f054a94
* matched to the Tcl one. build option 'linkexten' renamed to 'staticpkg'.davygrvy2003-02-141-6/+7
| | | FossilOrigin-Name: dbc2da50aac8cf5cd3e08b9f5b36f7b129bfa327
* matched to the Tcl one.davygrvy2003-02-141-6/+19
| | | FossilOrigin-Name: 1d45dd13eb78dccc1aefea2af202af61723849b2
* * 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. FossilOrigin-Name: 122cf82b9fe88057c4f4b0fa21304f7b6e08fbee
* * 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. FossilOrigin-Name: 53f1ef69737ab3257175c5e7f59d1f0db1993c36
* * win/makefile.vc: tclThreadTest.obj not required to linkdavygrvy2002-12-101-3/+2
| | | | | | tktest.exe [Bug 651396] FossilOrigin-Name: 55393861e9e171bc97cf371f0f52556c7bda04d7
* * 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. FossilOrigin-Name: 07dfcd13bcbf8c38b20c8e156f51d25ace1d615d
* * 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. FossilOrigin-Name: f4d362d9f2b0cfab700ab4f1b951f2a665b86318
* * 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] FossilOrigin-Name: 35f7ae4fdc9831ebce4991bb57ad16ee1347afd6
* * 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. FossilOrigin-Name: 37ce221ad3dfa2b9fca25348b9e849cbc605de2f
* * 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. FossilOrigin-Name: 430b4100e7aecc7a466e1a42a07a91ac7ce91717
* * win/makefile.vc (TCLREGLIBNAME): Updated to registry 1.1.andreas_kupries2002-11-011-2/+2
| | | FossilOrigin-Name: af15380788ed863e48c622cb1f9266d1ca172faa
* * 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) FossilOrigin-Name: 02559aa04454bbe8280cb87da0e8190acf5fc28f
* * win/tkWinPort.h: define OPEN_MAX only if not defined.hobbs2002-10-191-1/+3
| | | | | | [Patch #625472] (howell) FossilOrigin-Name: 87344c394a74d9011fb8c2203dd5647d9d2f8679
* * win/winMain.c (WinMain, main): remove obsolete SetMessageQueue callhobbs2002-10-191-21/+1
| | | FossilOrigin-Name: 1b4c22ee355db729eaf25b0dde58c6c4507aaef2
* * win/configure:hobbs2002-10-162-20/+54
| | | | | | * win/tcl.m4: Add --enable-shared=mem support. FossilOrigin-Name: 5c6155139d7bb7174ebf731748013f5865608860
* * 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). FossilOrigin-Name: 6b1d5fc9af236f7bba8eb38f812f6de02005c7c2
* * 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. FossilOrigin-Name: 52521f7c4f72d9096f9e57e07e11a33fcc7e0af1
* * 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: FossilOrigin-Name: 646705f847239b26ec35d10e1205511271f1c8a7
* 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. FossilOrigin-Name: 85aa3e209016ec5dccf66dd0595b87989845a100
* * 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. FossilOrigin-Name: 106f720e7185d22528efc50cb346b79efb804136
* correction to r1.19 fix to only incr inset when no image is usedhobbs2002-09-031-5/+7
| | | FossilOrigin-Name: 3cfb6a2490be5db3d9844c5dcbf29a3e0175a50a
* * 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] FossilOrigin-Name: 0c303d23f98178dc5ea7f23cf7a139739184f189
* Bumped version number to 8.4.0hobbs2002-09-022-3/+3
| | | FossilOrigin-Name: 912aaecc43ffea8ab2570af2e2258aba3e7b2402
* 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. FossilOrigin-Name: 9abdf011ca88bab450f8f209eef2613da8ec603f
* * 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]. FossilOrigin-Name: e82e08ec10881d98c016391391eb668f454d5efc
* * 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]. FossilOrigin-Name: da31378977193262b10329ee2205aded0442aae3
* * 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. FossilOrigin-Name: 98f260cd40848b13eb25af0c752e5bbee4e06609
* compilation, link fixesvincentdarley2002-08-143-6/+21
| | | FossilOrigin-Name: 9181c8821a0c9b8289012bf19c929868e0e09dec
* Fix for Tk Bug #592201 "wm transient fails with two masters".jenglish2002-08-081-4/+4
| | | FossilOrigin-Name: 4e600e965166da9366159ab1c056fa4f581c2dc9
* * win/configure:hobbs2002-08-082-4/+4
| | | | | | | * win/tcl.m4: added shell32 to libs for updated native Windows tk_chooseDirectory dialog. FossilOrigin-Name: f1e64387dcea6bf9a0bac3e5e46be65988059099
* * win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in whenhobbs2002-08-081-4/+3
| | | | | | to idle call ReconfigureWindowsMenu. FossilOrigin-Name: f8c3d249a011a7d9a7de173383c8d5717e91db39
* * 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] FossilOrigin-Name: 13676ed9aa753ecbeb6b47e46ab39a5a7500dea5
* * 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. FossilOrigin-Name: b4beb44ec364b878092bb55f550dd0389efba45d
* 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) FossilOrigin-Name: 5603f01aa35a127f83db9bb68f3b1ff9e5bb64de
* Objectifed wm. [Patch #564521]pspjuth2002-07-251-1347/+2310
| | | FossilOrigin-Name: 92401d20cc4325169eeb6ae277fea3cd22014fb3
* * 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] FossilOrigin-Name: 4ba93c3151325a3fd36ee294b4f71d0749bf5ab0
* * 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] FossilOrigin-Name: b62109fb8699d7886b0263350b4f1c1e75ca0887
* code cleanupvincentdarley2002-07-171-38/+80
| | | FossilOrigin-Name: ef406e530a59ae4b8deb8cdf8ccdc2766463d880
* * 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. FossilOrigin-Name: 20db6a8739e021f7d1bf16d5e4f3a3913b3491ad
* WinWm fixesvincentdarley2002-07-161-20/+216
| | | FossilOrigin-Name: c350236caf9c06f37605cb7bcb53964eb15ebeda
* re-add of the borland makefile. Submitted by Helmut Giese ↵davygrvy2002-07-161-0/+534
| | | | | <hgiese@ratiosoft.com>. FossilOrigin-Name: 39ae7cc0ec6877cbf402729e3b3b2c137216683a
* * 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. FossilOrigin-Name: 7c47575ff94235a6d7920fd27a4517e891808143
* * 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. FossilOrigin-Name: 1248e4a3566e430ae5e41ab1d3d0549e3e3f8c6d
* * 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. FossilOrigin-Name: ebbd6e32a7c384b9ef813d0af55f3534ce50218b
* * win/Makefile.in (install-binaries): Fix of troubled Makefileandreas_kupries2002-06-271-7/+7
| | | | | | | quoting introduced by [Patch 521356] causing the installed to fail. FossilOrigin-Name: 3b8c5ad9ca1e95f03be20b2f861dd754faf78063
* * 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] FossilOrigin-Name: 0f8555e74536c23ab3bca8f45f8493836b352119
* * 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] FossilOrigin-Name: 1dd500e6c2a03f2824568f52e6022bb3e9d985ff
* * win/tkWinWm.c (UpdateGeometryInfo): remove the check for a nullhobbs2002-06-241-3/+2
| | | | | | | | | wrapper introduced in r1.41 on 2002-06-15 because it prevented geometry setting from taking effect if the window was not on the screen. Another check may go in it's place as IsIconic and IsZoomed should not be passed NULL. FossilOrigin-Name: baa8df33c42aaacf8031fc7092ea48db03fcc160
* * tests/wm.test: Remove invalid minsize test. Add updatemdejong2002-06-241-4/+4
| | | | | | | | | | | | calls to wm transient tests so that idle handlers get run. This is needed to get the tests to pass under Win32. * unix/tkUnixWm.c (WmWaitMapProc): Move the special transient withdrawn check into the if body to make it easier to set a breakpoint on this test inside a debugger. No functional changes. * win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto. FossilOrigin-Name: 033a5a14b699169c2ef9e9277c3b97bbfac41cd4