summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-214-29/+130
| | | | variable names in
* * win/tclWinPipe.c (Tcl_WaitPid): Fixed a thread-safety problem with thedavygrvy2004-01-201-5/+14
| | | | | | process list. The delayed cut operation after the wait was going stale by being outside the list lock. It now cuts within the lock and does a locked splice for when it needs to instead. [Bug 859820]
* added #pragma comment(lib, "advapi32.lib") when compilingdavygrvy2004-01-171-1/+8
| | | | under VC++
* Same change in how TCL_USE_STATIC_PACKAGES is used.davygrvy2004-01-161-2/+2
|
* Some clean-up with how the resource files are built and howdavygrvy2004-01-161-23/+16
| | | | -DTCL_USE_STATIC_PACKAGES is sent when compiling the shells
* Some clean-up with how the resource files are built.davygrvy2004-01-162-9/+9
|
* document 'fullwarn' in the opening usage commentsdavygrvy2004-01-151-2/+4
|
* Added new logic to crank-up the warning levels for both compiledavygrvy2004-01-151-2/+13
| | | | and link when $(FULLWARNINGS) is set.
* * win/rules.vc: Added new 'fullwarn' to the CHECKS commandlinedavygrvy2004-01-151-1/+8
| | | | macro; sets $(FULLWARNINGS).
* * win/tclWinReg.c: Placed the requirement for advapi.libdavygrvy2004-01-152-4/+7
| | | | | | | | into the object file itself with #paragma comment (lib, ...) when built with VC++. This will simplify linking for users of the static library. * win/makefile.vc: Removed 'advapi.lib' from $(baselibs).
* * win/tclWinThrd.c (Tcl_ConditionNotify): condPtr must be dereferenceddavygrvy2004-01-111-2/+2
| | | | | to see if there are waiters else uninitialized datum is manipulated. [Bug 849007]
* Added -DTCL_NO_DEPRECATED usage to makefile.vc. Called like this:davygrvy2004-01-102-2/+27
| | | | nmake -af makefile.vc CHECKS=nodep
* * win/tclWin32Dll.c (DllMain): Add HAVE_NO_SEHmdejong2003-12-261-1/+69
| | | | | | blocks in place of __try and __except statements to support gcc builds. This is needed after David's changes on 2003-12-21. [Tcl patch 858493]
* All uses of 'panic' (the macro) changeddavygrvy2003-12-247-45/+47
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* prevent static buffer overflow (Doh!)davygrvy2003-12-231-4/+4
|
* fixed static buffer overflowdavygrvy2003-12-231-2/+2
|
* VERSION macro now set by reading tcl.h for it.davygrvy2003-12-231-2/+13
|
* New feature for extensions that use rules.vc. Now reads header files fordavygrvy2003-12-232-12/+90
| | | | | version strings. No more hard coding TCL_VERSION = 8.5 and having to edit it when you swap cores.
* Structured Exception Handling added around Tcl_Finalize called fromdavygrvy2003-12-211-3/+14
| | | | | | | | DllMain's DLL_PROCESS_DETACH. We can't 100% assured that Tcl is being unloaded by the OS in a stable condition and we need to protect the exit handlers should the stack be in a hosed state. AT&T style assembly for SEH under MinGW has not been added yet. This is a first part change for [Patch 858493]
* fix to file normalization with relative linksvincentdarley2003-12-171-5/+42
|
* * win/tclWinFile.c (TclpUtime) : utimbuf struct not a problemdavygrvy2003-12-162-3/+24
| | | | | | | | | with Borland. * win/tclWinTime.c (TclpGetDate) : Borland's localtime() has a slight behavioral difference. From Helmut Giese <hgiese@ratiosoft.com> [Patch 758097].
* * win/tcl.rc: Slight modification to the STRINGIFY macro todavygrvy2003-12-161-2/+2
| | | | | support Borland's rc tool. From Helmut Giese <hgiese@ratiosoft.com>.
* Slight modification to the STRINGIFY macro to support Borland's rc tool.davygrvy2003-12-161-2/+2
|
* prefer Tcl_LongAsWide and Tcl_WideAsLong for casts.davygrvy2003-12-131-5/+5
|
* Win32's SetFilePointer() takes LONGs not DWORDs. Redid local varsdavygrvy2003-12-131-11/+11
| | | | to avoid all casting except where truly required.
* allow creation of relative linksvincentdarley2003-12-121-2/+2
|
* (SocketThreadExitHandler) : added a TerminateThread fallback just in casedavygrvy2003-12-121-2/+12
| | | | | the socket handler thread is really in a paused state. This can happen when Tcl is being unloaded by the OS from an exception handler.
* NT file permissions fix and testsvincentdarley2003-12-091-7/+9
|
* * library/dde/pkgIndex.tcl: Added safeguards so that registrydgp2003-11-107-21/+21
| | | | | | | | | | | | * library/reg/pkgIndex.tcl: and dde packages are not offered * win/tclWinDde.c: on non-Windows platforms. Bumped to * win/tclWinReg.c: registry 1.1.3 and dde 1.3. * win/Makefile.in: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/configure: autoconf (2.57)
* * unix/tclUnixInit.c (TclpInitLibraryPath):dgp2003-11-101-3/+22
| | | | | * win/tclWinInit.c (TclpInitLibraryPath): Fix for [Bug 832657] that should not run afoul of startup constraints.
* * win/tclWinSock.c (TcpWatchProc): Watch for FD_CLOSE too whenandreas_kupries2003-10-231-3/+3
| | | | | | | | asked for writable events by the generic layer. (SocketEventProc): Generate a writable event too when a close is detected. Together the changes fix [Bug 599468].
* * win/tclWinPipe.c (BuildCommandLine): Applied the patch comingandreas_kupries2003-10-211-3/+6
| | | | | with [Bug 805605] to the code, fixing the incorrect use of ispace noted by Ronald Dauster <ronaldd@users.sourceforge.net>.
* TIP #156: Language-Neutral Root Locale for MsgcatKevin B Kenny2003-10-213-11/+11
|
* Punt gracefully if exitToken was already destroyed.davygrvy2003-10-141-1/+7
|
* filesystem bug fixesvincentdarley2003-10-134-25/+228
|
* * win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkinpatthoyts2003-10-092-10/+11
| | | | | * win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in * generic/tclObj.c: Win32 VC builds.
* * win/configure:hobbs2003-10-062-50/+2
| | | | | | * win/tcl.m4: removed incorrect checks for existence of optimization. TCL_CFG_OPTIMIZED is now defined whenever the user does not build with --enable-symbols.
* Symbols which are visible outside a single compilation unit must havedkf2003-09-292-7/+5
| | | | | the prefix 'Tcl' to keep them out of the way of non-Tcl C code on Unix. (Problem reported by George Staplin.)
* * win/tclWinPipe.c: The windows port of expect can calldavygrvy2003-09-281-1/+4
| | | | | | TclWinAddProcess before any of the other pipe functions. Added a missing PipeInit() call to make sure the initialization happens.
* format last change for 74 characters per linedavygrvy2003-09-081-2/+4
|
* * win/tclWinLoad.c (TclpDlopen): Changed the error message for ↵davygrvy2003-09-081-2/+2
| | | | | | | ERROR_PROC_NOT_FOUND to be a bit more helpful in giving us clues. "can't find specified procedure" means a function in the import table, for implicit loading, couldn't be resolved and that's why the load failed.
* Added Open Watcom strictness about how the char type needs to bedavygrvy2003-08-271-1/+4
| | | | signed by default.
* * win/tclWinFile.c (WinReadLinkDirectory): Fix for 'Initializersdavygrvy2003-08-271-2/+3
| | | | must be constant' with the driveSpec array with OpenWatcom.
* * win/tclWinTime.c: Changed use of '_timezone' to 'timezone' asdavygrvy2003-08-271-7/+5
| | | | | this difference is already adjusted for in tclWinPort.h. Removed unreferenced posixEpoch file-scope global.
* Changed comment to note that OpenWatcom suffers the same missing LPFN_*davygrvy2003-08-271-2/+2
| | | | typedef ssue as MinGW and cygwin.
* Added a block for OpenWatcom adjustments that fixes the same issue Modavygrvy2003-08-271-1/+10
| | | | | did for MinGW lack of missing LPFN_* typedefs in their WINE derived winsock2.h
* better error control.davygrvy2003-08-251-15/+53
|
* * win/tclWinSerial.c (SerialErrorStr): Fixed a syntax errorpatthoyts2003-08-191-2/+2
| | | | created in the previous code cleanup.
* Style guide policedkf2003-08-191-1093/+1144
|
* * win/configure: Regen.mdejong2003-08-182-4/+4
| | | | | * win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead of -eq, which does not work. [Bug 781109]