Lennart Poettering [Fri, 31 Jul 2009 21:09:16 +0000 (23:09 +0200)]
client: documented that pa_stream_drain() may only have a single operation active at a time
Closes #552.
Lennart Poettering [Fri, 31 Jul 2009 21:07:07 +0000 (23:07 +0200)]
client: fix documentation for threaded mainloop
Closes #553
Alam Arias [Wed, 1 Jul 2009 19:59:11 +0000 (15:59 -0400)]
update pulse-daemon.conf.5.xml.in about realtime-scheduling
Alam Arias [Wed, 1 Jul 2009 19:53:37 +0000 (15:53 -0400)]
update pulse-daemon.conf.5.xml.in about exit-idle-time
Lennart Poettering [Fri, 31 Jul 2009 00:07:24 +0000 (02:07 +0200)]
alsa: revert to first set number of periods, then set buffer size
Apparently some ALSA drivers aren't happy with getting the buffer size
configured first followed the period size. So swap the order again and
document this for future reference so that we don't turn that around
again.
Lennart Poettering [Thu, 30 Jul 2009 22:50:19 +0000 (00:50 +0200)]
tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310
Lennart Poettering [Thu, 30 Jul 2009 21:46:25 +0000 (23:46 +0200)]
threaded-mainloop: loop around pa_cond_wait() invocation in pa_threaded_mainloop_signal()
Lennart Poettering [Mon, 27 Jul 2009 23:43:33 +0000 (01:43 +0200)]
build-sys: bump binary version
Lennart Poettering [Mon, 27 Jul 2009 23:39:58 +0000 (01:39 +0200)]
i18n: run make-update-po
Lennart Poettering [Mon, 27 Jul 2009 23:35:19 +0000 (01:35 +0200)]
Merge branch 'master' into master-tx
Lennart Poettering [Sat, 25 Jul 2009 01:11:09 +0000 (03:11 +0200)]
client: minor modernizations
Lennart Poettering [Fri, 24 Jul 2009 23:29:36 +0000 (01:29 +0200)]
client: if a child we created was already reaped, assume that it was successful
Lennart Poettering [Fri, 24 Jul 2009 18:22:19 +0000 (20:22 +0200)]
interpol-test: allow configuration of latency
Lennart Poettering [Fri, 24 Jul 2009 18:21:30 +0000 (20:21 +0200)]
client: limit block size for zero-copy operations to mempool block size
Lennart Poettering [Fri, 24 Jul 2009 18:20:34 +0000 (20:20 +0200)]
client: make volume struct const
Lennart Poettering [Fri, 24 Jul 2009 18:13:52 +0000 (20:13 +0200)]
alsa: throw timing data away after device resume
Lennart Poettering [Fri, 24 Jul 2009 16:22:13 +0000 (18:22 +0200)]
autospawn: refuse autospawning if process disabled waitpid()
Lennart Poettering [Fri, 24 Jul 2009 13:49:22 +0000 (15:49 +0200)]
memblock: try to hit an assert earlier when ref counting doesn't work
Lennart Poettering [Fri, 24 Jul 2009 11:58:22 +0000 (13:58 +0200)]
udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz #513571
Lennart Poettering [Fri, 24 Jul 2009 11:45:59 +0000 (13:45 +0200)]
alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin if we didn't call snd_pcm_avail immediately before
logan [Thu, 23 Jul 2009 18:18:16 +0000 (18:18 +0000)]
Sending translation for Spanish
Lennart Poettering [Thu, 23 Jul 2009 18:01:40 +0000 (20:01 +0200)]
pacat: use zero-copy write calls when playing audio file
Lennart Poettering [Thu, 23 Jul 2009 18:00:08 +0000 (20:00 +0200)]
client: include zerocopy write calls in map file
Lennart Poettering [Thu, 23 Jul 2009 17:24:26 +0000 (19:24 +0200)]
alsa: don't reset volume/mute when selecting path
raven [Thu, 23 Jul 2009 17:15:39 +0000 (17:15 +0000)]
Sending translation for Polish
Lennart Poettering [Thu, 23 Jul 2009 17:12:53 +0000 (19:12 +0200)]
daemon: replace colons by dash in per-machine directory names for compat with weird filesystems
Lennart Poettering [Thu, 23 Jul 2009 16:49:28 +0000 (18:49 +0200)]
build-sys: add a couple of stub Makefiles
Lennart Poettering [Thu, 23 Jul 2009 16:44:26 +0000 (18:44 +0200)]
alsa: control 'Speaker' element as well
Lennart Poettering [Thu, 23 Jul 2009 13:37:53 +0000 (15:37 +0200)]
po: run make update-po
Lennart Poettering [Thu, 23 Jul 2009 13:32:33 +0000 (15:32 +0200)]
Merge branch 'master-tx'
Conflicts:
po/ca.po
po/cs.po
po/de.po
po/es.po
po/pl.po
Lennart Poettering [Thu, 23 Jul 2009 13:18:06 +0000 (15:18 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Conflicts:
src/daemon/main.c
Lennart Poettering [Thu, 23 Jul 2009 13:13:29 +0000 (15:13 +0200)]
Merge commit 'flameeyes/osx'
Wim Taymans [Thu, 23 Jul 2009 11:40:23 +0000 (13:40 +0200)]
protocol-native: use the right samplerate
The render_memblockq is expressed in the sample_spec of the sink, not of the
particular stream before resampling.
Lennart Poettering [Wed, 22 Jul 2009 20:49:06 +0000 (22:49 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Wed, 22 Jul 2009 20:48:54 +0000 (22:48 +0200)]
udev: don't fail if /dev/snd is not available right-away
Lennart Poettering [Wed, 22 Jul 2009 20:47:51 +0000 (22:47 +0200)]
daemon: reset personality, to make the autospawn env cleaup complete
Lennart Poettering [Wed, 22 Jul 2009 20:38:38 +0000 (22:38 +0200)]
alsa: deal properly with IO functions asking us to write 0 bytes
Lennart Poettering [Mon, 20 Jul 2009 14:50:02 +0000 (15:50 +0100)]
memtrap: clarify that we are not interested in the return value of write()
Lennart Poettering [Mon, 20 Jul 2009 14:49:33 +0000 (15:49 +0100)]
client: allow zero-copy writing to the stream
Lennart Poettering [Mon, 20 Jul 2009 14:47:57 +0000 (15:47 +0100)]
daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe
xconde [Sat, 18 Jul 2009 17:53:43 +0000 (17:53 +0000)]
Sending translation for Catalan
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 19:05:49 +0000 (21:05 +0200)]
Again make sure that the wait() definition is not shadowed.
Rename the parameter in pa_asyncmsgq_get() to wait_op.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 19:03:22 +0000 (21:03 +0200)]
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).
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 18:48:44 +0000 (20:48 +0200)]
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.
Daniel Mack [Fri, 17 Jul 2009 11:45:37 +0000 (13:45 +0200)]
make bootstrap.sh aware of Darwin environment
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 18:41:58 +0000 (20:41 +0200)]
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).
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 12:33:33 +0000 (14:33 +0200)]
Request explicitly POSIX.1-2001 for clock_gettime.
This might actually call for a rewrite of system extensions handling.
Diego Elio 'Flameeyes' Pettenò [Fri, 17 Jul 2009 12:18:07 +0000 (14:18 +0200)]
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.
Colin Guthrie [Thu, 16 Jul 2009 16:41:25 +0000 (17:41 +0100)]
Merge commit 'flameeyes/master'
Diego Elio 'Flameeyes' Pettenò [Tue, 7 Jul 2009 18:51:53 +0000 (20:51 +0200)]
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.
Colin Guthrie [Sun, 12 Jul 2009 19:43:21 +0000 (20:43 +0100)]
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.
pmkovar [Tue, 7 Jul 2009 20:06:25 +0000 (20:06 +0000)]
Sending translation for Czech
Diego Elio 'Flameeyes' Pettenò [Sat, 4 Jul 2009 11:12:32 +0000 (13:12 +0200)]
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.
Lennart Poettering [Wed, 1 Jul 2009 19:11:19 +0000 (21:11 +0200)]
stream-restore: mark volume changes from instant apply as saved ones
Marc-André Lureau [Mon, 29 Jun 2009 14:46:30 +0000 (17:46 +0300)]
bluetooth: don't connect on unconnected profile
Marc-André Lureau [Wed, 1 Jul 2009 10:11:33 +0000 (13:11 +0300)]
bluetooth: warn on EAGAIN after POLLOUT
Lennart Poettering [Wed, 1 Jul 2009 18:22:38 +0000 (20:22 +0200)]
memtrap: properly lock access to memtrap changer
Lennart Poettering [Wed, 1 Jul 2009 18:20:55 +0000 (20:20 +0200)]
memblock: rearrange locking order
Lennart Poettering [Wed, 1 Jul 2009 18:20:36 +0000 (20:20 +0200)]
reserve: update from upstream git repo
Lennart Poettering [Wed, 1 Jul 2009 18:20:06 +0000 (20:20 +0200)]
alsa: fix a few comments
Lennart Poettering [Wed, 1 Jul 2009 18:19:42 +0000 (20:19 +0200)]
build-sys: add missing dependency to libcli
Lennart Poettering [Wed, 1 Jul 2009 12:26:07 +0000 (14:26 +0200)]
libpulse: minor cleanups
Lennart Poettering [Wed, 1 Jul 2009 12:25:13 +0000 (14:25 +0200)]
native: don't hit assert when user uploads zero-sized sample
Lennart Poettering [Wed, 1 Jul 2009 00:21:17 +0000 (02:21 +0200)]
bluetooth: don't busy loop when device is not writable but we want to write
Lennart Poettering [Wed, 1 Jul 2009 00:20:23 +0000 (02:20 +0200)]
bluetooth: handle absence of bluez D-Bus service properly
Lennart Poettering [Tue, 30 Jun 2009 19:13:09 +0000 (21:13 +0200)]
reserve: fix build without D-Bus
Colin Guthrie [Sun, 28 Jun 2009 11:56:57 +0000 (12:56 +0100)]
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.
Colin Guthrie [Sun, 28 Jun 2009 10:56:36 +0000 (11:56 +0100)]
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.
Colin Guthrie [Sat, 27 Jun 2009 18:51:31 +0000 (19:51 +0100)]
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.
Colin Guthrie [Sat, 27 Jun 2009 11:29:40 +0000 (12:29 +0100)]
udev: Don't install the udev rules if we're not compiling udev support
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 10:39:09 +0000 (12:39 +0200)]
Add missing headers includes for FreeBSD.
This removes the implicit declarations of send() and pthread_sigmask().
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 10:28:16 +0000 (12:28 +0200)]
Rename the flock variable to f_lock.
flock() is a function on FreeBSD, and the variable shadowed its definition.
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 10:07:12 +0000 (12:07 +0200)]
Only declare saved_errno when it's going to be used (on Linux).
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 09:50:10 +0000 (11:50 +0200)]
Rename the wait parameter to wait_op, to avoid shadowing wait().
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 09:47:44 +0000 (11:47 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Thu, 25 Jun 2009 09:47:23 +0000 (11:47 +0200)]
Fix the moved rtclock.h header in the Solaris module.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 20:08:41 +0000 (22:08 +0200)]
Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 20:01:55 +0000 (22:01 +0200)]
Add a missing sys/stat.h include for FreeBSD to declare umask().
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 19:49:45 +0000 (21:49 +0200)]
Don't try to compile the rtkit sources when dbus is not enabled.
This change only affects the buildsystem: source code was correct already.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:24:45 +0000 (18:24 +0200)]
Implement mix-test for s24le and s24be sample formats.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:23:14 +0000 (18:23 +0200)]
Use static constants to keep the generated sample blocks.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 16:03:40 +0000 (18:03 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:45:58 +0000 (17:45 +0200)]
Use the new CC_CHECK_CFLAGS_APPEND macro instead of a manual for.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:40:43 +0000 (17:40 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:39:25 +0000 (17:39 +0200)]
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.
Diego Elio 'Flameeyes' Pettenò [Wed, 24 Jun 2009 15:32:28 +0000 (17:32 +0200)]
Update attributes.m4 file from xine-lib.
Diego Elio 'Flameeyes' Pettenò [Sat, 13 Jun 2009 15:27:42 +0000 (17:27 +0200)]
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.
Lennart Poettering [Tue, 23 Jun 2009 16:54:17 +0000 (18:54 +0200)]
sndfile: fix build on BE archs
Lennart Poettering [Tue, 23 Jun 2009 16:33:36 +0000 (18:33 +0200)]
build-sys: don't make pulseaudio binary suid on install anymore
Lennart Poettering [Tue, 23 Jun 2009 15:40:33 +0000 (17:40 +0200)]
build-sys: properly drop '-' from major/minor/micro strings
Lennart Poettering [Tue, 23 Jun 2009 15:13:29 +0000 (17:13 +0200)]
build-sys: teacch git versioning script to not kill - in version strings
Lennart Poettering [Tue, 23 Jun 2009 14:27:38 +0000 (16:27 +0200)]
build-sys: drop compat with old git versions so that tarballs for -test1 style evrsions are properly created
Lennart Poettering [Tue, 23 Jun 2009 14:09:32 +0000 (16:09 +0200)]
intended-roles: drop quite a few unnecessary includes
Lennart Poettering [Tue, 23 Jun 2009 02:25:45 +0000 (04:25 +0200)]
modules: pass properly initialized userdata pointers to various hooks
Lennart Poettering [Tue, 23 Jun 2009 02:23:26 +0000 (04:23 +0200)]
intended-roles: properly initialize split state
Lennart Poettering [Tue, 23 Jun 2009 01:55:32 +0000 (03:55 +0200)]
rtclock: make use of constants when converting between nsec and usec
Lennart Poettering [Tue, 23 Jun 2009 01:35:34 +0000 (03:35 +0200)]
intended-roles: fix symdef header inclusion
Lennart Poettering [Mon, 22 Jun 2009 23:36:29 +0000 (01:36 +0200)]
build-sys: use pax tar format to allow longer file names
Lennart Poettering [Mon, 22 Jun 2009 22:55:31 +0000 (00:55 +0200)]
builds-sys: work around automake 1.11 borkage
As suggested on:
http://lists.gnu.org/archive/html/automake/2009-06/msg00059.html
Lennart Poettering [Mon, 22 Jun 2009 22:55:24 +0000 (00:55 +0200)]
build-sys: bump udev revision to pull in new rules files