summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵jan.nijtmans2017-05-311-1/+1
| | | | preventing a (char *) type case. No functional changes.
* merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, ↵sebres2017-05-292-2/+81
|\ | | | | | | see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| * [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
* | | | | | | autoconfjan.nijtmans2017-05-221-4/+6
| | | | | | |
* | | | | | | If SHLIB_VERSION is specified as empty, don't let the SHLIB filename end ↵jan.nijtmans2017-05-221-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with a dot (taken over from TEA) Cherry-pick [http://core.tcl.tk/tclconfig/info/c8eddeddb9bbabc4|c8eddeddb9] from TEA: Added /usr/pkg/lib to the paths searched on the journey to find tclConfig.sh
* | | | | | | Cherrypick Fix build on OpenBSD. [82701b94c4] missed a couple of bits.jan.nijtmans2017-05-212-2/+6
| | | | | | | | | | | | | | | | | | | | | Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful!
* | | | | | | autoconf-2.59dgp2017-05-181-38/+15
| | | | | | |
* | | | | | | 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)
* | | | | | 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)
| | * | compatability -> compatibilityjan.nijtmans2016-12-011-1/+1
| | |\ \ | |_|/ / |/| | / | | |/
| | * Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵jan.nijtmans2016-11-182-3/+7
| | |\ | | | | | | | | | | | | to 1.0
| | | * Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function ↵jan.nijtmans2016-11-173-7/+0
| | | |\ | | | |/ | | |/| | | | | from libtommath 1.0 (in tclExecute.c).
| | | * (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵jan.nijtmans2016-11-161-1/+5
| | | | | | | | | | | | | | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
| | * | Remove subdirectories of "libtommath", and various individual related files, ↵jan.nijtmans2016-11-173-7/+0
| | |\ \ | | | |/ | | |/| | | | | | | | | 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.
| | * | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-162-7/+8
| | | | | | | | | | | | | | | | type-casts which are not necessary any more.
| | * | Fix harmless gcc warning message: using "unsigned" doesn't serve any ↵jan.nijtmans2016-11-111-2/+2
| | | | | | | | | | | | | | | | 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-113-4/+10
| | |\ \
| | | \ \
| | | \ \
| | *-. \ \ [4d5ae7d88a] Stop crashes with asynchronous connects to hosts without addresses.dkf2016-10-041-1/+1
| | |\ \ \ \