summaryrefslogtreecommitdiff
path: root/src/lib/dbus
AgeCommit message (Collapse)Author
2018-10-14build with Meson instead of autotoolsMax Kellermann
So long, autotools! This is my last MPD related project to migrate away from it. It has its strengths, but also very obvious weaknesses and weirdnesses. Today, many of its quirks are not needed anymore, and are cumbersome and slow. Now welcome our new Meson overlords!
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-08-20Compiler.h: move to util/Max Kellermann
2018-08-01Main: move libdbus cleanup to class ODBus::ScopeInitMax Kellermann
2018-06-04storage/udisks: new pluginMax Kellermann
Documentation will follow soon.
2018-06-04lib/dbus/AsyncRequest: add missing includeMax Kellermann
2018-06-04neighbor/udisks: move code to class UDisks2::ParseObjects(ODBus::Message)Max Kellermann
2018-06-04neighbor/udisks: move code to class UDisks2::ParseObjects(ReadMessageIter)Max Kellermann
2018-06-04neighbor/udisks: move ParseObject() to UDisks2.cxxMax Kellermann
2018-06-04neighbor/udisks: move struct UdisksObject to UDisks2.hxxMax Kellermann
2018-06-04neighbor/Iter: add missing includeMax Kellermann
2018-06-04lib/dbus/AsyncRequest: new helper classMax Kellermann
2018-06-04lib/dbus/Connection: add DBusConnection& cast operatorMax Kellermann
2018-06-03lib/dbus/ObjectManager: use TypeTraits instead of CPP macroMax Kellermann
2018-06-03lib/dbus/Types: add ObjectPathTypeTraitsMax Kellermann
2018-06-03lib/dbus/Types: rename _MakeStructTypeAsString to ConcatTypeAsStringMax Kellermann
2018-06-03lib/dbus/ReadIter: add ForEachProperty()Max Kellermann
2018-06-03lib/dbus/ReadIter: add ForEachRecurse()Max Kellermann
2018-06-03lib/dbus/ReadIter: add API documentationMax Kellermann
2018-06-03neighbor/udisks: move code to ForEachInterface()Max Kellermann
2018-06-03lib/dbus/Types: support DBUS_TYPE_DICT_ENTRYMax Kellermann
2018-06-03lib/dbus/Glue: move Connect()/Disconnect() calls to I/O threadMax Kellermann
2018-06-03lib/dbus/Glue: use private connectionMax Kellermann
Avoid interfering with libraries also using the shared connection.
2018-06-03lib/dbus/Glue: singleton for global initializationMax Kellermann
2018-06-02odbus: import dbus-1 OO wrapper libraryMax Kellermann
From https://github.com/CM4all/libcommon/commit/a7cef404c1f7eedff1a629da48f77491218ee281 To be used by upcoming code.