- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 16 Sep, 2020 1 commit
-
-
Max Kellermann authored
Eliminate some duplicate code.
-
- 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>
-
- 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>
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2020 1 commit
-
-
Max Kellermann authored
Behave like STL.
-
- 13 Aug, 2019 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/42
-
- 12 Aug, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Use the same chunk size for all binary commands.
-
Max Kellermann authored
Move code from read_stream_art().
-
- 09 Aug, 2019 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 06 Jun, 2019 1 commit
-
-
Max Kellermann authored
Eliminates a number of allocations, because callers don't need to copy the strings to a newly allocated buffer only to null-terminate them. And most callers don't need to have a null-terminated string.
-
- 07 May, 2019 1 commit
-
-
Max Kellermann authored
-
- 18 Apr, 2019 1 commit
-
-
Max Kellermann authored
Commit b3a45833 added a LocateUri() call to several playlist commands, which applied InputPlugin URI scheme verification to playlist URIs. This broke the SoundCloud playlist plugin which uses "soundcloud://" URIs for which no input plugin exists. This commit allows the caller to specify the kind of plugin which shall be used to verify the URI. Right now, only "input" is implemented; "storage" uses the "input" verification for now; and "playlist" has no verification at all (for now). Closes https://github.com/MusicPlayerDaemon/MPD/issues/528
-
- 21 Jan, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Must lock the mutex before calling any of the unprotected InputStream methods. Closes #462
-
- 31 Oct, 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 1 commit
-
-
Max Kellermann authored
And specify whether generic tags are being scanned.
-
- 05 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 22 Jun, 2018 1 commit
-
-
Max Kellermann authored
This adds a bit of overhead, but also adds flexibility to the API, because arbitrary triggers may be invoked from that virtual method implementation, not just Cond::signal(). The motivation for this is to make the handlers more dynamic, for the upcoming buffering class utilizing ProxyInputStream.
-
- 17 Feb, 2018 1 commit
-
-
FlashSystems authored
read_stream_art uses PRIu64 unconditionally with the Format method of a Respone instance to output a size_t typed value. If size_t is 32bit the output is garbeled. This patch uses offset_type and PRIoffset to make sure the format string and the type of the output value always match.
-
- 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
-
- 17 Aug, 2017 1 commit
-
-
Ryan Walklin authored
-
- 15 Aug, 2017 1 commit
-
-
Ryan Walklin authored
Add API documentation Support 64 bit offsets Use InputStream for all reads
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 08 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 07 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 27 Oct, 2016 1 commit
-
-
Max Kellermann authored
-
- 12 Apr, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 22 Feb, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-