Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Added a refcounting mechanism to ChannelBuffers. Other edits to | dgp | 2014-04-21 | 3 | -8/+46 | |
| | | | | | | | | | stop segfaults in tests iocmd-21.2[12]. | |||||
* | | | merge trunk | dgp | 2014-04-17 | 1 | -95/+50 | |
|\ \ \ | |/ / | ||||||
| * | | Merge reflected channel improvements. | dgp | 2014-04-17 | 1 | -95/+50 | |
| |\ \ | | |/ | ||||||
| | * | Reflected channels. Keep a set of method names cached so we don't create | dgp | 2014-04-17 | 1 | -40/+43 | |
| | | | | | | | | | new each operation, and we can benefit from any lookup info cached in intreps. | |||||
| | * | Simplify reflected channels. | dgp | 2014-04-17 | 1 | -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 trunk | dgp | 2014-04-16 | 6 | -152/+126 | |
|\ \ \ | |/ / | ||||||
| * | | [d19a30db57] Fixed segfault in [clock] internals. Includes test. | dgp | 2014-04-16 | 1 | -15/+21 | |
| |\ \ | | |/ | ||||||
| | * | merge fork: Segmentation fault using some functions of tcl::clock, fixed, ↵ | jan.nijtmans | 2014-04-16 | 1 | -18/+21 | |
| | |\ | | | | | | | | | | | | | belong to ticket [d19a30db57] | |||||
| | | * | Segmentation fault using some functions of tcl::clock, fixed, belong to ↵ | sebres | 2014-04-16 | 1 | -18/+21 | |
| | | | | | | | | | | | | | | | | ticket [d19a30db57] | |||||
| * | | | Fix compiler warnings in win32/cygwin build | jan.nijtmans | 2014-04-16 | 2 | -6/+14 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Fix compiler warnings in win32/cygwin build. | jan.nijtmans | 2014-04-16 | 2 | -6/+14 | |
| | |/ | ||||||
| * | | Remove unused variable, don't use deprecated function, some formatting. | jan.nijtmans | 2014-04-16 | 1 | -1/+1 | |
| | | | ||||||
| * | | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵ | jan.nijtmans | 2014-04-16 | 1 | -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.nijtmans | 2014-04-16 | 1 | -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. | dgp | 2014-04-15 | 1 | -124/+4 | |
| |\ \ | | |/ | ||||||
| | * | Purge (now unused) argc and argv fields. | dgp | 2014-04-15 | 1 | -107/+3 | |
| | | | ||||||
| * | | [88aef05cda] Stop reentrancy segfault in reflected channels by managing | dgp | 2014-04-15 | 1 | -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 managing | dgp | 2014-04-15 | 1 | -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 boundary | dgp | 2014-04-14 | 1 | -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.nijtmans | 2014-04-10 | 1 | -0/+9 | |
| | | | ||||||
| * | | Fix for Bug [97069ea11a]: Set return message in close if a flush error is ↵ | oehhar | 2014-04-04 | 1 | -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 ↵ | oehhar | 2014-04-01 | 1 | -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 ↵ | oehhar | 2014-04-01 | 1 | -2/+13 | |
| | | | | | | | | | | | | error from a background flush). Ticket [97069ea11a] | |||||
| * | | Merge minimal fix for iocmd-23.11. | dgp | 2014-03-28 | 2 | -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. | dgp | 2014-03-27 | 2 | -3/+22 | |
| | | | ||||||
* | | | Merge the checkins of the dgp-read-bytes branch onto the trunk, up to | dgp | 2014-03-23 | 4 | -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. | dgp | 2014-03-20 | 1 | -40/+28 | |
| | | | ||||||
| * | | Stop routine clearing of CHANNEL_EOF. Only clear when there's a reason | dgp | 2014-03-20 | 1 | -18/+6 | |
| | | | | | | | | | (seek, eofchar change, ungets). Otherwise, once you hit EOF you stay there. | |||||
| * | | Use assertions about the pushback buffers to simplify their handling. | dgp | 2014-03-20 | 1 | -23/+37 | |
| | | | | | | | | | Mark several things left TODO. Some tidying. | |||||
| * | | Let TranslateInputEOL handle the "\r$eofChar" sequence in CRLF mode. | dgp | 2014-03-19 | 1 | -27/+17 | |
| | | | ||||||
| * | | Complete rewrite of DoRead(). | dgp | 2014-03-19 | 1 | -156/+132 | |
| | | | ||||||
| * | | Remove long dead "BAD_BLOCKING" support code so it no longer confuses | dgp | 2014-03-17 | 2 | -146/+10 | |
| | | | | | | | | | people reading/editing this code. | |||||
| * | | Compress code for better single screen viewing. | dgp | 2014-03-11 | 1 | -47/+8 | |
| | | | ||||||
| * | | Trial rewrite of AUTO input translation. | dgp | 2014-03-11 | 1 | -0/+35 | |
| | | | ||||||
| * | | .... and then the bug fix. | dgp | 2014-03-10 | 1 | -1/+1 | |
| | | | ||||||
| * | | Rewrite CRLF translation to use more system calls. | dgp | 2014-03-10 | 1 | -18/+28 | |
| | | | ||||||
| * | | Bring CRLF translation in parallel with others. | dgp | 2014-03-10 | 1 | -13/+7 | |
| | | | ||||||
| * | | TranslateInputEOL doesn't need to return anything. No caller cares. | dgp | 2014-03-10 | 1 | -36/+43 | |
| | | | | | | | | | Other optimizations and simplifications. | |||||
| * | | TranslateInputEOL() callers no longer need assert dstLen <= srcLen. | dgp | 2014-03-07 | 1 | -7/+5 | |
| | | | ||||||
| * | | Simplify the input eof char scan. Update some comments. | dgp | 2014-03-07 | 1 | -31/+33 | |
| | | | ||||||
| * | | Variable "rawStart" serves no purpose. | dgp | 2014-03-06 | 1 | -3/+2 | |
| | | | ||||||
| * | | Remove old dead code; silence compiler warnings; tidy up. | dgp | 2014-03-05 | 2 | -406/+12 | |
| | | | ||||||
| * | | Adapt CopyAndTranslateBuffer() to changes in TranslateInputEOL(). | dgp | 2014-03-05 | 1 | -40/+77 | |
| | | | | | | | | | Notably no longer using the INPUT_NEED_NL flag. | |||||
| * | | Merge repair to correct failing tests. | dgp | 2014-03-05 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fixups make the test suite almost pass (except *io-39.17) | dgp | 2014-03-01 | 1 | -7/+6 | |
| | | | ||||||
| * | | Bring over the ReadChars rewrite for integration into the other I/O work. | dgp | 2014-02-28 | 1 | -2/+273 | |
| |\ \ | ||||||
| | * | | tidy up.dgp_read_chars | dgp | 2014-02-28 | 1 | -4/+2 | |
| | | | | ||||||
| | * | | More ReadChars rewriting. Test suite now passes. | dgp | 2014-02-28 | 1 | -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. | dgp | 2014-02-27 | 1 | -1/+119 | |
| | |/ | ||||||
| * | | remove comment | dgp | 2014-02-27 | 1 | -1/+1 | |
| | | |