- 06 Jul, 2018 3 commits
-
-
Max Kellermann authored
This way, IsFileNotFound() can detect status 404.
-
Max Kellermann authored
Allows callers to extract the NFS error code.
-
Max Kellermann authored
-
- 25 Apr, 2018 1 commit
-
-
Max Kellermann authored
av_register_all() was deprecated in FFmpeg/FFmpeg@0694d8702421e7aff1340038559c438b61bb30dd
-
- 24 Feb, 2018 3 commits
-
-
Max Kellermann authored
It indeed is a macro on Windows.
-
Max Kellermann authored
-
tpoeiras authored
-
- 09 Feb, 2018 2 commits
-
-
Max Kellermann authored
Not needed on Android, and the implementation uses getpwuid_r() which is unavailable on old Android versions.
-
Max Kellermann authored
-
- 31 Jan, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 19 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 12 Dec, 2017 1 commit
-
-
Max Kellermann authored
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
-
- 11 Dec, 2017 1 commit
-
-
Uwe Kleine-König authored
If libupnp is installed in a non-standard location we must rely on the include path provided by $(pkg-config --cflags libupnp). Relative to the path given from that command no prefix must be used to find the respective files.
-
- 02 Dec, 2017 1 commit
-
-
Max Kellermann authored
libupnp 1.6.24 added a few badly designed macros which break the MPD build: https://sourceforge.net/p/pupnp/code/ci/8177a4195a4d4a5d6cb095eaf4ca5b65ac446381/ To work around this, we disable our emulation functions (from 714011c8) on this libupnp version. Closes #163
-
- 16 Nov, 2017 3 commits
-
-
Max Kellermann authored
Closes #155
-
Max Kellermann authored
-
Max Kellermann authored
-
- 20 Sep, 2017 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Our IcuCaseFold() fallback using strxfrm() is not actually case insensitive. This commit fixes the problem by switching to strcasecmp(). That function is not guaranteed to support UTF-8, but it's the best we can do in this sparse situation. Closes #111
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Jun, 2017 1 commit
-
-
Max Kellermann authored
-
- 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.
-
- 10 Mar, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 06 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 01 Feb, 2017 2 commits
-
-
Max Kellermann authored
Fixes race condition when epoll_ctl() gets called after the socket has been closed, which may affect a different socket created by another thread meanwhile.
-
Max Kellermann authored
When rpc_reconnect_requeue() gets called from inside nfs_service(), the NfsInputStream can stall completely because the old socket has been unregistered from epoll automatically, but the new one has never been registered. Therefore, nfs_service() will never be called again. This kludge attempts to detect this condition by checking nfs_which_events()==POLLOUT. https://bugs.musicpd.org/view.php?id=4081
-
- 23 Jan, 2017 7 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
With "ok==false", newly created threads may quit instantly.
-
Max Kellermann authored
libupnp provides seconds, not whatever time unit is used by std::chrono::steady_clock.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-