Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | | 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 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | More coverage tests and bug fixes. | dgp | 2014-02-26 | 1 | -2/+1 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Reduce ReadBytes to simplest expression. | dgp | 2014-02-24 | 1 | -23/+5 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | simplification trims | dgp | 2014-02-24 | 1 | -30/+4 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Merge the stricter binary mode experiment. | dgp | 2014-02-24 | 1 | -6/+18 | |
|\ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | Simplify ReadBytes based on new constraints.dgp_experiment | dgp | 2014-02-21 | 1 | -0/+5 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | fix type error | dgp | 2014-02-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Switch consistently on the narrower def of binary mode. | dgp | 2014-02-20 | 1 | -5/+9 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Can we send some binary reads down the char-reading path? | dgp | 2014-02-20 | 1 | -5/+8 | |
| |/ / / / / / / / / / / | ||||||
* | | | | | | | | | | | | Refactoring repair to fix failing test. | dgp | 2014-02-20 | 1 | -15/+37 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Next coverage test to expose another refactoring error. | dgp | 2014-02-19 | 1 | -1/+0 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Shortcut ReadBytes() when it's a no-op. | dgp | 2014-02-19 | 1 | -1/+4 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Callers of TranslateInputEOL are expected to manage the INPUT_NEED_NL flag. | dgp | 2014-02-18 | 1 | -0/+14 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Another coverage test that reveals refactoring error. | dgp | 2014-02-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | coverage test for -translation cr | dgp | 2014-02-18 | 1 | -1/+0 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Refactor correction exposed by coverage test. | dgp | 2014-02-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Coverage test for -translation auto handling of INPUT_SAW_CR flag. | dgp | 2014-02-18 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Demonstrates refactor failure. | |||||
* | | | | | | | | | | | | Refactor so that CopyAndTranslateBuffer() calls on TranslateInputEOL() | dgp | 2014-02-11 | 1 | -2/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of duplicating so much of its function. Note the testing gaps. | |||||
* | | | | | | | | | | | | Revised ReadChars to restore an attempt to make sure we do not short readdgp_may_be_pointless | dgp | 2014-02-06 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because of a false notion of limited storage space. The test suite does not appear to demonstrate any case where this matters. Could be an incomplete test suite, or an example of pointless code. | |||||
* | | | | | | | | | | | | merge 8.5 | dgp | 2014-02-06 | 1 | -764/+170 | |
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | ||||||
| * | | | | | | | | | | | Simplify macro typecasting. | dgp | 2014-01-31 | 1 | -6/+3 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | The "channel" Tcl_ObjType is caching only. It never needs an UpdateString ↵ | dgp | 2014-01-31 | 1 | -46/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | routine. It's also static to the tclIO.c file. | |||||
| * | | | | | | | | | | | Do not call updateStringProc directly. We have TclGetString() for that. | dgp | 2014-01-31 | 1 | -10/+1 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Refactor to eliminate the DoWriteChars() layer. | dgp | 2014-01-30 | 1 | -64/+22 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Eliminate DoWrite(). It duplicates WriteBytes(). | dgp | 2014-01-30 | 1 | -163/+2 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Trial: Implement DoWrite() as WriteBytes(). | dgp | 2014-01-30 | 1 | -0/+4 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Simplification and cleanup enabled by last commit. | dgp | 2014-01-30 | 1 | -301/+7 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Refactor WriteChars() and WriteBytes() into simple wrappers of a common | dgp | 2014-01-30 | 1 | -13/+35 | |
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | routine Write(). | |||||
| * | | | | | | | | | | The outputStage field is now unused, so never allocate it. | dgp | 2014-01-28 | 1 | -29/+0 | |
| | | | | | | | | | | | ||||||
| * | | | | | | | | | | tidy things up | dgp | 2014-01-28 | 1 | -194/+17 | |
| | | | | | | | | | | | ||||||
| * | | | | | | | | | | Working code with no staging buffer use. | dgp | 2014-01-28 | 1 | -31/+97 | |
| | | | | | | | | | | | ||||||
| * | | | | | | | | | | WIP | dgp | 2014-01-28 | 1 | -0/+69 | |
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | ||||||
* | | | | | | | | | | Revise the Tcl_Append* machinery to tolerate NULL bytes to append. | dgp | 2014-01-27 | 1 | -52/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Then have ReadChars() use that machinery to resize buffer receiving input, rather than invent its own version. Simplify ReadChars() callers. | |||||
* | | | | | | | | | | merge 8.5 | dgp | 2014-01-24 | 1 | -10/+12 | |
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | ||||||
| * | | | | | | | | | Eliminate the copy to a staging buffer when that serves no functional purpose. | dgp | 2014-01-24 | 1 | -10/+12 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | There is no need for ReadBytes() or its caller(s) to track how many bytes | dgp | 2014-01-21 | 1 | -29/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are actually stored in objPtr. The ByteArray Tcl_ObjType already has the machinery to take care of this. | |||||
* | | | | | | | | | | Backport of bytearray append machinery to support bug fixes in ReadBytes. | dgp | 2014-01-21 | 1 | -13/+4 | |
|/ / / / / / / / / | ||||||
* | | | | | | | | | Fix C99 comment-ism breaking the native AIX compiler. HPUX likely as well. | andreask | 2013-05-29 | 1 | -2/+2 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Backport 8.6's fix [checkin 5af0d249de] to [Bug 2901998]: Inconsistent ↵ | ferrieux | 2013-05-01 | 1 | -8/+92 | |
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | buffered I/O. Tcl's I/O now flushes buffered output before reading, discards buffered input before writing, etc. | |||||
* | | | | | | | | structs *ChannelHandler* GetsState CopyState used only locally. | dgp | 2013-02-26 | 1 | -0/+102 | |
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | Remove from tclIO.h. | |||||
| * | | | | | | | structs ChannelHandler ChannelHandlerEvent GetsState CopyState used locally. | dgp | 2013-02-26 | 1 | -0/+78 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Remove from tclIO.h. | |||||
| * | | | | | | | struct NextChannelHandler used only locally. Remove from tclIO.h. | dgp | 2013-02-26 | 1 | -0/+24 | |
| | | | | | | | | ||||||
* | | | | | | | | Repair linked list management in Tcl_DeleteCloseHandler(). | dgp | 2013-02-25 | 1 | -0/+14 | |
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | / | |_|_|_|_|_|/ |/| | | | | | | CloseCallback struct used only locally. Remove from tclIO.h. |