summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
Commit message (Collapse)AuthorAgeFilesLines
* * compat/strftime.c: Modified TclpStrftime to return its Kevin B Kenny2003-05-181-1/+2
| | | | | | | | * generic/tclClock.c: result in UTF-8 encoding, and removed * mac/tclMacTime.c: the conversion from system encoding to * unix/tclUnixTime.c: UTF-8 from [clock format]. Needed to * win/tclWinTime.c: avoid double conversion of the timezone name on Windows systems. [Bug 624408]
* Corrected use of types to make compilation compatible with VC++5.Kevin B Kenny2003-04-151-37/+37
|
* * win/configure: Regen.mdejong2003-04-141-6/+4
| | | | | | | | | | | | | | | | * win/configure.in: Add check for FINDEX_INFO_LEVELS from winbase.h, known to be a problem in VC++ 5.2. Define HAVE_NO_FINDEX_ENUMS if the define does not exist. * win/tclWinFile.c: Put declarations for FINDEX_INFO_LEVELS and FINDEX_SEARCH_OPS inside a check for HAVE_NO_FINDEX_ENUMS so that these are not declared twice. This fixes the Mingw build. * win/tclWinTime.c: Rework the init of timeInfo so that the number or initializers matches the declaration. This was broken under Mingw. Add cast to avoid compile warning when calling the AccumulateSample function.
* Implemented TIP #124 (clock clicks -microseconds and Tcl_WideInt Kevin B Kenny2003-04-121-121/+240
| | | | | | return values). Fixed Bug 710310 (duplicate test numbers in clock.test). Made major changes to tclWinTime.c and related code to improve loop filter stability.
* * 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.
* * win/configure: Regen.mdejong2003-01-271-11/+17
| | | | | | | | * 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.
* * win/tclWinConsole.c:davygrvy2002-11-261-2/+2
| | | | | | | | | | | | | | | | * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * win/tclWinThrd.c: * win/tclWinTime.c: General cleanup of all worker threads used by the channel drivers. Eliminates the normal case where the worker thread is terminated ('cept the winsock one). Instead, use kernel events to signal a clean exit. Only when the worker thread is blocked on an I/O call is the thread terminated. Essentially, this makes all other channel worker threads behave like the PipeReaderThread() function for it's cleaner exit behavior. This appears to fix [Bug 597924] but needs 3rd party confirmation to close the issue.
* * win/tclWinTime.c: Added code to set an exit handler thatKevin B Kenny2002-10-091-5/+63
| | | | | | terminates the thread that calibrates the performance counter, so that the thread won't outlive unloading the Tcl DLL. [Tcl bug 620735].
* 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.
* added TIP#73 patch #483500 from Kevin Kenny.hobbs2001-11-211-6/+6
| | | | This deprecates TclpGetTime in favor of new Tcl_GetTime.
* * win/tclWinTime.c: More Borland compatibility fixes.davygrvy2001-09-061-2/+5
| | | | [Patch: 436116]
* * win/tclWinTime.c (CalibrationThread): added lint return value tohobbs2000-12-101-3/+4
| | | | prevent compiler warning. [Bug #125005]
* Applied the patch for TIP #7 from Kevin Kenny.andreas_kupries2000-11-211-7/+408
| | | | See http://www.cs.man.ac.uk/fellowsd-bin/TIP/7.html
* * win/tclWinTime.c: fixed handling of %Z on NT for time zoneshobbs1999-12-011-6/+9
| | | | that don't have DST.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-29/+93
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-3/+5
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+373