summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Starting with Unicode 6.3, the mongolian vowel separator (U+180e) is no ↵jan.nijtmans2014-07-111-2/+2
| | | | | | longer a whitespace, but for Tcl it still is. "NEL/Next Line" (U+0085) should have been a Unicode whitespace, but never was in Tcl. This is corrected in Tcl 8.6, but for legacy reasons not in Tcl 8.5. Update documentation accordingly, and extend test-cases for Unicode 7 compliance.
* [7368d225a6] Extend the auto-cleanup of zero ref count values passed indgp2014-07-101-0/+3
| | | | | to the Tcl_*SetVar*() family of routines to cover the missing case where the flags value of TCL_APPEND_VALUE is passed in alone. *** POTENTIAL INCOMAPTIBILITY***
* Repair buffer indexing error in Tcl_ReadRaw() exposed by iogt-6.0 and valgrind.dgp2014-07-101-1/+1
|
* Update Unicode tables to Unicode 7.0jan.nijtmans2014-07-042-1063/+1194
|
* [c31ca233ca] Fix TclGetsObjBinary() so that each [gets] rediscovers whetherdgp2014-07-021-5/+4
| | | a nonblocking channel is blocked.
* Fix mismatch of Tcl_Preserve() / Tcl_Release().dgp2014-06-261-2/+1
|
* Simplify / refactor Tcl_ReadRaw(). No need for CopyBuffer().dgp2014-06-241-127/+50
|
* [b47b176adf] Stop possible segfaults when variability in mutex lockaku2014-06-201-0/+16
| | | | | schedules cause a ForwardingResult to remain on the forwardList after it has been processed (IORChan is the origin of the code in IORTrans).
* When too many chars are read by ReadChars() and we trim the limits todgp2014-06-051-4/+11
| | | | | | | get it right on the next pass, don't forget the TCL_UTF_MAX padding demanded by Tcl_ExternalToUtf(). (Thanks for finding that, aku!) Fix the factorPtr management. It was just totaly wrong. The factor should be a ratio of the record of bytes read to the record of chars read. With those fixes, new test io-12.6 covers the "too many chars" code.
* Revise DiscardOutput() to account for revisions to the loop in FlushChannel()dgp2014-06-041-0/+5
| | | | | which is its only caller. We need to discard the curOutPtr buffer as well, and not count on another pass through the loop to attempt to flush it (and raise the same failure again?).
* Backport I/O core fixes made known by async socket work on trunk.dgp2014-06-031-7/+15
|\
| * These edits make all tests outside of socket-14.* pass on OSX Mavericks.dgp_async_socketdgp2014-06-031-1/+3
| | | | | | | | Several socket-14.* tests failing there, and those that pass are very slow about it. Firewall or poor networking configuration may be playing a role.
| * These edits make the tests socket-14.11.[01] stop hanging, but also introducedgp2014-06-021-6/+12
| | | | | | a whole raft of test failures. WIP.
| * Correct the interest masks in the Tcl_CreateFileHandler() calls in ↵dgp2014-05-311-5/+12
| |\ | | | | | | | | | PipeWatchProc(). When we are interested in both readable and writable events of a command pipeline channel, we only want the readable from the read end of the pipe, and the writable from the write end of the pipe.
| | * Correct the interest masks in the Tcl_CreateFileHandler() calls indgp2014-05-311-5/+12
| |/ |/| | | | | | | PipeWatchProc(). When we are interested in both readable and writable events of a command pipeline channel, we only want the readable from the read end of the pipe, and the writable from the write end of the pipe.
| * Refinements of FlushChannel() and its callers. Notably includes removal of ↵dgp2014-05-292-111/+66
| |\ | |/ |/| | | the flag BUFFER_READY.
| * Merged the workarounds and fixes for wrapped executables on variousandreask2014-05-281-1/+85
| |\ | | | | | | | | | | | | platforms into the trunk. For details see the merged revision and its ancestor.
| * | Fix gcc warning (signed-unsigned compare)jan.nijtmans2014-05-211-1/+1
| | |
| | |
| | \
| *-. \ Rework the management of the CHANNEL_BLOCKED and CHANNEL_EOF flags, in ↵dgp2014-05-204-236/+178
| |\ \ \ | | | | | | | | | | | | | | | particular not allowing them to leak between multiple layers of a stacked channel. Much common code refactored into ChanRead().
| | * | | Same improvements to the zlib transform operations.dgp_trunk_flag_repairdgp2014-05-191-40/+5
| | | | |
| | * | | Simplify ReflectInput(). Also stop intruding on channel internals withdgp2014-05-191-36/+16
| | | | | | | | | | | | | | | direct clearing of CHANNEL_EOF flag.
| | * | | Simplify the inputProc of [testchannel transform].dgp2014-05-171-23/+18
| | | | |
| | * | | Merge flag changes. - Wow, no trouble with [chan push] demonstrated.dgp2014-05-161-39/+37
| | | | |
| | * | | merge trunkdgp2014-05-161-9/+37
| | |\ \ \
| | * \ \ \ Refactored much management of the BLOCKED and EOF flags into ChanRead() thendgp2014-05-131-99/+104
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | began repairing some of the logic about them. Tests iogt-2.* now fail because they've been crafted as experiments recording the fine detail of reflected channel driver calls, and fixing the management of channel flags is changing that. zlib-8.5 also needed adjustment to reflect that an EOF set must come with an empty string read when flags are functioning properly.
| * | \ \ \ \ [47d66253c9]: "lsearch -sorted -integer" on 64bit system jan.nijtmans2014-05-173-38/+39
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | ***POTENTIAL INCOMPATIBILITY*** Changes results of both [lsearch -integer] and [lsort -integer].
| | * | | | | Possible fix for [47d66253c92197d30bff280b02e0a9e62f07cee2|47d66253c9]: ↵bug_47d66253c9jan.nijtmans2014-05-123-38/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "lsearch -sorted -integer" on 64bit system
| * | | | | | merge 8.5dgp2014-05-161-9/+37
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Have the [chan push] machinery ReadRaw() directly into the argument to bedgp2014-05-121-14/+20
| | |/ / / / | |/| | | | | | | | | | passed to the read method of the channel transformation command. Save a copy.
| * | | | | [6d2f249a01] Handle a failure to comprehend half-way through the compilation ↵dkf2014-05-111-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | of a chain of compileable ensembles.
| * | | | | Repair another "impossible" test and the segfault it reveals.dgp2014-05-091-0/+2
| | | | | |
| * | | | | Test iocmd-32.1 is not "impossible" but after writing it properly it does ↵dgp2014-05-091-1/+11
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | segfault trying to use a deleted interp. Fixed.
| | \ \ \ \ \
| | \ \ \ \ \
| *-. \ \ \ \ \ Merge the reforms of dgp-trunk-read branch into trunk. (port of dgp-read-bytes)dgp2014-05-084-845/+602
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Large overhaul of I/O read operations - Protects integer overflow of buffers, reusing append machinery - Forces -buffersize changes to take place when commanded - Uses assertions to simplify code in "can't happen" situations - Eliminated duplication of -translation processing - Fixes bugs io-35.18b and io-35.20
| | * \ \ \ \ \ \ merge trunkdgp_trunk_readdgp2014-05-081-2/+2
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | silence compiler warningdgp2014-05-081-2/+2
| | | | | | | | |
| | * | | | | | | merge trunkdgp2014-05-081-8/+3
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Fix the panic in iogt-2.5.dgp2014-05-081-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Back in 2011, Bugs 3384654 and 3393276 first noticed troubles with ChannelBuffer sharing, but the magnitude of the problem wasn't truly grasped. A fix was applied that turned out to be more of a band-aid workaround. Now that the real fix is in place, the band-aid is actually preventing it working properly in thie case. Rip it off!
| * | | | | | | | Revert the iogt-2.5 fix. For now one panic is better than widespreaddgp2014-05-081-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | memory leaks.
| | * | | | | | | merge trunkdgp2014-05-085-15/+55
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge 8.5.dgp2014-05-083-11/+28
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Symptom relief. Make test stop panicking.dgp2014-05-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not the proper final answer. ChannelBuffer management in FlushChannel is simply not robustly correct yet.
| * | | | | | | | | Add Panic call to better identify where iogt-2.5 goes wrong.dgp2014-05-061-0/+3
| | | | | | | | | |
| * | | | | | | | | Merge 8.5. New test iogt-2.5 panics.dgp2014-05-061-2/+13
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Re-apply [3010352], bringing back the symbol exports of shared libraries as ↵jan.nijtmans2014-05-021-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it was in 8.6.0/8.6.1.
| | | | * | | | | | | merge trunkdgp2014-05-021-14/+42
| | | | |\ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | |
| | | | * | | | | | | merge trunkdgp2014-05-013-15/+65
| | | | |\ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ merge trunkdgp2014-04-245-51/+111
| | | | |\ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ merge trunkdgp2014-04-213-8/+46
| | | | |\ \ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ \ merge trunkdgp2014-04-171-95/+50
| | | | |\ \ \ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ \ \ merge trunkdgp2014-04-166-152/+126
| | | | |\ \ \ \ \ \ \ \ \ \ \