Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | InputStream: store references instead of pointers | Max Kellermann | 2013-01-28 | 8 | -97/+67 |
| | |||||
* | InputStream: add constructor/destructor | Max Kellermann | 2013-01-28 | 14 | -91/+40 |
| | | | | Eliminate input_stream_init() and input_stream_deinit(). | ||||
* | input/despotify: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -26/+33 |
| | |||||
* | input/despotify: rename class | Max Kellermann | 2013-01-28 | 1 | -10/+9 |
| | |||||
* | input/iso9660: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -58/+61 |
| | |||||
* | input/iso9660: rename the classes | Max Kellermann | 2013-01-28 | 1 | -18/+18 |
| | |||||
* | input/zzip: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -22/+31 |
| | |||||
* | input/zzip: rename the classes | Max Kellermann | 2013-01-28 | 1 | -15/+14 |
| | |||||
* | input/bzip2: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -37/+39 |
| | |||||
* | archive/bzip2: rename the classes | Max Kellermann | 2013-01-28 | 1 | -16/+16 |
| | |||||
* | DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaround | Max Kellermann | 2013-01-28 | 2 | -10/+0 |
| | |||||
* | input/Soup: move code into the class | Max Kellermann | 2013-01-28 | 1 | -92/+109 |
| | |||||
* | input/soup: rename the class | Max Kellermann | 2013-01-28 | 1 | -15/+15 |
| | |||||
* | input/ffmpeg: add constructor/destructor | Max Kellermann | 2013-01-28 | 1 | -23/+26 |
| | |||||
* | input/ffmpeg: rename the class | Max Kellermann | 2013-01-28 | 1 | -7/+7 |
| | |||||
* | decoder/ffmpeg: require ffmpeg/libav 0.7.6 | Max Kellermann | 2013-01-28 | 5 | -114/+4 |
| | | | | | | | | 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. | ||||
* | decoder/mp4ff: delete obsolete plugin | Max Kellermann | 2013-01-28 | 7 | -495/+2 |
| | | | | The underlying library has been obsolete for many years. | ||||
* | db/Proxy: explicitly request first element of array | Max Kellermann | 2013-01-28 | 1 | -2/+2 |
| | | | | Works around gcc 4.6 bug. | ||||
* | audio_config: include cleanup | Max Kellermann | 2013-01-28 | 2 | -9/+2 |
| | |||||
* | output/httpd: move functions into the HttpdOutput class | Max Kellermann | 2013-01-27 | 3 | -171/+210 |
| | |||||
* | output/httpd: rename struct httpd_output | Max Kellermann | 2013-01-27 | 4 | -33/+33 |
| | |||||
* | ZeroconfAvahi: pass GMainContext to avahi_glib_poll_new() | Max Kellermann | 2013-01-27 | 3 | -5/+9 |
| | |||||
* | ZeroconfBonjour: use SocketMonitor instead of GIOChannel | Max Kellermann | 2013-01-27 | 5 | -32/+40 |
| | |||||
* | zeroconf: convert to C++ | Max Kellermann | 2013-01-27 | 9 | -42/+111 |
| | |||||
* | event/SocketMonitor: add method Steal() | Max Kellermann | 2013-01-27 | 2 | -3/+17 |
| | |||||
* | Makefile.cxx: fix test/run_input.cxx path | Max Kellermann | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | PlayerControl: work around std::nanf() not being available on MacPorts | Max Kellermann | 2013-01-27 | 1 | -0/+6 |
| | |||||
* | string_util: add fallback for strnlen() | Max Kellermann | 2013-01-27 | 3 | -1/+24 |
| | | | | | Usually, when strndup() is not available, strndup() isn't either, because both are POSIX 2008. | ||||
* | configure.ac: disable libwrap if not compatible with C++ | Max Kellermann | 2013-01-27 | 1 | -0/+21 |
| | | | | | The libwrap version on Mac OS X is broken, it will not work with C++ due to broken function prototypes. | ||||
* | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 2013-01-28 | 8 | -23/+69 |
| | | | | required | ||||
* | Path: convert remaining funcs to methods, keep fs_charset as std::string | Denis Krjuchkov | 2013-01-28 | 4 | -30/+28 |
| | |||||
* | Path: merge utf8_to_fs_charset() into Path::FromUTF8() | Denis Krjuchkov | 2013-01-28 | 2 | -13/+4 |
| | |||||
* | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 2013-01-28 | 7 | -53/+59 |
| | |||||
* | Path: introduce MPD_PATH_MAX_UTF8 | Denis Krjuchkov | 2013-01-28 | 1 | -0/+10 |
| | |||||
* | DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond | Max Kellermann | 2013-01-27 | 46 | -234/+182 |
| | |||||
* | playlist/*: convert to C++ | Max Kellermann | 2013-01-27 | 25 | -256/+290 |
| | |||||
* | Path: define MPD_PATH_MAX to 260 on Windows | Denis Krjuchkov | 2013-01-26 | 1 | -1/+3 |
| | |||||
* | Path: ToUTF() returns std::string | Denis Krjuchkov | 2013-01-26 | 3 | -11/+20 |
| | |||||
* | input_stream: forward-declare the struct | Max Kellermann | 2013-01-26 | 40 | -144/+270 |
| | | | | Hide the definition from C code, to prepare the transition to C++. | ||||
* | tag_file: convert to C++ | Max Kellermann | 2013-01-26 | 4 | -8/+12 |
| | |||||
* | playlist/*: convert to C++ | Max Kellermann | 2013-01-26 | 17 | -66/+85 |
| | |||||
* | decoder/ffmpeg: convert to C++ | Max Kellermann | 2013-01-26 | 6 | -28/+71 |
| | |||||
* | Mapper: improve usage of Path class | Denis Krjuchkov | 2013-01-26 | 6 | -46/+44 |
| | |||||
* | PlayerControl: add second Cond object | Max Kellermann | 2013-01-25 | 3 | -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. | ||||
* | input_{internal,plugin}: convert to C++ | Max Kellermann | 2013-01-25 | 19 | -45/+36 |
| | |||||
* | archive/*: convert to C++ | Max Kellermann | 2013-01-24 | 22 | -162/+202 |
| | |||||
* | DecoderControl: fix typo in assertion check | Max Kellermann | 2013-01-23 | 1 | -3/+3 |
| | |||||
* | Makefile.am: introduce libfs | Denis Krjuchkov | 2013-01-22 | 1 | -4/+10 |
| | |||||
* | Path: move to fs subdirectory | Denis Krjuchkov | 2013-01-22 | 22 | -24/+24 |
| | |||||
* | FileSystem: extract DirectoryReader, improve the rest | Denis Krjuchkov | 2013-01-22 | 4 | -101/+127 |
| | | | | | | | | | | - 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 |