aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* IOThread: pass GError to FatalError()Max Kellermann2013-09-041-2/+4
| | | | Fixes build failure on GLib < 2.32.
* DatabaseSave: eliminate redundant db_quark() implementationMax Kellermann2013-09-031-7/+1
|
* IOThread: use FatalError() on g_thread_create() errorMax Kellermann2013-09-0310-49/+15
| | | | New GLib versions don't fail.
* input/{mms,despotify}: remove "seek" implementationMax Kellermann2013-09-032-19/+3
| | | | Omitting it has the same effect as returning false unconditionally.
* input_stream.h: rename to InputLegacy.hxxMax Kellermann2013-09-0322-38/+26
|
* db_error: convert to C++Max Kellermann2013-08-106-11/+8
|
* playlist_error: convert to C++Max Kellermann2013-08-106-8/+8
|
* ack.h: move to protocol/Max Kellermann2013-08-104-3/+3
|
* alsa/mixer: defer InvalidateSockets() call to I/O threadMax Kellermann2013-08-101-1/+2
|
* EventLoop: initialise the thread id explicitlyMax Kellermann2013-08-101-1/+2
|
* ZeroconfAvahi: disable Avahi with epollMax Kellermann2013-08-101-0/+1
| | | | | Temporary hotfix until we have integrated avahi into our new event loop.
* EventLoop: new implementation using epollMax Kellermann2013-08-1014-16/+716
| | | | Implement an event loop without GLib.
* mixer/alsa: invoke InvalidateSockets() in constructorMax Kellermann2013-08-101-1/+3
|
* event/Call: signal the calling threadMax Kellermann2013-08-101-0/+5
| | | | Fixes regression from commit 018f4155.
* event/IdleMonitor: new monitor classMax Kellermann2013-08-103-0/+131
|
* event/MultiSocketMonitor: add struct SingleFDMax Kellermann2013-08-102-8/+32
| | | | Prepare for migrating away from GLib.
* event/MultiSocketMonitor: use uint64_t instead of gint64Max Kellermann2013-08-102-5/+6
| | | | Unsigned and portable.
* event/MultiSocketMonitor: eliminate virtual method CheckSockets()Max Kellermann2013-08-103-36/+16
| | | | Handle timeout internally.
* event/MultiSocketMonitor: PrepareSockets() returns timeoutMax Kellermann2013-08-103-11/+17
| | | | Simplify the API, don't use GLib specific integer type.
* glib_compat.h: use monotonic_clock_us() in g_source_get_time()Max Kellermann2013-08-101-3/+3
|
* glib_compat.h: remove unused wrapper g_file_test()Max Kellermann2013-08-101-28/+0
|
* decoder/wildmidi: use class Path for the "timidity.cfg" locationMax Kellermann2013-08-101-10/+14
|
* ConfigData: overload GetBlockPath() with default valueMax Kellermann2013-08-102-5/+21
|
* ConfigData: use FatalError() instead of MPD_ERROR()Max Kellermann2013-08-102-5/+11
|
* system/EPollFD: fix typo in Add()Max Kellermann2013-08-101-1/+1
|
* thread/Id: new class replacing GThread pointersMax Kellermann2013-08-106-15/+117
| | | | Remove a GLib dependencies from class EventLoop and DatabaseLock.
* event: add function BlockingCall()Max Kellermann2013-08-086-108/+130
| | | | | Replaces io_thread_call(). This approach is more generic and easier to use due to std::function.
* EventLoop: add methodd IsInside()Max Kellermann2013-08-082-2/+26
| | | | | Track which thread runs the EventLoop and provide a check whether we're currently inside.
* EventLoop: un-inline Run() and othersMax Kellermann2013-08-083-23/+62
| | | | Prepare for adding more code.
* event/*Monitor: add method GetEventLoop()Max Kellermann2013-08-084-1/+16
|
* event/SocketMonitor: un-inline Schedule()Max Kellermann2013-08-082-24/+23
| | | | Merge with CommitEventFlags().
* event/SocketMonitor: add assertionsMax Kellermann2013-08-082-0/+12
|
* output/httpd: use "unsigned" instead of "guint"Max Kellermann2013-08-081-2/+2
|
* Client{Event,Write}: add missing includeMax Kellermann2013-08-083-0/+6
|
* event/BufferedSocket: add missing includeMax Kellermann2013-08-081-0/+1
|
* os/FileSystem: disable mkfifo() wrapper on WIN32Max Kellermann2013-08-071-0/+4
|
* ConfigPath: return a Path objectMax Kellermann2013-08-0719-173/+176
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* *: remove remaining __cplusplus checksMax Kellermann2013-08-078-77/+1
|
* event/EPollFD: basic support for Linux epollMax Kellermann2013-08-074-0/+114
|
* event/DeferredMonitor: rename Run() to RunDeferred()Max Kellermann2013-08-073-6/+6
|
* event/DeferredMonitor: use EventLoop::AddIdle()Max Kellermann2013-08-075-7/+16
|
* configure.ac: pass option name to MPD_OPTIONAL_FUNC()Max Kellermann2013-08-072-7/+7
|
* event/DeferredMonitor: new class wrapping g_idle_add()Max Kellermann2013-08-074-12/+128
|
* mixer/alsa: use AllocatedArray for the pollfd bufferMax Kellermann2013-08-071-3/+5
|
* encoder/lame: use ReusableBuffer instead of AllocatedArrayMax Kellermann2013-08-073-213/+13
|
* PcmBuffer: move code to new class ReusableBufferMax Kellermann2013-08-077-44/+99
| | | | ReusableBuffer is more generic.
* Makefile: fix "distcheck" errorsMax Kellermann2013-08-071-6/+6
|
* add missing includesMax Kellermann2013-08-075-0/+8
|
* filter/Route: don't access PcmBuffer attributes directlyMax Kellermann2013-08-071-5/+5
| | | | | Return the pointer given by PcmBuffer::Get() instead of reaching into the PcmBuffer object.
* CommandLine.cxx: look for config file in XDG_CONFIG_HOME tooAlexander Gehrke2013-08-074-8/+15
| | | | | Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks for the file under Windows.