- 22 Apr, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-use-nodiscard Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 08 Apr, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Eliminates lots of overhead.
-
- 03 Apr, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 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 2 commits
-
-
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>
-
Rosen Penev authored
Introduced in C++17. It replaces gcc's warn_unused_result. Found with modernize-use-nodiscard. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 20 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with performance-move-const-arg Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 17 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-use-equals-default 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 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
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
-
- 16 Jun, 2019 1 commit
-
-
Max Kellermann authored
Instead of passing tag and group, pass an array of tags. To support a nested return value, return a nested std::map of std::maps. Each key specifies the tag value, and each value may be another nesting level. Closes https://github.com/MusicPlayerDaemon/MPD/issues/408
-
- 20 Feb, 2019 1 commit
-
-
Max Kellermann authored
-
- 19 Nov, 2018 2 commits
-
-
Max Kellermann authored
This function implements the "group" feature on top of the Database::Visit() method.
-
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
-
- 22 Oct, 2018 1 commit
-
-
Max Kellermann authored
Grouping in the "list" command was completely broken from the start, unlike "count group". I have no idea what I have been thinking when I wrote commit ae178c77, but it didn't make any sense. This commit is a rewrite of the feature. For clients to be able to detect this feature, this commit also increments the protocol version.
-
- 02 Sep, 2018 2 commits
-
-
Max Kellermann authored
That way, each plugin can decide to implement it better.
-
Max Kellermann authored
-
- 20 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 25 Jul, 2018 1 commit
-
-
Max Kellermann authored
Prepare to allow more complex expressions.
-
- 06 Jul, 2018 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This enforces the "not nullptr" rule.
-
- 24 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Jan, 2018 1 commit
-
-
Stefan Roellin authored
The duration of a song can have fractions of seconds (quote from http://www.upnp.org/schemas/av/didl-lite-v2.xsd): The format of the duration string is: H+:MM:SS[.F+], or H+:MM:SS[.F0/F1] Where: +H one or more digits to indicate elapsed hours, MM exactly 2 digits to indicate minutes (00 to 59), SS exactly 2 digits to indicate seconds (00 to 59), F+ any number of digits (including no digits) to indicate fractions of seconds, F0/F1 a fraction, with F0 and F1 at least one digit long, and F0 < F1. The string may be preceded by an optional + or - sign, and the decimal point itself may be omitted if there are no fractional seconds digits. Until now, a duration with fractions of seconds could not be parsed and resulted in an unknown duration. Only durations in the format "H+:MM:SS" were feasible. This commit enables to read durations in the first format, i.e. "H+:MM:SS[.F+]"
-
- 02 Jan, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 12 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 12 Sep, 2017 1 commit
-
-
Max Kellermann authored
This is not necessary, because a strlen() on a literal gets optimized away by the compiler.
-
- 25 Aug, 2017 1 commit
-
-
Max Kellermann authored
We can do CURL requests asynchronously, and we don't need a synchronous WorkQueue thread for that. This allows parallelizing lookups and allows immediate cancellation.
-