aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2013-08-04FfmpegDecoderPlugin: add application/flv to mime types listJustin Riley1-0/+1
2013-08-04ConfigData: remove obsolete functionsMax Kellermann2-79/+0
2013-08-04PlaylistPlugin: pass config_param referenceMax Kellermann4-13/+14
2013-08-04DatabasePlugin: pass config_param referenceMax Kellermann7-16/+16
2013-08-04InputPlugin: pass config_param referenceMax Kellermann4-16/+18
2013-08-04MixerPlugin: pass config_param referenceMax Kellermann10-26/+27
2013-08-04FilterPlugin: pass config_param referenceMax Kellermann13-32/+34
2013-08-04EncoderPlugin: pass config_param referenceMax Kellermann11-47/+45
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann23-153/+157
2013-08-04DecoderPlugin: pass config_param referenceMax Kellermann13-35/+34
2013-08-04ConfigData: move code to block_param, config_param methodsMax Kellermann2-42/+113
2013-08-03ConfigData: remove C++ checksMax Kellermann1-20/+0
2013-08-03audio_format: convert to C++Max Kellermann106-1187/+1173
2013-08-03gcc.h: add macro gcc_unreachable()Max Kellermann12-14/+18
2013-08-01decoder/mikmod: use MikMod_free() to free the title on libmikmod-3.2Christoph Mende1-0/+4
Player_LoadTitle() returns an aligned pointer in libmikmod-3.2 that cannot be freed with free(). The correct way to do this now is MikMod_free() which extracts the original pointer from the buffer and frees that. Signed-off-by: Christoph Mende <mende.christoph@gmail.com>
2013-08-01playlist_edit: fix "move" relative to current when there is no current songMax Kellermann1-1/+6
Fixes Mantis #3770.
2013-08-01commmand: fix URI argument in playlistaddtsufeki1-1/+1
2013-08-01PcmBuffer: reset size in Clear()Max Kellermann1-0/+1
Fix for Mantis #3806. "PcmBuffer::Clear clears the buffer but does not reset the size. If Get is called on the same PcmBuffer later on with a size that is the same as (or less than) it was before the call to Clear, the "else" branch is taken and the memory of buffer (at the address of nullptr) is poisoned instead of the necessary allocation being performed. A memset or memcpy on the returned pointer (nullptr) causes a segmentation fault."
2013-07-31Tag: check bulk mode in Clear()Max Kellermann1-1/+8
2013-07-31decoder/ffmpeg: require ffmpeg/libav 0.8Max Kellermann1-89/+0
Now that even Debian stable has picked up version 0.8, we can safely make this a requirement, and remove a lot of old cruft.
2013-07-31output/winmm: adapt to PcmBuffer API changesMax Kellermann1-5/+4
2013-07-31decoder/mpcdec: remove support for the "old" APIMax Kellermann1-111/+34
This old version has been obsolete for many years - time to remove it.
2013-07-31Tag: add method Clear()Max Kellermann7-20/+31
Allow reusing Tag instances.
2013-07-31DecoderAPI: pass rvalue reference to decoder_tag()Max Kellermann6-11/+10
Avoid duplicating the tag.
2013-07-30tag: convert to C++Max Kellermann96-689/+690
2013-07-30tag: move enum tag_type to TagType.hMax Kellermann14-45/+72
2013-07-30encoder_api: convert to C++Max Kellermann23-214/+179
2013-07-30encoder/lame,twolame: convert to C++Max Kellermann5-107/+156