aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-101-5/+6
|
* system/EPollFD: fix typo in Add()Max Kellermann2013-08-101-1/+1
|
* thread/Id: new class replacing GThread pointersMax Kellermann2013-08-105-15/+116
| | | | Remove a GLib dependencies from class EventLoop and DatabaseLock.
* event: add function BlockingCall()Max Kellermann2013-08-085-108/+129
| | | | | 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-082-22/+61
| | | | 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-072-0/+112
|
* event/DeferredMonitor: rename Run() to RunDeferred()Max Kellermann2013-08-073-6/+6
|
* event/DeferredMonitor: use EventLoop::AddIdle()Max Kellermann2013-08-075-7/+16
|
* event/DeferredMonitor: new class wrapping g_idle_add()Max Kellermann2013-08-073-12/+127
|
* mixer/alsa: use AllocatedArray for the pollfd bufferMax Kellermann2013-08-071-3/+5
|
* encoder/lame: use ReusableBuffer instead of AllocatedArrayMax Kellermann2013-08-072-212/+13
|
* PcmBuffer: move code to new class ReusableBufferMax Kellermann2013-08-076-44/+98
| | | | ReusableBuffer is more generic.
* 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-071-1/+7
| | | | | Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks for the file under Windows.
* FfmpegDecoderPlugin: Allocate the interleaved buffer as needed instead of ↵Alexis Ballier2013-08-071-17/+29
| | | | | | | | using an arbitrary big constant. Also, save a memcpy when FFmpeg outputs interleaved audio. Fixes build with FFmpeg 2.0.
* event/EventFD: move to libsystemMax Kellermann2013-08-075-2/+2
|
* event/SignalMonitor: use signalfd() if availableMax Kellermann2013-08-073-1/+192
|
* SignalHandlers: move code to new class SignalMonitorMax Kellermann2013-08-076-18/+233
|
* event/Event{Pipe,FD}: auto-create in constructorMax Kellermann2013-08-074-59/+23
| | | | Errors are fatal now. This makes the class a lot easier to use.
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-0741-37/+37
|
* FatalError: new library to replace mpd_error.hMax Kellermann2013-08-0714-76/+220
|
* daemon: convert to C++Max Kellermann2013-08-073-19/+17
|
* configure.ac: add option --enable-eventfdMax Kellermann2013-08-067-105/+230
| | | | | | Remove the runtime check for eventfd(), hard-code the feature once it's been selected at compile time. The class WakeFD is splitted into EventFD and EventPipe, using WakeFD as a macro diversion.
* util/Manual: add missing include <utility>Max Kellermann2013-08-061-0/+1
|
* playlist/pls: use std::string instead of GStringMax Kellermann2013-08-061-9/+8
|
* encoder/lame: dynamic output bufferMax Kellermann2013-08-062-4/+207
|
* encoder/lame: use delete instead of g_free()Max Kellermann2013-08-061-1/+1
|
* encoder/lame: use lame_encode_buffer_interleaved()Max Kellermann2013-08-061-14/+5
| | | | Don't deinterleave manually, don't allocate memory.
* encoder/lame: use offset variable instead of memmove()Max Kellermann2013-08-062-17/+36
|
* encoder/lame: rename "buffer" to "output_buffer"Max Kellermann2013-08-062-31/+33
|
* playlist/EmbbeddedCue: convert to classMax Kellermann2013-08-051-27/+41
|
* playlist/lastfm: convert to classMax Kellermann2013-08-051-11/+15
|
* playlist/lastfm: allocate the lastfm_playlist object at the endMax Kellermann2013-08-051-15/+14
| | | | Simplify the error path, because the other allocations may fail.
* playlist/m3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann2013-08-051-8/+9
|
* playlist/extm3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann2013-08-051-10/+11
|