Commit graph

4308 commits

Author SHA1 Message Date
Tanu Kaskinen
22ab141450 dbus-protocol: Use pa_hashmap_remove() instead of _get(). 2009-08-15 06:13:17 +03:00
Tanu Kaskinen
1e65d8d35b dbusiface-core: New function: pa_dbusiface_core_get_card_path(). 2009-08-15 06:11:38 +03:00
Tanu Kaskinen
90c73db449 dbusiface-card: Fix the OwnerModule property type in handle_get_all(). 2009-08-15 06:09:35 +03:00
Tanu Kaskinen
31c544d843 dbusiface-card: Assert that the profiles list is empty if there's no active
profile.
2009-08-15 06:00:46 +03:00
Tanu Kaskinen
18f9f1b5d1 dbusiface-card: Use the ++ operator like it's meant to be used. 2009-08-15 05:58:24 +03:00
Tanu Kaskinen
afb79ee83e dbusiface-card-profile: Assert the core argument isn't NULL. 2009-08-15 05:53:36 +03:00
Tanu Kaskinen
8b5550dba3 dbusiface-card: Split some overly long lines. 2009-08-15 05:51:55 +03:00
Tanu Kaskinen
31117fe99e dbus-protocol: Fix signal sending for the case when the client doesn't listen
for all signals.
2009-08-10 10:40:40 +03:00
Tanu Kaskinen
7cfda56af9 dbus-protocol: Add a note for _send_signal that by default the signal isn't
actually sent.
2009-08-10 10:38:01 +03:00
Tanu Kaskinen
8c8df77d2a dbusiface-card-profile: Implement the CardProfile D-Bus interface. 2009-08-09 10:36:20 +03:00
Tanu Kaskinen
acad506328 dbusiface-card: Implement the Card D-Bus interface. 2009-08-09 09:21:42 +03:00
Tanu Kaskinen
16dce8d7cb dbus-protocol: Take advantage of the helpers in dbus-util. 2009-08-09 09:19:33 +03:00
Tanu Kaskinen
7699cfd4c0 dbus-protocol: Split some overly long lines. 2009-08-09 09:18:03 +03:00
Tanu Kaskinen
76bd03bddb dbus-util: Trivial comment punctuation fix. 2009-08-09 09:14:27 +03:00
Tanu Kaskinen
3e9de1a36c dbus-util: Add helpers for proplist handling. 2009-08-09 09:12:31 +03:00
Tanu Kaskinen
5ece8e8833 dbusiface-core: Add functions for getting various object paths. 2009-08-09 09:10:05 +03:00
Tanu Kaskinen
0b6662023b dbusiface-core: Generate more informative error messages. 2009-08-09 09:06:21 +03:00
Tanu Kaskinen
06232e2965 dbus: Take advantage of the PA_HASHMAP_FOREACH macro. 2009-08-09 09:04:15 +03:00
Tanu Kaskinen
fcf68752e6 dbus: Three entangled changes:
* Make the dbus object constructors take a pa_dbusiface_core pointer
   as an argument. Remove the path_prefix argument.

 * Expose the core object path as a constant in protocol-dbus.h.

 * Move the core interface name constant from iface-core.h to
   protocol-dbus.h.
