Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge the checkins of the dgp-read-bytes branch onto the trunk, up to | dgp | 2014-03-23 | 5 | -842/+755 |
|\ | | | | | | | | | | | 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. | ||||
| * | merge 8.5 | dgp | 2014-03-20 | 3 | -36/+28 |
| |\ | |||||
| * | | 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 |
| | | | |||||
| * | | Test for the bug I just committed. | dgp | 2014-03-10 | 1 | -0/+14 |
| | | | |||||
| * | | 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 | 2 | -13/+21 |
| | | | |||||
| * | | 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 |
| | | | | |||||
| * | | | another coverage test. | dgp | 2014-02-28 | 1 | -0/+15 |
| | | | | |||||
| * | | | remove comment | dgp | 2014-02-27 | 1 | -1/+1 |
| | | | | |||||
| * | | | merge 8.5 | dgp | 2014-02-26 | 1 | -0/+71 |
| |\ \ \ | | |/ / | |||||
| * | | | More coverage tests and bug fixes. | dgp | 2014-02-26 | 2 | -2/+57 |
| | | | | |||||
| * | | | Reduce ReadBytes to simplest expression. | dgp | 2014-02-24 | 1 | -23/+5 |
| | | | | |||||
| * | | | simplification trims | dgp | 2014-02-24 | 1 | -30/+4 |
| | | | | |||||
| * | | | merge 8.5 | dgp | 2014-02-24 | 3 | -13/+165 |
| |\ \ \ | |||||
| * \ \ \ | Merge the stricter binary mode experiment. | dgp | 2014-02-24 | 2 | -7/+19 |
| |\ \ \ \ | |||||
| | * | | | | 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 | 2 | -1/+14 |
| | | | | | | |||||
| * | | | | | 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 | 2 | -1/+15 |
| | | | | | | |||||
| * | | | | | coverage test for -translation cr | dgp | 2014-02-18 | 2 | -1/+14 |
| | | | | | | |||||
| * | | | | | 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 | 2 | -1/+15 |
| | | | | | | | | | | | | | | | | | | Demonstrates refactor failure. | ||||
| * | | | | | merge 8.5 | dgp | 2014-02-12 | 6 | -13/+42 |
| |\ \ \ \ \ | |||||
| * | | | | | | 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. | ||||
| * | | | | | | This patch is not pointless. Tests encoding-25.* demonstrate its utility. | dgp | 2014-02-07 | 3 | -1/+41 |
| |\ \ \ \ \ \ | |||||
| | * | | | | | | Revised ReadChars to restore an attempt to make sure we do not short readdgp_may_be_pointless | dgp | 2014-02-06 | 3 | -1/+41 |
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. |