aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* input/curl: work around stream resume bug (fixed in libcurl 7.32.0)Max Kellermann2013-11-231-0/+17
|
* input/curl: add global variable "curl_version"Max Kellermann2013-11-231-0/+7
|
* input/curl: dump version numberMax Kellermann2013-11-231-0/+8
|
* input/cdio_paranoia: add setting "default_byte_order"Max Kellermann2013-11-071-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.
* input/curl: unregister removed sockets from epollMax Kellermann2013-11-071-1/+9
| | | | Fixes a crash bug. See code comment.
* input/curl: fix bug with redirected streamsMax Kellermann2013-11-061-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 CurlMultiMax Kellermann2013-11-061-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 requestsMax Kellermann2013-11-061-13/+0
| | | | Unused.
* input/curl: don't abort all requests on curl_multi_perform() errorMax Kellermann2013-11-061-40/+7
| | | | Eliminate some complicated code that's not worth the trouble.
* input/curl: use CURLOPT_PRIVATEMax Kellermann2013-11-061-5/+7
| | | | Replaces the loop in input_curl_find_request().
* *: update copyright year to 2013Max Kellermann2013-10-302-2/+2
|
* *: use nullptr instead of NULLMax Kellermann2013-10-283-14/+14
|
* input_stream: rename struct to InputStreamMax Kellermann2013-10-239-59/+59
|
* InputInternal: remove obsolete libraryMax Kellermann2013-10-237-7/+0
|
* input/curl: don't use GLib's typedef "gushort"Max Kellermann2013-10-211-1/+2
|
* util/NumberParser: utilities for parsing numbers from ASCII stringsMax Kellermann2013-10-211-3/+3
|
* Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann2013-10-201-7/+8
| | | | Replaces GLib's g_ascii_strcasecmp().
* *: use nullptr instead of NULLMax Kellermann2013-10-191-34/+34
|
* input/cdio: use class AllocatedPathMax Kellermann2013-10-191-10/+9
|
* input/curl: use std::string for meta_nameMax Kellermann2013-10-191-9/+5
| | | | Automatic memory management.
* decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf()Max Kellermann2013-10-191-9/+7
|
* Util/CharUtil: new library replacing g_ascii_isX()Max Kellermann2013-10-191-2/+3
|
* input/curl: use MultiSocketMonitor constants instead of GLibMax Kellermann2013-10-181-3/+6
|
* fs/Path: move definitions to struct PathTraitsMax Kellermann2013-10-172-4/+4
|
* InputStream: use int64_t instead of goffsetMax Kellermann2013-10-175-10/+17
| | | | Decouple some more from GLib.
* input_plugin: rename struct to "InputPlugin"Max Kellermann2013-10-1715-19/+17
|
* ArchiveLookup: return const stringsMax Kellermann2013-10-171-2/+2
|
* system/ByteOrder: new library for byte ordering / endianessMax Kellermann2013-10-161-2/+3
| | | | Replacing GLib macros.
* Archive*: move archive_domain to ArchiveDomain.cxxMax Kellermann2013-10-151-3/+1
| | | | Merge duplicate symbol.
* input/*: don't allocate attribute "mime"Max Kellermann2013-10-154-6/+6
| | | | | This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer.
* fs/Path: add method IsAbsolute()Max Kellermann2013-10-142-2/+4
|
* Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann2013-10-141-2/+2
| | | | Micro-optimization.
* Log: new logging library APIMax Kellermann2013-10-028-30/+30
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* input/curl: fix EventLoop stall after curl_easy_pauseArtem Savkov2013-09-261-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.aMax Kellermann2013-09-053-3/+3
|
* input/curl: enable httpsAles Guzik2013-09-051-1/+2
|
* conf.h: remove obsolete headerMax Kellermann2013-09-051-1/+2
| | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies.
* InputLegacy: move functions to the input_stream classMax Kellermann2013-09-052-9/+8
|
* util/Error: new error passing libraryMax Kellermann2013-09-048-152/+122
| | | | Replaces GLib's GError.
* input/{mms,despotify}: remove "seek" implementationMax Kellermann2013-09-032-19/+3
| | | | Omitting it has the same effect as returning false unconditionally.
* event/MultiSocketMonitor: eliminate virtual method CheckSockets()Max Kellermann2013-08-101-28/+0
| | | | Handle timeout internally.
* event/MultiSocketMonitor: PrepareSockets() returns timeoutMax Kellermann2013-08-101-6/+7
| | | | Simplify the API, don't use GLib specific integer type.
* event: add function BlockingCall()Max Kellermann2013-08-081-52/+21
| | | | | Replaces io_thread_call(). This approach is more generic and easier to use due to std::function.
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-1/+1
|
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-044-16/+17
|
* InputPlugin: pass config_param referenceMax Kellermann2013-08-042-7/+6
|
* tag: convert to C++Max Kellermann2013-07-303-23/+21
|
* input/soup: plugin removedMax Kellermann2013-04-172-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.
* ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann2013-01-301-3/+3
|
* input/Rewind: remove bogus assertionMax Kellermann2013-01-301-1/+0
|