summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-023-236/+39
|\ | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch, but that will be merged again as soon as the work is done. All other changes in "trunk" since then (e.g. the INST_STR_CONCAT1 performance improvement, and the removal of SunOS-4) are retained.
* \ merge core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-311-4/+4
|\ \ | | | | | | | | | performance-tests are kept)
| * | More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵jan.nijtmans2017-05-311-4/+4
| | | | | | | | | | | | preventing a (char *) type case. No functional changes.
| | |
| \ \
*-. \ \ 3-way merge sebres-trunk-clock-speedup / core-8-6-branch (clock speed-up / ↵sebres2017-05-293-39/+236
|\ \ \ \ | | |/ / | |/| | | | | | flightaware Tcl-bounties#4, see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | | |
| | | \
| | *-. \ reintegrate sebres-8-6-clock-speedup back to sebres-clock-speedup (trunk ↵sebres2017-05-1117-1334/+1190
| | |\ \ \ | | | | | | | | | | | | | | | | | | clock-speedup, 3-way merge)
| | | | * \ merge trunk (to sebres-trunk-timerate)sebres2017-05-1117-1334/+1190
| | | | |\ \
| * | | | \ \ merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, ↵sebres2017-05-293-1281/+1478
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | / | | |_|_|_|/ | |/| | | | see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | * | | | [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵sebres2017-05-102-1242/+1246
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | to 8.6): tcl-clock functionality rewritten in C.
| | | * | | merge sebres-trunk-timeratesebres2017-02-091-39/+232
| | | |\ \ \
| | | * \ \ \ merge trunksebres2017-01-135-23/+36
| | | |\ \ \ \
| | | * | | | | Merge remote-tracking branch 'remotes/fossil/trunk' into ↵sebres2017-01-101-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sb/trunk-rewrite-clock-in-c; + minor fixes after merge.
| | | * | | | | string index tree for fast greedy search of the string (index) by unique ↵sebres2017-01-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string prefix as key; clock scan rewritten to use string index tries search;
| | | * | | | | [temp-commit]: tclClockFmt.c - 1st trysebres2017-01-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using "timerate" instead "time" by performance measurement tests (more precise and fixed time, so no switch of factor expected)
| | | * | | | | [temp-commit]: clock scan with several optimization porting, still not-readysebres2017-01-101-1/+3
| | | | | | | |
| | * | | | | | back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6)sebres2017-05-091-39/+232
| | |\ \ \ \ \ \ | | | | |_|_|/ / | | | |/| | | |
| | | * | | | | merge trunksebres2017-03-065-23/+36
| | | |\ \ \ \ \ | | | | | |/ / / | | | | |/| / / | | | | |_|/ / | | | |/| | |
| | | * | | | [win] accomplished winTime module using very fast wide clicks, with ↵sebres2017-02-091-7/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-091-33/+133
| | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | | merge core-8-6-branchjan.nijtmans2017-05-291-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | |
| * | | | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵jan.nijtmans2017-05-291-1/+1
| |/ / / | | | | | | | | | | | | functionality, just faster if ASCII only strings are involved.
* | | | merge core-8-6-branchjan.nijtmans2017-05-091-2/+2
|\ \ \ \ | |/ / /
| * | | Fix [6ca52aec14e0b33543d3cd9895f060b852ac4dbc|6ca52aec14]: HTTP package: ↵jan.nijtmans2017-05-091-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Memory leak if client requests "Connection: close" but server responses with "Connection: keep-alive" http: 2.8.10 -> 2.8.11
* | \ \ \ merge core-8-6-branchjan.nijtmans2017-05-041-2/+1
|\ \ \ \ \ | |/ / / /
| * | | | Fix gcc warning: unused variable wakeEventjan.nijtmans2017-05-041-2/+1
| | | | |
* | | | | merge core-8-6-branchjan.nijtmans2017-05-034-23/+13
|\ \ \ \ \ | |/ / / /
| * | | | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-034-23/+13
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
| | * | | | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-033-102/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
| | * | | | (cherry-pick): fix typo-bug (using wrong thread handle by set priority)jan.nijtmans2017-04-281-1/+1
| | | | | |
* | | | | | merge core-8-6-branchjan.nijtmans2017-05-015-390/+642
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Fix [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl pipes ↵jan.nijtmans2017-05-015-390/+642
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevents windows threads from starting up. Patch by sebres (Dipl. Ing. Sergey G. Brester) (also fix duplicate test-case number in link.test)
| | * \ \ \ \ merge core-8-6-branchfix_1997007jan.nijtmans2017-04-289-23/+27
| | |\ \ \ \ \
| | * | | | | | [win] fixes "wrong" checking of the flag TCL_CLOSE_READ in close2proc (using ↵sebres2017-04-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mask)
| | * | | | | | code review, robustness increase, avoid infinite wait by exit, thread exit ↵sebres2017-04-114-332/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and by pipes of closed processes); use pipe-helpers (TI-structure handling) for all pipe-workers (tclWinConsole, tclWinSerial);
| | * | | | | | added wake-up event to prevent possible dead-locks by some waiting thread ↵sebres2017-04-112-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (e. g. for writable events)
| | * | | | | | prepared to use pipe-helpers (TI-structure handling) for all pipe-workers ↵sebres2017-04-112-334/+436
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tclWinConsole, tclWinSerial)
| | * | | | | | code review and fix small memory leak using ckalloc, without finalization of ↵sebres2017-04-111-36/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tcl subsystem in the worker (if it owns TI structure and calls ckfree)
| | * | | | | | shared structures of pipe-workers rewritten using atomic state of the thread; sebres2017-04-113-236/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | asynchronous start/stop of pipe-workers (if possible), try the soft way to end workers using cancelSynchronousIo before it would be terminated;
| | * | | | | | fix typo- resp. copy-paste-bug (using wrong threadInfo pointer in ↵sebres2017-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ConsoleOutputProc, should be writer, not reader)
| | * | | | | | the same handling to initialize thread without suspend/resume helpers ↵sebres2017-04-053-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (otherwise may be dangerous by very huge resp. too busy system);
| | * | | | | | fix typo-bug (using wrong thread handle by set priority) sebres2017-04-051-1/+1
| | | | | | | |
| | * | | | | | small review: rewritten using already available event handles, additionally ↵sebres2017-04-053-80/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevents infinite waits (using timeout 5000ms);
| | * | | | | | Contributed by "stanko" as patch within ↵sebres2017-04-053-11/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8bd13f07bde6fb0631f27927e36461fdefe8ca95 Resolves blocking of pipes-thread (reader/writer) under huge last: Terminating threads during their initialization resp. teardown phase may result LoaderLock in the ntdll.dll's (to remain locked indefinitely). This causes ntdll.dll's LdrpInitializeThread() to deadlock trying to acquire LoaderLock. Possible fix for 9d75181ee70af318830e99ede6ebb5df72a9b079
* | | | | | | | Make trunk compile on MSVC (problem was: warning C4554: '&' : check operator ↵fvogel2017-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | precedence for possible error; use parentheses to clarify precedence)
* | | | | | | | merge core-8-6-branchjan.nijtmans2017-04-282-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | (cherry-pick from "fix-1997007" branch): fix typo- resp. copy-paste-bug ↵jan.nijtmans2017-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (using wrong threadInfo pointer in ConsoleOutputProc, should be writer, not reader)
| * | | | | | | (cherry-pick from "fix-1997007" branch): fix typo-bug (using wrong thread ↵jan.nijtmans2017-04-281-1/+1
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | handle by set priority)
* | | | | | | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-271-64/+81
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | zlib channel transform.
* | | | | | | merge core-8-6-branchjan.nijtmans2017-04-204-1/+6
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Add flag TCL_CC_SEARCH_FLAGS to tclConfig.sh on Windows, just as it exists ↵jan.nijtmans2017-04-204-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | on unix, even though it should just be empty: TEA extensions might depend on it.
* | | | | | | merge core-8-6-branchjan.nijtmans2017-04-121-0/+0
|\ \ \ \ \ \ \ | |/ / / / / /