Max Kellermann
|
be00737ced
|
input/curl: include cleanup
|
2014-05-24 12:43:48 +02:00 |
|
Max Kellermann
|
07b93dcf80
|
InputStream: make Seek() always absolute
Remove the "whence" parameter that is not actually necessary, and only
complicates the InputStream implementations.
|
2014-05-22 13:52:00 +02:00 |
|
Max Kellermann
|
49695d47d3
|
input/curl: relock mutex in error paths
|
2014-05-21 19:00:47 +02:00 |
|
Max Kellermann
|
5cec477131
|
input/curl: pass remaining size to CircularBuffer::Append()
|
2014-05-21 18:59:51 +02:00 |
|
Max Kellermann
|
a5d0300787
|
input/curl: move code to IcyInputStream
|
2014-05-21 18:47:49 +02:00 |
|
Max Kellermann
|
fd1b04932a
|
InputStream: remove attribute "plugin"
|
2014-05-11 18:25:55 +02:00 |
|
Max Kellermann
|
d4b625b48e
|
InputStream: make various methods abstract
Replace InputPlugin attributes.
|
2014-05-11 17:14:49 +02:00 |
|
Max Kellermann
|
82337dec44
|
InputStream: add virtual destructor
Replaces the method Close().
|
2014-05-11 17:12:50 +02:00 |
|
Max Kellermann
|
f1d0700252
|
input/plugins: make InputStream the base class
Prepare for adding virtual methods.
|
2014-05-11 17:12:50 +02:00 |
|
Max Kellermann
|
6773adc771
|
InputStream: convert to class
|
2014-05-11 15:34:48 +02:00 |
|
Max Kellermann
|
c7e2f558a0
|
input/curl: use CircularBuffer
Replaces its own weird buffering code.
|
2014-03-16 00:35:28 +01:00 |
|
Max Kellermann
|
8f74bf314d
|
input/curl: add method CurlInputStream::Open()
|
2014-03-15 22:56:05 +01:00 |
|
Max Kellermann
|
0dd5ebbdbe
|
input/curl: move _seek() into the CurlInputStream class
|
2014-03-15 22:42:37 +01:00 |
|
Max Kellermann
|
2ae60767a3
|
input/curl: move _easy_init() into the CurlInputStream class
|
2014-03-15 22:38:46 +01:00 |
|
Max Kellermann
|
64f31f70f9
|
input/curl: pass std::string&& to HeaderReceived()
Code simplification.
|
2014-03-15 22:02:59 +01:00 |
|
Max Kellermann
|
23eacbd132
|
input/curl: move code to CurlInputStream methods
|
2014-03-15 20:43:37 +01:00 |
|
Max Kellermann
|
e9f16fca96
|
input/curl: rename "error" to "error_buffer"
|
2014-03-15 20:43:17 +01:00 |
|
Max Kellermann
|
3d30de91f3
|
input/curl: rename struct input_curl to CurlInputStream
|
2014-03-15 20:38:08 +01:00 |
|
Max Kellermann
|
2bf2f34b12
|
InputPlugin: allow init() to soft-fail
Add enum InputResult which is a tri-state. Input plugins may now fail
and just become unavailable.
|
2014-03-02 00:17:32 +01:00 |
|
Max Kellermann
|
7757e59e78
|
input/curl: include cleanup
|
2014-02-22 00:18:29 +01:00 |
|
Max Kellermann
|
f8bfea8bae
|
Input*: move to input/
|
2014-01-24 16:33:33 +01:00 |
|