summaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2018-12-28remove libwrap supportMax Kellermann
libwrap is an obscure artefact from a past long ago, when source IP address meant something. And its API is "interesting"; it requires the application to expose two global variables `allow_severity` and `deny_severity`. This led to bug #437. I don't want to declare those variables; instead, I'd like to remove libwrap support. Closes #437
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
2018-09-21player/Control: convert to classMax Kellermann
2018-08-20Compiler.h: move to util/Max Kellermann
2018-07-17client/Global: use struct ConfigDataMax Kellermann
2018-07-16config/Config*: rename files, drop "Config" prefixMax Kellermann
2018-07-15Permission: add special permissions for local socketsMax Kellermann
Closes #296
2018-07-15client: pass permission mask to constructorMax Kellermann
Prepare for per-listener permissions.
2018-01-29Listen: move class ClientListener to src/client/Listener.hxxMax Kellermann
2018-01-29Instance: rename Shutdown() to Break()Max Kellermann
2018-01-20client: eliminate client_printf()Max Kellermann
2018-01-20client/Idle: pass Response instead of Client to WriteIdleResponse()Max Kellermann
2018-01-20client/Idle: move code to WriteIdleResponse()Max Kellermann
2018-01-20client/Idle: apply idle_subscriptions mask onceMax Kellermann
2018-01-20client/Idle: use std::exchange()Max Kellermann
2017-12-20event/BufferedSocket: add "noexcept"Max Kellermann
2017-12-20client/*: add "noexcept"Max Kellermann
2017-12-20client/Message: make valid_channel_char() constexprMax Kellermann
2017-12-16Merge branch 'v0.20.x'Max Kellermann
2017-12-12*: check defined(_WIN32) instead of defined(WIN32)Max Kellermann
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
2017-11-10event/ServerSocket: pass UniqueSocketDescriptor by valueMax Kellermann
Passing it by value is actually smaller (32 bit) than the rvalue reference (64 bit pointer), and it ensures that the object is consumed after the call returns, no matter how the methods are implemented.
2017-10-24ClientProcess: close connection when client sends HTTP requestMax Kellermann
2017-08-29Client: migrate from TimeoutMonitor to TimerEventMax Kellermann
2017-08-11client: make GREETING constexprMax Kellermann
2017-08-11client: use C++11 initializersMax Kellermann
2017-08-11system/fd_util: remove unused libraryMax Kellermann
2017-08-10net/ServerSocket: pass UniqueSocketDescriptor&& to OnAccept()Max Kellermann
2017-08-10event/SocketMonitor: use class SocketDescriptorMax Kellermann
2017-08-10net/*, ...: use AF_LOCAL instead of AF_UNIXMax Kellermann
2017-07-05util/StringUtil: move strip functions to StringStrip.cxxMax Kellermann
2017-06-04*: add lots of "noexcept" specificationsMax Kellermann
2017-06-04Merge tag 'v0.20.9'Max Kellermann
release v0.20.9
2017-06-04*: add lost of "noexcept" specificationsMax Kellermann
2017-05-15*: add "noexcept" to many, many function prototypesMax Kellermann
See commit 71f0ed8b7499011b53f90998ebfbd3250fd80948
2017-05-15Merge tag 'v0.20.7'Max Kellermann
release v0.20.7
2017-05-08*: remove "pure" and "const" attributes from throwing functionsMax Kellermann
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.
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-02-25Client: add method SetPartition()Max Kellermann
2017-02-25Client: convert partition to pointerMax Kellermann
Prepare to make it mutable.
2017-02-25Client: add method GetPartition(), make partition privateMax Kellermann
2017-02-25Client: add method GetInstance()Max Kellermann
2017-02-25Client: replace playlist and player_control with getter methodsMax Kellermann
Prepare to convert "partition" to a mutable pointer.
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-02-08client/Response: add method GetClient()Max Kellermann
2017-02-03Client: remove redundant "virtual" keywordsMax Kellermann
2017-02-03Client: make client_vprintf() staticMax Kellermann
2017-02-03Client: eliminate client_puts(), use Client::Write() insteadMax Kellermann
2017-02-03Client: make attributes "uid" and "num" constMax Kellermann
2017-01-03update copyright yearMax Kellermann