summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Fix build on OpenBSD. [82701b94c4] missed a couple of bits.stu2017-05-202-2/+6
| | | | Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful!
*-. TIP #458 implementation: Add Support for epoll() and kqueue() in the Notifierjan.nijtmans2017-05-188-1242/+3100
|\ \
| | * autoconf-2.59dgp2017-05-181-38/+15
| | |
| * | merge trunktip_458dgp2017-05-041-11/+7
| |\ \
| * \ \ merge trunkjan.nijtmans2017-05-044-35/+76
| |\ \ \
| * | | | Move some variable declarations closer to where they are used. No change in ↵jan.nijtmans2017-04-262-17/+6
| | | | | | | | | | | | | | | | | | | | functionality.
| * | | | merge trunkjan.nijtmans2017-04-143-129/+208
| |\ \ \ \
| * \ \ \ \ Merge trunkjan.nijtmans2017-03-242-3/+3
| |\ \ \ \ \
| * | | | | | minor simplificationjan.nijtmans2017-03-081-8/+2
| | | | | | |
| * | | | | | A few more end-of-line spacingsjan.nijtmans2017-03-081-2/+2
| | | | | | |
| * | | | | | Fix compile error on Cygwin, and double definition of TclUnixWaitForFile()jan.nijtmans2017-03-083-164/+2
| | | | | | |
| * | | | | | Re-base to trunk, and get latest code from here: ↵jan.nijtmans2017-03-087-1081/+3118
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [https://github.com/lalbornoz/tcl/tree/tip458]. Untested.
| | * | | | | | Implementation of improved notifier from Lucio Andrés Illanes Albornoz.dkf2016-11-253-56/+800
| | | | | | | |
* | | | | | | | merge core-8-6-branchjan.nijtmans2017-05-182-74/+28
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Cherry-pick [http://core.tcl.tk/tclconfig/info/18e79736d236d15d|All the ↵jan.nijtmans2017-05-181-36/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | world was a VAX] for OpenBSD. Also fix [http://core.tcl.tk/tk/tktview?name=84a27b1c67|84a27b1c67]: Tcl and Tk's tcl.m4 not synced? (configure script not re-generated yet, I'm sure Don will do that in the rc branch)
* | | | | | | | Don't test Tcl_GetDefaultEncodingDir() any more (which is obsolete), test ↵jan.nijtmans2017-05-121-23/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_GetEncodingSearchPath() in stead.
* | | | | | | | 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-11/+7
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | / | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | 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.
* | | | | | | | merge core-8-6-branchjan.nijtmans2017-04-281-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | (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)
* | | | | | | | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-273-34/+75
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | zlib channel transform.
| * | | | | | | Deal with a couple of obscure causes of warnings on some versions of OSX.dkf2017-04-252-26/+67
| | | | | | | |
* | | | | | | | merge core-8-6-branchjan.nijtmans2017-04-201-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | / | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | 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.
* | | | | | 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
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | 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.
| * | | | | | Merge bug_b87ad7e914sebres2017-01-091-1/+1
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |
* | | | | | | 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
* | | | | | | | 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
| | | | | | | | |