Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | | | |||||
| * | | | | small review: rewritten using already available event handles, additionally ↵ | sebres | 2017-04-05 | 3 | -80/+94 |
| | | | | | | | | | | | | | | | | | | | | prevents infinite waits (using timeout 5000ms); | ||||
| * | | | | Contributed by "stanko" as patch within ↵ | sebres | 2017-04-05 | 3 | -11/+167 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8bd13f07bde6fb0631f27927e36461fdefe8ca95 Resolves blocking of pipes-thread (reader/writer) under huge last: Terminating threads during their initialization resp. teardown phase may result LoaderLock in the ntdll.dll's (to remain locked indefinitely). This causes ntdll.dll's LdrpInitializeThread() to deadlock trying to acquire LoaderLock. Possible fix for 9d75181ee70af318830e99ede6ebb5df72a9b079 | ||||
* | | | | | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵ | dgp | 2017-04-28 | 1 | -0/+7 |
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok. | ||||
| * | | | | [f34cf83dd0] An optimization was being taken in a case where it produced | dgp | 2017-04-28 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | the wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok. | ||||
* | | | | | Test for [f34cf83dd0]. | dgp | 2017-04-28 | 1 | -0/+3 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Test for [f34cf83dd0]. | dgp | 2017-04-28 | 1 | -0/+3 |
| | | | | | |||||
* | | | | | merge mark | dgp | 2017-04-28 | 0 | -0/+0 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | (cherry-pick): fix typo-bug (using wrong thread handle by set priority) | jan.nijtmans | 2017-04-28 | 1 | -1/+1 |
| | | | | |