summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* [f2336c116b] Move pragmas to make gcc happy; it is pickier than clang.dkf2017-06-141-3/+3
|
* Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-022-81/+2
|\ | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch, but that will be merged again as soon as the work is done. All other changes in "trunk" since then (e.g. the INST_STR_CONCAT1 performance improvement, and the removal of SunOS-4) are retained.
* | Fix [83a3d869722fab9caaae3b6728215fb2507a6f0d|83a3d86972]: tclEpollNotfy.c ↵jan.nijtmans2017-05-311-0/+2
| | | | | | | | | | fails to compile on Linux 2.6.<22 due to unconditionally including <sys/eventfd.h> Also re-generate regc_locale.c with Unicode 10 tables: previous generation went horribly wrong somehow...
* | merge core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-311-1/+1
|\ \ | | | | | | | | | performance-tests are kept)
| * | 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.
* | | Unbreak on OpenBSD, again. Put back the old SHLIB_VERSION doings.stu2017-05-312-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On OpenBSD, Tcl's libs will need the extra version numbers probably forever. There's no point to adding the extra knob. On OpenBSD, the extra version numbers are used for dependency tracking. The extra version numbers must be on linkable libs (code will be linked to them, they have a corresponding .h file). Loadable libs (no code will be linked to them, they don't have a corresponding .h file. Usually a Tcl extension) don't need the burden (OpenBSD has to track the libs' dependencies) of the extra version numbers. Libs that are loadable and linkable are treated as linkable. I hope that clears things up.
* | | Fully remove SunOS-4* from tcl.m4.stu2017-05-312-13/+2
| | |
| | |
| \ \
*-. \ \ 3-way merge sebres-trunk-clock-speedup / core-8-6-branch (clock speed-up / ↵sebres2017-05-292-2/+81
|\ \ \ \ | | |/ / | |/| | | | | | flightaware Tcl-bounties#4, see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | | |
| | | \
| | *-. \ 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 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
| | | |\ \ \ \ \ \ | | | | |_|_|/ / / | | | |/| | | / / | | | | | |_|/ / | | | | |/| | |
| | | * | | | | [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 core-8-6-branch.jan.nijtmans2017-05-222-208/+15
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | Obsolete a number of systems, which were already obsoleted by TEA: We cannot even create a "battery-included" release any more for those systems.
| * | | | | | 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!
* | | | | | | 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
| | | | | | | | | |