| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* tests/clock.test (clock-67.1):
Corrected a problem where '%%' followed by a letter in a format group
could expand recursively: %%R would turn into %%H:%M:%S. [Bug 2819334]
FossilOrigin-Name: 85408966947803ca65d49b1f790995786d23f059
|
| |
|
|
|
|
|
|
|
|
| |
Corrected a problem where [clock scan] didn't load the timezone
soon enough when processing a time format that lacked a complete
date. [Bug 2886852]
* tests/clock.test (clock-66.1):
Added a test case for the above bug.
FossilOrigin-Name: 1042002083374bb352716c4db6797a06e30edb3f
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Corrected a regression in the fix to [Bug 2207436] that caused
[clock] to apply EU daylight saving time rules in the US.
Thanks to Karl Lehenbauer for reporting this regression.
* tests/clock.test (clock-52.4):
Added a regression test for the above bug.
* library/tzdata/Asia/Dhaka:
* library/tzdata/Asia/Karachi:
New DST rules for Bangladesh and Pakistan. (Olson's tzdata2009o.)
FossilOrigin-Name: 9b2e8483488880bac4c8c4720c6d4722ac8bb0b7
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/clock.tcl: Bison parser (needed a %pure-parser
* tests/clock.test: declaration to avoid static variables).
Discovered that the %pure-parser declaration
allowed for returning the Bison error message
to the Tcl caller in the event of a syntax
error, so did so.
* generic/tclDate.c: bison 2.3
FossilOrigin-Name: 507327cfc11e2d474af2ac5dc7397eb5f7a54e75
|
| |
|
| |
FossilOrigin-Name: a6720f400dc8d3eaca000a078629e0ab0ba748f2
|
| |
|
|
|
|
|
|
| |
in the case where [clock add] is presented with a bad switch.
* tests/clock.test (clock-65.1) Added a test case for the above
problem [Bug 2481670].
FossilOrigin-Name: 338849bf171f70ac6bb695ef17ebc0c5a8c3cbf0
|
| |
|
|
|
|
| |
between 0 and -12 [Bug 2207436].
FossilOrigin-Name: e48908f30f59855471436ad1e6796632ffdfbc7c
|
| |
|
|
|
|
|
|
|
| |
[string map] to get rid of namespace delimiters before caching a
scan or format procedure [Bug 2362156].
* tests/clock.test (clock-64.[12]): Added test cases for the bug
that was tickled by a namespace delimiter inside a format string.
FossilOrigin-Name: f50581ec5480de80a62151c0d322a065426dc96b
|
| |
|
| |
FossilOrigin-Name: 395eaa2623b2540e0cb48daab4369053acb0f8d0
|
| |
|
|
|
|
|
|
|
|
|
| |
* generic/tclClock.c (ConvertLocalToUTC):
* tests/clock.test (clock-63.1): Fixed a bug where the
internal ConvertLocalToUTC command segfaulted if passed a
dictionary without the 'localSeconds' key. To the best of
my knowledge, the bug was not observable in the [clock]
command itself.
FossilOrigin-Name: b108b4c3a8dfaa8fac56156a2efd76c8a865b5c5
|
| |
|
|
|
|
|
| |
Added comments to the test that it can fail on a heavily loaded
system.
FossilOrigin-Name: bbe1acd0f56c1e63510fb106a78c7d203327e008
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
penultimate paragraph. [Bug 1898025]
* generic/tclClock.c (ParseClockFormatArgs): Changed to check that
the clock value is in the range of a 64-bit integer. [Bug 1862555]
* library/clock.tcl (::tcl::clock::format, ::tcl::clock::scan,
::tcl::clock::add, ::tcl::clock::LocalizeFormat): Fixed bugs
in caching of localized strings that caused weird results when
localized date/time formats were used. [Bug 1902423]
* tests/clock.test (clock-61.*, clock-62.1): Regression tests
for [Bug 1862555] and [Bug 1902423].
FossilOrigin-Name: bc94636f47caf10398b845f283791a016db29d60
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/clock.tcl (::tcl::clock::format):
* tests/clock.test (clock-1.0, clock-1.4):
Performance enhancements in [clock format] (moving
the analysis of $args into C code, holding on to
Tcl_Objs with resolved command names, [lassign]
in place of [foreach], avoiding [namespace which]
for command resolution).
FossilOrigin-Name: fa22a0f73aacd121c7c4e1c00040fef916a50776
|
| |
|
| |
FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
|
| |
|
|
|
|
|
| |
* tests/clock.test (clock-60.*): case-insensitive
matching of time zone and month names. [Bug 1781282]
FossilOrigin-Name: ef5625c545fc07b6d777b5c936d90399914e58a4
|
| |
|
|
|
| |
catenation, and fixed an oversight in the fix for NZA time zones.
FossilOrigin-Name: d6ee490b6b6a9de069d6463ed744906e1e89e221
|
| |
|
| |
FossilOrigin-Name: 0c6676638d0c4d3308f8b0f765163142b6f1b6d9
|
| |
|
|
|
|
|
|
| |
military time zone input conversion. [Bug 1586828].
* generic/tclGetDate.y (MilitaryTable): Fixed an ancient bug where
the military NZA time zones had the signs reversed [Bug 1586828].
FossilOrigin-Name: 94e184fbeea73f246b8fe3b47038549a49872928
|
| |
|
|
|
|
|
|
| |
test case that depended on ":localtime" being able to handle
dates prior to the Posix epoch, [Bug 1618445] Added a test
case for the dates of the Japanese emperors. [Bug 1637471]
FossilOrigin-Name: 27ffeedd7557852554023a19e3d850c285c027a5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and 'lowercase' in clock.n. [Bug 1656002]
Clarified that [clock scan] does not recognize a locale's
alternative calendar.
* library/clock.tcl: Corrected an error in skipping over the
%Ey field on input.
* library/msgs/ja.msg:
* tools/loadICU.tcl: Corrected several localisation faults in
the Japanese locale (most notably, incorrect dates for the
Emperors' eras). [Bug 1637471]. Many thanks to SourceForge
user 'nyademo' for pointing this out and developing a fix.
* generic/tclPathObj.c: Corrected a 'const'ness fault that
caused bitter complaints from MSVC.
FossilOrigin-Name: d2cd76b378ff597107ae7e5c09eff68e487cb961
|
| |
|
|
|
|
|
|
|
|
| |
error on VC2005.
* library/clock.tcl: Restored unique-prefix matching of keywords
on the [clock] command. [Bug 1690041]
* tests/clock.test: Added rudimentary test cases for unique-prefix
matching of keywords.
FossilOrigin-Name: 83ba629c74b4d47a1c0eb23c4e2444903dcd0b30
|
| |
|
|
|
|
|
| |
'loadTestedCommands' function of tcltest to bring in the
correct path for the registry library.
FossilOrigin-Name: f0694e56be3e1813774ffca77672ed2a06b8a400
|
| |
|
|
|
|
|
|
| |
the code for version-2 'zoneinfo' files.
* tests/clock.test (clock-56.3): Added a test case for Y2038 and
'zoneinfo'.
FossilOrigin-Name: 2fff6c3a5f2d28d94ef944ccf22244bc90528de9
|
| |
|
|
|
|
|
|
|
|
|
| |
(restoring missing Mexican time zones). Added rudimentary handling of
version-2 'zoneinfo' files. Update US DST rules so that zones
such as 'EST5EDT' get the correct transition dates.
* tests/clock.test: Added rudimentary test cases for 'zoneinfo'
parsing. Adjusted several tests that depended on obsolete
US DST transition rules.
FossilOrigin-Name: bde346f8b3e6a6408af151609beca36d405ec151
|
| |
|
| |
FossilOrigin-Name: f6e91e1904392a0c8b41cf489ab385c9505b2fc0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/clock.test (3.1, 34.1): messages to make use of the
new rewrite capabilities of [info level]
* generic/tcl.h: Lets TEOV update the iPtr->objc/objv
* generic/tclBasic.c: fields, except when the (new) flag bit
* generic/tclInt.h: TCL_EVAL_NOREWRITE is present. This
* generic/tclNamesp.c: causes [info level] to know and use
* generic/tclProc.c: ensemble rewrites [Bug 1577492]
* tests/namespace.test:
***POTENTIAL INCOMPATIBILITY***
The return value from [info level 0] on interp alias calls is
changed: previously returned the target command (including curried
values), now returns the source - what was actually called.
FossilOrigin-Name: db2a3f31b390f3aa535dbbaae83fcf5233114fbc
|
| |
|
| |
FossilOrigin-Name: cbf66e067ce3ee9ef1e241e8d9f7445b0f259d70
|
| |
|
|
|
|
|
|
|
|
|
| |
from Olson's tzdata2006j.
* library/clock.tcl:
* tests/clock.test: Removed an early testing hack that allowed
loading 'registry' from the build tree rather than an installed
one. This is a workaround for [Bug 15232730], which remains open
because it's a symptom of a deeper underlying problem.
FossilOrigin-Name: d3ace100bf3d9828af144d0f9bd5ef22c7df55f7
|
| |
|
| |
FossilOrigin-Name: 5fce0df2f939829e5cda08d039b5e96883e0d99c
|
| |
|
| |
FossilOrigin-Name: 8fbc85f8ff21592d1e8dcfc0ea5067d004db75f9
|
| |
|
| |
FossilOrigin-Name: b700efc33b0ad7c87c88071621abbb4d5aefc6bc
|
| |
|
|
|
|
| |
http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/9a8b15a4dfc0b7a0
FossilOrigin-Name: 48bbbafac153ba24a73fa999ec3236cf84e4b468
|
| |
|
|
|
|
|
| |
strings to be matched by the Tcl_GetIndexFromObj machinery, in
the same manner as any other key. [Bug 1464039]
FossilOrigin-Name: d86bf5b78aa65c9872581801e88e38a284b56cc6
|
| |
|
|
|
|
|
| |
Consistent method of calling test constraints, and (try to) move constraint
setup to the top of the test file
FossilOrigin-Name: 36829d55d6ebcac6be4d3d7d887b06650a5b394a
|
| |
|
|
|
| |
local Standard Time
FossilOrigin-Name: cf37a1787cb81df7ec35527875204d7b36f4786a
|
| |
|
| |
FossilOrigin-Name: 99b4e7ffb5a5f50d0fa83fa1f3344c1a5d55dca8
|
| |
|
| |
FossilOrigin-Name: 08b64cd45157b385dff5db093140662f3d2689ea
|
| |
|
| |
FossilOrigin-Name: 5e29d06ce18320850b1dd9fb153d50c8be5c125f
|
| |
|
| |
FossilOrigin-Name: 96beb107b19363e40a23acd4e7cb18b471be59c6
|
| |
|
| |
FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
|
| |
|
| |
FossilOrigin-Name: 089af482d8e0b1512c6fd1b5ddd804630054ce69
|
| |
|
| |
FossilOrigin-Name: c237cdd9eca448e03244267b222acb6131c1eacc
|
| |
|
|
|
|
|
| |
a time zone to allow for time zones specified as +HH or -HH.
* tests/clock.test: Added regression test case for the above issue.
FossilOrigin-Name: 25e02ac75c92bd5f556fd9e2590791e8aab3d61c
|
| |
|
| |
FossilOrigin-Name: 2ddee576d4da00f49473293d6b39664c3a93085d
|
| |
|
|
|
|
|
|
| |
relevant to users. [Patch 1056864]
Also patches to core to take advantage of this
Also other general cleaning up of Tcl_WrongNumArgs usage
FossilOrigin-Name: 7162a54053e53f6f469b5d978fca906c9880d363
|
| |
|
|
|
|
|
|
| |
* tests/namespace.test:
* tests/string.test:
* tests/io.test (io-50.4): Use namespace variables.
FossilOrigin-Name: a891dd598a89ffab9deed60738092a854f68e40f
|
| |
|
| |
FossilOrigin-Name: 5a8bf31af4866d723b2efb8cc94fb1437b9f1436
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 40a0ea2e1e8077dbb7a2285e57544d4dbf694ab4
|
| |
|
|
|
|
|
|
| |
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]
FossilOrigin-Name: e040ecd52224787df6a5d45dea270c9e2f2bec07
|
| |
|
|
|
|
|
|
|
|
|
| |
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'.
FossilOrigin-Name: 7602ffab0a8718fc7072315ed737e87202cffba8
|