| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"history" ensemble:
==== history-1.5 event option FAILED
==== Contents of test case:
history e "* a*"
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: unknown subcommand "e": must be add, change, clear, event, info, keep, nextid, or redo
while executing
"history e {* a*}"
invoked from within
"history e "* a*""
("uplevel" body line 1)
invoked from within
"uplevel 1 $script"
---- errorCode: TCL LOOKUP SUBCOMMAND e
==== history-1.5 FAILED
==== history-4.1 change option FAILED
==== Contents of test case:
history event [expr {[history n]-1}]
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: unknown subcommand "n": must be add, change, clear, event, info, keep, nextid, or redo
while executing
"history n"
invoked from within
"history n"
("uplevel" body line 1)
invoked from within
"uplevel 1 $script"
---- errorCode: TCL LOOKUP SUBCOMMAND n
==== history-4.1 FAILED
Test file error: unknown subcommand "ch": must be add, change, clear, event, info, keep, nextid, or redo
while executing
"history ch {Another test} -1"
invoked from within
"history ch "Another test" -1"
invoked from within
"if {[testConstraint history]} {
history ch "Another test" -1
}"
(file "tests/history.test" line 117)
|
|
|
|
| |
UTF-8 can inject unexpected characters
|
|
|
|
| |
preventing a (char *) type case. No functional changes.
|
|
|
|
| |
changes in library/reg/pkgIndex.tcl, which are unrelated to clock functionality
|
| |
|
|\
| |
| |
| | |
see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
|
| | |
|
| |
| |
| |
| | |
format): bypass integer recognition if it looks like option "-now"
|
| |
| |
| |
| | |
moved to tclClock.c)
|
| |
| |
| |
| | |
clock-value can be negative - modulo operation in C has the same sign as dividend)
|
| | |
|
| |
| |
| |
| | |
changed in clock - indices starts with 1 instead of 0, and 0(NULL) instead of -1 used as sign of ambiguous keys.
|
| |
| |
| |
| |
| |
| | |
changed (loses its internal representation during evals);
should avoid possible theoretical segfault there.
|
| | |
|
| |
| |
| |
| | |
"::tcl::clock::format") if failed through compiled ensemble execution.
|
| |
| |
| |
| |
| |
| | |
commands (including new) compiled now also in ensemble (implemented without TclMakeEnsemble, because it can be extended via new map entries).
Ensemble handling partially cherry-picked from new performance branch (TODO: check temporary "-compile" option can be reverted if it becomes ready/merged).
|
| | |
|
| |\
| | |
| | |
| | | |
to 8.6): tcl-clock functionality rewritten in C.
|
| | |\ |
|
| | | | |
|
| | |\ \ |
|
| | |\ \ \ |
|
| | |\ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
freescan)...
test-performance.tcl: test cases extended to cover "clock add"
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- static used in non-static inline function;
- x64 int cast on pointer [-Wpointer-to-int-cast];
- (obscure) may be used uninitialized in this function [-Wmaybe-uninitialized];
- TclEnvEpoch initialized and declared extern;
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
sb/trunk-rewrite-clock-in-c; + minor fixes after merge.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
vars, functions etc; types normalization;
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
fixed (see test cases clock-6.22.11 - clock-6.22.20), additionally involving look ahead token of known type into pre-search process.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
clock-6.22.12), involving space count in look ahead and end distance calculation (because spaces are optional in date-time string as well as in scanning format).
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
token "%s" used for seconds only (time zone independent), additionally "%Es" token added for local seconds (zone dependent seconds);
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
with _itoaw (because "sprintf" too slow)
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
(zone), test cases extended
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
case insensitive now
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
considered utf-8 char length in words by format parsing
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
string prefix as key;
clock scan rewritten to use string index tries search;
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
seconds bound) and optimized (last period ranges saved);
prepare to back-port clock format
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
TOK_CHAIN_BLOCK_SIZE by creation, minimized memory usage)
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
cases passed; todo - check other tokens from "clock.tcl"
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
repaired current locale switch
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
legacy timezone cached as last
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
precedence yyyymmdd over yyyyddd was changed (and re-covered in test-cases also), see http://core.tcl.tk/tcl/tktview/e7a722cd3573fedda5d1e528f95902776f996e06
|