1. 03 May, 2018 2 commits
  2. 25 Apr, 2018 8 commits
  3. 24 Apr, 2018 12 commits
  4. 20 Apr, 2018 4 commits
    • Christian Kellner's avatar
      test: exported: check dispatch error handling · 756ac7f2
      Christian Kellner authored
      Make sure we correctly send the error, if set in a method handler.
      756ac7f2
    • Christian Kellner's avatar
      exported: method handlers can return values/errors · d5135407
      Christian Kellner authored
      Change the BoltExportedMethodHandler so handlers can directly
      return values and errors. The general dispatch logic, shared
      with dispatching property changes, was already prepare for this.
      d5135407
    • Christian Kellner's avatar
      exported: use dispatch_properties_changed · 28cf5d89
      Christian Kellner authored
      Instead of using notify to collect individual property changes and
      then emitting them in an idle handler, BoltExported now overwrites
      dispatch_properties_changed and directly emits the changed props.
      This has a couple of advantages:
       - multiple independent changes of the same properties will all
         get properly emitted in the order they happen. The previous
         code might combine multiple updates into one change set.
       - the PropertiesChanged signal will be emitted before dbus calls
         that change properties are completed
       - code is much simpler now, and we don't need a _flush method
         to make sure property changes happen neither
      28cf5d89
    • Christian Kellner's avatar
      test: exported: change properties in idle handler · 1908d615
      Christian Kellner authored
      Also properly un-subscribe from the PropertiesChanged signal.
      1908d615
  5. 16 Apr, 2018 13 commits
  6. 12 Apr, 2018 1 commit