- 19 Mar, 2020 1 commit
-
-
Max Kellermann authored
Documentation says the limit is 5, but it was really 10 (at least since 2004). But since MPD wants to promote using many small clients idling around, and these clients consume only very few resources, it seems reasonable to raise this limit's default value.
-
- 12 Mar, 2020 5 commits
-
-
Max Kellermann authored
Similar to c45f1138
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/781
-
Max Kellermann authored
-
- 11 Mar, 2020 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Similar to commits e8f2f980 and ff1ff1e5 Closes https://github.com/MusicPlayerDaemon/MPD/issues/783
-
- 07 Mar, 2020 3 commits
-
-
Max Kellermann authored
Aparently, libcdio sometimes returns empty filenames, causing MPD crashes. This shouldn't really happen, and I consider this a libcdio bug - but if it happens, people blame MPD, so let's add a check. Closes https://github.com/MusicPlayerDaemon/MPD/issues/776
-
Max Kellermann authored
-
Max Kellermann authored
Merge some duplicate code in a central library.
-
- 29 Feb, 2020 2 commits
-
-
Thomas Klausner authored
-
Thomas Klausner authored
Fixes ../src/time/ISO8601.cxx:67:24: error: use of undeclared identifier 'strtoul' unsigned long value = strtoul(s, &endptr, 10); ^ ../src/time/ISO8601.cxx:77:14: error: use of undeclared identifier 'strtoul' minutes = strtoul(s, &endptr, 10); ^ on NetBSD with clang 9.0.0.
-
- 25 Feb, 2020 1 commit
-
-
John Regan authored
Using libgme 0.6.2 on macOS, it appears that gme_info_t strings can be empty, which creates weird track titles: (001/050) This adds an additional check for an empty string.
-
- 10 Feb, 2020 1 commit
-
-
Max Kellermann authored
"The issue is that ParseCommandArgSignedSongTime parses with SongTime::FromS, not SignedSongTime::FromS, before casting back to a SignedSongTime for the return. With x86 overflow rules this doesn't matter, but on ARM the first cast turns negative values to zero." Closes https://github.com/MusicPlayerDaemon/MPD/issues/757
-
- 04 Feb, 2020 2 commits
-
-
Max Kellermann authored
-
Rosen Penev authored
Found with bugprone-suspicious-missing-comma Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 2 commits
-
-
Max Kellermann authored
-
Rosen Penev authored
-
- 31 Jan, 2020 1 commit
-
-
Rosen Penev authored
max_frames is size_t, not unsigned long. Fixes GCC warning.
-
- 25 Jan, 2020 2 commits
-
-
Max Kellermann authored
When calling OggSeekFindEOS() from inside a OggVisitor callback, then the #InputStream may be in the middle of an Ogg packet, and the newly initialized #ogg_sync_state will not be able to load it without the help of ogg_sync_pageseek(). By passing "synced=false" to OggSeekFindEOS(), we force the use of ogg_sync_pageseek() even when not actually seeking. Closes https://github.com/MusicPlayerDaemon/MPD/issues/719
-
Max Kellermann authored
-
- 17 Jan, 2020 1 commit
-
-
Max Kellermann authored
Remove the error message and instead erase the old setting if the "repeatable" flag is not set. https://github.com/MusicPlayerDaemon/MPD/issues/684
-
- 12 Jan, 2020 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/708
-
- 31 Dec, 2019 1 commit
-
-
Jacob Vosmaer authored
It appears that [[fallthrough]] is valid in C++ but not in C. And in some Clang versions (e.g. Clang 11 on macOS), Clang is pedantic about this and considers it an error to use [[fallthrough]] in a .c file such as src/util/format.c. This changes makes gcc_fallthrough a no-op under Clang in C files.
-
- 24 Dec, 2019 6 commits
-
-
Max Kellermann authored
Caused by 2bc127bb
-
Max Kellermann authored
This reverts commit 4475b8ca. Further testing revealed that the threaded resolver still uses a timeout of 0ms. This revert however lowers the bound to a minimum of 1ms instead of 10ms.
-
Max Kellermann authored
Like fe598e7d
-
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.
-
- 23 Dec, 2019 6 commits
-
-
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
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 1 commit
-
-
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
-