- 25 May, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 06 Jul, 2020 3 commits
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/841
-
Max Kellermann authored
Mounting one storage URI twice on different mount points can lead to conflicts with the database cache file, and it doesn't make a lot of sense. But most importantly, our udisks storage plugin will unmount the disk from the kernel VFS, and if two exist, they will compete with each others. We could (and should) fix this in the udisks storage plugin, but for now, this workaround is good enough (and useful).
-
Max Kellermann authored
When mounting something over a directory that is already a mount point, CompositeStorage::Mount() silently overwrites the previously mounted storage, disposing it. After that, SimpleDatabase::Mount() will fail and handle_mount() will roll back the CompositeStorage::Mount() command, effectively unmounting what was there before (and also leaking memory). Closes https://github.com/MusicPlayerDaemon/MPD/issues/918
-
- 30 May, 2020 1 commit
-
-
Rosen Penev authored
The ones in std have overloads for const char/char. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 16 Mar, 2020 1 commit
-
-
Rosen Penev authored
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former has been deprecated by C++14. They are also the same. From the standard: The contents and meaning of the header<cinttypes>are the same as the C standard library header<inttypes.h>, with the following changes: -The header<cinttypes>includes the header<cstdint>instead of<stdint.h>,and —if and only if the typeintmax_tdesignates an extended integer type (6.7.1), the following functionsignatures are added:intmax_t abs(intmax_t);imaxdiv_t div(intmax_t, intmax_t);which shall have the same semantics as the function signaturesintmax_t imaxabs(intmax_t)andimaxdiv_t imaxdiv(intmax_t, intmax_t), respectively. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 16 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2019 1 commit
-
-
Max Kellermann authored
-
- 20 Feb, 2019 1 commit
-
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Jan, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 19 Dec, 2017 1 commit
-
-
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
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 25 Feb, 2017 2 commits
-
-
Max Kellermann authored
These events are relevant for all partitions.
-
Max Kellermann authored
-
- 11 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Feb, 2017 1 commit
-
-
Max Kellermann authored
Eliminate global variables.
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 29 Oct, 2016 1 commit
-
-
Max Kellermann authored
-
- 27 Oct, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 05 Mar, 2016 1 commit
-
-
Max Kellermann authored
Prepare for moving idle events to class Partition. Right now, it's just a wrapper for idle_add().
-
- 28 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 13 Aug, 2015 1 commit
-
-
Max Kellermann authored
-
- 12 Aug, 2015 1 commit
-
-
Max Kellermann authored
-
- 11 Aug, 2015 1 commit
-
-
Max Kellermann authored
-
- 02 Mar, 2015 1 commit
-
-
Max Kellermann authored
-
- 28 Feb, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 08 Dec, 2014 1 commit
-
-
Max Kellermann authored
-
- 09 Oct, 2014 1 commit
-
-
Max Kellermann authored
-