aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-14input/despotify: don't log "eof" flag after setting itMax Kellermann1-1/+1
2013-12-14input/despotify: convert to classMax Kellermann1-45/+73
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2-2/+2
2013-12-03input/curl: use class TagBuilderMax Kellermann1-4/+10
2013-11-28Util/StringUtil: add StringStartsWith()Max Kellermann4-17/+16
Replaces GLib's g_str_has_prefix().
2013-11-28include cleanup using iwyuMax Kellermann5-8/+0
2013-11-27input/cdio_paranoia: support libcdio-paranoia 0.90Gaetan Bisson1-0/+5
2013-11-23input/curl: work around stream resume bug (fixed in libcurl 7.32.0)Max Kellermann1-0/+17
2013-11-23input/curl: add global variable "curl_version"Max Kellermann1-0/+7
2013-11-23input/curl: dump version numberMax Kellermann1-0/+8
2013-11-07input/cdio_paranoia: add setting "default_byte_order"Max Kellermann1-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-07input/curl: unregister removed sockets from epollMax Kellermann1-1/+9
Fixes a crash bug. See code comment.
2013-11-06input/curl: fix bug with redirected streamsMax Kellermann1-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-06input/curl: move code into class CurlMultiMax Kellermann1-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-06input/curl: remove the global list of requestsMax Kellermann1-13/+0
Unused.
2013-11-06input/curl: don't abort all requests on curl_multi_perform() errorMax Kellermann1-40/+7
Eliminate some complicated code that's not worth the trouble.
2013-11-06input/curl: use CURLOPT_PRIVATEMax Kellermann1-5/+7
Replaces the loop in input_curl_find_request().
2013-10-30*: update copyright year to 2013Max Kellermann2-2/+2
2013-10-28*: use nullptr instead of NULLMax Kellermann3-14/+14
2013-10-23input_stream: rename struct to InputStreamMax Kellermann9-59/+59
2013-10-23InputInternal: remove obsolete libraryMax Kellermann7-7/+0
2013-10-21input/curl: don't use GLib's typedef "gushort"Max Kellermann1-1/+2
2013-10-21util/NumberParser: utilities for parsing numbers from ASCII stringsMax Kellermann1-3/+3
2013-10-20Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann1-7/+8
Replaces GLib's g_ascii_strcasecmp().
2013-10-19*: use nullptr instead of NULLMax Kellermann1-34/+34
2013-10-19input/cdio: use class AllocatedPathMax Kellermann1-10/+9
2013-10-19input/curl: use std::string for meta_nameMax Kellermann1-9/+5
Automatic memory management.
2013-10-19decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf()Max Kellermann1-9/+7
2013-10-19Util/CharUtil: new library replacing g_ascii_isX()Max Kellermann1-2/+3
2013-10-18input/curl: use MultiSocketMonitor constants instead of GLibMax Kellermann1-3/+6
2013-10-17fs/Path: move definitions to struct PathTraitsMax Kellermann2-4/+4
2013-10-17InputStream: use int64_t instead of goffsetMax Kellermann5-10/+17
Decouple some more from GLib.
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann15-19/+17
2013-10-17ArchiveLookup: return const stringsMax Kellermann1-2/+2
2013-10-16system/ByteOrder: new library for byte ordering / endianessMax Kellermann1-2/+3
Replacing GLib macros.
2013-10-15Archive*: move archive_domain to ArchiveDomain.cxxMax Kellermann1-3/+1
Merge duplicate symbol.
2013-10-15input/*: don't allocate attribute "mime"Max Kellermann4-6/+6
This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer.
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann2-2/+4
2013-10-14Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann1-2/+2
Micro-optimization.
2013-10-02Log: new logging library APIMax Kellermann8-30/+30
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-26input/curl: fix EventLoop stall after curl_easy_pauseArtem Savkov1-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-05Tag, ...: move to libtag.aMax Kellermann3-3/+3
2013-09-05input/curl: enable httpsAles Guzik1-1/+2
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann2-9/+8
2013-09-04util/Error: new error passing libraryMax Kellermann8-152/+122
Replaces GLib's GError.
2013-09-03input/{mms,despotify}: remove "seek" implementationMax Kellermann2-19/+3
Omitting it has the same effect as returning false unconditionally.
2013-08-10event/MultiSocketMonitor: eliminate virtual method CheckSockets()Max Kellermann1-28/+0
Handle timeout internally.
2013-08-10event/MultiSocketMonitor: PrepareSockets() returns timeoutMax Kellermann1-6/+7
Simplify the API, don't use GLib specific integer type.
2013-08-08event: add function BlockingCall()Max Kellermann1-52/+21
Replaces io_thread_call(). This approach is more generic and easier to use due to std::function.