George Kiagiadakis
ca69b987a6
LICENSE: update copyright years
2021-05-26 09:33:18 +03:00
George Kiagiadakis
8b340a5705
docs: convert NEWS to rst and add it in the generated docs
2021-05-26 09:30:06 +03:00
George Kiagiadakis
87403eb1d4
docs: update installing-wireplumber page
2021-05-25 15:01:43 +03:00
George Kiagiadakis
7970c9cc69
ci: bump distribution tag date to the actual branch merge day
2021-05-25 14:19:53 +03:00
George Kiagiadakis
cdcb38e4e6
gir: fix generate_gir()
...
The path to libwireplumber-0.4.so is not set otherwise and the
linker cannot find it
2021-05-25 14:19:53 +03:00
George Kiagiadakis
e567637d37
docs: convert lua api docs to pure rst
...
Not all the docs are there yet, this is WIP
2021-05-25 14:19:53 +03:00
George Kiagiadakis
c3ee52506b
docs: fix gobject-introspection data generation
...
Let g-ir-scanner parse the original headers for the C signatures
and just add the gtk-doc comments in the generated wp-gtkdoc.h file
Also cleanup a bit gen-api-gtkdoc.py and make it omit printing most of the
whitespace clutter that it used to print inside the gtk-doc comments
2021-05-25 14:19:53 +03:00
George Kiagiadakis
4dfb4e1780
ci: update fdo template, fedora image and dependencies for docs
2021-05-25 14:19:53 +03:00
George Kiagiadakis
fb77a9fcc7
docs: improve the home page and toc; use README.rst as a base; add badges
2021-05-25 14:19:53 +03:00
George Kiagiadakis
b812e912d2
docs: fix C API documentation to work nicely with doxygen & sphinx
2021-05-25 14:19:53 +03:00
George Kiagiadakis
7f54533185
docs: meson: rebuild docs when Doxyfile.in changes
2021-05-25 14:19:53 +03:00
George Kiagiadakis
0c8ef5f2c7
docs: setup sphinx to use the graphviz extension
2021-05-25 14:19:53 +03:00
George Kiagiadakis
32200da516
docs: improve the visual appearence of the generated html and cleanup
2021-05-25 14:19:53 +03:00
George Kiagiadakis
2eac6257d8
docs: reorganize .rst files and add tables of contents for the APIs
2021-05-25 14:19:53 +03:00
George Kiagiadakis
93c2e7d686
meson: refactor docs + gi build system
...
* Use custom_target() instead of configured shell scripts
* Do not copy all the .rst files in the build directory
* Setup dependencies between targets
* Tidy up dependencies lookup
* Remove unused files
* Upgrade Doxyfile to the latest version and cleanup used options
2021-05-25 14:19:53 +03:00
Raghavendra
2e5b13f970
docs: build gobject introspection from xml files generated by Doxygen
2021-05-25 14:19:53 +03:00
Raghavendra
b0fe1fe831
ci: replace hotdoc with Doxygen, Sphinx and Breathe tools
2021-05-25 14:19:53 +03:00
Raghavendra
80e7b20a73
docs: Add Lua API documentation
2021-05-25 14:19:53 +03:00
Raghavendra
d692f06f0d
docs: api: Replace hotdoc specific commands with Doxygen specific commands
2021-05-25 14:19:53 +03:00
Raghavendra
89549247f8
docs: Replace hotdoc with Doxygen & Sphinx to generate documentation
2021-05-25 14:19:53 +03:00
Julian Bouzas
3e6edcb02e
pipewire-object-mixin: fix memleak in GList
2021-05-24 12:59:11 -04:00
Julian Bouzas
7741c2e43a
policy-endpoint-device: wait until previous links are activated
...
Makes sure links are activated before starting scanning again.
2021-05-24 11:07:59 -04:00
Julian Bouzas
bd90783398
m-si-standard-link: remove unused manage.lifetime configuration property
2021-05-24 11:07:59 -04:00
Julian Bouzas
265abd444b
tests: enable si-standard-link test and port it to new API
2021-05-24 11:07:56 -04:00
George Kiagiadakis
4e3ca5dc15
wplua: ref closure before invalidating it
...
invalidation may destroy the closure and this will trigger
_wplua_closure_finalize(), which will remove the closure from the
array while the original code is also trying to do the same
if we destroy the closure after it has been removed from the
array, _wplua_closure_finalize() will not remove anything and
will continue happily
2021-05-22 10:52:35 +03:00
George Kiagiadakis
ac23e60267
wpctl: fix iterator cleanup
2021-05-21 20:04:27 +03:00
George Kiagiadakis
f0d33cb873
endpoint: remove wp_endpoint_create_link()
...
Not used and not useful with the current design.
May be reverted in the future, if necessary.
2021-05-21 19:57:31 +03:00
George Kiagiadakis
fd7b68dfd7
scripts: remove static-sessions
2021-05-21 19:57:31 +03:00
George Kiagiadakis
ac9e1e89c4
wp: remove WpSession and WpEndpointLink
...
We have ended up not using them, so let's not carry them
in the ABI of 0.4
We can always revert that, but let's first decide how
these objects should be used
2021-05-21 19:57:31 +03:00
Julian Bouzas
b3b10db529
policy: don't link endpoints on startup
...
Sometimes the default device node might not exist when reevaluating endpoints
for the first time on startup, so the policy would link endpoints to another
device node. Then, the default device node appears and the policy moves the
endpoints to the default device node while the previous link has not finish its
activation yet. This race condition can cause endpoint links to fail when being
activated. Delaying the reevaluation of endpoint links until the first client
link is created avoids this issue.
2021-05-20 11:18:19 -04:00
Julian Bouzas
5756d8899d
m-default-nodes: check if node is valid before returning bound id
2021-05-20 11:18:19 -04:00
Julian Bouzas
0ff0ef77f2
policy: reevaluate all linkables if one linkable was removed
...
Allows relinking client nodes to other devices if the current device has been
removed. This allows audio to keep playing in a different device if a bluetooth
device is disconnected.
2021-05-20 11:18:15 -04:00
Julian Bouzas
7bc59afd81
m-default-routes: log error message when failed to get current routes
2021-05-20 10:51:49 -04:00
Julian Bouzas
2218b5613e
m-default-profile: log error message when failed to get current profile
2021-05-20 10:51:49 -04:00
Julian Bouzas
fc41af5c98
m-mixer-api: make sure the enum param iterator is valid
...
Some audio nodes such as null-audio-sink nodes don't support Props or Route enum
params.
2021-05-19 18:26:17 -04:00
Julian Bouzas
188a10e0e7
pipewire-object-mixin: make sure enum params task is only triggered once
...
Always remove the task from the list before returning to make sure it will
always be triggered once.
2021-05-19 10:26:17 -04:00
Julian Bouzas
e14bb5fa2f
modules: steal the format_task before returning it
...
Fixes possible race condition when setting adapter ports format in the callback
of a previous adapter ports format call.
2021-05-19 07:42:18 -04:00
Frédéric Danis
20a2f5a232
systemd: Add conflicts with pipewire-media-session
...
This allows to run WirePlumber preferably when pipewire-media-session is
also installed.
2021-05-19 11:34:57 +02:00
Julian Bouzas
7e23f313b3
proxy: don't accept NULL pw_proxy in set_pw_proxy API
2021-05-18 10:01:13 -04:00
Julian Bouzas
dc693ee0d0
m-device-activation: use sync API to enum available profiles
2021-05-18 10:00:56 -04:00
Julian Bouzas
e1917239f3
m-default-routes: use sync API to enum available routes
2021-05-18 10:00:24 -04:00
Julian Bouzas
c3338458e5
m-default-profile: use sync API to enum available profiles
2021-05-18 09:59:18 -04:00
Julian Bouzas
8fdd99d956
global-proxy: delay object creation until bound feature is requested
...
Allows handling errors if creation fails
2021-05-18 09:24:33 -04:00
Julian Bouzas
b8030e138d
alsa-monitor: activate BOUND feature in JACK device
2021-05-17 15:23:24 -04:00
George Kiagiadakis
7f83bcfc25
tests: proxy: add a test for enum_params errors
2021-05-13 08:52:22 -04:00
George Kiagiadakis
63239bdfda
proxy: relax proxy error warning messages
...
These are also printed by libpipewire on the DEBUG level
and they are really not that harmful, so we don't need to spam
users with "failed" messages and alarm them
2021-05-13 08:52:22 -04:00
George Kiagiadakis
7ff2bbc0eb
pw-object-mixin: watch for proxy errors during enum_params
2021-05-13 08:52:22 -04:00
George Kiagiadakis
0b558eca74
proxy: add a "bind" watch, to watch for proxy errors while binding/exporting
...
Add a unit test for this. Create a link with invalid nodes and expect
the activation transition to error out.
2021-05-13 08:52:22 -04:00
George Kiagiadakis
7cf67a821a
proxy: add error signal
2021-05-13 08:52:22 -04:00
Julian Bouzas
f0166d6b3c
policy: fix removing of item links when linkable is removed
2021-05-13 08:46:02 -04:00