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