summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Added a refcounting mechanism to ChannelBuffers. Other edits todgp2014-04-213-8/+46
| | | | | | | | | stop segfaults in tests iocmd-21.2[12].
* | | merge trunkdgp2014-04-171-95/+50
|\ \ \ | |/ /
| * | Merge reflected channel improvements.dgp2014-04-171-95/+50
| |\ \ | | |/
| | * Reflected channels. Keep a set of method names cached so we don't createdgp2014-04-171-40/+43
| | | | | | | | | new each operation, and we can benefit from any lookup info cached in intreps.
| | * Simplify reflected channels.dgp2014-04-171-55/+7
| | | | | | | | | | | | | | | | | | | | | Instead of having two modes of Close operations and the need to choose between them with a special value of the methods field, when the initialize pass fails for some reason, simply do not create the channel so there's nothing that needs closing. Then the methods field no longer holds anything used, so eliminate it. All the methods checking is done by [chan create].
* | | merge trunkdgp2014-04-166-152/+126
|\ \ \ | |/ /
| * | [d19a30db57] Fixed segfault in [clock] internals. Includes test.dgp2014-04-161-15/+21
| |\ \ | | |/
| | * merge fork: Segmentation fault using some functions of tcl::clock, fixed, ↵jan.nijtmans2014-04-161-18/+21
| | |\ | | | | | | | | | | | | belong to ticket [d19a30db57]
| | | * Segmentation fault using some functions of tcl::clock, fixed, belong to ↵sebres2014-04-161-18/+21
| | | | | | | | | | | | | | | | ticket [d19a30db57]
| * | | Fix compiler warnings in win32/cygwin buildjan.nijtmans2014-04-162-6/+14
| |\ \ \ | | |/ /
| | * | Fix compiler warnings in win32/cygwin build.jan.nijtmans2014-04-162-6/+14
| | |/
| * | Remove unused variable, don't use deprecated function, some formatting.jan.nijtmans2014-04-161-1/+1
| | |
| * | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-0/+6
| |\ \ | | |/ | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
| | * Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-0/+6
| | | | | | | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
| * | Purge the (now unused) argc and argv fields.dgp2014-04-151-124/+4
| |\ \ | | |/
| | * Purge (now unused) argc and argv fields.dgp2014-04-151-107/+3
| | |
| * | [88aef05cda] Stop reentrancy segfault in reflected channels by managingdgp2014-04-151-2/+20
| |\ \ | | |/ | | | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements.
| | * [88aef05cda] Stop reentrancy segfault in reflected channels by managingdgp2014-04-151-2/+20
| | | | | | | | | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements.
| * | [e663138a06] Fix the new INST_NUM_TYPE instruction so that the boundarydgp2014-04-141-6/+22
| | | | | | | | | | | | cases of [string is] on integral values are computed right. Code is now correct, though still suffers from a large amount of ugly.
| * | Fix bug [e663138a06]: Test failures in "string is"jan.nijtmans2014-04-101-0/+9
| | |
| * | Fix for Bug [97069ea11a]: Set return message in close if a flush error is ↵oehhar2014-04-041-1/+11
| |\ \ | | |/ | | | | | | reported (which may be an error from a background flush)
| | * Fix test failure socket-2.9: "1 {not owner}" instead of "1 {couldn't open ↵oehhar2014-04-011-9/+8
| | | | | | | | | | | | socket address already in use}" by only setting returned error message if not jet set.
| | * Set return message in close if a flush error is reported (which may be an ↵oehhar2014-04-011-2/+13
| | | | | | | | | | | | error from a background flush). Ticket [97069ea11a]
| * | Merge minimal fix for iocmd-23.11.dgp2014-03-282-10/+30
| |\ \ | | |/ | | | | | | | | | Note that top channel regeneration is removed, so that Preserve/Release call pairs are sure to operate on the same pointers. Other bug fixes may need to change that.
| | * Minimal patch to fix iocmd-23.11. Might not be the best fix, but is *a* fix.dgp2014-03-272-3/+22
| | |
* | | Merge the checkins of the dgp-read-bytes branch onto the trunk, up todgp2014-03-234-842/+599
|\ \ \ | |/ / |/| | | | | | | | | | | and including checkin a1e82fb63e . Do not merge checkin bae1c688f2 which starts to take the dgp-read-bytes branch into directions apparently unfriendly to stacked channels, which tests for [chan push] on the trunk help us to detect.
| * | Don't allow buffer recycling to prevent or delay buffersize shrinkage.dgp2014-03-201-40/+28
| | |
| * | Stop routine clearing of CHANNEL_EOF. Only clear when there's a reasondgp2014-03-201-18/+6
| | | | | | | | | (seek, eofchar change, ungets). Otherwise, once you hit EOF you stay there.
| * | Use assertions about the pushback buffers to simplify their handling.dgp2014-03-201-23/+37
| | | | | | | | | Mark several things left TODO. Some tidying.
| * | Let TranslateInputEOL handle the "\r$eofChar" sequence in CRLF mode.dgp2014-03-191-27/+17
| | |
| * | Complete rewrite of DoRead().dgp2014-03-191-156/+132
| | |
| * | Remove long dead "BAD_BLOCKING" support code so it no longer confusesdgp2014-03-172-146/+10
| | | | | | | | | people reading/editing this code.
| * | Compress code for better single screen viewing.dgp2014-03-111-47/+8
| | |
| * | Trial rewrite of AUTO input translation.dgp2014-03-111-0/+35
| | |
| * | .... and then the bug fix.dgp2014-03-101-1/+1
| | |
| * | Rewrite CRLF translation to use more system calls.dgp2014-03-101-18/+28
| | |
| * | Bring CRLF translation in parallel with others.dgp2014-03-101-13/+7
| | |
| * | TranslateInputEOL doesn't need to return anything. No caller cares.dgp2014-03-101-36/+43
| | | | | | | | | Other optimizations and simplifications.
| * | TranslateInputEOL() callers no longer need assert dstLen <= srcLen.dgp2014-03-071-7/+5
| | |
| * | Simplify the input eof char scan. Update some comments.dgp2014-03-071-31/+33
| | |
| * | Variable "rawStart" serves no purpose.dgp2014-03-061-3/+2
| | |
| * | Remove old dead code; silence compiler warnings; tidy up.dgp2014-03-052-406/+12
| | |
| * | Adapt CopyAndTranslateBuffer() to changes in TranslateInputEOL().dgp2014-03-051-40/+77
| | | | | | | | | Notably no longer using the INPUT_NEED_NL flag.
| * | Merge repair to correct failing tests.dgp2014-03-051-2/+2
| | |
| * | Fixups make the test suite almost pass (except *io-39.17)dgp2014-03-011-7/+6
| | |
| * | Bring over the ReadChars rewrite for integration into the other I/O work.dgp2014-02-281-2/+273
| |\ \
| | * | tidy up.dgp_read_charsdgp2014-02-281-4/+2
| | | |
| | * | More ReadChars rewriting. Test suite now passes.dgp2014-02-281-21/+173
| | | | | | | | | | | | | | | | | | | | Note that this reform simplifies ReadChars a fair bit (at least in my eyes). Also it does away with the use of an INPUT_NEED_NL flag, using the same strategy for partial \r\n sequences as is used for incomplete multibyte chars.
| | * | Work in progress attempting a ReadChars rewrite.dgp2014-02-271-1/+119
| | |/
| * | remove commentdgp2014-02-271-1/+1
| | |