summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' toandreas_kupries2001-09-102-12/+10
| | | | | | | | | | | the internal platform specific stub table. * win/tclWinFile.c (TclpObjStat): Now added the call to 'TclWinFlushDirtyChannels' to this function. I don't know where my head was last thursday (2001-09-06), but the call was actually added to 'TclpObjChdir', i.e. the implementation of [cd]. Corrected this now. Thanks to Vince Darley for spotting this.
* * unix/Makefile.in:mdejong2001-09-101-4/+4
| | | | | | * win/Makefile.in: Use () around variable name instead of {}. Use TCLTEST variable directly instead of depending on the tcltest alias.
* * win/mkd.bat:davygrvy2001-09-082-47/+49
| | | | | * win/rmd.bat: made these text files, text files again. [Patch: 451333]
* * win/mkd.bat:mdejong2001-09-082-45/+47
| | | | | | * win/rmd.bat: Apply binary property (cvs admin -kb) to files and convert to CRLF linefeed format to fix the VC++ build. [Bug #219409]
* * win/tcl.m4: Added -link50compat option so a VC6 linker makesdavygrvy2001-09-081-1/+1
| | | | | a VC5 (pre sp3) compatible import library. [Bug: 219257]
* * win/tclWinThrd.c (TclpThreadExit): Cast status argument tomdejong2001-09-071-2/+2
| | | | | _endthreadex to unsigned instead of DWORD to match the Win32 function prototype.
* * All the changes below serve to fix bug [219148] which reports aandreas_kupries2001-09-073-5/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80x performance hit for file I/O on Win* systems. On my system it was closer to a 120x hit. Problem report by Uwe Traum <no email address available>. The fix goes like this: The obstacle is 'FlushFileBuffers', executed whenever Tcl writes data to the OS, as Tcl has to wait for the disk to complete I/O, and disks are slow. We remove that obstacle. This opens another problem, [file size] reports back wrong numbers. So for [file size] we add the call back in. As optimization we keep track of the channels which were written to and flush only these. * win/tclWinFile.c (TclpObjStat): Added a call to 'TclWinFlushDirtyChannels'. This ensures that [file size] and related commands report the correct size of a file even if Tcl has recently written to it. Unixoid OS's always report the correct size even for files with pending data, but Win* syssystem don't. They only report what is actually on disk. * win/tclWinInt.h: Added declaration of 'TclWinFlushDirtyChannels', making it available to other parts of the tcl core. * win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal, procedure. Goes through the list of open file channels and forces the OS to flush its file buffers for all which were written to since the last call of this function. This is an expensive operation as Tcl has to wait for the OS to complete actual writes to the disk. (FileInfo): Added dirty flag required by the procedure above. (FileOutputProc): Removed flushing of file buffers, setting the dirty flag instead. This means that the previously incurred delays do not happen anymore. (TclWinOpenFileChannel): Added initialization of 'dirty' flag.
* * Updated http package to version 2.4,dgp2001-09-073-13/+13
| | | | reflecting the new features just added.
* * win/tclWinTime.c: More Borland compatibility fixes.davygrvy2001-09-061-2/+5
| | | | [Patch: 436116]
* Borland lives once more! rejoice..davygrvy2001-09-061-0/+551
|
* changed EDQUOT #define from 49 to 69. Borland had a clash as itdavygrvy2001-09-061-2/+2
| | | | | was already using this number. Upon advice from Helmut Giese, EDQUOT has been found in other header files #defined as 69.
* * win/tclWinPort.c: More Borland compatibility fixes.davygrvy2001-09-061-16/+25
| | | | [Patch: 436116]
* * win/.cvsignore: A few more glob patterns added.davygrvy2001-09-061-0/+4
|
* * win/tclWinPipe.c: More Borland compatibility fixes.davygrvy2001-09-061-2/+5
| | | | [Patch: 436116]
* * tclWinThrd.c: Revisited _beginthreadex() stuff. Instead of assumingdavygrvy2001-09-051-9/+10
| | | | | a c-runtime implimentation of _beginethreadex normal, I reversed the logic to not assume, and use when is.
* minor fs, vfs fixesvincentdarley2001-09-042-9/+15
|
* * win/tclWinThrd.c: Moved FinalizeConditionEvent() proto to withindavygrvy2001-09-031-3/+5
| | | | | the main #ifdef TCL_THREADS block to avoid mingw warning about it being there but unused.
* * win/makefile.vc: Added -Zl (zee el) to tclStubLib.c compile linedavygrvy2001-09-031-2/+2
| | | | | | | | to make sure the tclstub84.lib static library is built without requiring a specific C-runtime library at link-time for the end-use developer. It has been noted on c.l.t that this trips many first time users trying to make extensions. [Patch: 403533]
* * win/tclWinThrd.c: Portability fix for Cygwin who's c-runtime,davygrvy2001-09-031-1/+15
| | | | | | not surprisingly, doesn't have the MSVCRT specific _beginthreadex / _endthreadex pair. This might have to be revisited for proper Borland, lcc32, Watcom and other support as well.
* filesystemvincentdarley2001-08-305-340/+227
|
* * Correcteddgp2001-08-271-10/+9
| | | | | | inconsistency between the search path for script libraries and the directory name $DISTNAME into which distributions built by 'make test' unpack. [Bug 455642]
* 2001-08-23 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-08-231-3/+3
| | | | | | | | | | * win/tclWinPipe.c (BuildCommandLine): Fixed tcl Bug [432499]. Part of the code used the non-absolute path to the executable to determine quoting. This failed if the absolute path cotained spaces, but the application name itselfl not. This bug caused no trouble on Win NT 5, but does for other variants in the Win* family. Report and fix due to Ken Poole <kenpoole@users.sourceforge.net>.
* fs updatevincentdarley2001-08-232-289/+230
|
* * doc/dde.n: fixed dde man page (which was totally incorrect).hobbs2001-08-221-56/+85
| | | | | | | * tests/winDde.test: * win/tclWinDde.c (Tcl_DdeObjCmd): added -binary option to dde request command to allow for returning binary data. [Bug #227482] Updated dde to 1.2
* updated install target for dde1.2hobbs2001-08-222-10/+12
|
* * win/makefile.vc: replaced $(WINDIR) with $(include32) for thedavygrvy2001-08-161-2/+2
| | | | | .rc.res inference rule. winver.h wasn't getting included. [Bug: 445630]
* * tools/tcl.wse.in:davygrvy2001-08-161-19/+19
| | | | | | | | | | | * win/tcl.hpj.in: Removed -kb storage in CVS to ensure these text files to make sure they are checked-out in the translation mode CVS is in. Setting these as binary as part of an effort to make sure they are always in CRLF no matter what the CVS translation is bypassing how CVS works. * tools/genStubs.tcl: Removed LF-only output. Having to reconvert back to CRLF for committing to CVS was giving me a headache.
* Bumped up patchlevel to 8.4a4 to distinguishdgp2001-08-083-5/+5
| | | | | CVS snapshots from the 8.4a3 release. This does not necessarily mean there will be an 8.4a4 release. [Bug 448938].
* * changes:hobbs2001-08-071-8/+13
| | | | | | | * README: * mac/README: * unix/README: * win/README.binary: updated for 8.4a3 release
* * win/tclWinThrd.c (TclpFinalizeMutex, TclpFinalizeCondition):hobbs2001-08-071-1/+3
| | | | added DeleteCriticalSection calls for cleanup [Patch: #419683]
* win/README: made note of URL for Windows compilation noteshobbs2001-08-071-12/+7
|
* * win/configure: regeneratedhobbs2001-08-043-27/+37
| | | | | | | | * win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll. This is necessary for TEA compliant builds that build shared against a static-built Tcl. * win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build target, otherwise it wouldn't get generated in a static build.
* * generic/tclPlatDecls.h:mdejong2001-08-021-1/+18
| | | | | | | | * win/tclWinPort.h: Revert <tchar.h> related changes made to improve Cygwin support on 2001-07-18. This change ended up breaking the VC++ build because of conflicts between Windows APIs and internal Tk APIs.
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-314-209/+623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * 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.