summaryrefslogtreecommitdiffstats
path: root/src/pulse/context.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-7/+0
|
* device-restore: Add a new protocol extension for device-restore.Colin Guthrie2011-06-221-3/+8
| | | | | | This simply exposes the formats that a device supports via a simple protocol extension that will allow clients to setup what a connected receiver supports format wise.
* Fixup #include directives according to Coding StyleMaarten Bosmans2011-03-111-8/+5
| | | | | Use #include "header.h" if functionality of header.h is implemented and #include <header.h> if functionality of header.h is used.
* Apply #ifdefs around functionality not available on win32Maarten Bosmans2011-02-171-0/+6
| | | | And also the reverse: around some win32 specific functionality
* Use <pulsecore/socket.h> instead of <sys/socket.h>Maarten Bosmans2011-02-171-5/+1
| | | | | | | | The check whether POSIX socket.h or WIN32 winsock2.h must be included can be made centrally. The downside is that some functionality of e.g. arpa/inet.h is also implemented in winsock.h, so that some files that don't use socket functions, but do use inet.h functions, must also include pulsecore/socket.h. (as well as arpa/inet.h)
* pulse: make sure legacy_dir is not staticJan Kratochvil2010-11-251-1/+1
|
* dbus: remove filter functions only if they were actually set beforeLennart Poettering2010-02-091-19/+6
| | | | | | | This fixes an assert when destructing modules that have not been fully initialized. https://bugzilla.redhat.com/show_bug.cgi?id=548525
* client: introduce auto-connect-display= following the scheme of ↵Lennart Poettering2010-01-131-5/+7
| | | | | | | auto-connect-localhost= Just connecting to a PA server just because X11's $DISPLAY is set might be a security hole.
* client: introduce auto-connect-localhost= option in client.confLennart Poettering2010-01-131-2/+4
| | | | | | | | | Partly fixes: http://pulseaudio.org/ticket/773 Also fixes a security hole since listening on the default port is not access controlled right now.
* libpulse: Store pa_stream pointers to hashmaps instead of dynarrays.Tanu Kaskinen2009-12-031-6/+6
| | | | | | | | | Since the stream identifiers (channels) are monotonically growing integer, it isn't a good idea to use them as index to a dynamic array, because the array will grow all the time. This is not a problem with client connections that don't create many streams, but, for example, long-running clients that use libcanberra for playing event sounds, this means that the client connection effectively leaks memory.
* libpulse: introduce pa_context_get_tile_size() callLennart Poettering2009-10-281-0/+17
|
* device-manager: Add an untested protocol extension.Colin Guthrie2009-10-011-0/+5
| | | | This is effectively copied from the stream restore extension.
* libpulse: as a special exception, don't require a non-NULL context in ↵Lennart Poettering2009-09-171-1/+4
| | | | pa_context_errno
* context: document why we only do minimal cleanups before the autospawn exec()Lennart Poettering2009-08-121-1/+4
|
* client: minor modernizationsLennart Poettering2009-07-251-7/+4
|
* client: if a child we created was already reaped, assume that it was successfulLennart Poettering2009-07-251-3/+10
|
* autospawn: refuse autospawning if process disabled waitpid()Lennart Poettering2009-07-241-2/+15
|
* libpulse: minor cleanupsLennart Poettering2009-07-011-11/+19
|
* rtclock: enable rtclock for our own mainloop implementationsLennart Poettering2009-06-221-0/+1
|
* rtclock: fix issues found by LennartMarc-André Lureau2009-06-201-3/+11
|
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-3/+26
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* context: don't fail if session bus is not thereMarc-André Lureau2009-05-121-3/+3
| | | | | | Also invert the order of bus tracking since we expect session_bus to be present when we check for it. Although that should not change anything in practise.
* pulse/context: when NOFAIL, don't try_next_connection() if c->clientMarc-André Lureau2009-04-171-1/+2
|
* client-conf: make setting a default server independant from the autospawn ↵Lennart Poettering2009-04-131-11/+13
| | | | setting
* make dbus optional during buildFinn Thain2009-04-101-0/+13
| | | | | | | | | | | | | | | | | | | | | On Tue, 31 Mar 2009, Lennart Poettering wrote: [snip] > > I have now merged your patch. I had to change a few things to make it > apply cleanly. Since I have no access to Solaris I am unable to test > this though, so please check if things still work for you. > > I also worked around the realpath() issue mostly. It should work fine on > Solaris now, as well. Thanks. 0.9.15-test7 seems to work fine. The only new issue is that configure --without-dbus no longer builds. I don't need dbus for my purposes (network audio server) and it seems that dbus is not included with Solaris. A patch for this follows. Finn
* properly account for seeks in the requested_bytes counterLennart Poettering2009-04-011-2/+2
|
* allow nofail mode only when no server string was specifiedLennart Poettering2009-03-301-2/+4
|
* minor cleanupsLennart Poettering2009-03-301-4/+8
|
* take org.pulseaudio.Server instead of org.pulseaudio to match the interface ↵Lennart Poettering2009-03-301-2/+2
| | | | name already used in the HAL module
* Merge commit 'elmarco/dbus'Lennart Poettering2009-03-301-2/+77
|\
| * pulse: client connect to dbusMarc-André Lureau2009-03-301-2/+77
| |
* | notify clients about tlength changesLennart Poettering2009-03-301-1/+3
|/
* try to detect when stupid clients forks and refuse all service from then onLennart Poettering2009-03-051-2/+27
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #ifLennart Poettering2009-02-211-2/+2
|
* Merge commit 'elmarco/legacy-dir'Lennart Poettering2009-02-191-1/+5
|\
| * pulse/context: add --enable-legacy-runtime-dirMarc-André Lureau2009-02-181-1/+5
| |
* | if we fail to import a memblock fill in silence to guarantee stability of timingLennart Poettering2009-02-181-7/+6
|/
* drop check for PA_PROP_APPLICATION_NAME since often enough we can deduce ↵Lennart Poettering2009-02-131-3/+0
| | | | this better from g_get_application_name()
* allow sending meta/policy events to clientsLennart Poettering2009-02-121-1/+61
|
* add missing eof checksLennart Poettering2009-01-201-1/+2
|
* Make the shared memory segment size configurableLennart Poettering2008-10-011-2/+2
| | | | | This is useful only on systems where memory overcommit is not available or disabled.
* rework autospawning to allow to multiple parallel autospawning contextsLennart Poettering2008-09-051-206/+107
|
* connect to localhost via IP address instead of host name, to avoid needless ↵Lennart Poettering2008-09-051-2/+3
| | | | NSS lookup
* fix a few compiler warnings on older gccLennart Poettering2008-08-291-1/+1
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-3/+3
|
* make gcc shut upLennart Poettering2008-08-091-1/+1
|
* don't use PA_GCC_UNUSED anymoreLennart Poettering2008-08-091-4/+4
|
* rework autospawning code to survive multiple pa_contexts in a single processLennart Poettering2008-08-091-23/+82
|
* add compatibility with older PA socket pathsLennart Poettering2008-08-071-3/+33
|