summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* tip99vincentdarley2002-06-211-113/+184
|
* Trims to support the removal of RESOURCE_INCLUDED from rcdavygrvy2002-06-182-8/+4
| | | | | | | | | | | scripts from FR #565088. * generic/tcl.h: moved the #ifndef RC_INVOKED start block up in the file. rc scripts don't need to know thread mutexes. * win/tcl.rc: * win/tclsh.rc: removed the #define RESOURCE_INCLUDED to let the built-in -DRC_INVOKED to the work.
* * win/tclWinPipe.c (BuildCommandLine): Fixed bug #554068 ([exec]andreas_kupries2002-06-171-1/+6
| | | | | | on windows did not treat { in filenames well.). Bug reported by Vince Darley <vincentdarley@users.sourceforge.net>, patch provided by Vince too.
* The test for compiler optimizations was in error. Thanks goes to Roy Terrydavygrvy2002-06-141-2/+2
| | | | <royterry@earthlink.net> for his assistence with this.
* fs normalizevincentdarley2002-06-131-3/+12
|
* vfs, winfs testsuitevincentdarley2002-06-133-26/+202
|
* * win/tclWinFile.c: corrected the symbolic link handling code tohobbs2002-06-121-31/+57
| | | | | | | allow it to compile. Added real definition of REPARSE_DATA_BUFFER (found in winnt.h). Most of the added definitions appear to have correct, cross-Win-version equivalents in winnt.h and should be removed, but just making things "work" for now.
* fs clarification and windows fixesvincentdarley2002-06-124-313/+745
|
* * win/README: Update msys+mingw URL.mdejong2002-06-041-2/+2
|
* * Removed internal routinedgp2002-05-311-4/+1
| | | | | | | | TclMathInProgress and Unix implementation of matherr(). These are now obsolete, dealing with very old versions of the C math library. Windows version is retained in case Borland compilers require it, but it is inactive. Thanks to Joe English. [Bug 474335, Patch 555635].
* D'oh! Accidentally made this file uncompilable. Added some extradkf2002-05-281-59/+65
| | | | commenting as part of fixing process.
* Better handling of EOVERFLOW on Win32 systems (as EFBIG or EINVAL.)dkf2002-05-272-7/+9
|
* TIP#91 implementation; makes old style channels binary compatible withdkf2002-05-242-5/+91
| | | | new TIP#72-enabled Tcl. See http://purl.org/tcl/tip/91 for details.
* * win/tclWinSock.c (TcpWatchProc): Fixed SF Tcl Bug #557878. Weandreas_kupries2002-05-241-18/+21
| | | | | | are not allowed to mess with the watch mask if the socket is a server socket. I believe that the original reporter is George Peter Staplin.
* memory cleanupvincentdarley2002-05-131-8/+9
|
* Added 'runtest' target. Added docs as dependencies for winhelp rtf.davygrvy2002-05-081-14/+19
| | | | Changes from Peter Spjuth <peter.spjuth@space.se>.
* fix to 551306vincentdarley2002-05-021-55/+167
|
* * generic/tclAlloc.c:hobbs2002-04-233-4/+86
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
* * win/tclWinFCmd.c (DoDeleteFile): check return of setattr APIhobbs2002-04-221-5/+8
| | | | calls in file deletion for correct Win32 API handling.
* * win/Makefile.in: correct dependencies for shell, gdb, runtesthobbs2002-04-221-6/+6
| | | | targets.
* * tcl.m4: Enabled COFF as well as CV style debug info withhobbs2002-04-122-2/+2
| | | | | | --enable-symbols to allow Dr. Watson users to see function info. More info on debugging levels can be obtained at: http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
* Made tests for clock frequency more permissive to cope with Win98SE beingKevin B Kenny2002-04-011-5/+16
| | | | | observed to return 1.19318 in place of 1.193182 MHz as the performance counter frequency.
* repair of previous mistakedavygrvy2002-03-291-8/+3
|
* A STATIC_BUILD bug fix. -DSTATIC_BUILD wasn't being added to the core's ↵davygrvy2002-03-291-5/+8
| | | | compile rules.
* * tools/feather.bmp:davygrvy2002-03-281-14/+18
| | | | | | | | | | * tools/man2help.tcl: * tools/man2help2.tcl: * win/makefile.vc: More winhelp target fixups. Added a feather bitmap to the non-scrollable area and changed the color to be yellow from a plain white. The colors can be whatever we want them to be, but thought I would start with something bold. [Bug 527941]
* * tools/man2help.tcl:davygrvy2002-03-281-28/+34
| | | | | | | | * win/makefile.vc: winhelp target now copies all needed files from tools/ to a workarea under $(OUT_DIR) and builds it from there. No build cruft is left in tools/ anymore. All paths used in man2help.tcl are now relative to where the script is. [Bug 527941]
* Clean targets made Win9x complient.davygrvy2002-03-273-37/+19
|
* * win/.cvsignore:davygrvy2002-03-276-167/+513
| | | | | | | | | | | | | | | | | * win/buildall.vc.bat: * win/coffbase.txt: * win/makefile.vc: * win/nmakehlp.c (new): * win/rules.vc: First draft fix for [Bug 527941]. More changes need to done to the makehelp target to get to stop leaving build files in the tools/ directory. This does not address the syntax errors in the man files. Having the contents of tcl.hpj(.in) inside makefile.vc allows for version numbers to be replaced with macros. The new nmakehlp.c is built by rules.vc in preprocessing and removes the need to use tricky shell syntax that wasn't compatible on Win9x systems. This is a first draft repair for [Bug 533862].
* 4 fs fixesvincentdarley2002-03-243-294/+363
|
* win/tclWinInt.h: moved undef of TCL_STORAGE_CLASS. [Bug #478579]hobbs2002-03-221-3/+3
|
* * win/configure: Regen.mdejong2002-03-155-30/+291
| | | | | | | | | | | | | | * win/configure.in: Add configure time test for SEH support in the compiler. * win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace, _except_checkstackspace_handler): * win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (ESP, EBP, DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Implement SEH support under gcc using inline asm. Tcl and Tk should now compile with Mingw 1.1. [Patch 525746]
* * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Handlemdejong2002-03-141-3/+3
| | | | | | | | an SEH exception with EXCEPTION_EXECUTE_HANDLER instead of restarting the faulting instruction with EXCEPTION_CONTINUE_EXECUTION. Bug 466102 provides an example of how restarting could send Tcl into an infinite loop. [Patch 525746]
* * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, DoDeleteFile,mdejong2002-03-121-59/+35
| | | | | | DoRemoveJustDirectory): Make sure we don't pass NULL or "" as a path name to Win32 API functions since this was crashing under Windows 98.
* * win/README: Update to indicate that Mingw 1.1 ismdejong2002-03-091-13/+29
| | | | | | required to build Tcl. Add section describing new msys based build process. Update Cygwin build instructions so users know where to find Mingw 1.1.
* (DoCopyFile): correctly set retval to TCL_OKhobbs2002-03-081-2/+2
|
* * win/tclWin32Dll.c (TclpCheckStackSpace):mdejong2002-03-082-13/+33
| | | | | | | * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Replace hard coded constants with Win32 symbolic names. Move control flow statements out of __try blocks since the documentation indicates it is frowned upon.
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-062-4/+4
| | | | easier for now.
* updated to use www.tcl.tk URLhobbs2002-03-042-10/+10
|
* Const-ifying declarations of strtoll/strtoull and new compat code.dkf2002-02-221-5/+5
|
* More comments added and decided not to pack modules tightly. Four gigabytesdavygrvy2002-02-221-7/+15
| | | | of address space is quite a lot to play with.
* spelingdavygrvy2002-02-211-2/+2
|
* * win/mkd.bat (removed):davygrvy2002-02-214-28/+39
| | | | | | | | | | | | | | | | | | | | | | | | * win/coffbase.txt (new): * win/makefile.bc: * win/makefile.vc: Changed the 'setup' target to stop using the mkd.bat file and just make the directory right in the rule. Same change to makefile.bc. configure.in nor Makefile.in use it. coffbase.txt will be the master list for our "prefered base addresses" set by the linker. This should improve load-time (NT only) by avoiding relocations. Submissions to the list by extension authors are encouraged. Added a 'tidy' target to compliment 'clean' and 'hose' to remove just the outputs. Also removed the $(winlibs) macro as it wasn't being used. Stuff left to do: 1) get the winhelp target to stop building in the tools/ directory. 2) stop using rmd.bat 3) add more dependacy rules.
* reverted back to 1.6, as the header file change to tclPort.h doesn't allow fordavygrvy2002-02-211-2/+3
| | | | easy embedded support. Thanks to Don Porter for pointing this out to me.
* * win/makefile.vc:davygrvy2002-02-212-5/+17
| | | | | | * win/rules.vc: Added a new "loimpact" option that sets the -ws:aggressive linker option. Off by default. It's said to keep the heap use low at the expense of alloc speed.
* * win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h todavygrvy2002-02-211-3/+2
| | | | | | | remove the raw windows.h include. tclPort.h brings in windows.h already and lessens the pre-compiled-header mush and the randomly useless #pragma comment (lib,...) references throughout the big windows.h tree (as observed at high linker warning levels).
* * win/buildall.vc.bat:davygrvy2002-02-203-38/+144
| | | | | | | | | | | | | | | | | | | | | | | * win/makefile.vc: * win/rules.vc: General clean-ups. Added compiler and linker tests for a) the pentium 0x0F errata, b) optimizing (not all have this), and c) linker v6 section alignment confusion. All these are tested first to make sure any D4002 or LNK1117 warnings aren't displayed. The pentium 0x0F errata is a recommended switch. The v5 linker's section alignment default is 512, but the v6 linker was changed to 4096 in an attempt to speed loading on Win98. I changed the default to always be 512 across both linkers, unless linking statically, then 4096 is used for the claimed speed effect. Using a 512 alignment saves 12k bytes of dead space in the DLL. Added IA64 B-stepping errata switch when the compiler supports it. Added profiling to $(lflags) when requested and also removed the explict -entry option as the default works fine as is. Removed win/tclWinInit.c from the special case section to let it use the common implicit rule as the $(EXTFLAGS) macro it had was never referenced anywhere.
* * win/makefile.vc: Added the pentium errata switches to $(cflags)davygrvy2002-02-201-14/+8
| | | | | | | which should have already been there according to the MSDN docs regarding the infamous FDIV bug from `97. Added profiling to $(lflags) and also removed the explict -entry option as the default works without special work.
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-151-2/+2
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-157-36/+61
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * Partial TIP 27 rollback. Following routinesdgp2002-02-084-17/+13
| | | | | | | | | | | | | restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment.