summaryrefslogtreecommitdiffstats
path: root/library/clock.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * library/clock.tcl: Fixed the naming ofKevin B Kenny2007-04-171-4/+4
| | | | | | | ::tcl::clock::ReadZoneinfoFile because (yoicks!) it was in the global namespace. * doc/clock.n: Clarified the cases in which legacy time zone is recognized. [Bug 1656002]
* * generic/tclCompCmds.c: added a cast to silence a compilerKevin B Kenny2007-04-151-12/+13
| | | | | | | | 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.
* * library/clock.tcl (ReadZoneinfoFile): Added Y2038 compliance toKevin B Kenny2007-03-091-5/+21
| | | | | | the code for version-2 'zoneinfo' files. * tests/clock.test (clock-56.3): Added a test case for Y2038 and 'zoneinfo'.
* * library/clock.tcl: Further tweaks to the Windows time zone tableKevin B Kenny2007-03-081-80/+114
| | | | | | | | | (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.
* New US DST rules on Windows; Olson's tzdata2007cKevin B Kenny2007-03-071-10/+20
|
* Fix [Bug 1587618], eliminating the callObjc and callObjv fields from the Interpdkf2006-10-311-5/+5
| | | | structure.
* * library/clock.tcl (format, scan): corrected wrong # argsMiguel Sofer2006-10-231-3/+5
| | | | | | | | | | | | | | | | | * 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.
* * library/tzdata: Regenerated, including several new files,Kevin B Kenny2006-08-241-21/+3
| | | | | | | | | 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.
* Added missing braces to validation codedkf2006-08-141-2/+2
|
* Bug 1426279Kevin B Kenny2006-07-311-14/+55
|
* Fixed Bug 1494664Kevin B Kenny2006-07-301-3/+3
|
* Fixed Bug 1505383Kevin B Kenny2006-07-301-3/+3
|
* fix for Martin Lemburg's DST conversion bug.Kevin B Kenny2006-04-191-6/+6
| | | | http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/9a8b15a4dfc0b7a0
* Corrected bugs in tommath installation, improved tommath square root ↵Kevin B Kenny2005-12-271-2/+2
| | | | performance, patched around a [clock scan] issue with time zones
* another puny speedup - no error thrown from ::tcl::clock::getenvKevin B Kenny2005-12-021-3/+3
|
* another little speedup to [clock format]Kevin B Kenny2005-12-021-4/+7
|
* Bug 1371446 plus buildability on ancient SolarisKevin B Kenny2005-12-021-12/+12
|
* another [clock format] performance boost - precompile formatsKevin B Kenny2005-12-011-327/+446
|
* remove redundant [mc] calls in [clock]Kevin B Kenny2005-12-011-18/+32
|
* remove redundant [mc] calls in [clock]Kevin B Kenny2005-12-011-48/+62
|
* code rationalization - eliminate some duplication between Tcl and CKevin B Kenny2005-11-301-175/+27
|
* make [clock format] go fasterKevin B Kenny2005-11-291-584/+94
|
* Bug 1298737Kevin B Kenny2005-11-041-1/+4
|
* added /usr/lib/zoneinfo for antique glibcKevin B Kenny2005-08-121-1/+2
|
* bug 1257830Kevin B Kenny2005-08-121-16/+41
|
* Bug 1237907Kevin B Kenny2005-07-151-6/+24
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* fixed Bug 1185933Kevin B Kenny2005-04-191-22/+41
|
* Performance improvement in [clock] - FR 1182459Kevin B Kenny2005-04-131-4/+4
|
* bugs 1090413, 1092789 fixedKevin B Kenny2004-12-291-8/+13
|
* * library/clock.tcl: Corrected the regular expressions that matchKevin B Kenny2004-11-301-7/+9
| | | | | a time zone to allow for time zones specified as +HH or -HH. * tests/clock.test: Added regression test case for the above issue.
* remove knownBugs from clock tests by fixing themKevin B Kenny2004-11-031-3/+9
|
* fixes for Bug 1054101Kevin B Kenny2004-10-261-2/+4
|
* * library/auto.tcl Purged Tcl's script library of alldgp2004-10-251-41/+31
| | | | | | | | | | | * library/clock.tcl remaining references to global vars * library/init.tcl ::errorInfo and ::errorCode. * generic/tclMain.c (Tcl_Main): Updated to make use of TclGetReturnOptions instead of ::errorInfo variable. * generic/tclInterp.c (tclInit): Bug fix. Access dict variables with [dict get], not array syntax.
* * library/clock.tcl: Fixed a typo where the fallback time zoneKevin B Kenny2004-10-221-4/+4
| | | | | | | | | 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.
* doubled speed of clock formatKevin B Kenny2004-10-211-274/+208
|
* many more TIP 173 changesKevin B Kenny2004-09-271-123/+310
|
* fixed a bug where %z was always positive in :localtimeKevin B Kenny2004-09-101-5/+6
|
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-071-10/+14
| | | | | | | | | | | | | | | | | | | | | 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]
* * library/clock.tcl (format): Changed default timezone format Kevin B Kenny2004-08-191-2/+2
| | | | | | | 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.
* unbreak Win build after TIP#173 and TIP#209 commitKevin B Kenny2004-08-181-23/+65
|
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-181-0/+4874