summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
*-. reintegrate sebres-8-6-clock-speedup back to sebres-clock-speedup (trunk ↵sebres2017-05-118-178/+294
|\ \ | | | | | | | | | clock-speedup, 3-way merge)
| | * merge trunk (to sebres-trunk-timerate)sebres2017-05-118-178/+294
| | |\
| | | * merge core-8-6-branchjan.nijtmans2017-05-091-2/+2
| | | |\
| | | * \ merge core-8-6-branchjan.nijtmans2017-05-041-11/+7
| | | |\ \
| | | * \ \ merge core-8-6-branchjan.nijtmans2017-04-281-1/+1
| | | |\ \ \
| | | * \ \ \ [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-273-34/+75
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | zlib channel transform.
| | | * \ \ \ \ merge core-8-6-branchjan.nijtmans2017-04-201-1/+1
| | | |\ \ \ \ \
| | | * | | | | | More minor style fixes.dkf2017-04-101-24/+24
| | | | | | | | |
| | | * | | | | | Merge Harald's "robust-async-connect-tests" branch. Thanks!jan.nijtmans2017-04-101-0/+24
| | | |\ \ \ \ \ \
| | | | * \ \ \ \ \ merge trunkrobust_async_connect_testsjan.nijtmans2014-07-311-2/+2
| | | | |\ \ \ \ \ \
| | | | * \ \ \ \ \ \ merge trunkjan.nijtmans2014-07-185-30/+81
| | | | |\ \ \ \ \ \ \
| | | | * | | | | | | | Replaced option "-unsupported1" by test command "testsocket debugflags" ↵oehhar2014-07-171-54/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (thanks Donal, Donald).
| | | | * | | | | | | | Robust async connect tests by temporarely switching off auto continuation. ↵oehhar2014-06-051-1/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ticket [13d3af3ad5]
| | | * | | | | | | | | Minor style issues through the socket implementation code.dkf2017-04-091-115/+161
| | | | | | | | | | | |
| | | * | | | | | | | | Some more (internal) stub entries which can be cleaned up with ↵jan.nijtmans2017-04-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -DTCL_NO_DEPRECATED, because they are not used any more.
| | | * | | | | | | | | If compiled with TCL_NO_DEPRECATED, the functions ↵jan.nijtmans2017-04-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclpGetDate/TclpLocaltime/TclpGmtime can be removed: They are internal and not used for anything any more.
| | | * | | | | | | | | Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()jan.nijtmans2017-03-241-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵sebres2017-05-101-2/+10
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | to 8.6): tcl-clock functionality rewritten in C.
* | | | | | | | | | | | merge trunksebres2017-03-062-3/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | merge sebres-trunk-timeratesebres2017-02-091-0/+71
|\ \ \ \ \ \ \ \ \ \ \ \
* \ \ \ \ \ \ \ \ \ \ \ \ merge trunksebres2017-01-132-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \
* | | | | | | | | | | | | | [unix] build for *nix fixed, code clean-ups; missing declarations; unused ↵sebres2017-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vars, functions etc; types normalization;
* | | | | | | | | | | | | | string index tree for fast greedy search of the string (index) by unique ↵sebres2017-01-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string prefix as key; clock scan rewritten to use string index tries search;
* | | | | | | | | | | | | | [temp-commit]: tclClockFmt.c - 1st trysebres2017-01-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using "timerate" instead "time" by performance measurement tests (more precise and fixed time, so no switch of factor expected)
| | | | * | | | | | | | | | back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6)sebres2017-05-091-0/+71
| | | | |\ \ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / / / | | | | | | | | | | | | | / | | | | | |_|_|_|_|_|_|_|/ | | | | |/| | | | | | | |
| | | | | * | | | | | | | merge trunksebres2017-03-064-5/+3
| | | | | |\ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / | | |/| | / / / / / / / / | | | | |/ / / / / / / / | | | |/| | | | | | | |
| | | * | | | | | | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking.
| | | * | | | | | | | | Patch from Zoran Vasiljevic, fix for missing proper initialization of the ↵jan.nijtmans2017-01-131-2/+0
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | threaded allocator in some situations.
| * | | | | | | | | | 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.
| | * | | | | | | | | [timerate] bug fix: missing scale conversion by Mac OSX on platform where ↵sebres2017-02-091-0/+71
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
|\ \ \ \ \ \ \ \ \ \
* \ \ \ \ \ \ \ \ \ \ TIP [http://www.tcl.tk/cgi-bin/tct/tip/456|456] implementation: Extend the C ↵tip_456jan.nijtmans2017-01-041-8/+31
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API to Support Passing Options to TCP Server Creation
| * \ \ \ \ \ \ \ \ \ \ merge trunk (still has test failure in socket.test)jan.nijtmans2016-12-201-1/+1
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Make OpenTcpServerEx accept a 'service' string parameter instead of a port.limeboy2016-12-141-2/+7
| | | | | | | | | | | | |
| * | | | | | | | | | | | Allow a boolean argument to be passed.limeboy2016-11-241-1/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Implement the whole TIP 456 specification.limeboy2016-11-241-21/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also introduces the `-reuseaddr' and `-reuseport' options for the `socket' command.
| * | | | | | | | | | | | Fix indentingjan.nijtmans2016-11-221-8/+8
| | | | | | | | | | | | |
| * | | | | | | | | | | | Added stub entry for tip #456. Documentation and tests still missing. ↵jan.nijtmans2016-11-221-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doesn't conform to TIP yet.
| * | | | | | | | | | | | This is patch.002 from ticket ↵jan.nijtmans2016-11-221-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
| | | | | * | | | | | | Use GetModuleHandle() in stead of LoadLibrary() for ntdll, which is already ↵jan.nijtmans2017-05-041-11/+7
| | | | | |\ \ \ \ \ \ \ | | | | | | |_|_|_|_|_|/ | | | | | |/| | | | | | | | | | | | | | | | | | loaded by Cygwin.
| | | | | | * | | | | | Cherry-pick/backport [65cc894ac5c24495|65cc894ac5]: fix off-by-one possible ↵jan.nijtmans2017-05-041-15/+12
| | | | |_|/ / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer overrun when looking for encodings; found by coverity Use GetModuleHandle() in stead of LoadLibrary() for ntdll, which is already loaded by Cygwin.
| | | | | * | | | | | (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)
| | | | | * | | | | Deal with a couple of obscure causes of warnings on some versions of OSX.dkf2017-04-252-26/+67
| | | | | | |_|_|/ | | | | | |/| | |
| | | | | * | | | Add flag TCL_CC_SEARCH_FLAGS to tclConfig.sh on Windows, just as it exists ↵jan.nijtmans2017-04-201-1/+1
| | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | on unix, even though it should just be empty: TEA extensions might depend on it.
| | | | * | | | Merge bug_b87ad7e914sebres2017-01-091-1/+1
| | | | |\ \ \ \ | | | | |/ / / / | | | |/| | | |
| | | * | | | | Fix for [b87ad7e9146832d505f9a430d779c5313c440256|b87ad7e914], rebased to ↵bug_b87ad7e914jan.nijtmans2017-01-091-1/+1
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | more internal use of size_t in stead of int.jan.nijtmans2016-12-202-22/+21
| | | | | | | |
* | | | | | | | Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵jan.nijtmans2016-12-207-9/+9
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | (or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value)