Lennart Poettering
e3b0ce57e0
udev: don't fail if /dev/snd is not available right-away
2009-07-22 22:48:54 +02:00
Lennart Poettering
2f54b5df18
daemon: reset personality, to make the autospawn env cleaup complete
2009-07-22 22:47:51 +02:00
Lennart Poettering
7e2afffb81
alsa: deal properly with IO functions asking us to write 0 bytes
2009-07-22 22:38:38 +02:00
Lennart Poettering
0225ef68f2
memtrap: clarify that we are not interested in the return value of write()
2009-07-20 15:50:02 +01:00
Lennart Poettering
23039af842
client: allow zero-copy writing to the stream
2009-07-20 15:49:33 +01:00
Lennart Poettering
a2b207e38a
daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe
2009-07-20 15:48:36 +01:00
xconde
0aca5ad3c0
Sending translation for Catalan
2009-07-18 17:53:43 +00:00
Diego Elio 'Flameeyes' Pettenò
d18eb61bd2
Again make sure that the wait() definition is not shadowed.
...
Rename the parameter in pa_asyncmsgq_get() to wait_op.
2009-07-17 21:05:49 +02:00
Diego Elio 'Flameeyes' Pettenò
542607f4c6
Make the rtstutter tests mostly pointless without CLOCK_REALTIME.
...
On the other hand, this actually makes the test build, and test at least
that it doesn't abort away, when the CLOCK_REALTIME interface is not
present (or when clock_gettime is not found).
2009-07-17 21:03:22 +02:00
Diego Elio 'Flameeyes' Pettenò
8c85c99996
Further simplify on Daniel's patch for bootstrap.sh.
...
Instead of having further indirections, stick to POSIX command options for
cp and chmod. This leaves just the LIBTOOL handling to be Darwin-specific.
2009-07-17 20:48:44 +02:00
Daniel Mack
191c57effe
make bootstrap.sh aware of Darwin environment
...
Signed-off-by: Daniel Mack <daniel@caiaq.de>
2009-07-17 20:45:05 +02:00
Diego Elio 'Flameeyes' Pettenò
0a5257b520
Also request Darwin extensions, as they are needed for stuff like NSIG.
...
Without this definition, non-POSIX interfaces (which are needed) are hidden
by the _POSIX_C_SOURCE request (for clock_gettime).
2009-07-17 20:41:58 +02:00
Diego Elio 'Flameeyes' Pettenò
a6d6718712
Request explicitly POSIX.1-2001 for clock_gettime.
...
This might actually call for a rewrite of system extensions handling.
2009-07-17 14:33:33 +02:00
Diego Elio 'Flameeyes' Pettenò
673112b192
Check for support of -z nodelete LD flag, don't use it unconditionally.
...
On non-GNU, non-Sun linkers, the -z option is often not understood; make
sure that the -z nodelete option is usable before making use of it.
Unbreaks build on Mac OS X.
2009-07-17 14:18:07 +02:00
Colin Guthrie
7e4509f9e5
Merge commit 'flameeyes/master'
2009-07-16 17:41:25 +01:00
Diego Elio 'Flameeyes' Pettenò
84200b423e
Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).
...
Instead of trying to re-execute pulseaudio itself with LD_BIND_NOW set,
just find the correct flag for the linker to request immediate bindings
(all ELF files support that option), and use that when linking the daemon.
Reduce the amount of compiled and executed code as well.
2009-07-16 15:57:41 +02:00
Colin Guthrie
61fefd67da
introspect: Fix two memory issues in port handling code.
...
First one is a simple typo on an error condition that would have likely caused issues if it ever cropped up.
Second issue is that port information is never actually freed if everything works fine.
2009-07-12 21:07:58 +01:00
pmkovar
cea1b8c8d9
Sending translation for Czech
2009-07-07 20:06:25 +00:00
Diego Elio 'Flameeyes' Pettenò
ff252cb48d
Check for the library containing the backtrace() function.
...
On FreeBSD the backtrace() function as well as the execinfo.h headers are
provided by libexecinfo (an optional package). PulseAudio “automagically”
identifies execinfo.h and proceeds to use it, but then will fail to link
against the library.
Thanks to Alexis Ballier for reporting.
2009-07-04 13:12:32 +02:00
Lennart Poettering
6fdd5846b2
stream-restore: mark volume changes from instant apply as saved ones
2009-07-01 21:11:19 +02:00
Marc-André Lureau
95d3faaac8
bluetooth: don't connect on unconnected profile
2009-07-01 21:00:42 +02:00
Marc-André Lureau
e93c6c36fe
bluetooth: warn on EAGAIN after POLLOUT
2009-07-01 21:00:33 +02:00
Lennart Poettering
7dabe051cd
memtrap: properly lock access to memtrap changer
2009-07-01 20:22:38 +02:00
Lennart Poettering
28e4625a52
memblock: rearrange locking order
2009-07-01 20:20:55 +02:00
Lennart Poettering
efdd3d054b
reserve: update from upstream git repo
2009-07-01 20:20:36 +02:00
Lennart Poettering
5d4769b7dd
alsa: fix a few comments
2009-07-01 20:20:06 +02:00
Lennart Poettering
5bb1883e60
build-sys: add missing dependency to libcli
2009-07-01 20:19:42 +02:00
Lennart Poettering
b174a51120
libpulse: minor cleanups
2009-07-01 14:26:07 +02:00
Lennart Poettering
a10b7cda4e
native: don't hit assert when user uploads zero-sized sample
2009-07-01 14:25:13 +02:00
Lennart Poettering
cd70d7f5b0
bluetooth: don't busy loop when device is not writable but we want to write
2009-07-01 02:21:17 +02:00
Lennart Poettering
c3958aaa07
bluetooth: handle absence of bluez D-Bus service properly
2009-07-01 02:20:23 +02:00
Lennart Poettering
1104141d78
reserve: fix build without D-Bus
2009-06-30 21:13:09 +02:00
Colin Guthrie
00c392d72c
bootstrap: Ship git-version-gen with the tarball.
...
bootstrap.sh is already shipped and when rebootstrapping, it will call git-version-gen
internally when processing configure.ac.
In order to know when someone has rebootstrapped, we modify the tarball version to mark it
as rebootstrapped. Not 100% sure this later stage is desired or if we should remove
the .tarball-version file instead.
2009-06-29 22:52:31 +01:00
Colin Guthrie
59376b039e
introspect: Fix a bug in sink/source info protocol handling related to ports.
...
Previously the active_profile was extracted from the tagstruct regardless of
the protocol version which caused errors while speaking to older version
servers.
2009-06-29 22:52:31 +01:00
Colin Guthrie
a007d4740f
combine: Do not set (and update) description if the user passed one in during load.
...
Note that this will not turn off auto-description setting if the user were to
update the proplist later, so such a change could be short lived.
2009-06-29 22:52:31 +01:00
Colin Guthrie
7ee1b471d9
udev: Don't install the udev rules if we're not compiling udev support
2009-06-29 22:52:30 +01: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