- 04 Jan, 2019 6 commits
-
-
Max Kellermann authored
-
-
-
Max Kellermann authored
-
Zoltán Mizsei authored
fails on it. This fixes.
-
Zoltán Mizsei authored
-
- 28 Dec, 2018 12 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
libwrap is an obscure artefact from a past long ago, when source IP address meant something. And its API is "interesting"; it requires the application to expose two global variables `allow_severity` and `deny_severity`. This led to bug #437. I don't want to declare those variables; instead, I'd like to remove libwrap support. Closes #437
-
Max Kellermann authored
Since commit cc64c715, UpdateService::Enqueue() throws ProtocolError(ACK_ERROR_UPDATE_ALREADY) instead of returning 0.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 18 Dec, 2018 1 commit
-
-
HyShai authored
This is similar to https://github.com/MusicPlayerDaemon/MPD/commit/b177bffa6a5f1b69639b6cd759dcb16fdd76e5e2, in that it fixes the Windows issue of connecting to the open socket. Also, the listen_socket is set to AcceptNonBlock after the connection anyways.
-
- 14 Dec, 2018 2 commits
-
-
Max Kellermann authored
-
HyShai authored
-
- 09 Dec, 2018 2 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 04 Dec, 2018 1 commit
-
-
Max Kellermann authored
This function is sparsely documented and a look at the bluez-alsa source code shows that implementations make undocumented assumptions on the `struct pollfd` array parameter which can lead to strange effects.
-
- 20 Nov, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Nov, 2018 11 commits
-
-
Max Kellermann authored
This function implements the "group" feature on top of the Database::Visit() method.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
Max Kellermann authored
This compile-time check got lost during the Meson transition.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This version should have been incremented in 0.21.2 because this version added new search operators. In 0.21.4, we'll have more protocol bug fixes which may be important for clients to know.
-
Max Kellermann authored
-
- 16 Nov, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Works around a problem where MPD goes into a busy loop because snd_pcm_drain() always returns `-EAGAIN` without making any progress (fixes #425). This problem was triggered by snd_pcm_drain() after snd_pcm_cancel() and snd_pcm_prepare(), but without submitting any data with snd_pcm_writei(). I believe this is a kernel bug: in non-blocking mode, the kernel's snd_pcm_drain() function returns early. In this mode, it only checks whether snd_pcm_drain_done() has been called already, but snd_pcm_drain_done() is never called if no data was submitted. In blocking mode, the following `for` loop detects this condition, so snd_pcm_drain_done() is not necessary, but without this extra check, we get `-EAGAIN` forever.
-
- 15 Nov, 2018 2 commits
-
-
Volodymyr Medvid authored
test/run_storage.cxx depends on EventThread/EventLoop from libevent.a. Depend on it explicitly. This addresses build failure with -Dtest=true -Dcurl=disabled -Ddbus=disabled
-
Max Kellermann authored
-