- 21 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 08 Apr, 2020 1 commit
-
-
Max Kellermann authored
-
- 03 Apr, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 02 Apr, 2020 3 commits
-
-
Max Kellermann authored
Use std::string_view to avoid modifying the string for the temporary null terminators.
-
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%.
-
- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 02 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with performance-unnecessary-value-param Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 05 Sep, 2019 1 commit
-
-
Max Kellermann authored
-
- 04 Sep, 2019 2 commits
-
-
Max Kellermann authored
This attribute is not a URI; it is just the filename without its parent directory path. To avoid confusion, let's rename it to "filename", leaving the struct without a "uri" attribute.
-
Max Kellermann authored
-
- 03 Sep, 2019 1 commit
-
-
Max Kellermann authored
No longer allocate it as a "VarSize". This used to be a clever trick to save memory 10 years ago, but these days, keeping the code maintainable seems more important than saving a few kilobytes of memory.
-
- 21 May, 2019 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Allow forward-declaring it.
-
- 20 Feb, 2019 3 commits
-
-
Max Kellermann authored
Fixes assertion failure.
-
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
-
- 02 Sep, 2018 1 commit
-
-
Max Kellermann authored
This passes the new `sort` and `window` attributes to the mounted database.
-
- 02 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 18 Dec, 2017 1 commit
-
-
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.
-
- 27 Nov, 2017 1 commit
-
-
FlashSystems authored
Signed-off-by:
FlashSystems <developer@flashsystems.de>
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 11 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 29 Oct, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Implementations shall use exceptions instead.
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 15 Dec, 2015 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 16 Jun, 2014 2 commits
-
-
Max Kellermann authored
Check for 0 in "device" and "inode" instead.
-
Max Kellermann authored
Remove the C list_head library and use type-safe C++ instead.
-
- 27 Feb, 2014 1 commit
-
-
Max Kellermann authored
A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option.
-
- 26 Feb, 2014 1 commit
-
-
Max Kellermann authored
Move to SimpleDatabase::GetSong() to give that method more control.
-