| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: 5e3e15d33a962341bebcf49560251a4c9e412648
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 3a35f8120294d7c77833fb56d9bc5ecbc0d7989c
|
|
|
|
|
|
| |
if strftime doesn't do %s. Modernized the use of test constraints.
FossilOrigin-Name: 354d523aaa1386b7d501ed7cee5cf17bd41df568
|
|
|
|
|
|
|
|
| |
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]
FossilOrigin-Name: 47f6226213be114fce95039421cd847ac81ea0ff
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 06cfb3828ae320f18e376614a3881d3aa73c6940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: 27f78ca91bc1b33c909fb1eac370a3d41c65fa59
|
|
|
|
|
|
|
| |
changes to tclWinTime.c and related code to improve loop filter
stability.
FossilOrigin-Name: e7634012a06e910c16fc8de872a4f0f619db1c69
|
|
|
|
|
|
|
|
|
|
| |
[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]
FossilOrigin-Name: c877b70a1bfd74488754bfa3ea60008eded1a4aa
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: fe3d4342cc5f93dfdcbcb1dd01e2857898a64c83
|
|
|
|
|
|
| |
* tests/clock.test: Bug #565880. ***POTENTIAL INCOMPATIBILITY***
FossilOrigin-Name: a6557623af609d16fa3e67720e438316fa52e6a4
|
|
|
| |
FossilOrigin-Name: 98804969a6f3da7391f07a99b886aa5e77638a49
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 4d47e1cec7caf94d2cdda340e5467982b96c322b
|
|
|
|
|
|
|
|
|
| |
* 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)
FossilOrigin-Name: 864f0ce0a969317ae5c96626cbd24f4d0a54e3c7
|
|
|
|
|
|
| |
when the time slice is 60 msecs, now passes under Windows 98.
FossilOrigin-Name: 44f6cca25b42cec85b7bf520a3db4f3593d315ea
|
|
|
| |
FossilOrigin-Name: 2d76774e727f5582332a7834ac100052fe6e6327
|
|
|
|
|
|
|
|
|
|
|
|
| |
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].
FossilOrigin-Name: 5dc84a282db38c053d933f92b1fb49bcdd821ab6
|
|
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
|
|
|
|
|
|
|
|
|
|
|
| |
respect to the time zone in which they were run and were thus
failing.
* doc/clock.n: Clarified meaning of -gmt with respect to -base
when used with [clock scan] (-gmt does not affect the
interpretation of -base).
FossilOrigin-Name: 80bb9d067f3ad063fc5fb9efe28554787bf395c5
|
|
|
|
|
|
|
|
|
| |
* generic/tclDate.c: (generated on Solaris)
* generic/tclGetDate.y: Changed condition for deciding if a number
is an ISO 8601 base from number >= 100000 to numberOfDigits >= 6.
Previously it would fail to recognize 000000 as an ISO base.
FossilOrigin-Name: 7f9ecc28cace61f690eaad6a39ed86f5b5b0d0d8
|
|
|
|
|
|
|
|
|
| |
* generic/tclDate.c:
* generic/tclGetDate.y (Message): Added a grammar rule for "next
monthname" so that we can handle "next january" and similar
constructs (bug #4146).
FossilOrigin-Name: 21f3edaefcbe19141cead64c26aeb662248fd1dd
|
|
|
|
|
|
|
|
| |
* compat/strftime.c: New clock format format.
* generic/tclGetDate.y: New clock scan format.
FossilOrigin-Name: 53023d030d3ce288ed929ac8fad6c03646e458c3
|
|
|
| |
FossilOrigin-Name: 3a06c0cf0a5c51e229aa7b8468984cc01e8bbaa7
|
|
|
|
|
|
| |
"<day-of-week>"
FossilOrigin-Name: 927e25a961366cf30f4722dabf6417dc391213c9
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/generic/tclGetDate.y: Fixed some shift/reduce conflicts in
clock grammar.
* doc/doc/clock.n: Added documentation for new supported clock
scan formats and additional explanation of daylight savings time
correction algorithm.
FossilOrigin-Name: 5b25723b45f0f63cd286ac8b8ae52a2714f4cf8b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/timer.test: changed after delay in timer test 6.29 from
1 to 10. [Bug: 2796]
* tests/pkg.test:
* generic/tclPkg.c: fixed package version check to disallow 1.2..3
[Bug: 2539]
* unix/Makefile.in: fixed gendate target - this never worked
since RCS was intro'd.
* generic/tclGetDate.y: updated to reflect previous changes
to tclDate.c (leap year calc) and added CEST and UCT time zone
recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954,
1245, 1249]
* generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really
dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc
and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719]
and changed Tcl_Alloc, et al to not panic when a alloc request
for zero came through and NULL was returned (valid on AIX, Tru64)
[Bug: 2795, etc]
* tests/clock.test:
* doc/clock.n:
* generic/tclClock.c: added -milliseconds switch to clock clicks
to guarantee that the return value of clicks is in the millisecs
granularity [Bug: 2682, 1332]
1999-09-15 Jeff Hobbs <hobbs@scriptics.com>
* generic/tclIOCmd.c: fixed potential core dump in conjunction
with stacked channels with result obj manipulation in
Tcl_ReadChars [Bug: 2623]
* tests/format.test:
* generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605]
* doc/msgcat.n: fixed \\ bug in example [Bug: 2548]
* unix/tcl.m4:
* unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition
[Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
* doc/array.n:
* tests/var.test:
* tests/set.test:
* generic/tclVar.c: added an array unset operation, with docs
and tests. Variation of [Bug: 1775]. Added fix in TclArraySet
to check when trying to set in a non-existent namespace. [Bug: 2613]
1999-09-14 Jeff Hobbs <hobbs@scriptics.com>
* tests/linsert.test:
* doc/linsert.n:
* generic/tclCmdIL.c: fixed end-int interpretation of linsert
to correctly calculate value for end, added test and docs [Bug: 2693]
* doc/regexp.n:
* doc/regsub.n:
* tests/regexp.test:
* generic/tclCmdMZ.c: add -start switch to regexp and regsub
with docs and tests
* doc/switch.n: added proper use of comments to example.
* generic/tclCmdMZ.c: changed switch to complain when an error
occurs that seems to be due to a misplaced comment.
* generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions
in regsub [Bug: 2723]
* generic/tclCmdMZ.c: changed [string equal] to return an Int
type object (was a Boolean)
FossilOrigin-Name: eb68adcdfd2b621fe83410354568df693c95a1fc
|
|
|
| |
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
|
|
|
| |
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|
|
|
| |
FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
|
|
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a
|