- 24 Dec, 2019 4 commits
-
-
Max Kellermann authored
This prepares the migration away from strptime() for Windows portability. But the real reason I'm doing this is that strptime() on Apple is buggy: strptime("14", "%H%M%S") (without separating colons) succeeds even though only the hour has been parsed. This fixes recent Travis failures in the ParseISO8601() unit test.
-
Max Kellermann authored
-
Max Kellermann authored
Older clang versions don't support the GCC __attribute__ syntax. For those, don't use anything at all, and new clang versions shall use the standard syntax.
-
Max Kellermann authored
Expand $PATH at evaluation and not at assignment, which fixes the problem that /usr/lib/ccache was added to $PATH between the MATRIX_EVAL assignment and its evaluation.
-
- 23 Dec, 2019 10 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Works around build failures with ccache which may feed processed code to GCC, which doesn't have the "fall through" code comments.
-
Max Kellermann authored
curl_multi_remove_handle() calls our socket function, and there's no need to call curl_multi_socket_action().
-
Max Kellermann authored
This was a problem 9 years ago, and apparently, it has been fixed long ago.
-
Max Kellermann authored
For simplicity, this commit removes a workaround for an old CURL bug.
-
Max Kellermann authored
-
Max Kellermann authored
Can fail if somebody calls Break().
-
Max Kellermann authored
This can cause request completion in the I/O thread before this constructor returns, leaving the object in an abstract state, causing a crash due to pure virtual method call. We should not start the request until this object is fully constructed. Closes https://github.com/MusicPlayerDaemon/MPD/issues/665
-
- 22 Dec, 2019 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
The ALSA "null" driver opens /dev/null and returns the file handle from snd_pcm_poll_descriptors(), but /dev/null cannot be used with epoll, the epoll_ctl() system call returns -EPERM. This means that the ALSA output hangs, eventually freezing the whole MPD process. This commit adds a workaround to the MultiSocketMonitor class which is used by the ALSA output plugin. Closes https://github.com/MusicPlayerDaemon/MPD/issues/695
-
Max Kellermann authored
-
Max Kellermann authored
SetReady() does this already.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 20 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 18 Dec, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 16 Dec, 2019 16 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/685
-
Max Kellermann authored
Prepare for allowing ISO8601 time stamps without delimiters, such as 20191216, and prevent them from being interpreted as numeric UNIX time stamps.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
And allow "Z" suffix after date.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Prepare for adding more flexible parsing.
-
Max Kellermann authored
Move code from Parser.cxx.
-
Max Kellermann authored
-
Max Kellermann authored
This is recommended by the strptime() manpage, because strptime() does not initialize/set attributes which were not specified in the format string.
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/562
-
Max Kellermann authored
-