1. 02 Sep, 2018 16 commits
    • Max Kellermann's avatar
      db/Selection: move `bool` attribute to the end · 9894967f
      Max Kellermann authored
      May allow a better memory layout.
      9894967f
    • Max Kellermann's avatar
      db/Selection: add `noexcept` · 92da483e
      Max Kellermann authored
      92da483e
    • Max Kellermann's avatar
      db/proxy: require MPD 0.19 · 9cc960ac
      Max Kellermann authored
      9cc960ac
    • Max Kellermann's avatar
      db/proxy: use ~0 instead of -1 · 18dd082f
      Max Kellermann authored
      No undefined behavior.
      18dd082f
    • Max Kellermann's avatar
      db/Interface: add "noexcept" · 81b734be
      Max Kellermann authored
      81b734be
    • Max Kellermann's avatar
      c59be7ce
    • Max Kellermann's avatar
      db/proxy: forward the audio format · c5c4d4a5
      Max Kellermann authored
      Requires libmpdclient 2.15.
      c5c4d4a5
    • Max Kellermann's avatar
      db/proxy: require libmpdclient 2.9 · 2d0b429b
      Max Kellermann authored
      2d0b429b
    • Max Kellermann's avatar
      db/Print: move variable `i` · 60620d9a
      Max Kellermann authored
      60620d9a
    • Max Kellermann's avatar
      protocol/RangeArg: add Contains() · 15b2a486
      Max Kellermann authored
      15b2a486
    • Max Kellermann's avatar
      protocol/RangeArg: add IsAll() · 2915d2dd
      Max Kellermann authored
      2915d2dd
    • Max Kellermann's avatar
      protocol/RangeArg: eliminate SetAll() · 590687fd
      Max Kellermann authored
      590687fd
    • Max Kellermann's avatar
      993f8d6a
    • Max Kellermann's avatar
    • Max Kellermann's avatar
      lib/dbus/ReadIter: switch off -Wshadow on GCC<8 · b9cca49e
      Max Kellermann authored
      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){
                                        ^
      b9cca49e
    • Max Kellermann's avatar
      neighbor/udisks: add `this->` to work around GCC 6 bug · 931b571e
      Max Kellermann authored
      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.
      931b571e
  2. 28 Aug, 2018 5 commits
  3. 22 Aug, 2018 5 commits
  4. 21 Aug, 2018 14 commits