summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Revert part of [95d096e0378b460c6c5168bb55bb2ca8b2fd799e|95d096e037]: Missed ↵jan.nijtmans2017-06-081-12/+35
| | | | | | | | | | | | | | | | the fact that tolower() was optimized for the ASCII case as well, so this was a mistake!
* | | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-082-14/+19
|\ \ \ \ | | |/ / | |/| |
| * | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-13/+14
| | | |
* | | | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵jan.nijtmans2017-06-083-40/+20
| | | | | | | | | | | | | | | | | | | | separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed.
* | | | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-075-63/+60
| |/ / |/| | | | | | | | simplifications/optimizations. No functional change.
* | | Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵jan.nijtmans2017-06-063-20/+56
| | | | | | | | | | | | or TCL_UTF_MAX=6
| | * merge 8.6dgp2017-06-062-19/+19
| | |\ | |_|/ |/| |
* | | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵jan.nijtmans2017-06-062-19/+19
|\ \ \ | |/ / | | | | | | in character tests, comment fixes. No change in functionality.
| * | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵jan.nijtmans2017-06-062-75/+77
| | | | | | | | | | | | documented.
| | * Merge 8.6; update changes.dgp2017-06-0513-92/+125
| | |\ | |_|/ |/| |
* | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 inputdgp2017-06-052-3/+34
|\ \ \ | | | | | | | | as documented.
| * \ \ merge core-8-6-branchbug_67aa9a2070jan.nijtmans2017-06-021-10/+8
| |\ \ \ | |/ / / |/| | |
* | | | Change refCount field in DictObj from int to size_t. Cherry-picked from ↵jan.nijtmans2017-06-021-10/+8
| | | | | | | | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch.
| * | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-06-022-3/+34
|/ / / | | | | | | | | | UTF-8 can inject unexpected characters
* | | fixed [a3fb3356b76ec4a853d1b86aadc08675f8bef359]: segfault by sorting of the ↵sebres2017-05-291-19/+18
| | | | | | | | | | | | large lists (firstly mistakenly introduced in [af40c6fb6940bab7]), additionally simplify done-points in Tcl_LsortObjCmd.
* | | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵jan.nijtmans2017-05-299-59/+59
| | | | | | | | | | | | functionality, just faster if ASCII only strings are involved.
| | * merge 8.6dgp2017-05-233-12/+17
| | |\ | |_|/ |/| |
* | | 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 failure with TCL_MEM_DEBUG introduced by [8b717dc06a3e3d49]aspect2017-05-191-3/+3
| | |
| | * merge 8.6dgp2017-05-194-76/+30
| | |\ | |_|/ |/| |
* | | Fix test-case numberingjan.nijtmans2017-05-181-1/+1
| | |
* | | autoconf-2.59dgp2017-05-181-38/+15
| | |
* | | Cherry-pick [http://core.tcl.tk/tclconfig/info/18e79736d236d15d|All the ↵jan.nijtmans2017-05-182-37/+14
| | | | | | | | | | | | | | | 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)
| | * Merge 8.6; update changes.dgp2017-05-098-50/+62
| | |\ | |_|/ |/| |
* | | Fix [6ca52aec14e0b33543d3cd9895f060b852ac4dbc|6ca52aec14]: HTTP package: ↵jan.nijtmans2017-05-095-9/+18
|\ \ \ | | | | | | | | | | | | | | | | Memory leak if client requests "Connection: close" but server responses with "Connection: keep-alive" http: 2.8.10 -> 2.8.11
| * | | fix chan leak with http keepalive vs close (bug [6ca52aec14])bug_6ca52aec14aspect2017-02-122-3/+12
| | | |
* | | | Let local variables declared from within macro's always start with ↵jan.nijtmans2017-05-092-41/+41
| | | | | | | | | | | | | | | | underscore, this fixes some gcc warnings with -Wshadow.
| | | * Merge 8.6; update changes.dgp2017-05-083-2/+30
| | | |\ | |_|_|/ |/| | |
* | | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-052-1/+21
|\ \ \ \ | | |/ / | |/| |
| * | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-052-1/+21
| | | |
| | | * merge 8.6dgp2017-05-049-412/+669
| | | |\ | |_|_|/ |/| | |
* | | | 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.
* | | | Fix gcc warning: unused variable wakeEventjan.nijtmans2017-05-041-2/+1
| | | |
* | | | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-035-24/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
| * | | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-034-103/+92
| | | | | | | | | | | | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
* | | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-012-1/+21
|\ \ \ \ | |/ / /
| * | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-012-1/+21
| | | |
* | | | Fix [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl pipes ↵jan.nijtmans2017-05-016-391/+643
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | prevents windows threads from starting up. Patch by sebres (Dipl. Ing. Sergey G. Brester) (also fix duplicate test-case number in link.test)
| * \ \ \ merge core-8-6-branchfix_1997007jan.nijtmans2017-04-2827-150/+299
| |\ \ \ \
| * | | | | [win] fixes "wrong" checking of the flag TCL_CLOSE_READ in close2proc (using ↵sebres2017-04-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | mask)
| * | | | | fixes sporadically errors in several not event-driven test cases zlib-8.x ↵sebres2017-04-111-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | (wrong non-blocking pipe usage, without fileevent resp. vwait)
| * | | | | improves robustness of the socket tests against busy random ports (fixed ↵sebres2017-04-111-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | sporadic errors "already in use")
| * | | | | code review, robustness increase, avoid infinite wait by exit, thread exit ↵sebres2017-04-114-332/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and by pipes of closed processes); use pipe-helpers (TI-structure handling) for all pipe-workers (tclWinConsole, tclWinSerial);
| * | | | | added wake-up event to prevent possible dead-locks by some waiting thread ↵sebres2017-04-112-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | (e. g. for writable events)
| * | | | | prepared to use pipe-helpers (TI-structure handling) for all pipe-workers ↵sebres2017-04-112-334/+436
| | | | | | | | | | | | | | | | | | | | | | | | (tclWinConsole, tclWinSerial)
| * | | | | code review and fix small memory leak using ckalloc, without finalization of ↵sebres2017-04-111-36/+71
| | | | | | | | | | | | | | | | | | | | | | | | tcl subsystem in the worker (if it owns TI structure and calls ckfree)
| * | | | | shared structures of pipe-workers rewritten using atomic state of the thread; sebres2017-04-113-236/+371
| | | | | | | | | | | | | | | | | | | | | | | | asynchronous start/stop of pipe-workers (if possible), try the soft way to end workers using cancelSynchronousIo before it would be terminated;