summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * win/tclWinThrd.c (Tcl_CreateThread): Close Windowsmdejong2001-07-241-5/+6
| | | | | | HANDLE returned by _beginthreadex. The MS documentation states that this handle is not closed by a later call to _endthreadex.
* * generic/tclPlatDecls.h: Define TCHAR by includingmdejong2001-07-192-23/+2
| | | | | | | | | | windows.h instead of tchar.h since Cygwin does not support the tchar.h header. Include CHECK_UNICODE_CALLS logic from tclWinPort.h. * win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic. Remove include of windows.h since this now done it tclPlatDecls.h. * win/tclWinReg.c: Remove duplicate include of windows.h.
* * win/tclWinFile.c (TclpReadlink): Add Cygwin specific definitionmdejong2001-07-171-1/+46
| | | | | for the TclpReadlink function. This method implements reading of symbolic links when build with Cygwin.
* * win/tclWinPort.h: Add Cygwin specific defines for environmdejong2001-07-171-1/+8
| | | | and timezone variables.
* * win/tclWinPipe.c (PipeClose2Proc): constrained the mutex lock tohobbs2001-07-171-17/+16
| | | | just the TerminateThread call and waiting for termination. (jsmith)
* * win/tclWinConsole.c:mdejong2001-07-165-11/+5
| | | | | | | | | | * win/tclWinPipe.c: * win/tclWinPort.h: * win/tclWinSerial.c: * win/tclWinThrd.c: Remove unnecessary #includes of dos.h, direct.h, and tchar.h. This will help the Cygwin porting effort since these headers do not exist under Cygwin.
* * unix/Makefile.in: Add AR variable for use in STLIB_LD.mdejong2001-07-112-19/+18
| | | | | | | | | | | | | | * unix/configure: Regen. * unix/configure.in: Use STLIB_LD when defining MAKE_LIB and MAKE_STUB_LIB. Subst RANLIB and AR. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about STLIB_LD command. Check ${AR} env var when setting STLIB_LD and delay evaluation until make time. * win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of ${AR} in STLIB_LD and add flags to better match the Unix implementation. Don't bother defining AR when using VC++ since it is not used.
* * win/configure: Regen.mdejong2001-07-062-13/+27
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in addition to the -mwindows flag to work around a problem with ld when it incorrectly use main() as the executable entry point when both WinMain() and main() are available.
* * win/Makefile.in: Subst DEPARG directly insteadmdejong2001-07-064-39/+49
| | | | | | | | | | | | | | | of relying on a variable. This will make Cygwin build faster since an extra exec will be avoided. * win/configure: Regen. * win/configure.in: Subst DEPARG. * win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING after the AC_CHECK_PROG so that status messages do not get mixed together. Set DEPARG based on the results of the cygpath check so that we avoid using an extra exec when it is not needed. Use ac_cv_cygwin status flag instead of looking at the output of gcc -v, which works in the case where -mno-cygwin is set in the CFLAGS.
* updated READMEs with purlsuid381722001-07-052-12/+12
|
* * win/Makefile.in: Remove PATHTYPE variable.mdejong2001-07-044-46/+53
| | | | | | | | | | * win/configure: Regen. * win/configure.in: Don't subst PATHTYPE. * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE variable. Set CYGPATH to "cygpath -w" if the cygpath executable is found on the path. This approach works for native Cygwin builds and cross compiles.
* * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass the v flagmdejong2001-07-032-2/+2
| | | | to ${AR} when using gcc, verbose output is not needed.
* * tests/unixInit.test (unixInit-2.8): Corrected test for alldgp2001-07-021-1/+13
| | | | | | | | | | | | absolute pathnames in library path when executable is installed near root directory to use correct development directory layout. [Bug 438014] * tests/unixInit.test (unixInit-2.9): * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy construction of search path entries relative to executable. Added test for bad construction. [Bug 438014]
* * unix/Makefile.in:mdejong2001-06-271-1/+7
| | | | | | * win/Makefile.in: Add `make shell` target. This target will set the proper env vars before invoking tclsh from the build directory.
* * win/Makefile.in: Use : to separate VPATH entries. Thismdejong2001-06-274-24/+15
| | | | | | | | works for both Cygwin builds and cross builds, the VPSEP variable is simply unneeded complexity. * win/configure: Regen. * win/configure.in: Don't subst VPSEP. * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
* * unix/configure: Regen.mdejong2001-06-262-3/+3
| | | | | | | * unix/configure.in: Fix last checkin by removing export since that only works in bash. * win/configure: Regen. * win/configure.in: Ditto.
* * unix/configure: Regen.mdejong2001-06-262-40/+52
| | | | | | | | * unix/configure.in: Set CFLAGS to "" if the user did not set CFLAGS in the env. This keeps AC_PROG_CC from adding "-g -O2" to the CFLAGS by default. * win/configure: Regen. * win/configure.in: Ditto.
* * win/configure: Regen.mdejong2001-06-263-30/+25
| | | | | | * win/configure.in: Use RC_DEFINE flag from tcl.m4. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE flag based on the compiler in use.
* * win/tcl.m4 (SC_CONFIG_CFLAGS): Link to themdejong2001-06-262-2/+2
| | | | imm32 library when building with mingw gcc.
* * win/configure: Regen.mdejong2001-06-262-70/+33
| | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): When building with gcc, don't attempt to link with LD or support dllwrap. Simply require a recent version of Cygwin gcc or Mingw gcc that supports -shared. When linking, use gcc instead of ld since gcc automatically includes libs like -lmsvcrt.
* * win/configure:mdejong2001-06-232-7/+19
| | | | | * win/configure.in: Add resource compiler fix from 8.3.3 to fix compiling with mingw.
* * win/configure: Regen.mdejong2001-06-232-2/+2
| | | | * win/tcl.m4: Fix silly typo in last checkin.
* * unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.mdejong2001-06-224-30/+28
| | | | | | | | | | | | | | | | | | | | Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. This will support user set CFLAGS or LDFLAGS at configure time. * unix/configure: Regen. * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEFAULT, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE. * unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it uses a Makefile variable just like CFLAGS_DEFAULT. * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. This will support user set CFLAGS or LDFLAGS at configure time. * win/configure: Regen. * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile. * win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it uses a Makefile variable just like CFLAGS_DEFAULT.
* * win/configure:mdejong2001-06-222-4/+4
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG to -g or LDFLAGS_OPTIMIZE to -O when compiling with gcc. These flags are not needed and can cause problems with the Cygwin version of ld.
* * generic/tclInt.decls:dgp2001-06-171-1/+7
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclPanic.c (Tcl_PanicVA): * mac/tclMacAppInit.c (main): * mac/tclMacPanic.c (TclpPanic): * unix/tclUnixPort.h: * win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic for setting a platform-specific panic handler. TclpPanic is NULL on Unix and Windows. Fixes broken wish on Mac due to earlier patches. [Patch 415648] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: `make gentubs` after above changes.
* * unix/tcl.m4 (SC_LOAD_TKCONFIG):mdejong2001-05-231-2/+2
| | | | | | Remove use of undefined TCLCONFIG variable and call AC_MSG_RESULT to print the checking result. * win/tcl.m4: Ditto.
* * unix/Makefile.in: Add a LDFLAGS variable to themdejong2001-05-114-51/+48
| | | | | | | | | | | | | | Makefile instead of directly substing @LDFLAGS@. * unix/configure: Regen. * unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.win/tcl.m4 * win/Makefile.in: Move the setting of CFLAGS higher up in the Makefile. * win/configure: Regen. * win/configure.in: Use dnl to comment out macros so that they are not accidently expanded. * win/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.
* * unix/configure: Regen.mdejong2001-04-253-16/+23
| | | | | | | | * unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * unix/tclConfig.sh.in: Add TCL_THREADS variable. * win/configure: Regen. * win/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * win/tclConfig.sh.in: Add TCL_THREADS variable.
* * README:hobbs2001-04-032-9/+5
| | | | | * win/README: * win/README.binary: further notes corrections.
* * win/configure:hobbs2001-04-032-2/+2
| | | | * win/tcl.m4 (SHLIB_LD): added -incremental:no. [Bug #219381]
* * README:hobbs2001-04-022-34/+20
| | | | | | | | * mac/README: * win/README: * win/README.binary: * unix/README: updated patchlevel information to 8.4a3 and updated links and notes.
* * generic/tcl.h:hobbs2001-04-022-4/+4
| | | | | | | | | * tools/tcl.wse.in: * win/configure.in (VER): * win/configure: * unix/configure: * unix/configure.in (VER): * unix/tcl.spec: updated patchlevel information to 8.4a3
* * win/tclWinSock.c (SocketEventProc): Fixed race condition inhobbs2001-03-311-2/+2
| | | | | readability of socket on Windows. [Patch #410674, Bug #219205 #219333]
* * win/Makefile.in (install-libraries): removed extra \s that brokehobbs2001-03-301-10/+10
| | | | | | the target. (install-doc): improved install-* targets to use their base build dependency.
* * win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.hobbs2001-03-301-1/+1
|
* Removed tclWinTCharEncoding (static variable in win/tclWin32Dll.c)dkf2001-03-261-2/+1
|
* 2000-01-31 Don Porter <dgp@users.sourceforge.net>dgp2001-01-311-3/+3
| | | | | * win/makefile.vc (install-libraries): Corrected misdirected install directory for the msgcat 1.2 package.
* 2001-01-04 Don Porter <dgp@users.sourceforge.net>dgp2001-01-041-7/+12
| | | | | | | | | | | | * tests/unixInit.test: * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Several entries in the library path ($tcl_libPath) are determined relative to the absolute path of the executable. When the executable is installed in or near the root directory of the file system, relative pathnames were being incorrectly generated, and in the worst case, memory access violations were crashing the program. [Bug 119416, Patch 102972]
* * win/tclWinTime.c (CalibrationThread): added lint return value tohobbs2000-12-101-3/+4
| | | | prevent compiler warning. [Bug #125005]
* Applied the patch for TIP #7 from Kevin Kenny.andreas_kupries2000-11-213-10/+522
| | | | See http://www.cs.man.ac.uk/fellowsd-bin/TIP/7.html
* 2000-11-16 Andreas Kupries <a.kupries@westend.com>andreas_kupries2000-11-161-2/+2
| | | | | | | | * win/tclWinPort.h (line 69): Changed reference to winsock2.h into winsock.h. This was a leftover from a foray into using winsock version 2 (History lesson from Scott Redman and Jeff Hobbs). This code was no problem when compiling Tcl itself, but could trip extensions. Fixes bug 122568.
* 2000-11-03 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-11-031-1/+0
| | | | | * win/.cvsignore: Removed 'configure' from the glob list now that it's included.
* * tools/tcl.wse.in: updated for unversioning of library dirshobbs2000-11-032-21/+38
| | | | | | | * unix/Makefile.in (install-libraries, dist): * win/makefile.vc (install-libraries): * win/Makefile.in (install-libraries): updated to install unversioned library directories into versioned directories.
* * unix/configure:hobbs2000-11-031-0/+1885
| | | | | | | | | * unix/dltest/configure: * win/configure: * tools/configure: checked in configure scripts so people doing CVS checkouts aren't required to have autoconf. Changes to configure.in in the future will require the corresponding configure script to also be re-autoconf'ed and checked in.
* updated default tools pathshobbs2000-11-031-14/+9
|
* makefile fixes for Win64 supporthobbs2000-11-022-22/+57
|
* 2000-10-30 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-10-315-29/+96
| | | | | | | | | * win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/tcl.rc: * win/tclsh.rc: Added logic to derive filenames better in the resource scripts based on compile options.
* 2000-10-26 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-10-271-2/+2
| | | | | | * win/tclWinFile.c (TclpMatchFilesTypes): NULL was being set to "attr" which was a DWORD. Changed NULL to zero because a 'void *' can't be set to a DWORD to avoid the compiler warning.
* * win/tclWinFile.c (TclpMatchFilesTypes): made the stat call onlyhobbs2000-10-211-8/+24
| | | | | occur when necessary (for 'glob' command). Significantly speeds up glob command from 8.3. [BUG: 6216]
* 2000-10-06 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-10-061-22/+53
| | | | | | | * win/tclWinChan.c: moved Win2K bug case test with GetStdHandle() from TclpGetDefaultStdChannel into Tcl_MakeFileChannel to enable a more general method in detecting invalid OS handles rather than just a specific known case. [BUG: 5971]