summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * win/tclWinDde.c: Bump to dde 1.2.3 to cover changesdgp2004-07-231-2/+2
| | | | | | * library/dde/pkgIndex.tcl: committed on 2004-06-14. * changes: Updated for Tcl 8.4.7 release.
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-7/+28
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* Redefined MASTER_LOCK to call TclpMasterLock for the sake of Tcl APIvasiljevic2004-07-191-4/+6
| | | | users never creating interpreters.
* * README, generic/tcl.h, tools/tcl.wse.in: bumped tohobbs2004-07-133-5/+5
| | | | | * unix/configure, unix/configure.in, unix/tcl.spec: patchlevel * win/README.binary, win/configure, win/configure.in: 8.4.7
* backport of recent fs fixes from cvs headvincentdarley2004-07-022-18/+55
|
* Corrected Tcl Bug #770053vasiljevic2004-06-221-3/+3
|
* * win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler,mdejong2004-06-213-42/+223
| | | | | | | | | | | | | | | TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID, _except_TclWinCPUID_detach_handler): * win/tclWinChan.c (Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
* * win/tclWinDde.c: Backported the fix from 8.5 to avoid hanging inpatthoyts2004-06-141-41/+159
| | | | the presence of applications that dont process Window messages.
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-053-4/+245
| | | | | | | | | | | | | | | | | build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
* Backport of bizarre error-loss bug found by KBK and myself.dkf2004-05-191-3/+4
|
* * generic/tclInt.decls: Restored TclpTime_t kludge to all Kevin B Kenny2004-05-171-8/+11
| | | | | | | * generic/tclIntPlatDecls.h: places where it appeared before the * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
* 2004-05-14 Kevin B. Kenny <kennykb@acm.org> Kevin B Kenny2004-05-141-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls.
* (TclpCreateProcess): When under NT, with no console, and executing adavygrvy2004-05-101-2/+2
| | | | | DOS application, the path priming does not need an ending space as BuildCommandLine() will do this for us.
* (BuildCommandLine): Append a space when the path got primed.davygrvy2004-05-101-4/+6
|
* * win/tclWin32Dll.c: Structured Exception Handling added arounddavygrvy2004-05-061-3/+82
| | | | | | | | | | | | Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't be 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 included, too. [Patch 858493] Also added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH case. We're not interested in knowing about DLL_THREAD_ATTACH, so disable the notices.
* * win/tclWinSock.c:davygrvy2004-05-061-4/+9
| | | | | | | | | | | (SocketThreadExitHandler): Don't call TerminateThread when WaitForSingleObject returns a timeout. Tcl_Finalize called from DllMain will pause all threads. Trust that the thread will get the close notice at a later time if it does ever wake up before being cleaned up by the system anyway. (SocketEventProc) : connect errors should fire both the readable and writable handlers because this is how it works on UNIX [Bug 794839]
* * win/coffbase.txt: Added the tls extension to the list ofdavygrvy2004-05-061-1/+3
| | | | preferred load addresses.
* * generic/tclInt.h:davygrvy2004-05-061-5/+36
| | | | | | | | | * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
* * win/tclWin32Dll.c (TclpCheckStackSpace): Kevin B Kenny2004-05-031-2/+2
| | | | | * tests/stack.test (stack-3.1): Fix for undetected stack overflow in TclReExec on Windows. [Bug 947070]
* revert back to 1.24.2.2 from prior mistaken commit.davygrvy2004-04-231-34/+5
|
* * win/tclWinTime.c: If the Tcl_ExitProc (StopCalibration) isdavygrvy2004-04-231-5/+34
| | | | | called from the stack frame of DllMain's PROCESS_DETACH, the wait operation should timeout and continue.
* * win/configure:hobbs2004-04-072-9/+33
| | | | | * win/configure.in: define TCL_LIB_FLAG, TCL_BUILD_LIB_SPEC, TCL_LIB_SPEC and TCL_PACKAGE_PATH in tclConfig.sh.
* * generic/tclInt.h:hobbs2004-03-292-16/+20
| | | | | | | | | * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
* * win/tclWinInit.c (TclpSetInitialEncodings): recognize WIN32_CEhobbs2004-03-211-5/+8
| | | | as a unicode (WCHAR) platform.
* define WIN32_CE platform infohobbs2004-03-211-1/+5
|
* backport of BuildCommandLine changes to mirror msvcrt's parse_cmdline() ↵davygrvy2004-02-251-16/+10
| | | | rules of quoting
* * win/tclWinInit.c (AppendEnvironment):mdejong2004-02-201-4/+23
| | | | | | | | Use the tail component of the passed in lib path instead of just blindly using lib+4. That worked when lib was "lib/..." but fails for other values. Thanks go to Patrick Samson for pointing this out.
* update patchlevel to 8.4.6hobbs2004-02-133-5/+5
|
* * generic/tcl.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-033-5/+5
| | | | | | | | | * unix/configure.in: CVS snapshots from 8.4.5 release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-023-5/+5
| | | | | | | | | | | | * generic/tcl.h: CVS snapshots from the 8.4.5 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/dde/pkgIndex.tcl: Added safeguards so that registrydgp2003-11-102-4/+4
| | | | | | * 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.2.2.
* * tests/unixInit.test (unixInit-2.10): re-enabled.dgp2003-11-101-3/+22
| | | | | | * unix/tclUnixInit.c (TclpInitLibraryPath): Alternative fix * win/tclWinInit.c (TclpInitLibraryPath): 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>.
* Punt gracefully if exitToken was already destroyed.davygrvy2003-10-141-1/+7
|
* * win/tclWinPipe.c: fixed a bug in BuildCommandLine.mdejong2003-10-041-2/+3
| | | | | | This bug built a command line with a missing space between tclpipe.dll and the following arguments. It caused error in Windows 98 when exec command.com (e.g. dir) [Bug 789040]
* 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
|