Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-02 | db/proxy: forward the audio format | Max Kellermann | |
Requires libmpdclient 2.15. | |||
2018-09-02 | db/proxy: require libmpdclient 2.9 | Max Kellermann | |
2018-09-02 | db/Print: move variable `i` | Max Kellermann | |
2018-09-02 | protocol/RangeArg: add Contains() | Max Kellermann | |
2018-09-02 | protocol/RangeArg: add IsAll() | Max Kellermann | |
2018-09-02 | protocol/RangeArg: eliminate SetAll() | Max Kellermann | |
2018-09-02 | db/Print: pass RangeArg to db_selection_print() | Max Kellermann | |
2018-09-02 | protocol/ArgParser: move struct RangeArg to separate header | Max Kellermann | |
2018-09-02 | lib/dbus/ReadIter: switch off -Wshadow on GCC<8 | Max Kellermann | |
GCC 6.3.0 emits bogus warnings like this: In file included from src/lib/dbus/UDisks2.cxx:22:0: src/lib/dbus/ReadIter.hxx: In instantiation of 'ODBus::ReadMessageIter::ForEachProperty(F&&)::<lambda(auto:2&&)> [with auto:2 = ODBus::ReadMessageIter; F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]': src/lib/dbus/ReadIter.hxx:102:6: required from 'ODBus::ReadMessageIter::ForEachRecurse(int, F&&)::<lambda(auto:1&&)> [with auto:1 = ODBus::ReadMessageIter&; F = ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]::<lambda(auto:2&&)>]' src/lib/dbus/ReadIter.hxx:92:5: required from 'void ODBus::ReadMessageIter::ForEach(int, F&&) [with F = ODBus::ReadMessageIter::ForEachRecurse(int, F&&) [with F = ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]::<lambda(auto:2&&)>]::<lambda(auto:1&&)>]' src/lib/dbus/ReadIter.hxx:101:3: required from 'void ODBus::ReadMessageIter::ForEachRecurse(int, F&&) [with F = ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]::<lambda(auto:2&&)>]' src/lib/dbus/ReadIter.hxx:114:3: required from 'void ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]' src/lib/dbus/UDisks2.cxx:71:30: required from here src/lib/dbus/ReadIter.hxx:114:53: error: declaration of 'ODBus::ReadMessageIter&& i' shadows a parameter [-Werror=shadow] ForEachRecurse(DBUS_TYPE_DICT_ENTRY, [&f](auto &&i){ ^ src/lib/dbus/ReadIter.hxx:101:33: note: shadowed declaration is here ForEach(arg_type, [&f](auto &&i){ ^ | |||
2018-09-02 | neighbor/udisks: add `this->` to work around GCC 6 bug | Max Kellermann | |
Since `this` was captured, it does not need to be specified, but GCC 6 can't do it. Since we want to support the standard compiler from Debian Stretch (stable), we need to work around this problem: src/neighbor/plugins/UdisksNeighborPlugin.cxx:239:12: error: cannot call member function 'void UdisksNeighborExplorer::Insert(UDisks2::Object&&)' without object Insert(std::move(o)); ~~~~~~^~~~~~~~~~~~~~ This fixes #300 which I previously thought was a different bug. | |||
2018-08-28 | java/*: add `noexcept` | Max Kellermann | |
2018-08-28 | Merge branch 'v0.20.x' | Max Kellermann | |
2018-08-28 | java/String: include cleanup | Max Kellermann | |
2018-08-28 | java/Class: drop unnecessary namespace spec | Max Kellermann | |
2018-08-28 | java/Class: use DiscardException() in FindOptional() | Max Kellermann | |
Sometimes, the JVM returns a non-nullptr value with an exception pending (seen on Android 1.6, maybe a Dalvik bug?). Let's catch all such cases. | |||
2018-08-22 | configure.ac: add automake conditional "LINUX" | Max Kellermann | |
2018-08-22 | system/EpollFD: use class UniqueFileDescriptor | Max Kellermann | |
2018-08-22 | system/{Epoll,Event,Signal}FD: relicense to BSD-2 | Max Kellermann | |
2018-08-22 | system/EPollFD: rename to EpollFD | Max Kellermann | |
2018-08-22 | system/UniqueFileDescriptor: make the "int" constructor public | Max Kellermann | |
2018-08-21 | net/IPv6Address: pass reference to Cast() | Max Kellermann | |
2018-08-21 | net/IPv4Address: pass reference to Cast() | Max Kellermann | |
2018-08-21 | fs/io/FileOutputStream: make linkat() mandatory on Linux | Max Kellermann | |
2018-08-21 | fs/io/FileOutputStream: add "noexcept" | Max Kellermann | |
2018-08-21 | fs/io/BufferedReader: add "noexcept" to constructor | Max Kellermann | |
2018-08-21 | system/Open: new UniqueFileDescriptor constructing library | Max Kellermann | |
2018-08-21 | fs/io/FileReader: use class UniqueFileDescriptor | Max Kellermann | |
2018-08-21 | fs/io/FileReader: use std::exchange() | Max Kellermann | |
2018-08-21 | fs/io/FileReader: add "noexcept" | Max Kellermann | |
2018-08-21 | fs/io/FileReader: simplify includes | Max Kellermann | |
2018-08-21 | system/FileDescriptor: add openat() wrapper | Max Kellermann | |
2018-08-21 | net/AllocatedSocketAddress: convert operator== to template | Max Kellermann | |
2018-08-21 | net/SocketDescriptor: add multicast methods | Max Kellermann | |
2018-08-21 | net/SocketDescriptor: remove unnecessary SO_REUSEPORT check | Max Kellermann | |
2018-08-21 | net/SocketDescriptor: add Shutdown() | Max Kellermann | |
2018-08-21 | net/SocketDescriptor: fix SOCK_NONBLOCK flag in CreateSocketPairNonBlock() | Max Kellermann | |
2018-08-21 | net/SocketDescriptor: add "noexcept" | Max Kellermann | |
2018-08-21 | net/SocketAddress: add cast to size_type | Max Kellermann | |
2018-08-21 | net/SocketAddress: add GetSteadyPart() | Max Kellermann | |
2018-08-21 | net/SocketDescriptor: make accept4() mandatory on Linux | Max Kellermann | |
2018-08-21 | net/SocketAddress: reimplement GetPort() using IPv4Address::GetPort() | Max Kellermann | |
2018-08-21 | net/SocketAddress: add IsV4Mapped() | Max Kellermann | |
2018-08-21 | net/SocketAddress: reimplement IsV6Any() using IPv6Address::IsAny() | Max Kellermann | |
2018-08-21 | net/IPv6Address: new class | Max Kellermann | |
2018-08-21 | net/Resolver: update copyright year | Max Kellermann | |
2018-08-21 | net/Resolver: replace with more advanced implementation | Max Kellermann | |
The new implementation is copied from another project and is BSD-licensed. It is exception-safe and can parse IPv6 scope ids with interface names. | |||
2018-08-21 | util/Exception: update copyright | Max Kellermann | |
2018-08-21 | util/{Const,Writable}Buffer: add method SetEnd() | Max Kellermann | |
2018-08-20 | system/FileDescriptor: include cleanup | Max Kellermann | |
2018-08-20 | system/FileDescriptor: pass FileDescriptor to CheckDuplicate() | Max Kellermann | |