| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
strings to be matched by the Tcl_GetIndexFromObj machinery, in
the same manner as any other key. [Bug 1464039]
|
|
|
|
|
| |
Consistent method of calling test constraints, and (try to) move constraint
setup to the top of the test file
|
|
|
|
| |
local Standard Time
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
a time zone to allow for time zones specified as +HH or -HH.
* tests/clock.test: Added regression test case for the above issue.
|
| |
|
|
|
|
|
|
| |
relevant to users. [Patch 1056864]
Also patches to core to take advantage of this
Also other general cleaning up of Tcl_WrongNumArgs usage
|
|
|
|
|
|
| |
* tests/namespace.test:
* tests/string.test:
* tests/io.test (io-50.4): Use namespace variables.
|
| |
|
|
|
|
|
|
|
|
|
| |
became ::localtime instead of :localtime. Fixed a bug where
time zone names containing hyphens could not be loaded.
Thanks to Todd M. Helfter <tmh@jumpgate.itsp.purdue.edu> for
finding these bugs.
* tests/clock.test: Added regression test cases that covers
both bugs.
|
|
|
|
|
|
| |
comparison of [clock scan] results with the :localtime time zone.
Now that [clock scan] uses the current time zone instead, the
antibug caused several tests to fail. [Bug 1038554]
|
|
|
|
|
|
|
|
|
| |
for error return from 'mktime'.
* generic/tclObj.c (Tcl_GetIntFromObj): Corrected a problem where
demoting a wide to an int failed on a big-endian machine.
[Bug 1026125].
* tests/clock.test (clock-43.1): Added regression test for
error return from 'mktime'.
|
| |
|
|
|
|
|
|
| |
would format as a blank format group with %k.
* tests/clock.test (clock-41.1): Added regression test case for
%k at the zero hour.
|
| |
|
|
|
|
|
|
| |
the month was scanned incorrectly in -timezone :localtime.
* tests/clock.test (clock-40.1): Added regression test case for
the bug where month was scanned incorrectly in -timezone :localtime.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attempted to store the assoc data in the client data; the
optimisation caused a bug that [after] would overwrite
its imports. [Bug 1016167]
* library/clock.tcl (InitTZData, ClearCaches): Changed so that the
in-memory time zone :UTC (and its aliases) always gets
reinitialised, in case tzdata is absent. [Bug 1019537, 1023779]
* library/tzdata/*: Regenerated.
* tests/clock.test (clock-31.*, clock-39.1): Corrected a problem
where the 'system' locale tests fail on a non-English Windows
machine. [Bug 1023761]. Added a test to make sure that alias
time zones load correctly. [Bug 1023779].
* tools/tclZIC.tcl (writeLinks): Corrected a problem where
alias time zone names were written incorrectly, causing them
to fail to load at run time. [Bug 1023779].
* win/tclWinTime.c (Tcl_GetTime): Eliminated CPUID tests on
Win64 - assuming that HAL vendors now do a better job of
keeping the performance counters synchronized among CPU's.
[Bug 1020445]
|
| |
|
|
|
|
|
|
| |
CET in excruciating detail to deal with systems that lack the
Posix defaults for DST changes (and to be formally correct with
the change dates for CET).
|
|
|
|
|
|
|
| |
from alphabetic to numeric to produce scannable times in more
locales.
* tests/clock.test (clock-37.1): Removed now-unused 'needPST'
constraint and the comments that refer to it.
|
| |
|
| |
|
| |
|
|
|
|
| |
a warning from 'make TESTFLAGS="-debug 1" test'.
|
|
|
|
| |
run on a slow virtual machine.
|
| |
|
|
|
|
| |
if strftime doesn't do %s.
|
|
|
|
|
|
| |
in [clock format], and conditioned out the clock-10.x series if
they're all going to fail because of a broken strftime() call.
[Bug 961714]
|
|
|
|
| |
necessary.
|
|
|
|
|
|
|
| |
* doc/clock.n:
* tests/clock.test: Major rework to the handling of ISO8601
week numbers. Now passes all the %G and %V test cases on
Windows, Linux and Solaris [Bugs #500285, #500389, and #852944]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
[clock scan <timeOfDay> -gmt true] uses the GMT base date
instead of the local one. [Bug 913513]
* tests/clock.test: Added test cases for wrong ISO8601 week number
[Bug 500285] and wrong GMT base date [Bug 913513]. Several tests
still fail on Windows, and these are actual faults in [clock scan].
Fix is still pending.
* generic/tclDate.c: Regenerated.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
[clock clicks {}] and [clock clicks -] to be accepted as if
they were [clock clicks -milliseconds].
* tests/clock.test: Added regression tests for the above bug.
[Bug 675356]
|
|
|
|
|
|
| |
UTF8 before calling TclpStrftime, so that non-ASCII characters
don't get mangled when the result string is being converted back.
* tests/clock.test: Added a test for that.
|
|
|
|
| |
* tests/clock.test: Bug #565880. ***POTENTIAL INCOMPATIBILITY***
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* compat/strftime.c:
* generic/tclClock.c:
* generic/tclInt.decls:
* generic/tclIntDecls.h:
* unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by
using an env(TZ) setting trick for in clock format -gmt 1. This
also makes %s seem to work correctly with -gmt 1 as well as
making it a lot faster by avoid the env(TZ) hack. TclpStrftime
now takes useGMT as an arg. [Bug #559376]
|
|
|
|
|
|
|
| |
* generic/tclDate.c (RelativeMonth):
* generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day
error in clock scan with relative months and years during swing
hours. [Bug #413397, Patch #414024] (lavana)
|
|
|
|
| |
when the time slice is 60 msecs, now passes under Windows 98.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
specifications.
* generic/tclDate.c: Regenerated from tclGetDate.y.
* generic/tclGetDate.y: Tweaked grammar to properly handle the
"ago" keyword when it follows multiple relative unit specifiers,
as in "2 days 2 hours ago". [Bug: 5497].
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
|