aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/TextInputStream.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* TextInputStream: don't ignore unterminated last lineMax Kellermann2014-10-281-4/+16
|
* TextInputStream: manually shift the buffer before readingMax Kellermann2014-10-191-0/+2
| | | | | Fixes truncated lines in m3u and cue files (regression by commit 67958f7).
* 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