Commit graph

4297 commits

Author SHA1 Message Date
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
Diego Elio 'Flameeyes' Pettenò
080f6308f2 Ignore IPv6 tests, if IPv6 was built in but the system doesn't have it.
This removes a test failure when an IPv6-enabled PulseAudio is tested on a
system where IPv6 is not enabled in kernel.
2009-06-29 17:40:28 +02:00
Diego Elio 'Flameeyes' Pettenò
cd375da1db Use the new CC_CHECK_CFLAGS_APPEND macro instead of a manual for. 2009-06-29 17:40:19 +02:00
Diego Elio 'Flameeyes' Pettenò
e7c3a12a6e Properly link module-zeroconf-publish against libnative-protocol.
Without this change, undefined symbols will be found in the module and the
link will be rejected (thanks to the just-made change to reject outstanding
undefined symbols).

Also, in -test1, without this change it would have caused the module to not
load because of missing symbols.
2009-06-29 17:40:09 +02:00
Diego Elio 'Flameeyes' Pettenò
a4703ce7e8 Check for and use flags to reject undefined symbols in libraries.
Make sure that all the PulseAudio modules are built properly without
outstanding undefined symbols: if the undefined symbols are found, reject
link.
2009-06-29 17:40:01 +02:00
Diego Elio 'Flameeyes' Pettenò
e61795ce53 Update attributes.m4 file from xine-lib. 2009-06-29 17:39:47 +02:00
Diego Elio 'Flameeyes' Pettenò
e832383197 Make it more clear that PulseAudio needs libtool 2.2.
The error message was way too generic, as it was very possible that libltdl
_is_ in the system but is not found because too old. Disambiguate this by
explicitly stating that the version 2 of the library is not found.
2009-06-29 17:39:32 +02:00
Tanu Kaskinen
0bc538b08c Merge branch 'master' into dbus-work
Conflicts:
	src/daemon/daemon-conf.c
	src/daemon/daemon-conf.h
	src/daemon/main.c
	src/pulsecore/dbus-util.h
2009-06-29 18:35:06 +03:00
Lennart Poettering
2654eb7781 sndfile: fix build on BE archs 2009-06-23 18:54:17 +02:00
Lennart Poettering
0b52bf4cd1 build-sys: don't make pulseaudio binary suid on install anymore 2009-06-23 18:33:36 +02:00
Lennart Poettering
390c275173 build-sys: properly drop '-' from major/minor/micro strings 2009-06-23 17:40:33 +02:00
Lennart Poettering
b4b1f0375c build-sys: teacch git versioning script to not kill - in version strings 2009-06-23 17:13:29 +02:00