aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/TextInputStream.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxxMax Kellermann2014-08-071-19/+3
|
* TextInputStream: don't stripMax Kellermann2014-08-071-3/+3
| | | | | Let the caller decide whether to strip. Only remove \n and \r (end-of-line markers).
* TextInputStream: move code to ReadBufferedLine()Max Kellermann2014-08-071-34/+42
| | | | | Look at the buffer first, before trying to read from the file. This reduces overhead because we don't refill the buffer after every line.
* util/StringUtil: add StripRight() overload with "end" argumentMax Kellermann2014-08-071-4/+3
|
* util/CharUtil: add IsWhitespaceFast()Max Kellermann2014-08-071-1/+1
|
* input/TextInputStream: return char*Max Kellermann2014-08-071-12/+13
| | | | | Revert to the old API before commit e9e55b08, removing unnecessary bloat.
* util/{Const,Writable}Buffer: add operator[]Max Kellermann2014-03-011-1/+1
|
* Input*: move to input/Max Kellermann2014-01-241-0/+78