aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | util/FifoBuffer: rename to StaticFifoBufferMax Kellermann2014-08-061-2/+2
| |
* | input/curl: options "verify_peer" and "verify_host"Max Kellermann2014-07-111-0/+8
| |
* | input/async: more API documentationMax Kellermann2014-07-101-0/+26
| |
* | input/async: use IsEOF() instead of !open for "ready" checkMax Kellermann2014-06-211-2/+3
| | | | | | | | | | Checking "!open" did not work with the NFS plugin because that plugin does not close the file automatically, unlike CURL.
* | Revert "AsyncInputStream: fix assertion failure in AppendToBuffer()"Max Kellermann2014-06-211-6/+4
| | | | | | | | | | | | | | This reverts commit 966c4244cbe0de174df1e72e917078269ec9dbb9. The commit was bad, because the bug was really in NfsInputStream::DoRead(); see previous commit.
* | input/nfs: never read more than space available in bufferMax Kellermann2014-06-211-2/+4
| | | | | | | | Avoids off-by-one bug and obsoletes the bug fix in commit 966c4244
* | input/nfs: use the asynchronous libnfs APIMax Kellermann2014-06-171-84/+138
| | | | | | | | More robust and cancellable.
* | AsyncInputStream: fix assertion failure in AppendToBuffer()Max Kellermann2014-06-171-4/+6
| |
* | AsyncInputStream: reset "paused" when seekingMax Kellermann2014-06-171-0/+1
| | | | | | | | May cause assertion failure.
* | input/curl: hold mutex while writing to postponed_errorMax Kellermann2014-06-173-3/+16
| |
* | input/AsyncInputStream: add method IsBufferFull()Max Kellermann2014-06-171-0/+4
| |
* | input/async: add offset/size comparison to IsEOF()Max Kellermann2014-05-241-1/+2
| |
* | input/curl: move code to AsyncInputStreamMax Kellermann2014-05-243-211/+409
| | | | | | | | | | New base class for other InputStream implementations that run in the I/O thread.
* | input/curl: call SetReady() only if not yet readyMax Kellermann2014-05-241-1/+2
| | | | | | Fixes assertion failure.
* | input/curl: include cleanupMax Kellermann2014-05-241-7/+0
| |
* | InputStream: make Seek() always absoluteMax Kellermann2014-05-2211-84/+37
| | | | | | | | | | Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
* | input/curl: relock mutex in error pathsMax Kellermann2014-05-211-2/+7
| |
* | input/curl: pass remaining size to CircularBuffer::Append()Max Kellermann2014-05-211-1/+1
| |
* | input/curl: move code to IcyInputStreamMax Kellermann2014-05-213-86/+182
| |
* | input/rewind: move code to class ProxyInputStreamMax Kellermann2014-05-213-59/+175
| |
* | input/InputStream: move Open() to Open.cxxMax Kellermann2014-05-212-50/+72
| | | | | | | | Allow compiling test programs with only selected plugins.
* | input/rewind: include cleanupMax Kellermann2014-05-211-4/+2
| |
* | input/rewind: work around assertion failureMax Kellermann2014-05-211-1/+1
| | | | | | | | Caused by commit 0b4fa41a
* | ThreadInputStream: include cleanupMax Kellermann2014-05-121-1/+0
| |
* | InputStream: "protect" attributesMax Kellermann2014-05-122-8/+24
| |
* | input/cdio: convert to classMax Kellermann2014-05-121-1/+2
| |
* | input/cdio: move initialization code to constructorMax Kellermann2014-05-121-51/+50
| | | | | | | | | | | | Make attributes const, don't allow partial initialization. Instantiate the CdioParanoiaInputStream object at the end of input_cdio_open().
* | input/cdio: handle cdio_open() failureMax Kellermann2014-05-121-0/+5
| |
* | input/cdio: initialize lsn_relofs in constructorMax Kellermann2014-05-121-2/+1
| |
* | input/cdio: initialize attribute "buffer_lsn"Max Kellermann2014-05-121-1/+2
| |
* | input/cdio: remove unused attribute "trackno"Max Kellermann2014-05-121-11/+6
| |
* | InputStream: remove attribute "plugin"Max Kellermann2014-05-1113-33/+18
| |
* | InputStream: make various methods abstractMax Kellermann2014-05-1116-569/+211
| | | | | | | | Replace InputPlugin attributes.
* | InputStream: add virtual destructorMax Kellermann2014-05-1116-125/+29
| | | | | | Replaces the method Close().
* | input/plugins: make InputStream the base classMax Kellermann2014-05-1112-274/+202
| | | | | | | | Prepare for adding virtual methods.
* | input/rewind: convert to classMax Kellermann2014-05-111-46/+89
| |
* | InputStream: convert to classMax Kellermann2014-05-1114-46/+107
| |
* | input/nfs: add missing string.h includeMax Kellermann2014-04-231-0/+1
| | | | | | | | For strrchr(). Fixes build failure.
* | input/mms: move blocking I/O to threadMax Kellermann2014-03-161-60/+50
| |
* | input/BufferedInputStream: new wrapper for moving plugin to threadMax Kellermann2014-03-162-0/+385
| |
* | input/alsa: don't initialize "seekable=false", "size=-1"Max Kellermann2014-03-161-2/+0
| | | | | | | | These are the default values already.
* | input/curl: use CircularBufferMax Kellermann2014-03-161-133/+75
| | | | | | | | Replaces its own weird buffering code.
* | input/curl: add method CurlInputStream::Open()Max Kellermann2014-03-151-12/+17
| |
* | input/curl: move _seek() into the CurlInputStream classMax Kellermann2014-03-151-38/+44
| |
* | input/curl: move _easy_init() into the CurlInputStream classMax Kellermann2014-03-151-30/+30
| |
* | input/curl: pass std::string&& to HeaderReceived()Max Kellermann2014-03-151-25/+8
| | | | | | | | Code simplification.
* | input/curl: move code to CurlInputStream methodsMax Kellermann2014-03-151-178/+231
| |
* | input/curl: rename "error" to "error_buffer"Max Kellermann2014-03-151-3/+3
| |
* | input/curl: rename struct input_curl to CurlInputStreamMax Kellermann2014-03-151-32/+32
| |
* | InputPlugin: allow init() to soft-failMax Kellermann2014-03-026-16/+65
| | | | | | | | | | Add enum InputResult which is a tri-state. Input plugins may now fail and just become unavailable.