Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make panic in TclParseNumber() work when IEEE_FLOATING_POINT is not defined. | jan.nijtmans | 2017-06-15 | 1 | -1/+1 |
| | |||||
* | [9c058c5803e30d02] Correction to cross linking in dict(n)'s SEE ALSO section. | dkf | 2017-06-14 | 1 | -1/+1 |
| | |||||
* | Make read and write operations on Tcl_Var handles available in tclInt API. | dkf | 2017-06-08 | 7 | -58/+349 |
|\ | | | | | (This will be useful for tclquadcode, and it addresses a basic omission in Tcl's API that made working with Tcl_Vars rather more specialized than it was ever really intended to be. However, this also closes off the part of the API that was not reasonably usable by ordinary external code; LVT indices require too deep an entanglement into Tcl's implementation.) | ||||
| * | Expose some of the core variable access APIs. dkf_expose_ptrgetvar_8_6 | dkf | 2017-06-06 | 7 | -58/+349 |
| | | | | | | (Cherrypick from [b4dfc30083]) | ||||
* | | Revert part of [95d096e0378b460c6c5168bb55bb2ca8b2fd799e|95d096e037]: Missed ↵ | jan.nijtmans | 2017-06-08 | 1 | -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.nijtmans | 2017-06-08 | 2 | -14/+19 |
|\ \ | |||||
| * | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check. | jan.nijtmans | 2017-06-08 | 1 | -13/+14 |
| | | | |||||
* | | | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵ | jan.nijtmans | 2017-06-08 | 3 | -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.nijtmans | 2017-06-07 | 5 | -63/+60 |
| |/ |/| | | | | | simplifications/optimizations. No functional change. | ||||
* | | Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵ | jan.nijtmans | 2017-06-06 | 3 | -20/+56 |
| | | | | | | | | or TCL_UTF_MAX=6 | ||||
* | | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵ | jan.nijtmans | 2017-06-06 | 2 | -19/+19 |
|\ \ | |/ | | | | | in character tests, comment fixes. No change in functionality. | ||||
| * | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵ | jan.nijtmans | 2017-06-06 | 2 | -75/+77 |
| | | | | | | | | documented. | ||||
* | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input | dgp | 2017-06-05 | 2 | -3/+34 |
|\ \ | | | | | | | as documented. | ||||
| * \ | merge core-8-6-branchbug_67aa9a2070 | jan.nijtmans | 2017-06-02 | 1 | -10/+8 |
| |\ \ | |/ / |/| | | |||||
* | | | Change refCount field in DictObj from int to size_t. Cherry-picked from ↵ | jan.nijtmans | 2017-06-02 | 1 | -10/+8 |
| | | | | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch. | ||||
| * | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵ | jan.nijtmans | 2017-06-02 | 2 | -3/+34 |
|/ / | | | | | | | UTF-8 can inject unexpected characters | ||||
* | | fixed [a3fb3356b76ec4a853d1b86aadc08675f8bef359]: segfault by sorting of the ↵ | sebres | 2017-05-29 | 1 | -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.nijtmans | 2017-05-29 | 9 | -59/+59 |
| | | | | | | | | functionality, just faster if ASCII only strings are involved. | ||||
* | | autoconf | jan.nijtmans | 2017-05-22 | 1 | -4/+6 |
| | | |||||
* | | If SHLIB_VERSION is specified as empty, don't let the SHLIB filename end ↵ | jan.nijtmans | 2017-05-22 | 1 | -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.nijtmans | 2017-05-21 | 2 | -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] | aspect | 2017-05-19 | 1 | -3/+3 |
| | | |||||
* | | Fix test-case numbering | jan.nijtmans | 2017-05-18 | 1 | -1/+1 |
| | | |||||
* | | autoconf-2.59 | dgp | 2017-05-18 | 1 | -38/+15 |
| | | |||||
* | | Cherry-pick [http://core.tcl.tk/tclconfig/info/18e79736d236d15d|All the ↵ | jan.nijtmans | 2017-05-18 | 2 | -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) | ||||
* | | Fix [6ca52aec14e0b33543d3cd9895f060b852ac4dbc|6ca52aec14]: HTTP package: ↵ | jan.nijtmans | 2017-05-09 | 5 | -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_6ca52aec14 | aspect | 2017-02-12 | 2 | -3/+12 |
| | | | |||||
* | | | Let local variables declared from within macro's always start with ↵ | jan.nijtmans | 2017-05-09 | 2 | -41/+41 |
| | | | | | | | | | | | | underscore, this fixes some gcc warnings with -Wshadow. | ||||
* | | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count. | dgp | 2017-05-05 | 2 | -1/+21 |
|\ \ \ | | |/ | |/| | |||||
| * | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count. | dgp | 2017-05-05 | 2 | -1/+21 |
| | | | |||||
* | | | Use GetModuleHandle() in stead of LoadLibrary() for ntdll, which is already ↵ | jan.nijtmans | 2017-05-04 | 1 | -11/+7 |
|\ \ \ | |/ / | | | | | | | loaded by Cygwin. | ||||
| * | | Cherry-pick/backport [65cc894ac5c24495|65cc894ac5]: fix off-by-one possible ↵ | jan.nijtmans | 2017-05-04 | 1 | -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 wakeEvent | jan.nijtmans | 2017-05-04 | 1 | -2/+1 |
| | | | |||||
* | | | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵ | jan.nijtmans | 2017-05-03 | 5 | -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.nijtmans | 2017-05-03 | 4 | -103/+92 |
| | | | | | | | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX) | ||||
* | | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52* | dgp | 2017-05-01 | 2 | -1/+21 |
|\ \ \ | |/ / | |||||
| * | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52* | dgp | 2017-05-01 | 2 | -1/+21 |
| | | | |||||
* | | | Fix [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl pipes ↵ | jan.nijtmans | 2017-05-01 | 6 | -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_1997007 | jan.nijtmans | 2017-04-28 | 27 | -150/+299 |
| |\ \ \ | |||||
| * | | | | [win] fixes "wrong" checking of the flag TCL_CLOSE_READ in close2proc (using ↵ | sebres | 2017-04-12 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | mask) | ||||
| * | | | | fixes sporadically errors in several not event-driven test cases zlib-8.x ↵ | sebres | 2017-04-11 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | (wrong non-blocking pipe usage, without fileevent resp. vwait) | ||||
| * | | | | improves robustness of the socket tests against busy random ports (fixed ↵ | sebres | 2017-04-11 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | sporadic errors "already in use") | ||||
| * | | | | code review, robustness increase, avoid infinite wait by exit, thread exit ↵ | sebres | 2017-04-11 | 4 | -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 ↵ | sebres | 2017-04-11 | 2 | -14/+27 |
| | | | | | | | | | | | | | | | | | | | | (e. g. for writable events) | ||||
| * | | | | prepared to use pipe-helpers (TI-structure handling) for all pipe-workers ↵ | sebres | 2017-04-11 | 2 | -334/+436 |
| | | | | | | | | | | | | | | | | | | | | (tclWinConsole, tclWinSerial) | ||||
| * | | | | code review and fix small memory leak using ckalloc, without finalization of ↵ | sebres | 2017-04-11 | 1 | -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; | sebres | 2017-04-11 | 3 | -236/+371 |
| | | | | | | | | | | | | | | | | | | | | asynchronous start/stop of pipe-workers (if possible), try the soft way to end workers using cancelSynchronousIo before it would be terminated; | ||||
| * | | | | fix typo- resp. copy-paste-bug (using wrong threadInfo pointer in ↵ | sebres | 2017-04-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | ConsoleOutputProc, should be writer, not reader) | ||||
| * | | | | the same handling to initialize thread without suspend/resume helpers ↵ | sebres | 2017-04-05 | 3 | -17/+15 |
| | | | | | | | | | | | | | | | | | | | | (otherwise may be dangerous by very huge resp. too busy system); | ||||
| * | | | | fix typo-bug (using wrong thread handle by set priority) | sebres | 2017-04-05 | 1 | -1/+1 |
| | | | | |