1. 10 Aug, 2015 14 commits
    • Dan Winship's avatar
      core: final gdbus porting · 1cf35cb2
      Dan Winship authored
      Port remaining bits to gdbus and remove stray dbus-glib references
      
      Drop the dbus-glib version check from configure, since nothing depends
      on new dbus-glib any more.
      
      Move nm-dbus-glib-types.h and nm-gvaluearray-compat.h from include/ to
      libnm-util/ since they are now only used by libnm-util and libnm-glib.
      1cf35cb2
    • Dan Winship's avatar
      core: port NMManager to gdbus · 34ba4e14
      Dan Winship authored
      34ba4e14
    • Dan Winship's avatar
      core: port IP/DHCP config to gdbus · 6c8f8608
      Dan Winship authored
      6c8f8608
    • Dan Winship's avatar
      dhcp-manager: port to gdbus · 7f6e39ec
      Dan Winship authored
      The existing code was somewhat confusing because it used
      string->GValue hash tables in some places, and string->string hash
      tables in other places. In the new version, the string->GValue hash
      tables become GVariants, but the string->string hash tables stay as
      hash tables, so you can tell them apart more easily.
      7f6e39ec
    • Dan Winship's avatar
      ppp-manager: port to gdbus · 8f36727a
      Dan Winship authored
      8f36727a
    • Dan Winship's avatar
      devices, active-connection: port to gdbus · c050fb7c
      Dan Winship authored
      c050fb7c
    • Dan Winship's avatar
      settings: port to gdbus · df670681
      Dan Winship authored
      df670681
    • Dan Winship's avatar
      ifcfg-rh: port to gdbus · 9f8de603
      Dan Winship authored
      9f8de603
    • Dan Winship's avatar
      core: port NMBusManager to gdbus · 4b823a86
      Dan Winship authored
      Also remove some now-unused NMBusManager API
      4b823a86
    • Dan Winship's avatar
      core: port NMExportedObject to gdbus · 073991f5
      Dan Winship authored
      Port NMExportedObject to gdbus, and make
      nm_exported_object_class_add_interface() deal with generating D-Bus
      skeleton objects and attaching signal handlers and property bindings
      as needed to properly handle methods, signals, and properties.
      073991f5
    • Dan Winship's avatar
      core: make NMManager singleton more like others · 284e15a8
      Dan Winship authored
      Rename nm_manager_new() to nm_manager_setup(), and change the local
      @singleton variable to @singleton_instance. (Also, add a local @self
      variable inside nm_manager_setup().)
      
      Also, make NMManager own NMSettings rather than having them both owned
      by main().
      284e15a8
    • Dan Winship's avatar
      core: better order the code at startup · b7911bae
      Dan Winship authored
      NM was calling nm_bus_manager_start_service() to claim its bus name
      before it exported any of its objects, but this didn't matter under
      dbus-glib, because no client connections would be accepted until the
      main loop was started later on, by which point we would have exported
      everything.
      
      But with gdbus, method calls are initially received in the gdbus
      worker thread, which means that clients would be able to connect right
      away and then be told that the expected interfaces don't exist.
      
      So move the nm_bus_manager_start_service() call to occur after
      creating NMSettings and NMManager (and, indirectly, NMAgentManager).
      This requires splitting out the slow parts of nm_settings_new() into a
      new nm_settings_start(), so that we can create and export it first,
      and then read the connections, etc afterward. (Likewise, there were
      still a few potentially-slow bits in nm_manager_new() which are now
      moved into nm_manager_start().)
      b7911bae
    • Dan Winship's avatar
      core: fix NMManager in private-bus-only case · 1c11c5cf
      Dan Winship authored
      NMManager was failing to initialize if there was only a private bus,
      despite the fact that this is exactly the use case that the private
      bus was added for.
      
      The only other potentially-failing code in nm_manager_new() was adding
      prop_filter to the D-Bus connection, but this can't really fail, so
      just assert that it doesn't. And now, nm_manager_new() always
      succeeds, so update the caller for that.
      1c11c5cf
    • Lubomir Rintel's avatar
      c44069c1
  2. 09 Aug, 2015 3 commits
  3. 07 Aug, 2015 2 commits
  4. 06 Aug, 2015 3 commits
  5. 05 Aug, 2015 18 commits