- 05 May, 2020 1 commit
-
-
Max Kellermann authored
The `db->close()` call was a `nullptr` dereference because the `db` variable had already been moved. Closes https://github.com/MusicPlayerDaemon/MPD/issues/839
-
- 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%.
-
- 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
-
- 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 1 commit
-
-
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.
-
- 02 Sep, 2018 3 commits
-
-
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
-
- 20 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 09 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 17 Jul, 2018 1 commit
-
-
Max Kellermann authored
Modeled after std::filesystem::operator/() from C++17.
-
- 06 Jul, 2018 6 commits
-
-
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.
-
- 21 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Jan, 2018 2 commits
-
-
Max Kellermann authored
Fixes search within mount points, resulting in error "No such directory". Closes #190
-
Max Kellermann authored
No longer a problem with NDK r16.
-
- 17 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 21 Dec, 2017 1 commit
-
-
Max Kellermann authored
If a directory is a mount point, omit the "directory: " as well. This bug is years old, but has become more visible now that mount points are persistent in the state file.
-
- 18 Dec, 2017 2 commits
-
-
FlashSystems authored
If `SimpleDatabase::Visit` is called on a database that contains a mounted directry the URIs of the elements passed to the callbacks are not prefixed by the mountpoint path. This leads to lsinfo and add not working because they use the wrong URI. This pull request is using the `WalkMount` helper function to create prefixed versions of `VisitDirectory`, `VisitSong` and `VisitPlaylist` to add the correct prefix to the parameters of the callback functions.
-
Max Kellermann authored
-
- 12 Dec, 2017 1 commit
-
-
Max Kellermann authored
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
-
- 03 Dec, 2017 1 commit
-
-
FlashSystems authored
assignment of `mnt->mounted_database` in `SimpleDatabase::Mount`.
-
- 27 Nov, 2017 1 commit
-
-
FlashSystems authored
Signed-off-by:
FlashSystems <developer@flashsystems.de>
-
- 26 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 24 Aug, 2017 1 commit
-
-
Max Kellermann authored
Allows database plugins to use the EventThread, e.g. for CURL integration.
-
- 18 Aug, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-