aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* ArchiveFile: convert to a classMax Kellermann2013-01-291-2/+1
|
* refcount: convert to C++Max Kellermann2013-01-291-1/+0
|
* require GLib 2.24Max Kellermann2013-01-291-1/+0
|
* InputStream: use std::stringMax Kellermann2013-01-282-9/+6
|
* InputStream: store references instead of pointersMax Kellermann2013-01-283-31/+31
|
* InputStream: add constructor/destructorMax Kellermann2013-01-288-38/+17
| | | | Eliminate input_stream_init() and input_stream_deinit().
* input/despotify: add constructor/destructorMax Kellermann2013-01-281-26/+33
|
* input/despotify: rename classMax Kellermann2013-01-281-10/+9
|
* input/Soup: move code into the classMax Kellermann2013-01-281-92/+109
|
* input/soup: rename the classMax Kellermann2013-01-281-15/+15
|
* input/ffmpeg: add constructor/destructorMax Kellermann2013-01-281-23/+26
|
* input/ffmpeg: rename the classMax Kellermann2013-01-281-7/+7
|
* decoder/ffmpeg: require ffmpeg/libav 0.7.6Max Kellermann2013-01-281-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.
* DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann2013-01-279-52/+46
|
* input_stream: forward-declare the structMax Kellermann2013-01-268-1/+9
| | | | Hide the definition from C code, to prepare the transition to C++.
* input_{internal,plugin}: convert to C++Max Kellermann2013-01-259-17/+17
|
* archive/*: convert to C++Max Kellermann2013-01-242-9/+20
|
* input/archive: fix memory leak in error handlerMax Kellermann2013-01-211-1/+3
|
* input,playlist/despotify: convert to C++Max Kellermann2013-01-212-13/+21
|
* input/cdio_paranoia: convert to C++Max Kellermann2013-01-212-52/+63
|
* input/ffmpeg: convert to C++Max Kellermann2013-01-212-19/+29
|
* input/rewind: convert to C++Max Kellermann2013-01-212-75/+79
|
* input/file,mms: convert to C++Max Kellermann2013-01-214-67/+86
|
* input_internal.h: add extern "C"Max Kellermann2013-01-212-8/+0
|