summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | * | | | | | | | [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
| | | |\ \ \ \ \ | | | | | |_|_|/ | | | | |/| | |
| | | | * | | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| | | | | | | |
| | * | | | | | Revert the colorful debug garbage mistakenly committed.dgp2017-05-011-8/+2
| | | | | | | |
| | * | | | | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-3/+19
| | |\ \ \ \ \ \ | | | |/ / / / /
| | | * | | | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-1/+11
| | | |\ \ \ \ \ | | | | |/ / / /
| | | | * | | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-1/+11
| | | | | | | |
| | * | | | | | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵dgp2017-04-281-0/+7
| | |\ \ \ \ \ \ | | | |/ / / / / | | | | | | | | | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| | | * | | | | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵dgp2017-04-281-0/+7
| | | |\ \ \ \ \ | | | | |/ / / / | | | | | | | | | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| | | | * | | | [f34cf83dd0] An optimization was being taken in a case where it produceddgp2017-04-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| | | | * | | | [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-6/+2
| | | | | | | |
| | * | | | | | silence uninit variable warningsdgp2017-04-281-1/+1
| | |\ \ \ \ \ \ | | | |/ / / / /
| | | * | | | | silence uninit variable warningsdgp2017-04-281-1/+1
| | | | | | | |
| | * | | | | | [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
| | |\ \ \ \ \ \ | | | |/ / / / /
| | | * | | | | [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
| | | | | | | |
| * | | | | | | Add documentation of [regsub -command].dkf2017-02-181-2/+2
| | | | | | | |
| * | | | | | | Testing for some error cases.dkf2017-02-181-0/+8
| | | | | | | |
| * | | | | | | Stop problems with representation smashes.dkf2017-02-171-0/+7
| | | | | | | |
| * | | | | | | Switch to using command prefixes properly. This is quite a bit faster.dkf2017-02-171-17/+46
| | | | | | | |
| * | | | | | | Proposed implementation of [regsub -command].dkf2017-02-111-6/+76
| | | | | | | |
* | | | | | | | Start of implementation of TIP #470.dkf2017-04-273-5/+42
| |/ / / / / / |/| | | | | |
* | | | | | | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-274-38/+70
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | zlib channel transform.
| * | | | | | [50750c735a] Fix for uninit memory handling issue in zlib transforms.bug_50750c735adkf2017-04-251-18/+16
| | | | | | |
| * | | | | | A better way of getting source file location information when disassembling.dkf2017-04-223-20/+54
| | | | | | |
* | | | | | | Remove unused functions like TclWinSetSockOpt()/Tcl_DStringTrunc() if ↵jan.nijtmans2017-04-203-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | compiled with -DTCL_NO_DEPRECATED
* | | | | | | merge core-8-6-branchjan.nijtmans2017-04-141-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵jan.nijtmans2017-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | format octal numbers: it isn't. Better use "%#o". Add tests for "format" and "scan" corner-cases which weren't documented (except in TIP's) neither had tests before.
* | | | | | | If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot ↵jan.nijtmans2017-04-122-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be used Tcl_ObjPrintf(), but only in sprintf(). That's unfortunate, clearly an oversight in TIP #237. Conclusion: new TIP must be written to correct this. I'll read a TIP and see what case you have, but TCL_LL_MODIFIER was never meant to play any role in [format] or in Tcl_ObjPrintf(). TCL_LL_MODIFIER exists to help deal with platform differences in sprintf() calls. Tcl_ObjPrintf() in contrast ought to be consistent in its behavior across platforms and should not need such things. If that's false, then fixes to Tcl_ObjPrintf() are in order.