Skip to content
Snippets Groups Projects
  1. Jan 22, 2021
  2. Nov 16, 2020
  3. Nov 15, 2020
  4. Nov 13, 2020
    • George Kiagiadakis's avatar
      lib: refactor WpProxy · 2f3f5f8e
      George Kiagiadakis authored
      This is an attempt to unclutter the API of WpProxy and
      split functionality into smaller pieces, making it easier
      to work with.
      
      In this new class layout, we have the following classes:
      
      - WpObject: base class for everything; handles activating
      |           and deactivating "features"
      |- WpProxy: base class for anything that wraps a pw_proxy;
       |          handles events from pw_proxy and nothing more
       |- WpGlobalProxy: handles integration with the registry
      
      All the other classes derive from WpGlobalProxy. The reason
      for separating WpGlobalProxy from WpProxy, though, is that
      classes such as WpImplNode / WpSpaDevice can also derive from
      WpProxy now, without interfacing with the registry.
      
      All objects that come with an "info" structure and have properties
      and/or params also implement the WpPipewireObject interface. This
      provides the API to query properties and get/set params. Essentially,
      this is implemented by all classes except WpMetadata (pw_metadata
      does not have info)
      
      This interface is implemented on each object separately, using
      a private "mixin", which is a set of vfunc implementations and helper
      functions (and macros) to facilitate the implementation of this interface.
      
      A notable difference to the old WpProxy is that now features can be
      deactivated, so it is possible to enable something and later disable
      it again.
      
      This commit disables modules, tests, tools, etc, to avoid growing the
      patch more, while ensuring that the project compiles.
      2f3f5f8e
  5. May 15, 2020
  6. May 11, 2020
  7. May 08, 2020
    • George Kiagiadakis's avatar
      session-item: remove the ACTIVATING/EXPORTING flag before the callback · 55f56fec
      George Kiagiadakis authored
      It is a valid use case to do things like call wp_session_item_export()
      from within the async ready callback of _activate(), and it's not
      possible unless the ACTIVATING flag has been cleared first.
      
      To do this, use a GCClosure to wrap the callback and install marshal
      guards, which are called before and after the callback, to modify
      the flags.
      55f56fec
  8. May 07, 2020
  9. May 05, 2020
  10. May 03, 2020
  11. Apr 16, 2020
  12. Apr 14, 2020
  13. Apr 11, 2020
  14. Apr 09, 2020
  15. Apr 01, 2020
  16. Mar 31, 2020
  17. Mar 29, 2020
Loading