Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | small amend with forgetten static keyword by optionsebres_8_6_clock_speedup | sebres | 2017-05-16 | 1 | -1/+1 |
| | |||||
* | optimized special case "-now" of base (by scan or add) or clock value (by ↵ | sebres | 2017-05-16 | 1 | -4/+9 |
| | | | | format): bypass integer recognition if it looks like option "-now" | ||||
* | resolved warnings compiled with gcc, removed unused "MsgCtLitIdxs" (was ↵ | sebres | 2017-05-16 | 1 | -4/+1 |
| | | | | moved to tclClock.c) | ||||
* | Fixed stardate format: be sure positive after decimal point (note: ↵ | sebres | 2017-05-12 | 1 | -5/+7 |
| | | | | clock-value can be negative - modulo operation in C has the same sign as dividend) | ||||
* | fixes lost indentation during back-porting | sebres | 2017-05-11 | 1 | -18/+18 |
| | |||||
* | [clock] tclStrIdxTree extended with possibility to hold client data; also ↵ | sebres | 2017-05-11 | 3 | -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 ↵ | sebres | 2017-05-11 | 1 | -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) | sebres | 2017-05-10 | 4 | -0/+4336 |
| | |||||
* | Fixed wrong args message (e.g. "clock format ..." instead of ↵ | sebres | 2017-05-10 | 1 | -7/+7 |
| | | | | "::tcl::clock::format") if failed through compiled ensemble execution. | ||||
* | Ensemble "clock" fixed after merge with kbk's clock ensemble solution. All ↵ | sebres | 2017-05-10 | 2 | -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 | sebres | 2017-05-10 | 1 | -10/+8 |
| | |||||
* | [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵ | sebres | 2017-05-10 | 6 | -685/+2691 |
|\ | | | | | | | to 8.6): tcl-clock functionality rewritten in C. | ||||
| * | merge sebres-trunk-timerate | sebres | 2017-03-07 | 1 | -0/+7 |
| |\ | |||||
| * | | tclEmptyStringRep -> &tclEmptyString | sebres | 2017-03-06 | 1 | -1/+1 |
| | | | |||||
| * | | merge trunk | sebres | 2017-03-06 | 29 | -329/+432 |
| |\ \ | |||||
| * \ \ | merge sebres-trunk-timerate | sebres | 2017-02-09 | 3 | -16/+31 |
| |\ \ \ | |||||
| * \ \ \ | merge trunk | sebres | 2017-01-13 | 3 | -37/+41 |
| |\ \ \ \ | |||||
| * | | | | | code review and inline documentation | sebres | 2017-01-11 | 2 | -27/+323 |
| | | | | | | |||||
| * | | | | | small amend (reset have rel flag) | sebres | 2017-01-10 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | "clock add" rewritten in C, using common functionality of "clock scan" (and ↵ | sebres | 2017-01-10 | 2 | -232/+505 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freescan)... test-performance.tcl: test cases extended to cover "clock add" | ||||
| * | | | | | code review and inline documentation | sebres | 2017-01-10 | 6 | -26/+288 |
| | | | | | | |||||
| * | | | | | [unix] resolving of several warnings (gcc 5.x): | sebres | 2017-01-10 | 4 | -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 ↵ | sebres | 2017-01-10 | 3 | -20/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | sb/trunk-rewrite-clock-in-c; + minor fixes after merge. | ||||
| * | | | | | [unix] build for *nix fixed, code clean-ups; missing declarations; unused ↵ | sebres | 2017-01-10 | 7 | -74/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | vars, functions etc; types normalization; | ||||
| * | | | | | dict: unused variable removed | sebres | 2017-01-10 | 1 | -1/+0 |
| | | | | | | |||||
| * | | | | | another way to make greedy search more precise, some greedy matches are ↵ | sebres | 2017-01-10 | 2 | -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 ↵ | sebres | 2017-01-10 | 2 | -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. | sebres | 2017-01-10 | 2 | -4/+4 |
| | | | | | | |||||
| * | | | | | several missing scan tokens added, test cases extended and fixed; | sebres | 2017-01-10 | 3 | -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 passed | sebres | 2017-01-10 | 3 | -144/+406 |
| | | | | | | |||||
| * | | | | | [temp-commit]: format almost ready (missing some tokens), sprintf replaced ↵ | sebres | 2017-01-10 | 3 | -44/+157 |
| | | | | | | | | | | | | | | | | | | | | | | | | with _itoaw (because "sprintf" too slow) | ||||
| * | | | | | [temp-commit]: format almost ready (missing some tokens) | sebres | 2017-01-10 | 3 | -170/+644 |
| | | | | | | |||||
| * | | | | | min length of %Y token (year with century) is 4, optional tokens possibility ↵ | sebres | 2017-01-10 | 2 | -10/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | (zone), test cases extended | ||||
| * | | | | | other locale scan token switched from list seek to index tree + list search ↵ | sebres | 2017-01-10 | 2 | -21/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | case insensitive now | ||||
| * | | | | | locale months scan switched to from list seek to index tree; bug fixing | sebres | 2017-01-10 | 3 | -13/+16 |
| | | | | | | |||||
| * | | | | | lowercase on demand, string index tree can search any-case now, clock scan ↵ | sebres | 2017-01-10 | 3 | -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 ↵ | sebres | 2017-01-10 | 5 | -334/+859 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string prefix as key; clock scan rewritten to use string index tries search; | ||||
| * | | | | | cacheable conversions Local2UTC / UTC2Local fixed (some TZ switches time ↵ | sebres | 2017-01-10 | 3 | -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 ↵ | sebres | 2017-01-10 | 2 | -6/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | TOK_CHAIN_BLOCK_SIZE by creation, minimized memory usage) | ||||
| * | | | | | small optimization (determine min/max length, end distance, etc.) | sebres | 2017-01-10 | 2 | -5/+32 |
| | | | | | | |||||
| * | | | | | clock scan almost ready (currently test-case covered tokens only), test ↵ | sebres | 2017-01-10 | 2 | -10/+60 |
| | | | | | | | | | | | | | | | | | | | | | | | | cases passed; todo - check other tokens from "clock.tcl" | ||||
| * | | | | | bug fix by match word token (FindWordEnd fixed); | sebres | 2017-01-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | repaired current locale switch | ||||
| * | | | | | repaired system/current locale caching (also for legacy clock format) and ↵ | sebres | 2017-01-10 | 3 | -20/+80 |
| | | | | | | | | | | | | | | | | | | | | | | | | legacy timezone cached as last | ||||
| * | | | | | scan format: several tokens implemented, bug fixing and code review; | sebres | 2017-01-10 | 3 | -65/+365 |
| | | | | | | | | | | | | | | | | | | | | | | | | precedence yyyymmdd over yyyyddd was changed (and re-covered in test-cases also), see http://core.tcl.tk/tcl/tktview/e7a722cd3573fedda5d1e528f95902776f996e06 | ||||
| * | | | | | %j token as day of year; clear flags implemented (to provide last-wins ↵ | sebres | 2017-01-10 | 3 | -53/+103 |
| | | | | | | | | | | | | | | | | | | | | | | | | functionality) | ||||
| * | | | | | seconds token (%s) take precedence over all other tokens | sebres | 2017-01-10 | 1 | -25/+31 |
| | | | | | | |||||
| * | | | | | list index logic optimized regarding greedy search (don't stop by first ↵ | sebres | 2017-01-10 | 1 | -2/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | found - try to find longest) | ||||
| * | | | | | improve LocalizeFormat, internal caching of localized formats inside msgcat ↵ | sebres | 2017-01-10 | 3 | -180/+199 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for locale and format objects smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict) code review | ||||
| * | | | | | improve LocalizeFormat, internal caching of localized formats inside msgcat ↵ | sebres | 2017-01-10 | 5 | -60/+212 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for locale and format objects smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict) | ||||
| * | | | | | l10n (with caching) implemented, msgcat package optimized, code review, etc. | sebres | 2017-01-10 | 3 | -247/+439 |
| | | | | | |