Lennart Poettering
d33be12fde
Merge commit 'elmarco/dbus'
2009-03-30 20:26:27 +02:00
Marc-André Lureau
1dad83b73c
pulse: client connect to dbus
2009-03-30 21:05:31 +03:00
Lennart Poettering
65b787d000
notify clients about tlength changes
2009-03-30 18:46:12 +02:00
Lennart Poettering
3122008704
try to detect when stupid clients forks and refuse all service from then on
2009-03-05 04:33:40 +01:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
2d0c68af93
check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if
2009-02-21 04:14:51 +01:00
Lennart Poettering
b0c0106824
Merge commit 'elmarco/legacy-dir'
2009-02-19 05:02:52 +01:00
Lennart Poettering
be81a681ac
if we fail to import a memblock fill in silence to guarantee stability of timing
2009-02-18 21:55:55 +01:00
Marc-André Lureau
05b7440481
pulse/context: add --enable-legacy-runtime-dir
2009-02-18 17:16:01 +02:00
Lennart Poettering
c0fb91db54
drop check for PA_PROP_APPLICATION_NAME since often enough we can deduce this better from g_get_application_name()
2009-02-13 18:01:00 +01:00
Lennart Poettering
823431e447
allow sending meta/policy events to clients
2009-02-12 03:18:05 +01:00
Lennart Poettering
b23efc0a4d
add missing eof checks
2009-01-20 02:15:43 +01:00
Lennart Poettering
79ad4e63f6
Make the shared memory segment size configurable
...
This is useful only on systems where memory overcommit is not available
or disabled.
2008-10-01 01:14:36 +02:00
Lennart Poettering
fb837f0cac
rework autospawning to allow to multiple parallel autospawning contexts
2008-09-05 03:22:13 +02:00
Lennart Poettering
994ff984f0
connect to localhost via IP address instead of host name, to avoid needless NSS lookup
2008-09-05 03:20:33 +02:00
Lennart Poettering
13018d62c1
fix a few compiler warnings on older gcc
2008-08-29 23:53:55 +02:00
Lennart Poettering
b7026bf248
add a few more gcc warning flags and fix quite a few problems found by doing so
2008-08-19 22:39:54 +02:00
Lennart Poettering
72f520f93c
make gcc shut up
2008-08-09 17:04:27 +02:00
Lennart Poettering
432b4e5f7d
don't use PA_GCC_UNUSED anymore
2008-08-09 16:20:29 +02:00
Lennart Poettering
15cebbaceb
rework autospawning code to survive multiple pa_contexts in a single process
2008-08-09 03:49:42 +02:00
Lennart Poettering
40ff5fa06f
add compatibility with older PA socket paths
2008-08-07 02:39:58 +02:00
Lennart Poettering
f1d2bf8408
add i18n support
2008-08-06 18:54:13 +02:00
Lennart Poettering
98b81636b7
allow extension messages to actually carry information
2008-08-05 19:01:25 +02:00
Lennart Poettering
0cc674d961
wrap protocol extension of module-stream-restore
2008-08-04 19:02:20 +02:00
Lennart Poettering
d0e26a519f
Don't fail when we cannot determine the lock file path
2008-06-21 13:55:17 +02:00
Lennart Poettering
8ae83d618e
get rid of svn $ keywords
2008-06-18 23:23:21 +03:00
Lennart Poettering
0d0911f9c6
rework shm usage negotiation; merge a few pa_bool_t in a single bit field to save a bit of memory; drop redundant implementation of pa_init_proplist()
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2544 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 18:27:24 +00:00
Lennart Poettering
1337afdee4
enable auto-spawning by default
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2515 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 17:44:49 +00:00
Colin Guthrie
78ae61217d
Perfer client.conf over X11 property variables.
...
To explain: X11 properties are always set on the root window if pulseaudio is started
during X11 login (which is the most likey time to start it). This means that any settings
specified in client.conf will almost never be used. As the default client.conf is empty
it makes more sense to listen to it if a user cares to bother altering it.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2494 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-03 19:22:29 +00:00
Lennart Poettering
d332439065
fix a minor memory leak
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2486 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-27 22:04:09 +00:00
Lennart Poettering
29c7ded9da
deal with failing pa_runtime_path()
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2475 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-21 22:44:37 +00:00
Lennart Poettering
7df3c4f378
make sure we don't hit an assert when autospawning
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2465 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-18 19:09:59 +00:00
Lennart Poettering
045c1d602d
merge glitch-free branch back into trunk
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15 23:34:41 +00:00
Lennart Poettering
2d34bca4a1
rearrange #includes
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2081 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-24 16:24:54 +00:00
Lennart Poettering
14a9b80afb
- Check process name when dealing with PID files
...
- Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it
- Expose those flags in pacat
- Add notifications about device suspend/resume to the protocol and expose them in libpulse
- Allow changing of buffer_attr during playback
- allow disabling for remixing globally
- hookup polkit support
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2067 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-21 01:30:40 +00:00
Lennart Poettering
a67c21f093
merge 'lennart' branch back into trunk.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-10-28 19:13:50 +00:00
Pierre Ossman
06211b7c8f
Add copyright notices to all relevant files. (based on svn log)
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-02-13 15:35:19 +00:00
Pierre Ossman
521daf6f0a
Huge trailing whitespace cleanup. Let's keep the tree pure from here on,
...
mmmkay?
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-01-04 13:43:45 +00:00
Lennart Poettering
40ecf869d0
don't hit an assert in the client if posix shm is not available
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1376 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-09-06 22:19:54 +00:00
Pierre Ossman
095f35725d
Proceed with connect even when no cookie is loaded. Allows you to connect
...
to server which do not require a cookie under all circumstances.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1324 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 15:36:37 +00:00
Pierre Ossman
8a16c73151
Fix call to pa_pstream_send_tagstruct().
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1308 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 07:18:07 +00:00
Pierre Ossman
25c0640ac2
Add an ifdef for when we do not have creds.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1307 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 07:12:50 +00:00
Lennart Poettering
d785b8fa87
add new "disable-shm" option to client.conf
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1284 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-19 01:18:30 +00:00
Lennart Poettering
40875d6d05
enable SHM support on the client side only if both the client and the server run as the same user and the server supports it
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1278 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-18 23:45:23 +00:00
Lennart Poettering
e385d93e5a
remove all occurences of
...
pa_logXXX(__FILE__":
and replace them by
pa_logXXX("
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-18 21:38:40 +00:00
Lennart Poettering
0e436a6926
Rework memory management to allow shared memory data transfer. The central idea
...
is to allocate all audio memory blocks from a per-process memory pool which is
available as read-only SHM segment to other local processes. Then, instead of
writing the actual audio data to the socket just write references to this
shared memory pool.
To work optimally all memory blocks should now be of type PA_MEMBLOCK_POOL or
PA_MEMBLOCK_POOL_EXTERNAL. The function pa_memblock_new() now generates memory
blocks of this type by default.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1266 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-18 19:55:18 +00:00
Lennart Poettering
da1ec271bb
remove configurable client access group, since can never work on Linux anway, since SCM_CREDENTAILS doesn't allow sending supplementary GIDs
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1127 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-07-20 21:28:44 +00:00
Pierre Ossman
a3e7595ac1
Make -1 mean "current group/user" so that some platform dependent calls
...
can be centralised.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1113 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-07-20 00:21:50 +00:00
Pierre Ossman
7ba93ebae2
Protect platform dependent headers with ifdefs.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1112 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-07-20 00:13:12 +00:00
Lennart Poettering
a382492204
* add new function pa_check_in_group()
...
* abstract credential APis a little bit by introducing HAVE_CREDS and a structure pa_creds
* rework credential authentication
* fix module-volume-restore and friends for usage in system-wide instance
* remove loopback= argument from moulde-*-protocol-tcp since it is a superset of listen= and usually a bad idea anyway since the user shouldn't load the TCP module at all if he doesn't want remote access
* rename a few variables in the jack modules to make sure they don't conflict with symbols defined in the system headers
* add server address for system-wide daemons to the default server list for the the client libs
* update todo
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1109 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-07-19 21:48:35 +00:00