Max Kellermann
|
5ac2a69940
|
input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxx
|
2014-08-07 19:38:25 +02:00 |
|
Max Kellermann
|
1ca8d7ad45
|
TextInputStream: don't strip
Let the caller decide whether to strip. Only remove \n and \r
(end-of-line markers).
|
2014-08-07 16:45:43 +02:00 |
|
Max Kellermann
|
36ff991960
|
TextInputStream: move code to ReadBufferedLine()
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.
|
2014-08-07 16:08:02 +02:00 |
|
Max Kellermann
|
59d38f876a
|
util/StringUtil: add StripRight() overload with "end" argument
|
2014-08-07 16:08:02 +02:00 |
|
Max Kellermann
|
db6db51742
|
util/CharUtil: add IsWhitespaceFast()
|
2014-08-07 16:08:02 +02:00 |
|
Max Kellermann
|
69ae879c58
|
input/TextInputStream: return char*
Revert to the old API before commit e9e55b08 , removing unnecessary
bloat.
|
2014-08-07 00:06:02 +02:00 |
|
Max Kellermann
|
4ba7427fa0
|
util/{Const,Writable}Buffer: add operator[]
|
2014-03-01 07:49:13 +01:00 |
|
Max Kellermann
|
f8bfea8bae
|
Input*: move to input/
|
2014-01-24 16:33:33 +01:00 |
|