- 26 Oct, 2021 1 commit
-
-
Max Kellermann authored
-
- 17 Oct, 2021 1 commit
-
-
Max Kellermann authored
This replaces the output parameter (which is bad API design). As a side effect, it fixes the bad [[gnu::pure]] attribute added by commit a636d212 which caused optimizing compilers to miscompile calls to that function. "Pure" functions can be assumed to have no output arguments, so the compiler can assume the function doesn't modify them. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1282
-
- 14 Oct, 2021 3 commits
-
-
Max Kellermann authored
Forgot that in commit 9a766f4c
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1115
-
Max Kellermann authored
Some users want certain clients to fully control playback, but do not want them to be able to trigger database update. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1124
-
- 08 Sep, 2021 1 commit
-
-
Rosen Penev authored
make_pair is an old C++98 function that can be replaced by modern shorter constructs. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 07 Sep, 2020 1 commit
-
-
Max Kellermann authored
-
- 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>
-
- 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>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 29 May, 2019 1 commit
-
-
Max Kellermann authored
-
- 03 Apr, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Eliminates a temporary copy.
-
Max Kellermann authored
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 18 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 17 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 16 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 15 Jul, 2018 1 commit
-
-
Max Kellermann authored
Closes #296
-
- 11 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41.
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 28 Oct, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2015 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 19 Feb, 2014 1 commit
-
-
Max Kellermann authored
-
- 23 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2013 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Both callers pass non-nullptr.
-
Max Kellermann authored
-
- 15 Oct, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
As a side effect, this fixes a memory leak.
-