Commit graph

16 commits

Author SHA1 Message Date
Wim Taymans
531fd1beca introspect: fix docs 2016-01-07 13:08:58 +01:00
Wim Taymans
0a60cccf6d introspect: improve introspection API
Add GAsyncReadyCallback to the introspection API. This makes it possible
to report errors in the future. Don't pass NULL in the callback anymore
now that we have the Ready callback. We also don't need to have a return
value from the callback because now we can cancel any iteration by using
the GCancelable.
Make pinos_context_info_finish() to get the final result/error of
introspection.
Update tools for new API
2016-01-07 12:15:57 +01:00
Wim Taymans
205a471e49 Improve state output in pinos-monitor
Make a method to return the string representation of the states and
use that in pinos-monitor to improve output
2015-09-30 10:50:45 +02:00
Wim Taymans
b0e4cb4288 Add object paths to introspection
Clean up headers, avoid exposing DBus api.
Remove notify should not have property changes
2015-08-12 11:34:29 +02:00
Wim Taymans
4edda643e8 introspect: avoid NULL pointers 2015-08-05 12:04:09 +02:00
Wim Taymans
b055748b1c introspect: add change_mask to introspect
Add a bitmask field to mark what fields have changed since the last
introspection call. We can then remove the properties from the subscribe
call.
2015-08-05 11:57:02 +02:00
Wim Taymans
8361f74646 introspect: improve instrospection
Pass changed properties around so that we can print them
2015-08-04 17:37:25 +02:00
Wim Taymans
51f18b540a introspect: add state and format for output source
Add state and negotiated format to output source properties.
2015-08-04 15:59:36 +02:00
Wim Taymans
13d846ec38 Improve introspection
Add instrospection of client and source-output.
Add properties to source-output and to CreateSourceOutput/Input
Add helper to fill properties of context.
Add client-name to pinossrc and pinossink
Improve test-subscribe to show all new introspection details.
2015-07-28 17:05:03 +02:00
Wim Taymans
191909cb05 introspect: add api get daemon info 2015-07-17 16:58:42 +02:00
Wim Taymans
31da833069 properties: pass PinosProperties around
Pass PinosProperties around instead of GVariant. This is much easier to
deal with.
2015-07-17 16:57:01 +02:00
Wim Taymans
f268cdfda6 Try to use source_path consistently 2015-07-09 17:58:54 +02:00
Wim Taymans
cca0e8eb15 introspect: improve introspect
Use the values from the proxy
2015-07-09 17:30:37 +02:00
Wim Taymans
4199d5652e introspect: implement get_source_info_by_id 2015-07-09 11:33:45 +02:00
Wim Taymans
7159ea8408 deviceprovider: add device provider
Add device provider
Clean up states
Make generic object id instead of exposing GDBusProxy
Add more introspection API
2015-07-08 17:40:37 +02:00
Wim Taymans
a3505fb880 more rename PV -> PINOS, Pv -> Pinos, pv -> pinos 2015-07-07 16:46:23 +02:00
Renamed from src/client/pv-introspect.c (Browse further)