summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* backporting of filesystem tests, docsvincentdarley2003-10-032-11/+29
|
* * README: Bumped patch level to 8.4.5 to preparedgp2003-10-023-75/+65
| | | | | | | | | | | | | | | * generic/tcl.h: for next patch release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: * library/http/http.tcl: Bumped to http 2.4.5 * library/http/pkgIndex.tcl:
* The windows port of expect can call TclWinAddProcess before anydavygrvy2003-09-281-1/+4
| | | | | of the other pipe functions. Added a missing PipeInit() call to make sure the initialization happens.
* * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus andhobbs2003-08-061-5/+12
| | | | Windows CE platform.
* * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-231-2/+2
| | | | * library/reg/pkgIndex.tcl:
* * win/tclWinReg.c (OpenSubKey): Backported fix for bug 775976patthoyts2003-07-221-2/+2
| | | | which causes the registry set command to fail when built with VC7.
* 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-1/+16
| | | | | | | | * generic/tclIOUtil.c (SetFsPathFromAny): Add Cygwin specific code to convert POSIX filename to native format. * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here. (TclDoGlob): Adjust for cygwin and append / for dirs instead of \ * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin.
* * win/Makefile.in: Don't define TCL_DBGXmdejong2003-07-163-11/+11
| | | | | | | | | | | | | | | | symbol for every compile. Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This will break other build systems, so they will need to remove the TCL_DBGX define and replace it with a define for TCL_PIPE_DLL. * win/makefile.vc: Ditto. * win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build env instead of trying to construct the dll name from already defined symbols. This approach is more flexible and better in the long run.
* * README: Bumped patch level to 8.4.4 in anticipationdgp2003-07-153-5/+5
| | | | | | | | | | | | * generic/tcl.h: of another patch release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * win/tclWinFile.c (TclpMatchInDirectory): revert glob code tohobbs2003-05-161-71/+46
| | | | r1.44 as 2003-04-14 optimizations broke Windows98 glob'ing.
* bumped version to 8.4.3hobbs2003-05-153-5/+5
|
* fix for [Bug 732477]Joe Mistachkin2003-05-131-7/+7
|
* * win/tclWinSerial.c (SerialCloseProc): correct mem leak onhobbs2003-05-111-1/+3
| | | | closing a Windows serial port [Bug #718002] (schroedter)
* fix for [Bugs 733221, 733156]Joe Mistachkin2003-05-101-21/+70
|
* * win/tclWinThrd.c: Applied SF patch #727271. This patch changesandreas_kupries2003-04-251-9/+54
| | | | | | | | | | the code to catch any errors returned by the windows functions handling TLS ASAP instead of waiting to get some mysterious crash later on due to bogus pointers. Patch provided by Joe Mistachkin. This is a stop-gap measure to deal with the low number of ?TLS slots provided by some of the variants of Windows (60-80).
* Corrected use of types to make compilation compatible with VC++5.Kevin B Kenny2003-04-151-40/+38
|
* Added conditionals to make tclWinFile.c compile on VC++6, which Kevin B Kenny2003-04-141-1/+7
| | | | was broken by recent changes.
* filesystem fixes backportedvincentdarley2003-04-143-85/+358
|
* Fixed Bug 710310 (duplicate test numbers in clock.test). Made major Kevin B Kenny2003-04-122-123/+304
| | | | | changes to tclWinTime.c and related code to improve loop filter stability.
* * win/configure: Regen.mdejong2003-04-033-14/+22
| | | | | | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like LIBSUFFIX, it is used when creating library names. The previous implementation would generate -ltclstub85 instead of -ltclstub85s when configured with --disable-shared.
* Added quoting around the script name in the 'test' target; Joe Kevin B Kenny2003-03-231-3/+3
| | | | | Mistachkin insists that he has a configuration that fails to launch tcltest without it, and it appears harmless otherwise.
* * generic/tclInt.h (tclOriginalNotifier):dgp2003-03-211-3/+5
| | | | | | | | | | | | | | | * generic/tclStubInit.c (tclOriginalNotifier): * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent, Tcl_CreateFileHandler,Tcl_DeleteFileHandler): * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers apparently use a different representation for a pointer to a function within the same compilation unit and a pointer to a function in a different compilation unit. This causes checks like those in the original notifier procedures to fall into infinite loops. The fix is to store pointers to the original notifier procedures in a struct defined in the same compilation unit as the stubs tables, and compare against those values. [Bug 707174]
* Fixes for three filesystem problemsvincentdarley2003-03-181-1/+11
|
* Backed the version to 8.4 on the 8.4 branch. Kevin B Kenny2003-03-131-2/+2
| | | | (I just loathe sticky tags).
* * generic/tcl.h: Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENTdgp2003-03-121-3/+6
| | | | | * win/tclWinPipe.c: from tcl.h -- they are not part of Tcl's public interface. Put them in win/tclWinPipe.c where they are used.
* Added two missing uses of $(DBGX) so that tclpip8x.dll loads without Kevin B Kenny2003-03-111-4/+4
| | | | panicking on Win9x.
* Corrected a Makefile.vc bug introduced by the change of DBGX from Kevin B Kenny2003-03-031-3/+11
| | | | d to g in rules.vc.
* * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 fordgp2003-03-032-4/+4
| | | | | | | | | * win/tclWinDde.c: bundled release with Tcl 8.4.2 * library/reg/pkgIndex.tcl: registry bumped to version 1.1.1 for * win/tclWinReg.c: bundled release with Tcl 8.4.2 * library/opt/pkgIndex.tcl: updated package index to version 0.4.4
* * win/configure:hobbs2003-03-013-9/+9
| | | | | | * win/configure.in: check for 'g' for debug build type, not 'd'. * win/rules.vc (DBGX): correct to use 'g' for nmake win makefile to match the cygwin makefile for debug builds. [Bug #635107]
* Fixed a bug in TclpSetVeriables: initialize dwUserNameLen to avoid crash in ↵chengyemao2003-02-271-2/+2
| | | | calling GetUserName
* * README: Bumped to version 8.4.2.hobbs2003-02-153-5/+5
| | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tcl.spec: * win/README.binary: * win/configure: * win/configure.in: * macosx/Tcl.pbproj/project.pbxproj:
* * win/tclWinTime.c: Added code to test and compensate for forward Kevin B Kenny2003-02-141-13/+29
| | | | | | | | | | | | | | | leaps of the performance counter. See the MSDN Knowledge Base article Q274323 for the hardware problem that makes this necessary on certain machines. * tests/winTime.test: Revised winTime-2.1 - it had a tolerance of thousands of seconds, rather than milliseconds. (What's six orders of magnitude among friends? Both the above changes are triggered by a problem reported at http://aspn.activestate.com/ASPN/Mail/Message/ActiveTcl/1536811 although the developers find it difficult to believe that it accounts for the observed behavior and suspect a fault in the RTC chip.
* Added conversion from the system encoding to tcl_platform(user), so Kevin B Kenny2003-02-131-5/+9
| | | | that it works with non-ASCII7 user names. [Bug 685926]
* * win/configure:mdejong2003-02-112-52/+54
| | | | | | | | | | | | * win/configure.in: Generate error when attempting to build under Cygwin. The Cygwin port of Tcl/Tk does not build and people are filing bug reports under the mistaken impression that someone is actually maintaining the Cygwin port. A post to comp.lang.tcl asking someone to volunteer as an area maintainer has generated no results. Closing bugs 680840, 630199, and 634772 and marking as "Won't fix".
* further fs cleanupvincentdarley2003-02-101-4/+9
|
* filesystem speed up round 2vincentdarley2003-02-101-105/+84
|
* first speedups to Win filesystemvincentdarley2003-02-072-151/+185
|
* finalization and test fixesvincentdarley2003-02-044-17/+42
|
* * generic/tcl.h: Add TCL_PREFIX_IDENT andmdejong2003-01-282-5/+37
| | | | | | | | | | | | | | | | | TCL_DEBUG_IDENT, used only by TclpCreateProcess. * unix/Makefile.in: Define TCL_DBGX. * win/Makefile.in: Define TCL_DBGX. * win/tclWinPipe.c (TclpCreateProcess): Check that the Tcl pipe dll actually exists in the Tcl bin directory and panic if it is not found. Incorporate TCL_DBGX into the Tcl pipe dll name. This fixes a really mysterious error that would show up when exec'ing a 16 bit application under Win95 or Win98 when Tcl was compiled with symbols. The error seemed to indicate that the executable could not be found, but it was actually the Tcl pipe dll that could not be found.
* * win/README: Update msys+mingw URL to release 6.mdejong2003-01-271-4/+4
| | | | This version bundles gcc 3.
* * win/configure: Regen.mdejong2003-01-273-37/+105
| | | | | | | | * win/configure.in: Add test that checks to see if the compiler can cast to a union type. * win/tclWinTime.c: Squelch compiler warning about union initializer by casting to union type when compiling with gcc.
* * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel):mdejong2003-01-261-10/+93
| | | | | | | | | | | | | | | | Invoke TclpCutFileChannel and TclpSpliceFileChannel. * generic/tclInt.h: Declare TclpCutFileChannel and TclpSpliceFileChannel. * unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel, Tcl_MakeFileChannel, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref when compiled with -DDEPRECATED. * win/tclWinChan.c (FileCloseProc, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref that was showing up in the thread extension.
* * win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):mdejong2003-01-253-125/+194
| | | | | | | | | | | | | | * win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings): * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings): Re-implement inline ASM SEH handlers for gcc. The esp and ebp registers are now saved on the stack instead of in global variables so that the code is thread safe. Add additional checks when TCL_MEM_DEBUG is defined to be sure the values were recovered from the stack properly. Remove squelch_warnings functions and add a dummy call in the handler methods to squelch compiler warnings.
* * win/configure:mdejong2003-01-253-42/+60
| | | | | | | | | | | | | | | * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca function is found in malloc.h and we are compiling with GCC. Remove HAVE_NO_ALLOC_DECL define. * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a cdecl function. Doing this caused a tricky runtime bug because the _alloca function expects the size argument to be passed in a register and not on the stack. To fix this problem, we use inline ASM when compiling with gcc to invoke _alloca with the size argument loaded into a register.
* * win/tclWinDde.c (Dde_Init): clarified use of tsdPtr.hobbs2003-01-251-12/+5
| | | | (DdeServerProc): better refcount handling of returnPackagePtr.
* * win/configure: Regen.mdejong2003-01-243-33/+114
| | | | | | | | | | | * win/configure.in: * win/tclWin32Dll.c (TclpCheckStackSpace): Rework the SEH exception handler logic to avoid using the stack since alloca will modify the stack. This was causing a nasty bug that would set the exception handler to 0 because it tried to pop the previous exception handler off the top of the stack.
* * win/configure: Regen.mdejong2003-01-212-16/+26
| | | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX so that TCL_SHLIB_SUFFIX will be set to a useful value in the generated tclConfig.sh. Set SHLIB_LD_LIBS to "" or '${LIBS}' based on the --enable-shared flag. This matches the UNIX implementation.
* * win/tclWinDde.c (DdeServerProc): Deallocatemdejong2003-01-181-1/+3
| | | | | the Tcl_Obj returned by ExecuteRemoteObject if it was not saved in a connection object.
* * win/tclWinSerial.c (SerialOutputProc): add casts forhobbs2003-01-161-4/+4
| | | | bytesWritten to allow strict compilation (no warnings).
* * tests/winDde.test:hobbs2003-01-161-3/+9
| | | | | | * win/tclWinDde.c (Tcl_DdeObjCmd): Prevent crash when empty service name is passed to 'dde eval' and goto errorNoResult in request and poke error cases to free up any allocated data.