summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* 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)
| | * | 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
| | |\ \ \ \
| | | * | | | [4d5ae7d88a] Restore default-to-error logic in TcpConnecttkt_4d5ae7d88agahr2016-09-271-1/+1
| | | | | | |
| | * | | | | When opening a server socket on an ephemeral port, make sure that themax2016-10-041-1/+38
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | port number that gets picked for IPv4 is also available on IPv6. If not, start all over for up to ten times to find a port number that is available on both protocols.
| | * | | | Remove unnecessary use of fpsetround. See https://bugs.freebsd.org/212512gahr2016-09-091-8/+0
| | | | | |
| | * | | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-084-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | in many places where possible.
| | * | | | Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-309-14/+14
| | | | | |
| | * | | | Eliminate internal use of TCL_STORAGE_CLASS, as it will be gone in 9.0 anywayjan.nijtmans2016-06-295-51/+10
| | | | | |
| | * | | | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵jan.nijtmans2016-06-293-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | which are deprecated.
| | * | | | [c30087b04f] Install man pages with permissions 644 instead of 444.max2016-06-241-1/+1
| | | | | |
| | * | | | tcltest 2.3.9 -> 2.4.0jan.nijtmans2016-06-021-2/+2
| | | | | |
| | * | | | Bump tcltest version to 2.3.9gahr2016-04-201-2/+2
| | | | | |
| | * | | | RFE [0ef5e653ff4caf5f896ec1182e0aac38ab9a0c46|0ef5e653]: Add nsf to ↵jan.nijtmans2016-04-011-2/+2
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | coffbase.txt. Eliminate exess spacing
| | * \ \ \ \ Two micro-optimizations in Win and UNIX notifier. See: ↵jan.nijtmans2016-04-011-17/+10
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [http://code.activestate.com/lists/tcl-core/15645/]
| | | * \ \ \ \ merge trunkjan.nijtmans2016-03-302-130/+74
| | | |\ \ \ \ \ | | | |/ / / / / | | |/| | | | |
| | * | | | | | Eliminate AT_FORK_INIT_VALUE/RESET_ATFORK_MUTEX macro's, since other values ↵jan.nijtmans2016-03-291-63/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.