Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-09-03 | IOThread: use FatalError() on g_thread_create() error | Max Kellermann | 3 | -14/+8 | |
New GLib versions don't fail. | |||||
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-09-03 | input_stream.h: rename to InputLegacy.hxx | Max Kellermann | 18 | -34/+22 | |
2013-08-10 | db_error: convert to C++ | Max Kellermann | 5 | -10/+7 | |
2013-08-10 | playlist_error: convert to C++ | Max Kellermann | 5 | -7/+7 | |
2013-08-10 | ack.h: move to protocol/ | Max Kellermann | 3 | -2/+2 | |
2013-08-10 | alsa/mixer: defer InvalidateSockets() call to I/O thread | Max Kellermann | 1 | -1/+2 | |
2013-08-10 | EventLoop: initialise the thread id explicitly | Max Kellermann | 1 | -1/+2 | |
2013-08-10 | ZeroconfAvahi: disable Avahi with epoll | Max Kellermann | 1 | -0/+1 | |
Temporary hotfix until we have integrated avahi into our new event loop. | |||||
2013-08-10 | EventLoop: new implementation using epoll | Max Kellermann | 14 | -16/+716 | |
Implement an event loop without GLib. | |||||
2013-08-10 | mixer/alsa: invoke InvalidateSockets() in constructor | Max Kellermann | 1 | -1/+3 | |
2013-08-10 | event/Call: signal the calling thread | Max Kellermann | 1 | -0/+5 | |
Fixes regression from commit 018f4155. | |||||
2013-08-10 | event/IdleMonitor: new monitor class | Max Kellermann | 2 | -0/+130 | |
2013-08-10 | event/MultiSocketMonitor: add struct SingleFD | Max Kellermann | 2 | -8/+32 | |
Prepare for migrating away from GLib. | |||||
2013-08-10 | event/MultiSocketMonitor: use uint64_t instead of gint64 | Max Kellermann | 2 | -5/+6 | |
Unsigned and portable. | |||||
2013-08-10 | event/MultiSocketMonitor: eliminate virtual method CheckSockets() | Max Kellermann | 3 | -36/+16 | |
Handle timeout internally. | |||||
2013-08-10 | event/MultiSocketMonitor: PrepareSockets() returns timeout | Max Kellermann | 3 | -11/+17 | |
Simplify the API, don't use GLib specific integer type. | |||||
2013-08-10 | glib_compat.h: use monotonic_clock_us() in g_source_get_time() | Max Kellermann | 1 | -3/+3 | |
2013-08-10 | glib_compat.h: remove unused wrapper g_file_test() | Max Kellermann | 1 | -28/+0 | |
2013-08-10 | decoder/wildmidi: use class Path for the "timidity.cfg" location | Max Kellermann | 1 | -10/+14 | |
2013-08-10 | ConfigData: overload GetBlockPath() with default value | Max Kellermann | 2 | -5/+21 | |
2013-08-10 | ConfigData: use FatalError() instead of MPD_ERROR() | Max Kellermann | 1 | -5/+6 | |
2013-08-10 | system/EPollFD: fix typo in Add() | Max Kellermann | 1 | -1/+1 | |
2013-08-10 | thread/Id: new class replacing GThread pointers | Max Kellermann | 5 | -15/+116 | |
Remove a GLib dependencies from class EventLoop and DatabaseLock. | |||||
2013-08-08 | event: add function BlockingCall() | Max Kellermann | 5 | -108/+129 | |
Replaces io_thread_call(). This approach is more generic and easier to use due to std::function. | |||||
2013-08-08 | EventLoop: add methodd IsInside() | Max Kellermann | 2 | -2/+26 | |
Track which thread runs the EventLoop and provide a check whether we're currently inside. | |||||
2013-08-08 | EventLoop: un-inline Run() and others | Max Kellermann | 2 | -22/+61 | |
Prepare for adding more code. | |||||
2013-08-08 | event/*Monitor: add method GetEventLoop() | Max Kellermann | 4 | -1/+16 | |
2013-08-08 | event/SocketMonitor: un-inline Schedule() | Max Kellermann | 2 | -24/+23 | |
Merge with CommitEventFlags(). | |||||
2013-08-08 | event/SocketMonitor: add assertions | Max Kellermann | 2 | -0/+12 | |
2013-08-08 | output/httpd: use "unsigned" instead of "guint" | Max Kellermann | 1 | -2/+2 | |
2013-08-08 | Client{Event,Write}: add missing include | Max Kellermann | 3 | -0/+6 | |
2013-08-08 | event/BufferedSocket: add missing include | Max Kellermann | 1 | -0/+1 | |
2013-08-07 | os/FileSystem: disable mkfifo() wrapper on WIN32 | Max Kellermann | 1 | -0/+4 | |
2013-08-07 | ConfigPath: return a Path object | Max Kellermann | 19 | -173/+176 | |
Migrate all callers to use Path directly, instead of doing the conversion in each caller. | |||||
2013-08-07 | *: remove remaining __cplusplus checks | Max Kellermann | 8 | -77/+1 | |
2013-08-07 | event/EPollFD: basic support for Linux epoll | Max Kellermann | 2 | -0/+112 | |
2013-08-07 | event/DeferredMonitor: rename Run() to RunDeferred() | Max Kellermann | 3 | -6/+6 | |
2013-08-07 | event/DeferredMonitor: use EventLoop::AddIdle() | Max Kellermann | 5 | -7/+16 | |
2013-08-07 | event/DeferredMonitor: new class wrapping g_idle_add() | Max Kellermann | 3 | -12/+127 | |
2013-08-07 | mixer/alsa: use AllocatedArray for the pollfd buffer | Max Kellermann | 1 | -3/+5 | |
2013-08-07 | encoder/lame: use ReusableBuffer instead of AllocatedArray | Max Kellermann | 2 | -212/+13 | |
2013-08-07 | PcmBuffer: move code to new class ReusableBuffer | Max Kellermann | 6 | -44/+98 | |
ReusableBuffer is more generic. | |||||
2013-08-07 | add missing includes | Max Kellermann | 5 | -0/+8 | |
2013-08-07 | filter/Route: don't access PcmBuffer attributes directly | Max Kellermann | 1 | -5/+5 | |
Return the pointer given by PcmBuffer::Get() instead of reaching into the PcmBuffer object. | |||||
2013-08-07 | CommandLine.cxx: look for config file in XDG_CONFIG_HOME too | Alexander Gehrke | 1 | -1/+7 | |
Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks for the file under Windows. | |||||
2013-08-07 | FfmpegDecoderPlugin: Allocate the interleaved buffer as needed instead of ↵ | Alexis Ballier | 1 | -17/+29 | |
using an arbitrary big constant. Also, save a memcpy when FFmpeg outputs interleaved audio. Fixes build with FFmpeg 2.0. | |||||
2013-08-07 | event/EventFD: move to libsystem | Max Kellermann | 5 | -2/+2 | |
2013-08-07 | event/SignalMonitor: use signalfd() if available | Max Kellermann | 3 | -1/+192 | |
2013-08-07 | SignalHandlers: move code to new class SignalMonitor | Max Kellermann | 6 | -18/+233 | |