summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
| | | | | | | | | | |
| | * | | | | | | | | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵jan.nijtmans2016-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which are deprecated.
| | * | | | | | | | | Fix [7393be0be6e7f91cbb2016fa777896e3895929e3|7393be0be6]: Tcl Thread ↵jan.nijtmans2016-06-141-7/+4
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | library doesn't work in Debug build on Windows_x64
| | * | | | | | | | | | tcltest 2.3.9 -> 2.4.0jan.nijtmans2016-06-021-2/+2
| | | | | | | | | | | |
| | * | | | | | | | | | Merge trunkgahr_tip_447gahr2016-05-233-18/+22
| | |\ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ Merge core-8-6-branchjan.nijtmans2016-05-131-2/+2
| | | |\ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ Merge core-8-6-branch. Eliminate some unnecessary spacing.jan.nijtmans2016-05-133-16/+20
| | | |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | Bump tcltest version to 2.3.9gahr2016-04-201-2/+2
| | |/ / / / / / / / / / / /
| | * | | | | | | | | | | | Fix [2538f373ffc78d6dba9c3d973c147a84fdd9bbd8|2538f373ffc78d6d]: crash in ↵jan.nijtmans2016-04-081-1/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_OpenTcpServer() on Windows
| | * \ \ \ \ \ \ \ \ \ \ \ \ RFE [0ef5e653ff4caf5f896ec1182e0aac38ab9a0c46|0ef5e653]: Add nsf to ↵jan.nijtmans2016-04-012-2/+3
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | coffbase.txt. Eliminate exess spacing
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ Two micro-optimizations in Win and UNIX notifier. See: ↵jan.nijtmans2016-04-012-26/+33
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [http://code.activestate.com/lists/tcl-core/15645/]
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunkjan.nijtmans2016-03-302-17/+8
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Eliminate AT_FORK_INIT_VALUE/RESET_ATFORK_MUTEX macro's, since other values ↵jan.nijtmans2016-03-292-17/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than the default are not supported anyway. This results in the elimination of (empty functions anyway) AtForkPrepare/AtForkParent. Also improve consistancy in some variable names. No change of functionality.
| | | * | | | | | | | | | | | | | - Undo unix notifier changes: too risky at this moment. jan.nijtmans2016-03-253-20/+17
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Merge trunk - (cherry-pick from dhr-micro-optimization): Micro-optimization: remove double checked lock from TclGetAllocCache in favour of initialization in TclInitSubsystems
| | * | | | | | | | | | | | | | | Fix signed-unsigned-compare warning (reported by François Vogel on Windows, ↵jan.nijtmans2016-03-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but gcc can trigger it as well)