- 15 May, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Closes #43
-
- 08 May, 2017 2 commits
-
-
Max Kellermann authored
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41.
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 24 Apr, 2017 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes a potential crash bug which is actually unreachable, because the "pcm" plugin is never invoked when there is no (matching) MIME type.
-
Max Kellermann authored
After a seek failure, the buffer may still be full, and then FillBuffer() aborts with assertion failure.
-
- 18 Apr, 2017 1 commit
-
-
Bart Nagel authored
-
- 12 Apr, 2017 1 commit
-
-
Max Kellermann authored
-
- 11 Apr, 2017 2 commits
-
-
martinarielhartmann authored
upgrade zlib to 1.2.11
-
cotko authored
-
- 06 Apr, 2017 1 commit
-
-
Max Kellermann authored
An ino_t is usually a 64 bit integer, and some file systems (such as Linux's kernel NFS client) really uses the upper 32 bit. This can lead to false positives in the directory loop detection in FindAncestorLoop(). Increasing these two attributes (in StorageFileInfo and Directory) to 64 bit adds little overhead, but makes the check a lot safer.
-
- 16 Mar, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Mar, 2017 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The TAG_MODIFIED handler (i.e. playlist::TagModified()) works only if the modified song is the current song - something that is not updated until SYNC_WITH_PLAYER is finished. This fixes tag updates right after a new song is started.
-
-
- 07 Mar, 2017 1 commit
-
-
Thomas Zander authored
-
- 01 Mar, 2017 10 commits
-
-
Max Kellermann authored
Just in case.
-
Ben Boeckel authored
GCC7 outputs the following error without this change: src/util/ReusableArray.hxx:61:35: error: no matching function for call to ‘swap(size_t&, const size_t&)’ std::swap(capacity, src.capacity); which can be resolved by just using an rvalue-reference rather than a const rvalue-reference. Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
-
Max Kellermann authored
Android is migrating away from GCC, and libstdc++ will disappear eventually.
-
Max Kellermann authored
-
Max Kellermann authored
This repairs the damage to commit 74dbaade done by commit b3f5b493
-
Max Kellermann authored
Fixes a GCC warning because %llu appears to be unsupported by the Windows standard library.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
https://bugs.musicpd.org/view.php?id=4656 describes a crash due to division by zero because frame.samples==0. This should never happen, but apparently can happen after seeking. The best we can do is to just ignore this frame.
-
Max Kellermann authored
-
- 20 Feb, 2017 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Allow multiple arguments.
-
Max Kellermann authored
-
- 19 Feb, 2017 1 commit
-
-
Max Kellermann authored
-