summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | Enhance nmakehlp, allowing multiple arguments for "-l", and recognizing a ↵jan.nijtmans2017-01-131-8/+16
| |/ | | | | | | new linker code LNK4224. Patch by sebres.
* | Fix version number in tcl.dsp (thanks to Arjen Markus for noticing this)jan.nijtmans2017-01-121-8/+8
| |
* | Merge bug_b87ad7e914sebres2017-01-091-21/+39
|\ \ | |/
| * Fix for [b87ad7e9146832d505f9a430d779c5313c440256|b87ad7e914], rebased to ↵bug_b87ad7e914jan.nijtmans2017-01-091-21/+39
| |\ | | | | | | | | | | | | core-8-5-branch (who said fossil doesn't have 'rebase'...), and moved the definition of "struct _timeb t" to the top of the function. This branch is ready to be merged to core-8-5-branch, it looks good to me. Thanks to sebres (Dipl. Ing. Sergey G. Brester)
| | * [win] bug fix in NativeGetTime: each call of it blurs current performance ↵sebres2017-01-021-17/+37
| | | | | | | | | | | | | | | | | | | | | | | | counters actualized in calibration thread in UpdateTimeEachSecond; This entails that sometimes sporadically time-drifts resp. jump-esque time-shifts occurred, what for example produces very confusing results during time measurement. [unix] wrong cast fixed in TclpGetWideClicks: multiplication with 1000000 in long int may cause overflow See ticket b87ad7e9146832d505f9a430d779c5313c440256
| | * compatability -> compatibilityjan.nijtmans2016-12-011-2/+2
| | |\ | |_|/ |/| |
| | * more internal use of size_t (in stead of int)jan.nijtmans2016-11-293-21/+19
| | |
| | * Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function ↵jan.nijtmans2016-11-172-3/+3
| | |\ | | | | | | | | | | | | from libtommath 1.0 (in tclExecute.c).
| | | * Remove subdirectories of "libtommath", and various individual related files, ↵jan.nijtmans2016-11-172-3/+3
| | | |\ | | | | | | | | | | | | | | | | | | | | not taking any part in the Tcl build. Makes the Tcl distribution smaller without sacrificing anything. And remove the TCL_TOMMATH define, which was never used for anything.
| | * | | (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵jan.nijtmans2016-11-162-0/+2
| | |/ / | | | | | | | | | | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
| | * | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-165-14/+15
| | | | | | | | | | | | | | | | type-casts which are not necessary any more.
| | * | Fix harmless gcc warning message: using "unsigned" doesn't serve any ↵jan.nijtmans2016-11-112-3/+3
| | | | | | | | | | | | | | | | purpose, actually.
| | * | merge core-8-6-branch (http package version update)jan.nijtmans2016-11-021-2/+2
| | |\ \ | | | |/
| | * | Fix [3cc1d91345]: duplicate calls to TclpFreeAllocCache() on thread existsjan.nijtmans2016-10-111-2/+4
| | |\ \
| | * \ \ merge core-8-6-branchjan.nijtmans2016-09-262-9/+16
| | |\ \ \
| | * \ \ \ Merge core-8-6-branch. Add more comments to tclLiteral.c, contributed by ↵jan.nijtmans2016-09-212-2/+2
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | mr_calvin
| | * \ \ \ \ Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵jan.nijtmans2016-08-303-6/+6
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling.
| | * \ \ \ \ \ merge 8.6dgp2016-07-101-2/+1
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ merge 8.6dgp2016-07-094-15/+117
| | |\ \ \ \ \ \ \
| | * | | | | | | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-083-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in many places where possible.
| | * | | | | | | | Merge core-8-6-branch: jan.nijtmans2016-07-071-1/+3
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 also demonstrated these [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports the TCL_EVAL_INVOKE Simplify all the Tcl_NRPostProc declarations Create and use a utility Tcl_NRPostProc when decr ref count of values is all that is needed Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows
| | * | | | | | | | | Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-307-16/+16
| | | | | | | | | | |
| | * | | | | | | | | Eliminate internal use of TCL_STORAGE_CLASS, as it will be gone in 9.0 anywayjan.nijtmans2016-06-291-20/+7
| | | | | | | | | | |