summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* missing declarationdgp_read_bytes_detourdgp2014-03-211-0/+1
|
* Fixup ChanRead() header. Note (dstSize > 0) precondition.dgp2014-03-211-2/+8
|
* Documentation header for ChanRead()dgp2014-03-211-2/+23
|
* Both callers of ChanRead() have simlar epilogs. Shift that into ChanReaddgp2014-03-201-73/+50
| | | and refactor.
* 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
| |
* | More coverage tests and bug fixes.dgp2014-02-261-2/+1
| |
* | Reduce ReadBytes to simplest expression.dgp2014-02-241-23/+5
| |
* | simplification trimsdgp2014-02-241-30/+4
| |
* | Merge the stricter binary mode experiment.dgp2014-02-241-6/+18
|\ \
| * | Simplify ReadBytes based on new constraints.dgp_experimentdgp2014-02-211-0/+5
| | |
| * | fix type errordgp2014-02-211-1/+1
| | |
| * | Switch consistently on the narrower def of binary mode.dgp2014-02-201-5/+9
| | |
| * | Can we send some binary reads down the char-reading path?dgp2014-02-201-5/+8
| |/
* | Refactoring repair to fix failing test.dgp2014-02-201-15/+37
| |
* | Next coverage test to expose another refactoring error.dgp2014-02-191-1/+0
| |
* | Shortcut ReadBytes() when it's a no-op.dgp2014-02-191-1/+4
| |
* | Callers of TranslateInputEOL are expected to manage the INPUT_NEED_NL flag.dgp2014-02-181-0/+14
| |
* | Another coverage test that reveals refactoring error.dgp2014-02-181-1/+1
| |
* | coverage test for -translation crdgp2014-02-181-1/+0
| |
* | Refactor correction exposed by coverage test.dgp2014-02-181-1/+1
| |
* | Coverage test for -translation auto handling of INPUT_SAW_CR flag.dgp2014-02-181-1/+0
| | | | | | Demonstrates refactor failure.
* | merge 8.5dgp2014-02-123-11/+31
|\ \ | |/
| * Change the flag value to avoid merge conflict with trunk.dgp2014-02-061-1/+1
| |
| * [a4494e28ed] Use flag bit instead of NULL pointer to suppress teardown list ofdgp2014-02-062-10/+30
| | | | | | | | | | imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
| * Check for existance of __BORLANDC__ before using its valuejan.nijtmans2014-02-061-1/+1
| |
* | Refactor so that CopyAndTranslateBuffer() calls on TranslateInputEOL()dgp2014-02-111-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_pointlessdgp2014-02-063-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.