- Jan 22, 2021
-
-
Julian Bouzas authored
-
- Nov 16, 2020
-
-
George Kiagiadakis authored
-
- Nov 15, 2020
-
-
George Kiagiadakis authored
-
- Nov 13, 2020
-
-
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.
-
- May 15, 2020
-
-
Julian Bouzas authored
-
- May 11, 2020
-
-
George Kiagiadakis authored
-
- May 08, 2020
-
-
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.
-
- May 07, 2020
-
-
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
-
- May 05, 2020
-
-
George Kiagiadakis authored
-
- May 03, 2020
-
-
Julian Bouzas authored
-
Julian Bouzas authored
-
- Apr 16, 2020
-
-
George Kiagiadakis authored
+ expose the export transition in the session item class + make the export-related flags immutable + add an export error flag + update and improve documentation
-
George Kiagiadakis authored
+ replace calling execute_step(..., STEP_ERROR) with rollback + implement deactivate internally using rollback This unifies deactivation steps, which are common between deactivate() and calling execute_step() with WP_TRANSITION_STEP_ERROR at the end of a failed activation transition.
-
George Kiagiadakis authored
-
- Apr 14, 2020
-
-
George Kiagiadakis authored
+ enable the new log writer on the executables + enable structured logging in the tests
-
- Apr 11, 2020
-
-
George Kiagiadakis authored
-
- Apr 09, 2020
-
-
George Kiagiadakis authored
* It should be possible to activate/deactivate while an item is exported (if the item supports it, but that's a subclass matter) * It should be possible to deactivate without resetting configuration
-
- Apr 01, 2020
-
-
George Kiagiadakis authored
-
- Mar 31, 2020
-
-
George Kiagiadakis authored
-
George Kiagiadakis authored
To ease the use case where we are only interested in the id and not the proxy object itself
-
George Kiagiadakis authored
-
George Kiagiadakis authored
-
George Kiagiadakis authored
This allows the implementation to rollback changes, cancel jobs, etc
-
George Kiagiadakis authored
-
- Mar 29, 2020
-
-
George Kiagiadakis authored
* introduces API to export session items * introduces small changes in the WpSiEndpoint & WpSiStream interfaces to make it nicer to work with * ports WpImplEndpoint to use PW_TYPE_INTERFACE_Endpoint to export. Depends on: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/246 (was merged after 0.3.2)
-
George Kiagiadakis authored
-
George Kiagiadakis authored
This allows activating a dummy item for unit testing
-
George Kiagiadakis authored
-
George Kiagiadakis authored
-
George Kiagiadakis authored
-
George Kiagiadakis authored
-