aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-1/+1
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann4-16/+17
2013-08-04InputPlugin: pass config_param referenceMax Kellermann2-7/+6
2013-07-30tag: convert to C++Max Kellermann3-23/+21
2013-04-17input/soup: plugin removedMax Kellermann2-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-30ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann1-3/+3
2013-01-30input/Rewind: remove bogus assertionMax Kellermann1-1/+0
2013-01-29ArchiveFile: convert to a classMax Kellermann1-2/+1
2013-01-29refcount: convert to C++Max Kellermann1-1/+0
2013-01-29require GLib 2.24Max Kellermann1-1/+0
2013-01-28InputStream: use std::stringMax Kellermann2-9/+6
2013-01-28InputStream: store references instead of pointersMax Kellermann3-31/+31
2013-01-28InputStream: add constructor/destructorMax Kellermann8-38/+17
Eliminate input_stream_init() and input_stream_deinit().
2013-01-28input/despotify: add constructor/destructorMax Kellermann1-26/+33
2013-01-28input/despotify: rename classMax Kellermann1-10/+9
2013-01-28input/Soup: move code into the classMax Kellermann1-92/+109
2013-01-28input/soup: rename the classMax Kellermann1-15/+15
2013-01-28input/ffmpeg: add constructor/destructorMax Kellermann1-23/+26
2013-01-28input/ffmpeg: rename the classMax Kellermann1-7/+7
2013-01-28decoder/ffmpeg: require ffmpeg/libav 0.7.6Max Kellermann1-31/+0
This is the version present in Ubuntu Oneiric, the oldest distribution with gcc 4.6. Debian Squeeze is off target, because it has gcc 4.4, which is unable to compile MPD anyway. This commit drops all API compatibility hacks for older versions.
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann9-52/+46
2013-01-26input_stream: forward-declare the structMax Kellermann8-1/+9
Hide the definition from C code, to prepare the transition to C++.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann9-17/+17
2013-01-24archive/*: convert to C++Max Kellermann2-9/+20
2013-01-21input/archive: fix memory leak in error handlerMax Kellermann1-1/+3
2013-01-21input,playlist/despotify: convert to C++Max Kellermann2-13/+21
2013-01-21input/cdio_paranoia: convert to C++Max Kellermann2-52/+63
2013-01-21input/ffmpeg: convert to C++Max Kellermann2-19/+29
2013-01-21input/rewind: convert to C++Max Kellermann2-75/+79
2013-01-21input/file,mms: convert to C++Max Kellermann4-67/+86
2013-01-21input_internal.h: add extern "C"Max Kellermann2-8/+0
2013-01-15input/Curl: break loop when remaining length becomes 0Max Kellermann1-0/+6
Fixes assertion failure (regression).
2013-01-15input/Curl: move code to class MultiSocketMonitorMax Kellermann1-116/+60
2013-01-15input/Curl: simpler GPollFD initialisationMax Kellermann1-5/+2
Using initializer list.
2013-01-15input/Curl: don't remove/add modified GPollFDMax Kellermann1-9/+2
Not necessary, GLib will pick up the updated GPollFD automatically.
2013-01-14Main, IOThread: move GMainLoop setup code to class EventLoopMax Kellermann2-2/+5
2013-01-10input/curl: use std::list instead of GQueueMax Kellermann1-93/+80
2013-01-10icy_metadata: convert to C++Max Kellermann1-13/+11