aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-03IOThread: use FatalError() on g_thread_create() errorMax Kellermann3-14/+8
New GLib versions don't fail.
2013-09-03input/{mms,despotify}: remove "seek" implementationMax Kellermann2-19/+3
Omitting it has the same effect as returning false unconditionally.
2013-09-03input_stream.h: rename to InputLegacy.hxxMax Kellermann18-34/+22
2013-08-10db_error: convert to C++Max Kellermann5-10/+7
2013-08-10playlist_error: convert to C++Max Kellermann5-7/+7
2013-08-10ack.h: move to protocol/Max Kellermann3-2/+2
2013-08-10alsa/mixer: defer InvalidateSockets() call to I/O threadMax Kellermann1-1/+2
2013-08-10EventLoop: initialise the thread id explicitlyMax Kellermann1-1/+2
2013-08-10ZeroconfAvahi: disable Avahi with epollMax Kellermann1-0/+1
Temporary hotfix until we have integrated avahi into our new event loop.
2013-08-10EventLoop: new implementation using epollMax Kellermann14-16/+716
Implement an event loop without GLib.
2013-08-10mixer/alsa: invoke InvalidateSockets() in constructorMax Kellermann1-1/+3
2013-08-10event/Call: signal the calling threadMax Kellermann1-0/+5
Fixes regression from commit 018f4155.
2013-08-10event/IdleMonitor: new monitor classMax Kellermann2-0/+130
2013-08-10event/MultiSocketMonitor: add struct SingleFDMax Kellermann2-8/+32
Prepare for migrating away from GLib.
2013-08-10event/MultiSocketMonitor: use uint64_t instead of gint64Max Kellermann2-5/+6
Unsigned and portable.
2013-08-10event/MultiSocketMonitor: eliminate virtual method CheckSockets()Max Kellermann3-36/+16
Handle timeout internally.
2013-08-10event/MultiSocketMonitor: PrepareSockets() returns timeoutMax Kellermann3-11/+17
Simplify the API, don't use GLib specific integer type.
2013-08-10glib_compat.h: use monotonic_clock_us() in g_source_get_time()Max Kellermann1-3/+3
2013-08-10glib_compat.h: remove unused wrapper g_file_test()Max Kellermann1-28/+0
2013-08-10decoder/wildmidi: use class Path for the "timidity.cfg" locationMax Kellermann1-10/+14
2013-08-10ConfigData: overload GetBlockPath() with default valueMax Kellermann2-5/+21
2013-08-10ConfigData: use FatalError() instead of MPD_ERROR()Max Kellermann1-5/+6
2013-08-10system/EPollFD: fix typo in Add()Max Kellermann1-1/+1
2013-08-10thread/Id: new class replacing GThread pointersMax Kellermann5-15/+116
Remove a GLib dependencies from class EventLoop and DatabaseLock.
2013-08-08event: add function BlockingCall()Max Kellermann5-108/+129
Replaces io_thread_call(). This approach is more generic and easier to use due to std::function.
2013-08-08EventLoop: add methodd IsInside()Max Kellermann2-2/+26
Track which thread runs the EventLoop and provide a check whether we're currently inside.
2013-08-08EventLoop: un-inline Run() and othersMax Kellermann2-22/+61
Prepare for adding more code.
2013-08-08event/*Monitor: add method GetEventLoop()Max Kellermann4-1/+16
2013-08-08event/SocketMonitor: un-inline Schedule()Max Kellermann2-24/+23
Merge with CommitEventFlags().
2013-08-08event/SocketMonitor: add assertionsMax Kellermann2-0/+12
2013-08-08output/httpd: use "unsigned" instead of "guint"Max Kellermann1-2/+2
2013-08-08Client{Event,Write}: add missing includeMax Kellermann3-0/+6
2013-08-08event/BufferedSocket: add missing includeMax Kellermann1-0/+1
2013-08-07os/FileSystem: disable mkfifo() wrapper on WIN32Max Kellermann1-0/+4
2013-08-07ConfigPath: return a Path objectMax Kellermann19-173/+176
Migrate all callers to use Path directly, instead of doing the conversion in each caller.
2013-08-07*: remove remaining __cplusplus checksMax Kellermann8-77/+1
2013-08-07event/EPollFD: basic support for Linux epollMax Kellermann2-0/+112
2013-08-07event/DeferredMonitor: rename Run() to RunDeferred()Max Kellermann3-6/+6
2013-08-07event/DeferredMonitor: use EventLoop::AddIdle()Max Kellermann5-7/+16
2013-08-07event/DeferredMonitor: new class wrapping g_idle_add()Max Kellermann3-12/+127
2013-08-07mixer/alsa: use AllocatedArray for the pollfd bufferMax Kellermann1-3/+5
2013-08-07encoder/lame: use ReusableBuffer instead of AllocatedArrayMax Kellermann2-212/+13
2013-08-07PcmBuffer: move code to new class ReusableBufferMax Kellermann6-44/+98
ReusableBuffer is more generic.
2013-08-07add missing includesMax Kellermann5-0/+8
2013-08-07filter/Route: don't access PcmBuffer attributes directlyMax Kellermann1-5/+5
Return the pointer given by PcmBuffer::Get() instead of reaching into the PcmBuffer object.
2013-08-07CommandLine.cxx: look for config file in XDG_CONFIG_HOME tooAlexander Gehrke1-1/+7
Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks for the file under Windows.
2013-08-07FfmpegDecoderPlugin: Allocate the interleaved buffer as needed instead of ↵Alexis Ballier1-17/+29
using an arbitrary big constant. Also, save a memcpy when FFmpeg outputs interleaved audio. Fixes build with FFmpeg 2.0.
2013-08-07event/EventFD: move to libsystemMax Kellermann5-2/+2
2013-08-07event/SignalMonitor: use signalfd() if availableMax Kellermann3-1/+192
2013-08-07SignalHandlers: move code to new class SignalMonitorMax Kellermann6-18/+233