Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-10-19 | TextInputStream: manually shift the buffer before reading | Max Kellermann | 1 | -0/+2 | |
Fixes truncated lines in m3u and cue files (regression by commit 67958f7). | |||||
2014-10-11 | ThreadInputStream: call ThreadRead() inside the thread instead of Read() | Max Kellermann | 1 | -1/+1 | |
Fixes deadlock bug in the "mms" plugin. | |||||
2014-10-11 | ThreadInputStream: add assertions | Max Kellermann | 1 | -0/+8 | |
2014-10-02 | input/Open: use OpenLocalInputStream() | Max Kellermann | 4 | -30/+33 | |
Make the "open" method of plugins "file" and "archive" dummy methods that always fail. Instead, let InputStream::Open() hard-code access to these two plugins by using OpenLocalInputStream(). This allows simplifyin the algorithm for falling back to probing archive plugins. | |||||
2014-10-02 | input/LocalOpen: new library for opening local files | Max Kellermann | 2 | -0/+86 | |
Combines the "file" and the "archive" input plugins. | |||||
2014-10-02 | input/archive: export function OpenArchiveInputStream() | Max Kellermann | 2 | -16/+33 | |
2014-10-02 | input/file: export function OpenFileInputStream() | Max Kellermann | 2 | -13/+37 | |
2014-10-02 | input/file: generate Error when errno==ENOENT | Max Kellermann | 1 | -1/+1 | |
This special case was useless. Fixes the dreaded "Unrecognized URI" error message when a file does not exist. | |||||
2014-10-02 | input/file: make the "fd" attribute "const" | Max Kellermann | 1 | -1/+1 | |
2014-10-02 | input/file: make variables more local | Max Kellermann | 1 | -6/+3 | |
2014-10-02 | input/file: convert to class | Max Kellermann | 1 | -1/+2 | |
2014-09-16 | CurlInputPlugin: fix crash after second init call | Thomas Guillem | 1 | -0/+1 | |
The second time init was called, http_200_aliases pointed to a freed pointer and leaded to a SEGFAULT. | |||||
2014-09-02 | input/nfs: auto-reconnect if failed while paused | Max Kellermann | 1 | -1/+46 | |
2014-09-02 | input/async: add method IsPaused() | Max Kellermann | 1 | -0/+4 | |
2014-08-31 | input/nfs: notify client on error | Max Kellermann | 1 | -0/+2 | |
Fixes hanging NFS client. | |||||
2014-08-30 | *: add missing Compiler.h includes | Max Kellermann | 1 | -0/+1 | |
Necessary for "final" on gcc 4.6. | |||||
2014-08-19 | InputStream: move typedef offset_type to Offset.hxx | Max Kellermann | 2 | -1/+34 | |
Reduce header dependencies. | |||||
2014-08-19 | InputStream: CheapSeeking() returns false only for HTTP | Max Kellermann | 1 | -2/+3 | |
Seeking on NFS or SMB is cheap. Actually, only HTTP streams are expensive to seek. This enables a few features on NFS/SMB files, for example Ogg tags. | |||||
2014-08-19 | InputStream: move code to ExpensiveSeeking() | Max Kellermann | 1 | -1/+13 | |
2014-08-19 | InputStream: make offset_type unsigned | Max Kellermann | 4 | -11/+5 | |
2014-08-19 | InputPlugin: remove typedef offset_type | Max Kellermann | 1 | -2/+0 | |
Has been moved to class InputStream long ago. | |||||
2014-08-19 | InputStream: allow GetSize() only if KnownSize() | Max Kellermann | 1 | -0/+1 | |
2014-08-19 | InputStream: add constant UNKNOWN_SIZE | Max Kellermann | 2 | -4/+6 | |
2014-08-19 | input/proxy: use KnownSize() | Max Kellermann | 1 | -1/+4 | |
2014-08-19 | InputStream: use KnownSize() in assertion | Max Kellermann | 1 | -1/+1 | |
2014-08-18 | input/ffmpeg: use av_strerror() | Max Kellermann | 1 | -4/+4 | |
Generate more detailed error messages. | |||||
2014-08-18 | {input,decoder}/ffmpeg: move ffmpeg_domain to lib/ffmpeg/Domain.cxx | Max Kellermann | 1 | -3/+1 | |
Eliminate duplicate definition (in input plugin and decoder plugin). | |||||
2014-08-18 | input/ffmpeg: update offset after seeking | Max Kellermann | 1 | -0/+1 | |
2014-08-18 | input/ffmpeg: refactor error code path | Max Kellermann | 1 | -4/+4 | |
2014-08-18 | input/ffmpeg: use "auto" | Max Kellermann | 1 | -10/+10 | |
2014-08-07 | input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxx | Max Kellermann | 2 | -22/+3 | |
2014-08-07 | TextInputStream: don't strip | Max Kellermann | 1 | -3/+3 | |
Let the caller decide whether to strip. Only remove \n and \r (end-of-line markers). | |||||
2014-08-07 | TextInputStream: move code to ReadBufferedLine() | Max Kellermann | 2 | -34/+45 | |
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 | util/StringUtil: add StripRight() overload with "end" argument | Max Kellermann | 2 | -10/+6 | |
2014-08-07 | util/CharUtil: add IsWhitespaceFast() | Max Kellermann | 1 | -1/+1 | |
2014-08-07 | input/TextInputStream: return char* | Max Kellermann | 2 | -18/+15 | |
Revert to the old API before commit e9e55b08, removing unnecessary bloat. | |||||
2014-08-06 | util/FifoBuffer: rename to StaticFifoBuffer | Max Kellermann | 1 | -2/+2 | |
2014-07-11 | input/curl: options "verify_peer" and "verify_host" | Max Kellermann | 1 | -0/+8 | |
2014-07-10 | input/async: more API documentation | Max Kellermann | 1 | -0/+26 | |
2014-06-21 | input/async: use IsEOF() instead of !open for "ready" check | Max Kellermann | 1 | -2/+3 | |
Checking "!open" did not work with the NFS plugin because that plugin does not close the file automatically, unlike CURL. | |||||
2014-06-21 | Revert "AsyncInputStream: fix assertion failure in AppendToBuffer()" | Max Kellermann | 1 | -6/+4 | |
This reverts commit 966c4244cbe0de174df1e72e917078269ec9dbb9. The commit was bad, because the bug was really in NfsInputStream::DoRead(); see previous commit. | |||||
2014-06-21 | input/nfs: never read more than space available in buffer | Max Kellermann | 1 | -2/+4 | |
Avoids off-by-one bug and obsoletes the bug fix in commit 966c4244 | |||||
2014-06-17 | input/nfs: use the asynchronous libnfs API | Max Kellermann | 1 | -84/+138 | |
More robust and cancellable. | |||||
2014-06-17 | AsyncInputStream: fix assertion failure in AppendToBuffer() | Max Kellermann | 1 | -4/+6 | |
2014-06-17 | AsyncInputStream: reset "paused" when seeking | Max Kellermann | 1 | -0/+1 | |
May cause assertion failure. | |||||
2014-06-17 | input/curl: hold mutex while writing to postponed_error | Max Kellermann | 3 | -3/+16 | |
2014-06-17 | input/AsyncInputStream: add method IsBufferFull() | Max Kellermann | 1 | -0/+4 | |
2014-05-24 | input/async: add offset/size comparison to IsEOF() | Max Kellermann | 1 | -1/+2 | |
2014-05-24 | input/curl: move code to AsyncInputStream | Max Kellermann | 3 | -211/+409 | |
New base class for other InputStream implementations that run in the I/O thread. | |||||
2014-05-24 | input/curl: call SetReady() only if not yet ready | Max Kellermann | 1 | -1/+2 | |
Fixes assertion failure. |