summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* [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
| |\ \ \ \ | | | |/ / | | |/| / | | |_|/ | |/| |
| | * | missing rules.vc after mergesebres2017-01-131-5/+10
| | |\ \
| | * \ \ Enhance nmakehlp, allowing multiple arguments for "-l", and recognizing a ↵jan.nijtmans2017-01-131-8/+16
| | |\ \ \ | | | | | | | | | | | | | | | | | | new linker code LNK4224. Patch by sebres.
| | * \ \ \ Merge core-8-6-branchjan.nijtmans2017-01-121-8/+8
| | |\ \ \ \
| | * \ \ \ \ Merge core-8-6-branch. jan.nijtmans2017-01-112-2/+2
| | |\ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | | | | | | | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
| * | | | | | [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 bug_b87ad7e914sebres2017-01-091-21/+39
| |\ \ \ \ \
| * \ \ \ \ \ merge trunk (still has test failure in socket.test)jan.nijtmans2016-12-201-2/+2
| |\ \ \ \ \ \
| * | | | | | | Make OpenTcpServerEx accept a 'service' string parameter instead of a port.limeboy2016-12-141-2/+7
| | | | | | | |
| * | | | | | | merge trunklimeboy2016-12-013-21/+19
| |\ \ \ \ \ \ \
| * | | | | | | | Windows support and minor touchups to the documentation.limeboy2016-11-251-4/+13
| | | | | | | | |
| * | | | | | | | Implement the whole TIP 456 specification.limeboy2016-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also introduces the `-reuseaddr' and `-reuseport' options for the `socket' command.
| * | | | | | | | Added stub entry for tip #456. Documentation and tests still missing. ↵jan.nijtmans2016-11-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doesn't conform to TIP yet.
| * | | | | | | | This is patch.002 from ticket ↵jan.nijtmans2016-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696|0b9d3ba2ba], as first start of tip-456 implementation
* | | | | | | | | 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
* | | | | | | | | | Fix gcc warning: unused variable wakeEventjan.nijtmans2017-05-041-2/+1
| | | | | | | | | |
* | | | | | | | | | 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
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | |
* | | | | | | | | | 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
* | | | | | | | | | | | (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)
* | | | | | | | | | | 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.
* | | | | | | | | | | Another attempt to fix the two executable flags.jan.nijtmans2017-04-121-0/+0
|/ / / / / / / / / /
* | | | | | | | | | Remove "makefile.bc". Not updated for many-many years, most likely it ↵jan.nijtmans2017-03-072-598/+0
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | doesn't work any more and it doesn't seem to care anyone. Let's see if someone complains ;-)
* | | | | | | | | missing rules.vc after mergesebres2017-01-131-5/+10
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | / | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Fixes nmakehlp: allows more as one option by -l, to provide mandatory linker ↵sebres2017-01-122-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameters (e. g. "LNK1561: entry point must be defined"); Additionally recognizes an new linker code LNK4224 for "no longer supported; ignored".
| * | | | | | | Allows to compile direct from Visual Studio IDE (prevents throwing error ↵sebres2017-01-121-5/+10
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | "LNK1561: entry point must be defined" by testing linker)
* | | | | | | Enhance nmakehlp, allowing multiple arguments for "-l", and recognizing a ↵jan.nijtmans2017-01-131-8/+16
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | new linker code LNK4224. Patch by sebres.