aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-29output/{alsa,oss}: convert to C++Max Kellermann7-117/+137
2013-01-28InputStream: use std::stringMax Kellermann7-33/+25
2013-01-28InputStream: store references instead of pointersMax Kellermann8-97/+67
2013-01-28InputStream: add constructor/destructorMax Kellermann14-91/+40
Eliminate input_stream_init() and input_stream_deinit().
2013-01-28input/despotify: add constructor/destructorMax Kellermann1-26/+33
2013-01-28input/despotify: rename classMax Kellermann1-10/+9
2013-01-28input/iso9660: add constructor/destructorMax Kellermann1-58/+61
2013-01-28input/iso9660: rename the classesMax Kellermann1-18/+18
2013-01-28input/zzip: add constructor/destructorMax Kellermann1-22/+31
2013-01-28input/zzip: rename the classesMax Kellermann1-15/+14
2013-01-28input/bzip2: add constructor/destructorMax Kellermann1-37/+39
2013-01-28archive/bzip2: rename the classesMax Kellermann1-16/+16
2013-01-28DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaroundMax Kellermann2-10/+0
2013-01-28input/Soup: move code into the classMax Kellermann1-92/+109
2013-01-28input/soup: rename the classMax Kellermann1-15/+15
2013-01-28input/ffmpeg: add constructor/destructorMax Kellermann1-23/+26
2013-01-28input/ffmpeg: rename the classMax Kellermann1-7/+7
2013-01-28decoder/ffmpeg: require ffmpeg/libav 0.7.6Max Kellermann4-113/+3
This is the version present in Ubuntu Oneiric, the oldest distribution with gcc 4.6. Debian Squeeze is off target, because it has gcc 4.4, which is unable to compile MPD anyway. This commit drops all API compatibility hacks for older versions.
2013-01-28decoder/mp4ff: delete obsolete pluginMax Kellermann2-452/+0
The underlying library has been obsolete for many years.
2013-01-28db/Proxy: explicitly request first element of arrayMax Kellermann1-2/+2
Works around gcc 4.6 bug.
2013-01-28audio_config: include cleanupMax Kellermann2-9/+2
2013-01-27output/httpd: move functions into the HttpdOutput classMax Kellermann3-171/+210
2013-01-27output/httpd: rename struct httpd_outputMax Kellermann4-33/+33
2013-01-27ZeroconfAvahi: pass GMainContext to avahi_glib_poll_new()Max Kellermann3-5/+9
2013-01-27ZeroconfBonjour: use SocketMonitor instead of GIOChannelMax Kellermann5-32/+40
2013-01-27zeroconf: convert to C++Max Kellermann8-38/+106
2013-01-27event/SocketMonitor: add method Steal()Max Kellermann2-3/+17
2013-01-27PlayerControl: work around std::nanf() not being available on MacPortsMax Kellermann1-0/+6
2013-01-27string_util: add fallback for strnlen()Max Kellermann2-0/+23
Usually, when strndup() is not available, strndup() isn't either, because both are POSIX 2008.
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov8-23/+69
required
2013-01-28Path: convert remaining funcs to methods, keep fs_charset as std::stringDenis Krjuchkov4-30/+28
2013-01-28Path: merge utf8_to_fs_charset() into Path::FromUTF8()Denis Krjuchkov2-13/+4
2013-01-28Path: convert fs_charset_to_utf8() to static method Path::ToUTF8()Denis Krjuchkov7-53/+59
2013-01-28Path: introduce MPD_PATH_MAX_UTF8Denis Krjuchkov1-0/+10
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann41-205/+168
2013-01-27playlist/*: convert to C++Max Kellermann23-240/+274
2013-01-26Path: define MPD_PATH_MAX to 260 on WindowsDenis Krjuchkov1-1/+3
2013-01-26Path: ToUTF() returns std::stringDenis Krjuchkov3-11/+20
2013-01-26input_stream: forward-declare the structMax Kellermann36-141/+266
Hide the definition from C code, to prepare the transition to C++.
2013-01-26tag_file: convert to C++Max Kellermann3-6/+10
2013-01-26playlist/*: convert to C++Max Kellermann15-56/+75
2013-01-26decoder/ffmpeg: convert to C++Max Kellermann5-25/+67
2013-01-26Mapper: improve usage of Path classDenis Krjuchkov6-46/+44
2013-01-25PlayerControl: add second Cond objectMax Kellermann3-2/+34
This fixes a deadlock bug introduced by 18076ac9. After all, the second Cond was necessary. The problem: two threads can wait for a signal at the same time. The player thread waits for the output thread to finish playback. The main thread waits for the player thread to complete a command. The output thread finishes playback, and sends a signal, which unfortunately does not wake up the player thread, but the main thread. The main thread sees that the command is still not finished, and waits again. The signal is lost forever, and MPD is deadlocked.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann18-43/+34
2013-01-24archive/*: convert to C++Max Kellermann19-142/+185
2013-01-23DecoderControl: fix typo in assertion checkMax Kellermann1-3/+3
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov21-22/+22
2013-01-22FileSystem: extract DirectoryReader, improve the restDenis Krjuchkov3-100/+125
- DirectoryReader is extracted to separate header - FileSystem.cxx/FileSystem.hxx/DirectoryReader.hxx moved to fs/ subdir - Functions return true on success, instead of 0 (where applicable) - ReadLink return result instead of out parameter - UnlinkFile is renamed to RemoveFile - CheckExists/CheckIsRegular/CheckIsDirectory are renamed to PathExists/FileExists/DirectoryExists
2013-01-21input/archive: fix memory leak in error handlerMax Kellermann1-1/+3