summaryrefslogtreecommitdiff
path: root/src/client/Response.cxx
AgeCommit message (Collapse)Author
2021-06-25Log, client/Response: adapt to libfmt 8.0.0 API changesMax Kellermann
2021-05-27client/Response: include cleanupMax Kellermann
2021-05-27client/Response: remove unused method FormatV()Max Kellermann
2021-05-27client/Response: refactor FormatError() to use libfmtMax Kellermann
2021-05-27client/Response: remove unused method Format()Max Kellermann
2021-05-27client/Response: use Fmt() in FormatError()Max Kellermann
2021-05-25client/Response: add method Fmt() based on libfmtMax Kellermann
2021-05-19client/Response, command/file: use %lu instead of %zu on WindowsMax Kellermann
Fixes -Wformat warnings. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1150
2021-01-21protocol: add command "binarylimit"Max Kellermann
Increasing the protocol version to 0.22.4 to allow clients to detect this feature. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1038
2021-01-01copyright year 2021Max Kellermann
2020-03-12replace stdarg.h with cstdargRosen Penev
The former was deprecated in C++14. The Standard says they are the same: The contents of the header<cstdarg>are the same as the C standard library header<stdarg.h>, with the following changes: The restrictions that ISO C places on the second parameter to the va_start macro in header<stdarg.h> are different in this International Standard. The parameter parmN is the rightmost parameter in the variable parameter list of the function definition (the one just before the...).219If the parameter parmN is a pack expansion (17.5.3) or an entity resulting from a lambda capture (8.1.5), the program is ill-formed, no diagnostic required. If the parameter parmN is of a reference type, or of a type that is not compatible with the type that results when passing an argument for which there is no parameter, the behavior is undefined. Also changed va_list to the std:: namespace version, which is the same. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2019-08-12client/Response: add constant MAX_BINARY_SIZEMax Kellermann
Use the same chunk size for all binary commands.
2019-08-12client/Response: add method WriteBinary()Max Kellermann
Move code from read_stream_art().
2019-06-17Copyright year 2019Max Kellermann
2019-04-03client/Response: add `noexcept`Max Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, 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.
2018-10-31*: copyright year 2018Max Kellermann
2017-06-04*: add lots of "noexcept" specificationsMax Kellermann
2017-02-08client: add tag_mask attributeMax Kellermann
The "tagtypes" command now has several sub commands which can be used to edit that mask.
2017-01-03update copyright yearMax Kellermann
2016-04-12util/FormatString: return AllocatedStringMax Kellermann
2016-04-12Client: add WriteString()Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-08-14protocol/Result: move current_command to class ResponseMax Kellermann
2015-08-14protocol/Result: move command_list_num to class ResponseMax Kellermann
2015-08-14protocol/Result: move error code to class ResponseMax Kellermann
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann