Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-01 | copyright year 2021 | Max Kellermann | |
2020-10-15 | net/SocketAddress: include cleanup | Max Kellermann | |
2020-09-22 | net/SocketError: work around -Wvla by defining a constexpr variable | Max Kellermann | |
2020-09-16 | remove GCC5 hacks | Rosen Penev | |
GCC5 cannot build mpd. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-07-23 | net/{Resolver,HostParser}: include <cstring> | Max Kellermann | |
Fixup after e4dad42ca123b9f0f987218c68c42422d6735c0a | |||
2020-07-23 | net/AllocatedSocketAddress: add missing forward declaration | Max Kellermann | |
2020-07-23 | net/StaticSocketAddress: add IWYU pragma | Max Kellermann | |
2020-07-23 | include cleanup | Max Kellermann | |
2020-05-30 | use std chr functions | Rosen Penev | |
The ones in std have overloads for const char/char. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-05-05 | system/FileDescriptor: move to io/ | Max Kellermann | |
2020-03-12 | replace stdint.h with cstdint | Rosen Penev | |
The former is deprecated by C++14. The standard says they are the same: The header defines all types and macros the same as the C standard library header<stdint.h>. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-03-12 | change errno.h to cerrno | Rosen Penev | |
The former is deprecated by C++14. It's also functionally the same. From the standard: 19.4 The header<cerrno>is described in Table 43. Its contents are the same as the POSIX header<errno.h>,except that errno shall be defined as a macro. [Note: The intent is to remain in close alignment with the POSIX standard.] A separate errno value shall be provided for each thread. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-03-12 | replace assert.h with cassert | Rosen Penev | |
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> | |||
2020-02-01 | *: use `auto` | Max Kellermann | |
2020-02-01 | net/StaticSocketAddress: make the cast operators `constexpr` | Max Kellermann | |
2020-02-01 | net/AddressInfo: add MakeAddrInfo() | Max Kellermann | |
2020-01-18 | copyright year 2020 | Max Kellermann | |
2019-08-26 | net/UniqueSocketDescriptor: import std::swap() | Max Kellermann | |
2019-08-26 | net/UniqueSocketDescriptor: update copyright year | Max Kellermann | |
2019-08-26 | net/SocketDescriptor: expose CheckDuplicate() | Max Kellermann | |
2019-08-26 | net/AllocatedSocketAddress: remove config.h, we have Features.hxx already | Max Kellermann | |
2019-08-26 | net/AddressInfo: include Features.hxx instead of config.h | Max Kellermann | |
2019-08-19 | util/PrintException, ...: update copyright | Max Kellermann | |
2019-08-03 | util/Macros: replace with std::size() (C++17) | Max Kellermann | |
2019-07-29 | net/Resolver: replace memset(0) with empty C++ initializer list | Max Kellermann | |
2019-07-05 | include cleanups (powered by iwyu) | Max Kellermann | |
2019-07-03 | net/AllocatedSocketAddress: import std::swap | Max Kellermann | |
2019-07-03 | net/{Allocated,Static}SocketAddress: use IPv[46]Address::SetPort() | Max Kellermann | |
2019-07-03 | net/ToString: move UnmapV4() to class IPv6Address | Max Kellermann | |
2019-07-03 | net/ToString: UnmapV4() returns IPv4Address | Max Kellermann | |
2019-07-03 | net/SocketAddress: use IPv[46]Address::Cast() | Max Kellermann | |
2019-06-17 | Copyright year 2019 | Max Kellermann | |
2019-04-04 | Merge branch 'v0.21.x' | Max Kellermann | |
2019-04-03 | net/IPv[46]Address: add cast to void* to fix GCC9 build failure | Max Kellermann | |
Fixes: src/net/IPv4Address.hxx: In member function 'constexpr IPv4Address::operator SocketAddress() const': src/net/IPv4Address.hxx:171:24: error: a reinterpret_cast is not a constant expression 171 | return SocketAddress((const struct sockaddr *)&address, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net/IPv6Address.hxx: In member function 'constexpr IPv6Address::operator SocketAddress() const': src/net/IPv6Address.hxx:138:24: error: a reinterpret_cast is not a constant expression 138 | return SocketAddress((const struct sockaddr *)&address, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Closes https://github.com/MusicPlayerDaemon/MPD/issues/522 | |||
2019-03-21 | Merge branch 'v0.21.x' | Max Kellermann | |
2019-03-20 | event/ServerSocket, doc, ...: refer to AF_LOCAL as "local socket" | Max Kellermann | |
.. and not "UNIX domain socket. Be consistent about the naming. | |||
2019-03-08 | system/ByteOrder: move to util/ | Max Kellermann | |
2019-02-27 | net/StaticSocketAddress: remove GetAddress() | Max Kellermann | |
2019-02-27 | net/StaticSocketAddress: add GetLocalRaw() | Max Kellermann | |
2019-02-27 | net/SocketDescriptor: add SetTcpUserTimeout() | Max Kellermann | |
2019-02-19 | net/IPv[46]Address: update copyright | Max Kellermann | |
2019-02-19 | net/AllocatedSocketAddress: add methods IsV6Any(), IsV4Mapped() | Max Kellermann | |
2019-02-19 | net/SocketAddress: add method GetLocalPath() | Max Kellermann | |
2019-02-19 | net/AllocatedSocketAddress: add method GetLocalRaw() | Max Kellermann | |
2019-01-22 | net/SocketAddress: add `constexpr` | Max Kellermann | |
2019-01-21 | net/HostParser: add `noexcept` | Max Kellermann | |
2019-01-20 | net/IPv4Address: fix comment typo | Max Kellermann | |
2019-01-14 | net/IPv[46]Address: make the initializers even more portable | Max Kellermann | |
Similar to 5a5229b49943c7032d83ae665552b4dc3e334820: use more C++14 constexpr. | |||
2019-01-04 | Build fix. This struct is the same on Haiku and on Linux, still gcc | Zoltán Mizsei | |
fails on it. This fixes. | |||
2018-11-19 | check.h: remove obsolete header | Max 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. |