- 29 Apr, 2020 1 commit
-
-
Max Kellermann authored
-
- 23 Apr, 2020 11 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
libnfs is compiled with `-D_FILE_OFFSET_BITS=64`, but Meson decides not to enable this mode. We could force this mode, but then again, these days, nobody should be using 32-bit Windows ... so this is a kludge only for debugging with 32-bit WINE.
-
Max Kellermann authored
Fixes Path::IsNull() checks on Windows.
-
Max Kellermann authored
-
Max Kellermann authored
This fixes a freeze bug in the NFS input/storage plugins: when libnfs auto-reconnets after a failure, it installs the new socket on the same file descriptor number. MPD's attempt to unregister the old socket by calling SocketMonitor::Steal() from NfsConnection::ScheduleSocket() fails because the new/old socket number is not registered in epoll, so epoll_ctl() returns ENOENT. The problem is that it left `scheduled_flags`, and so subsequent Schedule() calls will use `EPOLL_CTL_MOD`, which will fail again and again. Instead, we need to use `EPOLL_CTL_ADD` to register the new socket. Closes https://github.com/MusicPlayerDaemon/MPD/issues/806 Closes https://github.com/MusicPlayerDaemon/MPD/issues/756
-
Max Kellermann authored
This flag is output-only.
-
Max Kellermann authored
These flags are output-only.
-
Max Kellermann authored
These flags are output-only. Using them here is misleading.
-
Max Kellermann authored
-
Max Kellermann authored
The object's state is `IDLE` when OnNfsCallback() gets invoked, so let's use the start of the method to reset the `state` field.
-
Max Kellermann authored
Fixes assertion failure if the callback fails.
-
- 22 Apr, 2020 7 commits
-
-
geneticdrift authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/832
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/833
-
Max Kellermann authored
Using CompareStringEx() and FindNLSStringEx(). Implements a missing piece for https://github.com/MusicPlayerDaemon/MPD/issues/820
-
Max Kellermann authored
-
Max Kellermann authored
LINGUISTIC_IGNORECASE is unimplemented on Wine, but since we don't have any locale support (yet), and we're using LOCALE_NAME_INVARIANT, NORM_IGNORECASE should essentially be the same, so why bother.
-
Max Kellermann authored
Reverts commit fb3564fb LCMapStringEx() doesn't do what I imagined it would do 5 years ago. D'oh! Closes https://github.com/MusicPlayerDaemon/MPD/issues/820
-
Rosen Penev authored
Switching == to >= should be safe here since the next if is the opposite. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
- 15 Apr, 2020 3 commits
-
-
Thomas Guillem authored
Unescape the base path and the path coming from the server (href) to fix the comparison when the server uses different escaped characters. The outputted name need to be unescaped. Doing that before or after the HrefToEscapedName() call should not change the current behavior.
-
Thomas Guillem authored
If the file name is "Hello & bye", 3 CharacterData events will be sent with the State::HREF state: - "Hello%20" - "&" - "%20bye" Reproduced with files hosted on an apache2 DAV server: 2.4.38-3+deb10u3.
-
Florian Heese authored
-
- 14 Apr, 2020 3 commits
-
-
Max Kellermann authored
Without this, the Pause() call would drop the ring buffers and would skip a considerable portion of the end of the song. Closes https://github.com/MusicPlayerDaemon/MPD/issues/824
-
git://github.com/neheb/MPDMax Kellermann authored
-
Max Kellermann authored
-
- 09 Apr, 2020 1 commit
-
-
Rosen Penev authored
The _GLIBCXX_USE_C99_MATH macro is defined in glibcxx by c++config.h, which gets included by every header. Which means a header needs to be present. (cherry picked from commit 79e9aff3)
-
- 02 Apr, 2020 11 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Reduce I/O overhead.
-
Max Kellermann authored
Reduce I/O overhead.
-
Max Kellermann authored
-
Max Kellermann authored
The event library uses various libnet.a classes, e.g. SocketDescriptor.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Move code from ParseCommandLine().
-
Max Kellermann authored
-
Max Kellermann authored
This method gets called a lot during MPD startup, via FindChild() and directory_load_subdir(), so this is worth optimizing at the expense of code readability. This speeds up MPD startup by 10%.
-
Max Kellermann authored
This consumes more memory (plus 48 kB on 32 bit systems), but reduces the number of hash collisions, speeding up MPD startup with large databases.
-
- 01 Apr, 2020 3 commits
-
-
Max Kellermann authored
This reverts commit eb192137. This is no longer necessary because we require FFmpeg 3.1 or newer since MPD 0.21.2. This fixes a deprecation warning because the implicit AVPacket copy constructor copies the deprecated attribute `convergence_duration`.
-
Max Kellermann authored
-
Max Kellermann authored
Enable lots of plugins for better CI coverage.
-