- 02 Apr, 2020 1 commit
-
-
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%.
-
- 26 Mar, 2020 1 commit
-
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 16 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 16 Jun, 2019 1 commit
-
-
Max Kellermann authored
Instead of passing tag and group, pass an array of tags. To support a nested return value, return a nested std::map of std::maps. Each key specifies the tag value, and each value may be another nesting level. Closes https://github.com/MusicPlayerDaemon/MPD/issues/408
-
- 04 Apr, 2019 1 commit
-
-
Max Kellermann authored
Expect OnSocketReady() to cancel events. If it returns false, the SocketMonitor may be destructed already. This fixes a use-after-free bug in the "httpd" output plugin.
-
- 22 Feb, 2019 2 commits
-
-
Max Kellermann authored
Fixes a memory leak, or an assertion failure in the debug build.
-
Max Kellermann authored
-
- 20 Feb, 2019 4 commits
-
-
Max Kellermann authored
Fixes assertion failure.
-
Max Kellermann authored
`light_song.Get()` could cause an assertion failure because the `Manual<>` object must not be used if uninitialized. Regression by commit ebc006ab
-
Max Kellermann authored
-
Max Kellermann authored
-
- 19 Nov, 2018 2 commits
-
-
Max Kellermann authored
This function implements the "group" feature on top of the Database::Visit() method.
-
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.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 22 Oct, 2018 1 commit
-
-
Max Kellermann authored
Grouping in the "list" command was completely broken from the start, unlike "count group". I have no idea what I have been thinking when I wrote commit ae178c77, but it didn't make any sense. This commit is a rewrite of the feature. For clients to be able to detect this feature, this commit also increments the protocol version.
-
- 14 Oct, 2018 1 commit
-
-
Max Kellermann authored
So long, autotools! This is my last MPD related project to migrate away from it. It has its strengths, but also very obvious weaknesses and weirdnesses. Today, many of its quirks are not needed anymore, and are cumbersome and slow. Now welcome our new Meson overlords!
-
- 02 Sep, 2018 9 commits
-
-
Max Kellermann authored
This adds support for the full set of MPD 0.21 filter types.
-
Max Kellermann authored
-
Max Kellermann authored
That way, each plugin can decide to implement it better.
-
Max Kellermann authored
This passes the new `sort` and `window` attributes to the mounted database.
-
Max Kellermann authored
-
Max Kellermann authored
No undefined behavior.
-
Max Kellermann authored
-
Max Kellermann authored
Requires libmpdclient 2.15.
-
Max Kellermann authored
-
- 20 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 09 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 25 Jul, 2018 1 commit
-
-
Max Kellermann authored
Prepare to allow more complex expressions.
-
- 17 Jul, 2018 1 commit
-
-
Max Kellermann authored
Modeled after std::filesystem::operator/() from C++17.
-
- 06 Jul, 2018 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This enforces the "not nullptr" rule.
-
Max Kellermann authored
Prepare to make LightSong non-assignable.
-
- 28 May, 2018 1 commit
-
-
Max Kellermann authored
Closes #284
-