summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* Backported fix for bug #776646 which makes hand2 and fleur native on windows.patthoyts2004-01-281-3/+12
| | | FossilOrigin-Name: 41e6f000686239707adc6bba8a13f26d3c987d6e
* Reverted to 1.15 for two reasons. 1) problem is best addressed in Tcl'sdavygrvy2003-12-121-7/+5
| | | | | | | DllMain() and 2) needs a MinGW custom assembly implimentation as it doesn't understand SEH syntax. FossilOrigin-Name: 569264164f3b2fa616ef2300d5e54c19f7d78ec6
* (WishPanic) : placed ExitProcess() in a __try block (SEH) to catch anydavygrvy2003-12-111-4/+6
| | | | | | | | | | | | | | exceptions that might happen. As Tcl will call Tcl_Finalize from its DllMain due to the unload from ExitProcess() unloading Tcl, and if Tcl_Panic had gotten called in an __except block, this avoid the possibility of not being able to exit. Falls to TerminateProcess() in the __except case. Removed the #ifdef _MSC_VER around DebugBreak as that function exists in kernel32.dll and is not compiler dependent. I'd prefer to use if (IsDebuggerPresent()) DebugBreak(); but IsDebuggerPresent() isn't available in all kernel32.dll modules for all versions of windows. FossilOrigin-Name: fba3b0257b5000a50421879687753cfdec5c6142
* * generic/tk.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-032-3/+3
| | | | | | | | | | | * unix/configure.in: CVS snapshots from the 8.4.5 release. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: FossilOrigin-Name: 93b2940e2dd5165fd97d4b35486432689cc9dcc1
* * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-032-3/+3
| | | | | | | | | | | | | * generic/tk.h: CVS snapshots from the 8.4.5 release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: autoconf (2.13) * win/configure: FossilOrigin-Name: 770d7a24d4611d8ab7e8b8db54b27c6854644b95
* * win/makefile.vc: Restored consistency of pkgIndex.tcl filedgp2003-11-171-7/+3
| | | | | | with that generated by Makefile. FossilOrigin-Name: 6aee53f39a2488ee2a0bb4f36cf56ffaf31d98fe
* Fixes pkgIndex.tcl generation so a symbols build is loaded when Tcl is symbolsdavygrvy2003-11-161-3/+7
| | | FossilOrigin-Name: 69b2fc66af74a6fc76a427a3ca27f1405fbc7f5e
* * win/tkWinDraw.c (XFillRectangles): correctly handle thehobbs2003-11-111-6/+25
| | | | | | | XGCValues.function parameter when filling rectangles. [Bug #820278] [Patch #820282] FossilOrigin-Name: 6bc71292aad1a5c7bf671fe5041d3d0c3cd3a387
* * win/configure:hobbs2003-11-112-17/+33
| | | | | | | | * 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] FossilOrigin-Name: dc5ae65a3bc84f6feb9afbee990cd963164da57b
* * win/tkWinImage.c (XGetImageZPixmap): add separate 16bpphobbs2003-10-291-4/+30
| | | | | | | XGetImage code to correctly handle 16bpp requests. This appears to never have worked correctly. FossilOrigin-Name: 371181733dd5d3b15fc4e635e14bd0b307b9ad2a
* correct imageYOffset for buttons with just imageshobbs2003-10-101-4/+4
| | | FossilOrigin-Name: 2f286539371b5828da5aa926c1e464124301aed3
* * README: Bumped to patch level 8.4.5dgp2003-10-032-3/+3
| | | | | | | | | | | | | * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: FossilOrigin-Name: 369f5319e5b896a0c2eb28da517ec7ee5932220d
* * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to providehobbs2003-07-191-2/+2
| | | | | | consistency between unix and windows -cursor option. (thoyts) FossilOrigin-Name: 92e27acb8077174acf762357736bd77e264086b2
* * 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] FossilOrigin-Name: a13d3d91f2e73dd2315b8063b8a6853558737041
* * win/tkWinImage.c (XGetImage): correct init of biSizeImage inhobbs2003-07-171-2/+2
| | | | | | bitmap header. [Bug 703697] (cap) FossilOrigin-Name: d6ab62a7a806b23e77fcc7358a62a820cd48f831
* * README: Bumped patchlevel to 8.4.4 in preparationdgp2003-07-152-3/+3
| | | | | | | | | | | | | * generic/tk.h: for the Tk 8.4.4 release. * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: FossilOrigin-Name: 8af3bd8d8360de00b5cd5dd9e75835c7600a8153
* Bumped version to 8.4.3hobbs2003-05-152-3/+3
| | | FossilOrigin-Name: 73092b4effa1f8f9b8af839cedd2c2c68376c2d0
* * 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. FossilOrigin-Name: 6e8bda65b8ba2dd0a752ecffcd03955feadd3093
* * 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] FossilOrigin-Name: 069316b2e3ce03439a944683226db04795d4b188
* * win/configure: Regen.mdejong2003-04-033-22/+40
| | | | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4: Update from Tcl to get new LIBFLAGSUFFIX variable. FossilOrigin-Name: 889afe7c6c55694eb81a68cf1e57d11503b24117
* * win/configure: Regen.mdejong2003-04-032-15/+1
| | | | | | | | | | * 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. [Bug 691908] FossilOrigin-Name: a7f21dafa79c375281541a500c929c314bfe295a
* Corrected several problems that prevented OPTS=symbols from building kennykb2003-03-232-9/+17
| | | | | | properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes. FossilOrigin-Name: 10a8982de82ffd20e9bd30ddff572a7bae7f2098
* Backed the version to 8.4 on the 8.4 branch. kennykb2003-03-131-2/+2
| | | | | | (I just loathe sticky tags). FossilOrigin-Name: 8c5beabb62d4de09ed2eff29b7b44c2c203ce0a2
* Backported the code that makes the makefile build pkgIndex.tcl as part kennykb2003-03-111-2/+9
| | | | | | of the install step. FossilOrigin-Name: 43cb2db22dc8137d4a01beb7f0281b7a1924fa30
* * 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) FossilOrigin-Name: e9b026f7cef7dc4a2ab3270e627f278c94b131fd
* * 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]. FossilOrigin-Name: 3f81cd6435baabe74b61709987056d5993cc1a98
* * 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] FossilOrigin-Name: 65e7d42c400fc5eeaf02b955822a92e6af84f2be
* * 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