Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-11-07 | input/cdio_paranoia: add setting "default_byte_order" | Max Kellermann | 1 | -2/+26 | |
Allows big-endian users to configure the fallback byte order to little-endian. Without this setting, MPD assumes native byte order if the CD drive can't decide. | |||||
2013-11-07 | input/curl: unregister removed sockets from epoll | Max Kellermann | 1 | -1/+9 | |
Fixes a crash bug. See code comment. | |||||
2013-11-06 | input/curl: fix bug with redirected streams | Max Kellermann | 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. | |||||
2013-11-06 | input/curl: move code into class CurlMulti | Max Kellermann | 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. | |||||
2013-11-06 | input/curl: remove the global list of requests | Max Kellermann | 1 | -13/+0 | |
Unused. | |||||
2013-11-06 | input/curl: don't abort all requests on curl_multi_perform() error | Max Kellermann | 1 | -40/+7 | |
Eliminate some complicated code that's not worth the trouble. | |||||
2013-11-06 | input/curl: use CURLOPT_PRIVATE | Max Kellermann | 1 | -5/+7 | |
Replaces the loop in input_curl_find_request(). | |||||
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 2 | -2/+2 | |
2013-10-28 | *: use nullptr instead of NULL | Max Kellermann | 3 | -14/+14 | |
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 9 | -59/+59 | |
2013-10-23 | InputInternal: remove obsolete library | Max Kellermann | 7 | -7/+0 | |
2013-10-21 | input/curl: don't use GLib's typedef "gushort" | Max Kellermann | 1 | -1/+2 | |
2013-10-21 | util/NumberParser: utilities for parsing numbers from ASCII strings | Max Kellermann | 1 | -3/+3 | |
2013-10-20 | Util/ASCII: add function StringEqualsCaseASCII() | Max Kellermann | 1 | -7/+8 | |
Replaces GLib's g_ascii_strcasecmp(). | |||||
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -34/+34 | |
2013-10-19 | input/cdio: use class AllocatedPath | Max Kellermann | 1 | -10/+9 | |
2013-10-19 | input/curl: use std::string for meta_name | Max Kellermann | 1 | -9/+5 | |
Automatic memory management. | |||||
2013-10-19 | decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf() | Max Kellermann | 1 | -9/+7 | |
2013-10-19 | Util/CharUtil: new library replacing g_ascii_isX() | Max Kellermann | 1 | -2/+3 | |
2013-10-18 | input/curl: use MultiSocketMonitor constants instead of GLib | Max Kellermann | 1 | -3/+6 | |
2013-10-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 2 | -4/+4 | |
2013-10-17 | InputStream: use int64_t instead of goffset | Max Kellermann | 5 | -10/+17 | |
Decouple some more from GLib. | |||||
2013-10-17 | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 15 | -19/+17 | |
2013-10-17 | ArchiveLookup: return const strings | Max Kellermann | 1 | -2/+2 | |
2013-10-16 | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 1 | -2/+3 | |
Replacing GLib macros. | |||||
2013-10-15 | Archive*: move archive_domain to ArchiveDomain.cxx | Max Kellermann | 1 | -3/+1 | |
Merge duplicate symbol. | |||||
2013-10-15 | input/*: don't allocate attribute "mime" | Max Kellermann | 4 | -6/+6 | |
This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer. | |||||
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 2 | -2/+4 | |
2013-10-14 | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 1 | -2/+2 | |
Micro-optimization. | |||||
2013-10-02 | Log: new logging library API | Max Kellermann | 8 | -30/+30 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-26 | input/curl: fix EventLoop stall after curl_easy_pause | Artem Savkov | 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. | |||||
2013-09-05 | Tag, ...: move to libtag.a | Max Kellermann | 3 | -3/+3 | |
2013-09-05 | input/curl: enable https | Ales Guzik | 1 | -1/+2 | |
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+2 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-05 | InputLegacy: move functions to the input_stream class | Max Kellermann | 2 | -9/+8 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 8 | -152/+122 | |
Replaces GLib's GError. | |||||
2013-09-03 | input/{mms,despotify}: remove "seek" implementation | Max Kellermann | 2 | -19/+3 | |
Omitting it has the same effect as returning false unconditionally. | |||||
2013-08-10 | event/MultiSocketMonitor: eliminate virtual method CheckSockets() | Max Kellermann | 1 | -28/+0 | |
Handle timeout internally. | |||||
2013-08-10 | event/MultiSocketMonitor: PrepareSockets() returns timeout | Max Kellermann | 1 | -6/+7 | |
Simplify the API, don't use GLib specific integer type. | |||||
2013-08-08 | event: add function BlockingCall() | Max Kellermann | 1 | -52/+21 | |
Replaces io_thread_call(). This approach is more generic and easier to use due to std::function. | |||||
2013-08-07 | Makefile.am: move sources to libsystem.a | Max Kellermann | 1 | -1/+1 | |
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 4 | -16/+17 | |
2013-08-04 | InputPlugin: pass config_param reference | Max Kellermann | 2 | -7/+6 | |
2013-07-30 | tag: convert to C++ | Max Kellermann | 3 | -23/+21 | |
2013-04-17 | input/soup: plugin removed | Max Kellermann | 2 | -517/+0 | |
This plugin is cumbersome to support, now that MPD is migrating away from GLib and the GLib event loop. It has no practical advantages over the CURL plugin. Soup requires the bloated GType library. | |||||
2013-01-30 | ArchivePlugin: move instance methods to class ArchiveFile | Max Kellermann | 1 | -3/+3 | |
2013-01-30 | input/Rewind: remove bogus assertion | Max Kellermann | 1 | -1/+0 | |
2013-01-29 | ArchiveFile: convert to a class | Max Kellermann | 1 | -2/+1 | |
2013-01-29 | refcount: convert to C++ | Max Kellermann | 1 | -1/+0 | |
2013-01-29 | require GLib 2.24 | Max Kellermann | 1 | -1/+0 | |