2009-08-09 08:37:33 +03:00
Tanu Kaskinen
1457df40ee proplist: New function: pa_proplist_equal() 2009-08-09 07:59:06 +03:00
Tanu Kaskinen
44770c59e9 dbusiface-memstats: Implement the Memstats D-Bus interface. 2009-08-04 18:01:26 +03:00
Tanu Kaskinen
0fc055226c dbus-protocol: Remove erroneous protocol object unref. 2009-08-04 18:00:08 +03:00
Tanu Kaskinen
9eeb8eb272 dbus-protocol: Make debug logging saner. 2009-08-04 17:57:44 +03:00
Tanu Kaskinen
b1578e27b6 dbus-protocol, dbusiface-core: Take a reference when storing the core pointer. 2009-08-04 17:55:10 +03:00
Tanu Kaskinen
8966c61d33 dbusiface-core: Make the interface string a public constant. 2009-08-04 17:50:18 +03:00
Tanu Kaskinen
d9d166a691 stream-restore: Expose module to D-Bus. 2009-08-03 19:38:02 +03:00
Tanu Kaskinen
805af5e801 dbus-util: Fix broken proplist reading logic. 2009-08-03 19:36:19 +03:00
Tanu Kaskinen
8c840572c7 dbus-protocol: Add debugging output (temporary change). 2009-08-02 11:12:21 +03:00
Tanu Kaskinen
a1ba80bc4e dbusiface-core: Don't die if we get a default sink/source change event before the new default device is actually created. 2009-08-01 08:26:51 +03:00
Tanu Kaskinen
68cb63c0d9 dbusiface-core: Send signals whenever extensions are registered and unregistered. 2009-07-31 12:06:53 +03:00
Tanu Kaskinen
c354a08fe3 dbus-protocol: Implement extension registration. 2009-07-31 12:05:49 +03:00
Tanu Kaskinen
b061957e57 dbus/iface-core.c: Make sure D-Bus objects are created only once. 2009-07-30 13:11:32 +03:00
Tanu Kaskinen
018810ec9a Bug fixing and minor cleanups. 2009-07-27 20:01:39 +03:00
Tanu Kaskinen
9a77d2f81d Add the forgotten src/modules/dbus directory to git. 2009-07-21 00:04:52 +03:00
Tanu Kaskinen
9347e90fed Finish the Core dbus interface. 2009-07-21 00:02:27 +03:00
Tanu Kaskinen
5c7952e4fa dbus: Implement the Name property of the core object. 2009-07-03 02:49:07 +03:00
Tanu Kaskinen
6e2fec05dd server-lookup: Update the D-Bus identifiers to be versioned. 2009-06-30 15:21:20 +03:00
Tanu Kaskinen
3bff2eee4b module-cli: Fix compilation by adding libpulsecommon to module_cli_la_LIBADD. 2009-06-30 15:18:11 +03:00
Tanu Kaskinen
c266595058 Merge branch 'master' into dbus-work 2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
1ca7603109 Add missing headers includes for FreeBSD.
This removes the implicit declarations of send() and pthread_sigmask().
2009-06-29 17:42:07 +02:00
Diego Elio 'Flameeyes' Pettenò
bce211e416 Rename the flock variable to f_lock.
flock() is a function on FreeBSD, and the variable shadowed its definition.
2009-06-29 17:41:57 +02:00
Diego Elio 'Flameeyes' Pettenò
6f44792806 Only declare saved_errno when it's going to be used (on Linux). 2009-06-29 17:41:45 +02:00
Diego Elio 'Flameeyes' Pettenò
9a2ac32dcd Rename the wait parameter to wait_op, to avoid shadowing wait(). 2009-06-29 17:41:37 +02:00
Diego Elio 'Flameeyes' Pettenò
2266a39bd3 Remove the call for pa_rtpoll_install() in the Solaris module.
I hope this is enough, since the removal of the other pa_rtpoll_install()
calls deemed Linux good enough, but said nothing about Solaris, but since
the function is gone there is little more to do.
2009-06-29 17:41:27 +02:00
Diego Elio 'Flameeyes' Pettenò
24564afc43 Fix the moved rtclock.h header in the Solaris module. 2009-06-29 17:41:18 +02:00
Diego Elio 'Flameeyes' Pettenò
de40e41446 Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD. 2009-06-29 17:41:06 +02:00
Diego Elio 'Flameeyes' Pettenò
2f7bce9375 Add a missing sys/stat.h include for FreeBSD to declare umask(). 2009-06-29 17:40:56 +02:00
Diego Elio 'Flameeyes' Pettenò
fc649adf9d Don't try to compile the rtkit sources when dbus is not enabled.
This change only affects the buildsystem: source code was correct already.
2009-06-29 17:40:50 +02:00
Diego Elio 'Flameeyes' Pettenò
ad4e025ef5 Implement mix-test for s24le and s24be sample formats. 2009-06-29 17:40:42 +02:00
Diego Elio 'Flameeyes' Pettenò
595f80fef7 Use static constants to keep the generated sample blocks. 2009-06-29 17:40:35 +02:00