summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-02db/proxy: forward the audio formatMax Kellermann
Requires libmpdclient 2.15.
2018-09-02db/proxy: require libmpdclient 2.9Max Kellermann
2018-09-02db/Print: move variable `i`Max Kellermann
2018-09-02protocol/RangeArg: add Contains()Max Kellermann
2018-09-02protocol/RangeArg: add IsAll()Max Kellermann
2018-09-02protocol/RangeArg: eliminate SetAll()Max Kellermann
2018-09-02db/Print: pass RangeArg to db_selection_print()Max Kellermann
2018-09-02protocol/ArgParser: move struct RangeArg to separate headerMax Kellermann
2018-09-02lib/dbus/ReadIter: switch off -Wshadow on GCC<8Max 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-02neighbor/udisks: add `this->` to work around GCC 6 bugMax 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-28java/*: add `noexcept`Max Kellermann
2018-08-28Merge branch 'v0.20.x'Max Kellermann
2018-08-28java/String: include cleanupMax Kellermann
2018-08-28java/Class: drop unnecessary namespace specMax Kellermann
2018-08-28java/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-22configure.ac: add automake conditional "LINUX"Max Kellermann
2018-08-22system/EpollFD: use class UniqueFileDescriptorMax Kellermann
2018-08-22system/{Epoll,Event,Signal}FD: relicense to BSD-2Max Kellermann
2018-08-22system/EPollFD: rename to EpollFDMax Kellermann
2018-08-22system/UniqueFileDescriptor: make the "int" constructor publicMax Kellermann
2018-08-21net/IPv6Address: pass reference to Cast()Max Kellermann
2018-08-21net/IPv4Address: pass reference to Cast()Max Kellermann
2018-08-21fs/io/FileOutputStream: make linkat() mandatory on LinuxMax Kellermann
2018-08-21fs/io/FileOutputStream: add "noexcept"Max Kellermann
2018-08-21fs/io/BufferedReader: add "noexcept" to constructorMax Kellermann
2018-08-21system/Open: new UniqueFileDescriptor constructing libraryMax Kellermann
2018-08-21fs/io/FileReader: use class UniqueFileDescriptorMax Kellermann
2018-08-21fs/io/FileReader: use std::exchange()Max Kellermann
2018-08-21fs/io/FileReader: add "noexcept"Max Kellermann
2018-08-21fs/io/FileReader: simplify includesMax Kellermann
2018-08-21system/FileDescriptor: add openat() wrapperMax Kellermann
2018-08-21net/AllocatedSocketAddress: convert operator== to templateMax Kellermann
2018-08-21net/SocketDescriptor: add multicast methodsMax Kellermann
2018-08-21net/SocketDescriptor: remove unnecessary SO_REUSEPORT checkMax Kellermann
2018-08-21net/SocketDescriptor: add Shutdown()Max Kellermann
2018-08-21net/SocketDescriptor: fix SOCK_NONBLOCK flag in CreateSocketPairNonBlock()Max Kellermann
2018-08-21net/SocketDescriptor: add "noexcept"Max Kellermann
2018-08-21net/SocketAddress: add cast to size_typeMax Kellermann
2018-08-21net/SocketAddress: add GetSteadyPart()Max Kellermann
2018-08-21net/SocketDescriptor: make accept4() mandatory on LinuxMax Kellermann
2018-08-21net/SocketAddress: reimplement GetPort() using IPv4Address::GetPort()Max Kellermann
2018-08-21net/SocketAddress: add IsV4Mapped()Max Kellermann
2018-08-21net/SocketAddress: reimplement IsV6Any() using IPv6Address::IsAny()Max Kellermann
2018-08-21net/IPv6Address: new classMax Kellermann
2018-08-21net/Resolver: update copyright yearMax Kellermann
2018-08-21net/Resolver: replace with more advanced implementationMax 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-21util/Exception: update copyrightMax Kellermann
2018-08-21util/{Const,Writable}Buffer: add method SetEnd()Max Kellermann
2018-08-20system/FileDescriptor: include cleanupMax Kellermann
2018-08-20system/FileDescriptor: pass FileDescriptor to CheckDuplicate()Max Kellermann