- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 15 Nov, 2020 1 commit
-
-
Stapper authored
Fixes #994 - moveoutput: new AudioOutputControl created from copyMoving an output to a partition is now done via MultipleOutputs::AddCopy(),using a new AudioOutputControl constructor. Tags and always_on settings willpersist when moving outputs between partitions.
-
- 21 Sep, 2020 1 commit
-
-
Rosen Penev authored
Found with -Wdouble-promotion Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 16 Sep, 2020 1 commit
-
-
Max Kellermann authored
Eliminate some duplicate code.
-
- 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>
-
- 30 Apr, 2020 1 commit
-
-
Max Kellermann authored
The command is used to configure the client's connection, and this shouldn't require any permissions. The client should be able to do that before sending a password.
-
- 08 Apr, 2020 1 commit
-
-
Rosen Penev authored
std::all_of becomes constexpr in C++20. I'm not sure it results in better performance. Found with useStlAlgorithm Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 26 Mar, 2020 2 commits
-
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
This is the case with uClibc-ng currently. Signed-off-by:
Rosen Penev <rosenp@gmail.com> (cherry picked from commit 769cd0ee9f0cf8ceb026aa751b5d4a390bb5dbdc) (changed define to match master)
-
- 16 Mar, 2020 3 commits
-
-
Rosen Penev authored
Found with -Wdouble-promotion Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
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>
-
Rosen Penev authored
This is the case with uClibc-ng currently. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 13 Mar, 2020 1 commit
-
-
Max Kellermann authored
-
- 12 Mar, 2020 2 commits
-
-
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>
-
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>
-
- 17 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with llvm-namespace-comment Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 04 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 02 Feb, 2020 3 commits
-
-
Rosen Penev authored
Found with performance-unnecessary-value-param Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-loop-convert Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-make-unique Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 20 Jan, 2020 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
No output at all is fine. If the partition needs an output, it must be moved there, but having just a null output isn't helpful.
-
Max Kellermann authored
By eliminating GetAnyClient(), we can have instances with no outputs at all.
-
Max Kellermann authored
For efficient traversal within one partition, e.g. for distributing partition-local idle events.
-
Max Kellermann authored
-
- 18 Jan, 2020 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 03 Jan, 2020 1 commit
-
-
Max Kellermann authored
Behave like STL.
-
- 16 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 04 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 20 Aug, 2019 3 commits
-
-
Max Kellermann authored
The new Response instance in the `catch` block didn't have the `command` attribute set, so the error response didn't indicate which command had failed, which however is required in the MPD protocol. Closes https://github.com/MusicPlayerDaemon/MPD/issues/628
-
Max Kellermann authored
Clarify that those can't throw, preparing for the next commit.
-
Max Kellermann authored
-