Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TCL_MEM_DEBUG build: disable cache/storage-GC for released clock scan/format ↵ | sebres | 2024-03-24 | 1 | -1/+5 |
| | | | | objects | ||||
* | still one fix for [1f40aa83c552f597], now for freescan (overflow in tests ↵ | sebres | 2024-03-24 | 1 | -0/+2 |
| | | | | clock-6.10e/clock-6.10f): rewritten with common str2int now | ||||
* | Review: use Tcl_Size for "length" in tclStrIdxTree.h. Macro tweaks. | jan.nijtmans | 2024-03-20 | 1 | -2/+2 |
| | |||||
* | validation check: fixed time point of first stage - it must work TZ ↵ | sebres | 2024-03-14 | 1 | -1/+3 |
| | | | | independently (the conversion of local time to UTC may adjust date/time tokens); | ||||
* | merge sebres-8-6-clock-speedup-cr2 | sebres | 2024-03-12 | 1 | -6/+14 |
|\ | |||||
| * | fixes #23: `clock add` regression (integer overflow in time part) | sebres | 2024-03-12 | 1 | -6/+6 |
| | | |||||
| * | replace sprintf with itoaw | sebres | 2024-03-12 | 1 | -0/+4 |
| | | |||||
| * | consider TZ-epoch in base-cache (ensure cache of base is correct for ↵ | sebres | 2024-03-12 | 1 | -0/+4 |
| | | | | | | | | :localtime if TZ changing) | ||||
* | | more int -> Tcl_Size | jan.nijtmans | 2024-03-11 | 1 | -1/+1 |
| | | |||||
* | | Fix [1acd172c424b57c9] (by just reverting the change causing this). Not ↵ | jan.nijtmans | 2024-03-11 | 1 | -3/+3 |
| | | | | | | | | crucial for TIP #688. Also, make it compile/run using -DTCL_NO_DEPRECATED=1 | ||||
* | | Merge 9.0. Misc improvements from 9.0 branch (which were lost in this branch) | jan.nijtmans | 2024-03-10 | 1 | -3/+1 |
| | | |||||
* | | Rebase to latest 9.0 | jan.nijtmans | 2024-02-26 | 1 | -2/+2 |
| | | |||||
* | | Get sebres-8-6-clock-speedup-cr2 ready for 8.7 too | jan.nijtmans | 2021-02-18 | 1 | -1/+1 |
|/ | |||||
* | Merge 8.6. More warning fixes | jan.nijtmans | 2020-10-15 | 1 | -10/+12 |
| | |||||
* | Eliminate some eol-spacing, eliminate some gcc warnings (with -Wc++-compat) | jan.nijtmans | 2020-10-12 | 1 | -4/+4 |
| | |||||
* | simplifying info-structure, usage of flags etc (normalizing in order to use ↵ | sebres | 2019-07-15 | 1 | -2/+2 |
| | | | | | | same flags as by formatted scan instead of members like yyHave...); (additionally allocates info->messages object on demand, if free scan fails) | ||||
* | **interim** try simplify info-structure (replace yyHave... with flags) | sebres | 2019-07-15 | 1 | -15/+11 |
| | |||||
* | implemented scan of astronomical julian day (JDN/ID) with token `%Ej`, ↵ | sebres | 2019-03-13 | 1 | -1/+1 |
| | | | | | | | | corresponds julian date of sqlite-database. In opposite to calendar julian day `%J`, it starts the day at noon (and can parse float, so contains a time fraction). **TODO** implement `clock format ... -format %Ej` and test-cases for format of this token. **TODO** implement `%EJ` token for calendar JD with time fraction. | ||||
* | fixes [16e4fc3096] julian day calculation (mostly affected for very small ↵ | sebres | 2019-01-25 | 1 | -0/+25 |
| | | | | times, B.C.E. between 4714 and 4713), added test-cases covering that. | ||||
* | introduced new configure option `-max-jdn` corresponds current setting of ↵ | sebres | 2019-01-25 | 1 | -0/+1 |
| | | | | tcl-core clock scans for JulianDay per default (5373484 = "9999-12-31 23:59:59") | ||||
* | Introduces new validity rule (gh-11): check input-time is valid regarding ↵ | sebres | 2018-10-05 | 1 | -22/+21 |
| | | | | | | | | time-zone conversion inside the time-zone ranges (not in DST-hole); ConvertLocalToUTC/ConvertUTCToLocal rewritten to use common cache (and ConvertLocalToUTC invalidates the local seconds, if it was outside the time-zone ranges during conversion); Bonus: improves performance of the involved cache by time-zone conversions (if more as 1 TZ), see both performance test-cases "Convert TZ: direct": (1.3µs vs. 1.7µs previously) | ||||
* | fixed week-based calculation if neither mmdd nor ddd available; | sebres | 2018-05-29 | 1 | -1/+2 |
| | |||||
* | validation rules: extended for day of year (and test covered now) | sebres | 2018-05-29 | 1 | -2/+2 |
| | |||||
* | validation rules ready for scan/freescan; test cases extended; code review ↵ | sebres | 2018-05-29 | 1 | -4/+8 |
| | | | | | | and clean-up; running of test cases with and without validate. | ||||
* | try to re-implement validation rules for `clock scan` (option `-valid 1|0`), ↵ | sebres | 2018-05-29 | 1 | -0/+4 |
| | | | | see http://core.tcl.tk/tcl/tktview?name=3475995 | ||||
* | Added max permitted threshold (buffer size > result size) in percent, to ↵ | sebres | 2018-05-29 | 1 | -1/+4 |
| | | | | directly return the buffer without reallocate (don't affect small formats with size < 80 (MIN_FMT_RESULT_BLOCK_ALLOC)) | ||||
* | further optimization: better cache for GMT-timezone + minimize ↵ | sebres | 2018-05-29 | 1 | -1/+4 |
| | | | | (re)allocation of buffers | ||||
* | try to resolve warnings by some forwards declarations: redefinition of ↵ | sebres | 2018-05-29 | 1 | -6/+7 |
| | | | | typedef 'ClockScanToken' is a C11 feature [-Wtypedef-redefinition] | ||||
* | fixed overflow of year (resp. julianday), closes ticket [16e4fc3096]; test ↵ | sebres | 2017-08-08 | 1 | -3/+3 |
| | | | | cases adjusted. | ||||
* | Clock options should be alphabetica (so "-base" first). Struct members ↵ | jan.nijtmans | 2017-06-07 | 1 | -28/+28 |
| | | | | should start with lowercase. | ||||
* | Fix LookupLastTransition() for behavior when tick < compVal, undo ↵ | jan.nijtmans | 2017-06-07 | 1 | -1/+1 |
| | | | | Tcl_EvalObjEx -> TclEvalObjEx change, eliminate two inline macro's which are only used once. Eliminate many unnecessary MODULE_SCOPE declarations (duplicated with header files) | ||||
* | fix default locale: differentiate between no locale specified or "C" (en) ↵ | sebres | 2017-06-02 | 1 | -0/+2 |
| | | | | and current locale (corresponds system language, resp. env(LANG)) | ||||
* | close small performance degradation if alternate between two time zones (e. ↵ | sebres | 2017-06-02 | 1 | -3/+5 |
| | | | | g. convert from one to another): additionally to last used cache also previously used time zone. | ||||
* | close small performance degradation if alternate between two locales (e. g. ↵ | sebres | 2017-06-02 | 1 | -2/+6 |
| | | | | convert from one to another): additionally to last used cache also previously used locale. | ||||
* | Removed public interface to create smart-pointer to dictionaries "dict ↵ | sebres | 2017-06-02 | 1 | -0/+2 |
| | | | | smartref", common locales catalog rewritten to hold internally onetime referenced merged locales (even as smart-ref). | ||||
* | More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵ | jan.nijtmans | 2017-05-31 | 1 | -5/+5 |
| | | | | preventing a (char *) type case. No functional changes. | ||||
* | small code review: resolves several warning on some compilers | sebres | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | Added files missing after merge/back-port (rebase with merge point) | sebres | 2017-05-10 | 1 | -0/+512 |