summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | * | | | | | | 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
| | | | * | | | | | | %j token as day of year; clear flags implemented (to provide last-wins ↵sebres2017-01-103-53/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality)
| | | | * | | | | | | seconds token (%s) take precedence over all other tokenssebres2017-01-101-25/+31
| | | | | | | | | | |
| | | | * | | | | | | list index logic optimized regarding greedy search (don't stop by first ↵sebres2017-01-101-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found - try to find longest)
| | | | * | | | | | | improve LocalizeFormat, internal caching of localized formats inside msgcat ↵sebres2017-01-103-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 ↵sebres2017-01-105-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.sebres2017-01-103-247/+439
| | | | | | | | | | |
| | | | * | | | | | | [temp-commit]: not readysebres2017-01-103-80/+438
| | | | | | | | | | |
| | | | * | | | | | | several initialize and finalize facilitiessebres2017-01-105-45/+49
| | | | | | | | | | |
| | | | * | | | | | | amend for caching of UTC2Local / Local2UTC:sebres2017-01-102-47/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tzdata used internally only (because cached, replaced with timezone object as parameter for several functions) * small improvement (don't need to convert UTC to UTC)
| | | | * | | | | | | [temp-commit]: code review, DST-hole mistake by scan with relative time ↵sebres2017-01-103-198/+500
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolved; caching of UTC2Local / Local2UTC cherry picked
| | | | * | | | | | | [temp-commit]: clock scan tokenizer logic ready (still needs many rules)sebres2017-01-105-80/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caching extended (currentYearCentury, yearOfCenturySwitch, lastBaseDate ...)
| | | | * | | | | | | [temp-commit]: rewrite scan token map handlingsebres2017-01-102-21/+83
| | | | | | | | | | |
| | | | * | | | | | | [temp-commit]: tclClockFmt.c - amend for 2nd try (with cherry picking of ↵sebres2017-01-104-212/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tclSE incompatible facilities) Prepared for common usage of both scan commands - free scan / scan with format (currently faked via eval to __org_scan); test cases passed.
| | | | * | | | | | | [temp-commit]: tclClockFmt.c - 2nd try (with cherry picking of tclSE ↵sebres2017-01-103-213/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incompatible facilities) Prepared for common usage of scan command (free scan / format scan)
| | | | * | | | | | | [temp-commit]: tclClockFmt.c - 1st trysebres2017-01-105-9/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using "timerate" instead "time" by performance measurement tests (more precise and fixed time, so no switch of factor expected)
| | | | * | | | | | | [temp-commit]: ClockFreeScan back-ported (cherry picked), all tests case ↵sebres2017-01-103-147/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passed + several new test-cases for bug fixing implemented here; environment epoch ported, several fixes for the time zone / tzdata caching ported; mem-leak fix + memory leak test cases passed
| | | | * | | | | | | [temp-commit]: ClockFreeScan ready, test case passed (2 failure because of ↵sebres2017-01-101-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrong :localtime zone by TZ-switch, to be fixed)
| | | | * | | | | | | [temp-commit]: ClockFreeScan seems to be ready, test case should be checkedsebres2017-01-101-65/+106
| | | | | | | | | | |
| | | | * | | | | | | [temp-commit]: ClockFreeScan almost ready, test-performance cases mergedsebres2017-01-101-57/+313
| | | | | | | | | | |
| | | | * | | | | | | [temp-commit]: clock scan with several optimization porting, still not-readysebres2017-01-104-375/+853
| | | | | | | | | | |
| | | | * | | | | | | 1st try to rewrite clock in Csebres2017-01-101-59/+194
| | | | | | | | | | |
| | | * | | | | | | | add missing compile functionality (TclPreserveByteCode/TclReleaseByteCode ↵sebres2017-05-091-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | back-ported as inline from trunk)
| | | * | | | | | | | back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6)sebres2017-05-094-8/+365
| | | |\ \ \ \ \ \ \ \ | | | | | |_|_|_|/ / / | | | | |/| | | | | |
| | | | * | | | | | | timerate: don't calculate threshold by too few iterations, because sometimes ↵sebres2017-03-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first iteration(s) can be too fast (cached, delayed clean up, etc).
| | | | * | | | | | | merge trunksebres2017-03-0629-366/+473
| | | | |\ \ \ \ \ \ \ | | | | | |_|_|/ / / / | | | | |/| | | / / / | | | | | | |_|/ / / | | | | | |/| | | |
| | | | * | | | | | [win] accomplished winTime module using very fast wide clicks, with ↵sebres2017-02-091-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | denominator scale to/from microseconds, and therefore more precise "timerate" results under windows (using similar mechanisms as by Mac OSX). Especially multi-threaded, because it works without lock opposite to microseconds (that use crictical section, because of the calibration thread). The reason for usage of wide clicks instead microseconds explains following example (shows 20% performance deference): % timerate -calibrate {} % timerate {clock microseconds} 5000 0.297037 µs/# 14465901 # 3366585 #/sec 4296.906 nett-ms % timerate {clock clicks} 5000 0.247797 µs/# 16869084 # 4035554 #/sec 4180.116 nett-ms
| | | | * | | | | | [timerate] bug fix: missing scale conversion by Mac OSX on platform where ↵sebres2017-02-093-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | high resolution clicks are not microseconds based; [win] use high resolution timer for the wide clicks and microseconds directly, prevent several forwards/backwards conversions; [win, unix, mac-osx] normalize some functions for common usage in different time units (clicks, micro- and nanoseconds)
| | | | * | | | | | resolve warning: enumeration value ‘TMRT_LAST’ not handled in switch ↵sebres2017-02-091-1/+1
| | | | | |/ / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | (impossible to handle in switch because of break);
| | | | * | | | | missing entry of tclInt.h addedsebres2017-01-091-0/+3
| | | | | | | | |
| | | | * | | | | New performance measurement routine "timerate" in opposition to "time" the ↵sebres2017-01-092-1/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution limited by fixed time (in milliseconds) instead of repetition count (more precise results, to prevent very long execution time it is no more necessary to estimate repetition count) Syntax: timerate ?-direct? ?-calibrate? ?-overhead double? command ?time?
| * | | | | | | | merge core-8-6-branchsebres2017-05-291-19/+18
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | fixed [a3fb3356b76ec4a853d1b86aadc08675f8bef359]: segfault by sorting of the ↵sebres2017-05-291-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | large lists (firstly mistakenly introduced in [af40c6fb6940bab7]), additionally simplify done-points in Tcl_LsortObjCmd.
| * | | | | | | | merge core-8-6-branchjan.nijtmans2017-05-298-58/+58
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵jan.nijtmans2017-05-298-58/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality, just faster if ASCII only strings are involved.
| * | | | | | | | [19a8c9399d] Plug mem leak in TIP 459 machinery.dgp2017-05-231-0/+1
| | | | | | | | |
| * | | | | | | | Update internal tables to Unicode 10.0. Still in Beta, but to be released soon.jan.nijtmans2017-05-232-894/+6496
| | | | | | | | |
| * | | | | | | | merge core-8-6-branchaspect2017-05-191-3/+3
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | / / | | |_|_|_|_|/ / | |/| | | | | |
| | * | | | | | fix build failure with TCL_MEM_DEBUG introduced by [8b717dc06a3e3d49]aspect2017-05-191-3/+3
| | |/ / / / /
| * | | | | | merge core-8-6-branchjan.nijtmans2017-05-092-41/+41
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Let local variables declared from within macro's always start with ↵jan.nijtmans2017-05-092-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | underscore, this fixes some gcc warnings with -Wshadow.
| * | | | | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | |