summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* (experiment): Always compile ensembles. Result: 2 test failures in the ↵compile_ensemblejan.nijtmans2017-06-011-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "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)
* Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-05-311-3/+9
| | | | UTF-8 can inject unexpected characters
* More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵jan.nijtmans2017-05-3110-246/+245
| | | | preventing a (char *) type case. No functional changes.
* Remove "timerate" functionality: this definitely needs a TIP. Also undo ↵jan.nijtmans2017-05-313-351/+1
| | | | changes in library/reg/pkgIndex.tcl, which are unrelated to clock functionality
* small code review: resolves several warning on some compilerssebres2017-05-304-10/+10
|
* merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, ↵sebres2017-05-2914-745/+7490
|\ | | | | | | see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| * small amend with forgetten static keyword by optionsebres_8_6_clock_speedupsebres2017-05-161-1/+1
| |
| * optimized special case "-now" of base (by scan or add) or clock value (by ↵sebres2017-05-161-4/+9
| | | | | | | | format): bypass integer recognition if it looks like option "-now"
| * resolved warnings compiled with gcc, removed unused "MsgCtLitIdxs" (was ↵sebres2017-05-161-4/+1
| | | | | | | | moved to tclClock.c)
| * Fixed stardate format: be sure positive after decimal point (note: ↵sebres2017-05-121-5/+7
| | | | | | | | clock-value can be negative - modulo operation in C has the same sign as dividend)
| * fixes lost indentation during back-portingsebres2017-05-111-18/+18
| |
| * [clock] tclStrIdxTree extended with possibility to hold client data; also ↵sebres2017-05-113-36/+45
| | | | | | | | changed in clock - indices starts with 1 instead of 0, and 0(NULL) instead of -1 used as sign of ambiguous keys.
| * prevents loss of key object if the format object (where key stored) becomes ↵sebres2017-05-111-12/+14
| | | | | | | | | | | | changed (loses its internal representation during evals); should avoid possible theoretical segfault there.
| * Added files missing after merge/back-port (rebase with merge point)sebres2017-05-104-0/+4336
| |
| * Fixed wrong args message (e.g. "clock format ..." instead of ↵sebres2017-05-101-7/+7
| | | | | | | | "::tcl::clock::format") if failed through compiled ensemble execution.
| * Ensemble "clock" fixed after merge with kbk's clock ensemble solution. All ↵sebres2017-05-102-36/+50
| | | | | | | | | | | | 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).
| * resolving differences between 8.6 and trunk sebres2017-05-101-10/+8
| |
| * [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵sebres2017-05-106-685/+2691
| |\ | | | | | | | | | to 8.6): tcl-clock functionality rewritten in C.
| | * merge sebres-trunk-timeratesebres2017-03-071-0/+7
| | |\
| | * | tclEmptyStringRep -> &tclEmptyStringsebres2017-03-061-1/+1
| | | |
| | * | merge trunksebres2017-03-0629-329/+432
| | |\ \
| | * \ \ merge sebres-trunk-timeratesebres2017-02-093-16/+31
| | |\ \ \
| | * \ \ \ merge trunksebres2017-01-133-37/+41
| | |\ \ \ \
| | * | | | | code review and inline documentationsebres2017-01-112-27/+323
| | | | | | |
| | * | | | | small amend (reset have rel flag)sebres2017-01-101-0/+2
| | | | | | |
| | * | | | | "clock add" rewritten in C, using common functionality of "clock scan" (and ↵sebres2017-01-102-232/+505
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freescan)... test-performance.tcl: test cases extended to cover "clock add"
| | * | | | | code review and inline documentationsebres2017-01-106-26/+288
| | | | | | |
| | * | | | | [unix] resolving of several warnings (gcc 5.x):sebres2017-01-104-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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;
| | * | | | | Merge remote-tracking branch 'remotes/fossil/trunk' into ↵sebres2017-01-103-20/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | sb/trunk-rewrite-clock-in-c; + minor fixes after merge.
| | * | | | | [unix] build for *nix fixed, code clean-ups; missing declarations; unused ↵sebres2017-01-107-74/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | vars, functions etc; types normalization;
| | * | | | | dict: unused variable removedsebres2017-01-101-1/+0
| | | | | | |
| | * | | | | another way to make greedy search more precise, some greedy matches are ↵sebres2017-01-102-90/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed (see test cases clock-6.22.11 - clock-6.22.20), additionally involving look ahead token of known type into pre-search process.
| | * | | | | some greedy matches are fixed (see test cases clock-6.22.11 and ↵sebres2017-01-102-43/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| | * | | | | small code review, performance test cases ready.sebres2017-01-102-4/+4
| | | | | | |
| | * | | | | several missing scan tokens added, test cases extended and fixed;sebres2017-01-103-45/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | token "%s" used for seconds only (time zone independent), additionally "%Es" token added for local seconds (zone dependent seconds);
| | * | | | | porting of clock format completed; all clock test cases passedsebres2017-01-103-144/+406
| | | | | | |
| | * | | | | [temp-commit]: format almost ready (missing some tokens), sprintf replaced ↵sebres2017-01-103-44/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with _itoaw (because "sprintf" too slow)
| | * | | | | [temp-commit]: format almost ready (missing some tokens)sebres2017-01-103-170/+644
| | | | | | |
| | * | | | | min length of %Y token (year with century) is 4, optional tokens possibility ↵sebres2017-01-102-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (zone), test cases extended
| | * | | | | other locale scan token switched from list seek to index tree + list search ↵sebres2017-01-102-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | case insensitive now
| | * | | | | locale months scan switched to from list seek to index tree; bug fixingsebres2017-01-103-13/+16
| | | | | | |
| | * | | | | lowercase on demand, string index tree can search any-case now, clock scan ↵sebres2017-01-103-20/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | considered utf-8 char length in words by format parsing
| | * | | | | string index tree for fast greedy search of the string (index) by unique ↵sebres2017-01-105-334/+859
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string prefix as key; clock scan rewritten to use string index tries search;
| | * | | | | cacheable conversions Local2UTC / UTC2Local fixed (some TZ switches time ↵sebres2017-01-103-78/+502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seconds bound) and optimized (last period ranges saved); prepare to back-port clock format
| | * | | | | estimate token count by % char and format length (don't use fix ↵sebres2017-01-102-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | TOK_CHAIN_BLOCK_SIZE by creation, minimized memory usage)
| | * | | | | small optimization (determine min/max length, end distance, etc.)sebres2017-01-102-5/+32
| | | | | | |
| | * | | | | clock scan almost ready (currently test-case covered tokens only), test ↵sebres2017-01-102-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | cases passed; todo - check other tokens from "clock.tcl"
| | * | | | | bug fix by match word token (FindWordEnd fixed);sebres2017-01-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | repaired current locale switch
| | * | | | | repaired system/current locale caching (also for legacy clock format) and ↵sebres2017-01-103-20/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | legacy timezone cached as last
| | * | | | | scan format: several tokens implemented, bug fixing and code review;sebres2017-01-103-65/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | precedence yyyymmdd over yyyyddd was changed (and re-covered in test-cases also), see http://core.tcl.tk/tcl/tktview/e7a722cd3573fedda5d1e528f95902776f996e06