Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | input/curl: use class TagBuilder | Max Kellermann | 2013-12-03 | 1 | -4/+10 |
| | |||||
* | input/curl: work around stream resume bug (fixed in libcurl 7.32.0) | Max Kellermann | 2013-11-23 | 1 | -0/+17 |
| | |||||
* | input/curl: add global variable "curl_version" | Max Kellermann | 2013-11-23 | 1 | -0/+7 |
| | |||||
* | input/curl: dump version number | Max Kellermann | 2013-11-23 | 1 | -0/+8 |
| | |||||
* | input/curl: unregister removed sockets from epoll | Max Kellermann | 2013-11-07 | 1 | -1/+9 |
| | | | | Fixes a crash bug. See code comment. | ||||
* | input/curl: fix bug with redirected streams | Max Kellermann | 2013-11-06 | 1 | -110/+138 |
| | | | | | | | | | | | Migrate from the old curl_multi_perform() API to the newer curl_multi_socket_action() API (since CURL 7.16). This allows working around a bug with HTTP redirections with epoll: when CURL closes a socket and the new one happens to have the same file number, MPD did not have a chance to remove the old one from epoll and subsequently attempted to use EPOLL_CTL_MOD, which was not allowed by epoll, because it's a new socket now. | ||||
* | input/curl: move code into class CurlMulti | Max Kellermann | 2013-11-06 | 1 | -43/+66 |
| | | | | | Move all global variables there, and keep just one global variable: the pointer to the CurlMulti instance. Prepares for the next commit. | ||||
* | input/curl: remove the global list of requests | Max Kellermann | 2013-11-06 | 1 | -13/+0 |
| | | | | Unused. | ||||
* | input/curl: don't abort all requests on curl_multi_perform() error | Max Kellermann | 2013-11-06 | 1 | -40/+7 |
| | | | | Eliminate some complicated code that's not worth the trouble. | ||||
* | input/curl: use CURLOPT_PRIVATE | Max Kellermann | 2013-11-06 | 1 | -5/+7 |
| | | | | Replaces the loop in input_curl_find_request(). | ||||
* | input_stream: rename struct to InputStream | Max Kellermann | 2013-10-23 | 1 | -10/+10 |
| | |||||
* | InputInternal: remove obsolete library | Max Kellermann | 2013-10-23 | 1 | -1/+0 |
| | |||||
* | input/curl: don't use GLib's typedef "gushort" | Max Kellermann | 2013-10-21 | 1 | -1/+2 |
| | |||||
* | util/NumberParser: utilities for parsing numbers from ASCII strings | Max Kellermann | 2013-10-21 | 1 | -3/+3 |
| | |||||
* | Util/ASCII: add function StringEqualsCaseASCII() | Max Kellermann | 2013-10-20 | 1 | -7/+8 |
| | | | | Replaces GLib's g_ascii_strcasecmp(). | ||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-19 | 1 | -34/+34 |
| | |||||
* | input/curl: use std::string for meta_name | Max Kellermann | 2013-10-19 | 1 | -9/+5 |
| | | | | Automatic memory management. | ||||
* | decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf() | Max Kellermann | 2013-10-19 | 1 | -9/+7 |
| | |||||
* | Util/CharUtil: new library replacing g_ascii_isX() | Max Kellermann | 2013-10-19 | 1 | -2/+3 |
| | |||||
* | input/curl: use MultiSocketMonitor constants instead of GLib | Max Kellermann | 2013-10-18 | 1 | -3/+6 |
| | |||||
* | InputStream: use int64_t instead of goffset | Max Kellermann | 2013-10-17 | 1 | -3/+4 |
| | | | | Decouple some more from GLib. | ||||
* | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 2013-10-17 | 1 | -2/+2 |
| | |||||
* | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 2013-10-14 | 1 | -2/+2 |
| | | | | Micro-optimization. | ||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -8/+8 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | input/curl: fix EventLoop stall after curl_easy_pause | Artem Savkov | 2013-09-26 | 1 | -0/+1 |
| | | | | | | | | When playing finite http streams, e.g. something from soundcloud, eventloop stalls after pausing writefunc. TimeoutMonitor is cancelled by the time resume happens, so when enough data is consumed writefunc is called only once. Calling InvalidateSockets() from input_curl_resume() seems to fix the issue. | ||||
* | Tag, ...: move to libtag.a | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | input/curl: enable https | Ales Guzik | 2013-09-05 | 1 | -1/+2 |
| | |||||
* | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -1/+2 |
| | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | ||||
* | InputLegacy: move functions to the input_stream class | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -69/+58 |
| | | | | Replaces GLib's GError. | ||||
* | event/MultiSocketMonitor: eliminate virtual method CheckSockets() | Max Kellermann | 2013-08-10 | 1 | -28/+0 |
| | | | | Handle timeout internally. | ||||
* | event/MultiSocketMonitor: PrepareSockets() returns timeout | Max Kellermann | 2013-08-10 | 1 | -6/+7 |
| | | | | Simplify the API, don't use GLib specific integer type. | ||||
* | event: add function BlockingCall() | Max Kellermann | 2013-08-08 | 1 | -52/+21 |
| | | | | | Replaces io_thread_call(). This approach is more generic and easier to use due to std::function. | ||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 1 | -4/+5 |
| | |||||
* | InputPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 1 | -6/+5 |
| | |||||
* | tag: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -15/+13 |
| | |||||
* | require GLib 2.24 | Max Kellermann | 2013-01-29 | 1 | -1/+0 |
| | |||||
* | InputStream: use std::string | Max Kellermann | 2013-01-28 | 1 | -3/+2 |
| | |||||
* | InputStream: store references instead of pointers | Max Kellermann | 2013-01-28 | 1 | -12/+12 |
| | |||||
* | InputStream: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -4/+2 |
| | | | | Eliminate input_stream_init() and input_stream_deinit(). | ||||
* | DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond | Max Kellermann | 2013-01-27 | 1 | -22/+17 |
| | |||||
* | input_stream: forward-declare the struct | Max Kellermann | 2013-01-26 | 1 | -1/+2 |
| | | | | Hide the definition from C code, to prepare the transition to C++. | ||||
* | input_{internal,plugin}: convert to C++ | Max Kellermann | 2013-01-25 | 1 | -2/+2 |
| | |||||
* | input_internal.h: add extern "C" | Max Kellermann | 2013-01-21 | 1 | -4/+0 |
| | |||||
* | input/Curl: break loop when remaining length becomes 0 | Max Kellermann | 2013-01-15 | 1 | -0/+6 |
| | | | | Fixes assertion failure (regression). | ||||
* | input/Curl: move code to class MultiSocketMonitor | Max Kellermann | 2013-01-15 | 1 | -116/+60 |
| | |||||
* | input/Curl: simpler GPollFD initialisation | Max Kellermann | 2013-01-15 | 1 | -5/+2 |
| | | | | Using initializer list. | ||||
* | input/Curl: don't remove/add modified GPollFD | Max Kellermann | 2013-01-15 | 1 | -9/+2 |
| | | | | Not necessary, GLib will pick up the updated GPollFD automatically. | ||||
* | Main, IOThread: move GMainLoop setup code to class EventLoop | Max Kellermann | 2013-01-14 | 1 | -1/+3 |
| | |||||
* | input/curl: use std::list instead of GQueue | Max Kellermann | 2013-01-10 | 1 | -93/+80 |
| |