Skip to content
Snippets Groups Projects
  1. May 29, 2020
    • George Kiagiadakis's avatar
      props: refactor WpSpaProps into WpProps · 9ae70711
      George Kiagiadakis authored
      - make it a GObject so that it can emit its own signals
      and so that it can be shared between multiple proxies
      - share the WpProps instance between endpoints, endpoint-streams
      and their underlying nodes
      - introduce the concept of the caching mode that redirects _set
      to _set_param of the proxy that actually has the props; this allows
      shared WpProps to actually set changes on the correct proxy
      in a transparent way
      - change methods to consume the ref of the pod and reflect that
      also on wp_proxy_set_prop()
      - refactor the export process on endpoints & endpoint-streams
      so that they always get all the required features (info, props, bound)
      and make it async so that we can take time to prepare the underlying
      node to have FEATURE_PROPS
      - update the props & endpoint unit tests, bringing back all the
      checks that the endpoint unit test used to have
      9ae70711
  2. May 26, 2020
  3. May 25, 2020
  4. May 20, 2020
  5. May 19, 2020
  6. May 16, 2020
  7. May 15, 2020
  8. May 14, 2020
  9. May 13, 2020
  10. May 12, 2020
  11. May 11, 2020
  12. May 08, 2020
  13. May 07, 2020
    • George Kiagiadakis's avatar
      cc72b375
    • George Kiagiadakis's avatar
      session-item: handle destroyed endpoint links · 9db4a545
      George Kiagiadakis authored
      We can now call wp_proxy_request_destroy() on endpoint links and
      the WpImplEndpointLink together with the session item that created
      it will be cleaned up
      9db4a545
    • George Kiagiadakis's avatar
      global: properly destroy impl proxies that were removed by the server · ded2e34e
      George Kiagiadakis authored
      When a pw_global is removed on the server (by pw_registry_destroy() or other
      means), it triggers the proxy removed & the registry global_remove callbacks,
      but it does not necessarily destroy the pw_proxy.
      
      For client proxies, we were previously destroying them by unrefing the WpProxy
      in wp_global_rm_flags(), since the global was not "owned" by the WpProxy.
      
      For impl proxies, we were not doing anything, as we expected that it would
      only be removed from the registry if the local WpProxy was destroyed first.
      This is not always the case, though, as the server or another client may
      request to destroy this proxy with pw_registry_destroy()
      
      Now we always destroy the pw_proxy as soon as it is removed from the registry,
      no matter if it was a client or an impl proxy. If it was an impl proxy,
      the WpProxy will continue to live and it's up to the code that created it
      to handle the "pw-proxy-destroyed" signal and do something meaningful.
      If it was a client proxy, the global will still unref the WpProxy right after
      destroying the pw_proxy and there is no change in behavior.
      ded2e34e
    • George Kiagiadakis's avatar
      proxy: add _request_destroy() method for destroying remote objects · 3b086167
      George Kiagiadakis authored
      Useful to destroy links and endpoint-links
      3b086167
Loading