summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-24python/libs: upgrade Boost to 1.64Max Kellermann
2017-04-24python/build/libs: upgrade CURL to 7.54.0Max Kellermann
2017-04-24python/build/libs: upgrade FFmpeg to 3.3Max Kellermann
2017-04-24decoder/pcm: add missing nullptr checkMax Kellermann
Fixes a potential crash bug which is actually unreachable, because the "pcm" plugin is never invoked when there is no (matching) MIME type.
2017-04-24decoder/pcm: fix potential assertion failure in FillBuffer()Max Kellermann
After a seek failure, the buffer may still be full, and then FillBuffer() aborts with assertion failure.
2017-04-18Remove some redundant codeBart Nagel
2017-04-12util/ScopeExit: copy enabled tag in move constructorMax Kellermann
2017-04-11Update libs.pymartinarielhartmann
upgrade zlib to 1.2.11
2017-04-11Fix typocotko
2017-04-06storage/FileInfo, db/simple/Directory: use 64 bit for device/inodeMax Kellermann
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.
2017-03-16configure.ac: prepare for 0.20.7Max Kellermann
2017-03-10release v0.20.6v0.20.6Max Kellermann
2017-03-10lib/curl/Request: "ICY 200 OK" is a response boundary headerMax Kellermann
2017-03-10lib/curl/Request: move code to IsResponseBoundaryHeader()Max Kellermann
2017-03-10Partition: handle SYNC_WITH_PLAYER before TAG_MODIFIEDMax Kellermann
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.
2017-03-10decoder/sidplay: make compatible with libsidplayfp < 1.8Max Kellermann
https://bugs.musicpd.org/view.php?id=4665
2017-03-07Add missing include for cstdlib, otherwise free() is undefinedThomas Zander
2017-03-01util/HugeAllocator: paranoid check for sysconf()<0Max Kellermann
Just in case.
2017-03-01ReusableArray: fix build error on GCC7Ben Boeckel
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>
2017-03-01android/build.py: build with libc++ instead of GNU libstdc++Max Kellermann
Android is migrating away from GCC, and libstdc++ will disappear eventually.
2017-03-01db/simple/Mount: workaround for libc++Max Kellermann
2017-03-01decoder/Thread: check ENABLE_FFMPEG, not HAVE_FFMPEGMax Kellermann
This repairs the damage to commit 74dbaade6fa done by commit b3f5b4932c3
2017-03-01input/curl: use %lu instead of %lluMax Kellermann
Fixes a GCC warning because %llu appears to be unsupported by the Windows standard library.
2017-03-01input/curl: format Range offset as unsignedMax Kellermann
2017-03-01command/Error: improve libstdc++ 4.9.x detection for ↵Max Kellermann
std::rethrow_if_nested() workaround
2017-03-01decoder/mpcdec: ignore empty framesMax Kellermann
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.
2017-03-01configure.ac: prepare for 0.20.6Max Kellermann
2017-02-20release v0.20.5v0.20.5Max Kellermann
2017-02-20util/TimeFormat: suppress -Wunused on WindowsMax Kellermann
2017-02-20python/build/libs: upgrade FFmpeg to 3.2.4Max Kellermann
2017-02-20doc/user: instructions to compile the Windows binaryMax Kellermann
2017-02-20win32/build.py: default to x64 buildMax Kellermann
2017-02-20win32/build.py: add option --32Max Kellermann
2017-02-20win32/build.py: convert argument parser to loopMax Kellermann
Allow multiple arguments.
2017-02-20win32/build.py: add variable "x64", assign host_arch laterMax Kellermann
2017-02-19tag/Handler: improve snprintf() return value checkMax Kellermann
2017-02-19output/httpd/IcyMetaDataServer: cast length to unsignedMax Kellermann
Fixes another buffer overflow: if the stream has a very long title or URL, resulting in a metadata string of more than 2 kB, icy_string[0] is a negative value, which gets casted to size_t - ouch! https://bugs.musicpd.org/view.php?id=4652
2017-02-19output/httpd/IcyMetaDataServer: pad the string with 15 spacesMax Kellermann
Fixes a buffer overflow due to the bad formula rounding the buffer size up. At the same time, remove the "+1" from the meta_length calculation, which takes the padding into account and at the same time implements proper rounding.
2017-02-19output/httpd/IcyMetaDataServer: remove the int castMax Kellermann
Why did this cast exist??
2017-02-18doc/include/tags.xml: clarify that track/disc are decimalMax Kellermann
2017-02-10{input,mixer}/alsa: cancel the DeferredMonitor in the destructorMax Kellermann
Yet another potential crash bug fix.
2017-02-09event/Loop: make IsInsideOrNull() available in the NDEBUG buildMax Kellermann
Fixes build breakage by commit 4e5271fcdf7; and this method does make sense in non-debug builds.
2017-02-09mixer/alsa: reset the MultiSocketMonitor in the destructorMax Kellermann
Fixes potential crash bug.
2017-02-09event/MultiSocketMonitor: add method Reset()Max Kellermann
2017-02-09event/MultiSocketMonitor: use C++11 initializerMax Kellermann
2017-02-09event/MultiSocketMonitor: more API documentationMax Kellermann
Now ClearSocketList() may only be called from PrepareSockets(). Calling it before destroying the object doesn't work properly, because it doesn't unregister the TimeoutMonitor and the IdleMonitor. Some of its callers need to be fixed.
2017-02-09event/Call: allow usage during shutdownMax Kellermann
Change EventLoop::IsInside() call to EventLoop::IsInsideOrNull(). This means that BlockingCall() may be used during shutdown, after the main EventLoop::Run() has finished. This is important because mixers are currently registered in the main EventLoop.
2017-02-09configure.ac: don't require libsidutils when building with libsidplayfpMax Kellermann
The libsidplayfp fork has merged libsidutils into the main library. The libsidutils we used to link with was part of the original libsidplay project.
2017-02-09{input,mixer}/alsa: fix off-by-one bug in count checkMax Kellermann
Doesn't make a practical difference - but it's more correct this way.
2017-02-08NEWS: mention ID3 memory leak fixMax Kellermann