aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2013-08-07event/Event{Pipe,FD}: auto-create in constructorMax Kellermann4-59/+23
Errors are fatal now. This makes the class a lot easier to use.
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann41-37/+37
2013-08-07FatalError: new library to replace mpd_error.hMax Kellermann14-76/+220
2013-08-07daemon: convert to C++Max Kellermann3-19/+17
2013-08-06configure.ac: add option --enable-eventfdMax Kellermann7-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.
2013-08-06util/Manual: add missing include <utility>Max Kellermann1-0/+1
2013-08-06playlist/pls: use std::string instead of GStringMax Kellermann1-9/+8
2013-08-06encoder/lame: dynamic output bufferMax Kellermann2-4/+207
2013-08-06encoder/lame: use delete instead of g_free()Max Kellermann1-1/+1
2013-08-06encoder/lame: use lame_encode_buffer_interleaved()Max Kellermann1-14/+5
Don't deinterleave manually, don't allocate memory.
2013-08-06encoder/lame: use offset variable instead of memmove()Max Kellermann2-17/+36
2013-08-06encoder/lame: rename "buffer" to "output_buffer"Max Kellermann2-31/+33
2013-08-05playlist/EmbbeddedCue: convert to classMax Kellermann1-27/+41
2013-08-05playlist/lastfm: convert to classMax Kellermann1-11/+15
2013-08-05playlist/lastfm: allocate the lastfm_playlist object at the endMax Kellermann1-15/+14
Simplify the error path, because the other allocations may fail.
2013-08-05playlist/m3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann1-8/+9
2013-08-05playlist/extm3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann1-10/+11
2013-08-05decoder/ffmpeg: convert struct mpd_ffmpeg_stream to a classMax Kellermann1-47/+28
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann79-240/+260
2013-08-04DatabasePrint: print Last-Modified attribute for directoriesAndrzej Rybczak1-2/+15
2013-08-04Commands: new command "toggleoutput"Max Kellermann5-0/+54