Lennart Poettering
8e71787551
rework cpu limit logic to use monotonic instead of wall clock time
2008-08-19 23:03:37 +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
3d2d6ca958
Merge commit 'flameeyes/autoconf-2.62'
2008-08-18 23:52:44 +02:00
Russ Dill
74719c24f5
Fix up overzealous HAVE_LT_DLMUTEX_REGISTER block
...
This fixes a built problem on systems without the lt_dlmutex_register
function. The overzealousness causes libtool_set_error and libtool_get_error
to be undefined. This fixes a build problem on Ubuntu Intrepid.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-17 22:54:58 +02:00
Lennart Poettering
5a0e01404a
disable hotplug sounds by default
2008-08-15 14:32:33 +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
b4a566918c
print reason when we fail to kill a running daemon
2008-08-09 03:47:59 +02:00
Diego 'Flameeyes' Pettenò
8a3d666da3
Fix building again libtool/ltdl 2.2.4.
...
On changeset f1d2bf8408 support for
libtool 2.2 was broken as libtool_set_error was not defined anymore on
that version. Fix this by also putting under #ifdef the calls to that
function.
2008-08-08 12:39:04 +02:00
Lennart Poettering
0075649f13
print machine id during startup
2008-08-07 02:23:45 +02:00
Lennart Poettering
ff6bb7acda
add a few configuration sanity checks for system mode
2008-08-06 19:56:15 +02:00
Lennart Poettering
a4762ab4b1
add disallow-exit to default configuration file
2008-08-06 19:55:50 +02:00
Lennart Poettering
756fac8d04
add new switch --disallow-exit
2008-08-06 19:39:12 +02:00
Lennart Poettering
f1d2bf8408
add i18n support
2008-08-06 18:54:13 +02:00
Lennart Poettering
5f69b5d7fd
load module-device-restore and module-stream-restore by default, don't load module-volume-restore anymore
2008-08-03 23:23:46 +02:00
Lennart Poettering
32f63f2a61
allow running of PA with a valgring that doesn't know cap_set_caps
2008-08-03 16:29:55 +02:00
Lennart Poettering
4ccbc4dbe2
reword comment on dbus a bit
2008-07-31 21:22:43 +02:00
Lennart Poettering
026a6bdd0e
Work around D-Bus bug that involves dbus_shutdown() to call exit() when it shouldn't. Patch from Coling Guthrie
2008-07-31 01:25:33 +02:00
Lennart Poettering
0b428e7cb1
don't allow --start in system mode
2008-07-30 20:36:34 +02:00
Lennart Poettering
881046b730
install a default system.pa
2008-07-30 16:59:30 +02:00
Lennart Poettering
b7b4b5e589
remove debug message
2008-07-30 13:44:20 +02:00
Lennart Poettering
e7b9da3209
add missing pieces for new startup logic
2008-07-23 22:46:39 +02:00
Lennart Poettering
5edbb57516
don't drop caps if we are started as normal root user
2008-07-22 21:13:46 +02:00
Lennart Poettering
3888bfcccd
enable exit-on-idle by default
2008-07-22 19:45:18 +02:00
Lennart Poettering
8885ddf716
support file-based capabilities instead of SUID root for giving PA rights to acquire RT/HP scheduling: setcap cap_sys_nice=ep /usr/bin/pulseaudio
2008-06-22 01:48:46 +02:00
Lennart Poettering
822366a653
remove remaining $
2008-06-18 22:38:32 +02:00
Lennart Poettering
8ae83d618e
get rid of svn $ keywords
2008-06-18 23:23:21 +03:00
Lennart Poettering
92e4fb318e
merge Colin Guthrie's module-always-sink module, and add priorization to the hook subsystem while doing so.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2516 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 19:45:57 +00:00
Lennart Poettering
b3444d6881
enable ConsoleKit support and positioned event sounds by default
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2514 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 17:43:08 +00:00
Lennart Poettering
ac0f5275c5
add new switch --start to the PA binary which allows starting PA if it is not running yet. In contrast to normal startup an already running PA will not be considered an error. Also, take the autospawn lock so we can guarantee that after this call returns PA is ralive and running
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2513 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-11 17:38:50 +00:00
Lennart Poettering
28405e3dcf
big mumbo jumo of interleaved patches.
...
* Use seperate "state" and "config" paths
* Pass the fact that we are in system mode via an env var $PULSE_SYSTEM instead of as var in pa_core
* Properly check proc name when checking PID files. Don't check exename, because we cannot read that for other uids
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2480 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-21 22:50:58 +00:00
Lennart Poettering
8125a75535
fix a compiler warning
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2472 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-21 22:42:32 +00:00
Lennart Poettering
940f89860c
fix return value of noop pa_limit_caps()
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2462 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-17 10:57:52 +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
0e983e5993
fix caps stuff for crazy people who disable caps
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2213 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-31 22:24:37 +00:00
Lennart Poettering
1af0d948d1
merge r2193 from prepare-0.9.10
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2208 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-31 22:12:32 +00:00
Lennart Poettering
a8269372d3
merge r2187 from prepare-0.9.10
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2203 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-31 22:07:17 +00:00
Lennart Poettering
78bdb978c6
merge r2184 from prepare-0.9.10
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2200 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-31 22:05:48 +00:00
Lennart Poettering
8298b6b12f
merge r2179 from prepare-0.9.10
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2180 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 23:48:14 +00:00
Lennart Poettering
5addad21a4
make loading of a few more modules non-fatal
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2134 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 21:04:25 +00:00
Lennart Poettering
a25a459cdf
Attempt to resolve the multilib conflicts by getting all the config files
...
look equally for all plattforms. This includes getting rid go pathnames
with libdir; let's make ps search for files with relative paths there.
https://bugzilla.redhat.com/show_bug.cgi?id=228383
Modified patch, originally from Lubomir Kundrak <lkundrak@redhat.com>
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2132 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 20:52:59 +00:00
Lennart Poettering
7ad0b640aa
modernize polkit code a bit, use new functions from pk 0.7 instead of our home-grown ones
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2131 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 20:34:04 +00:00
Lennart Poettering
8a14304b6d
rename polkit policy file to org.pulseaudio.policy to follow upstream guidelines
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2130 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 19:11:05 +00:00
Lennart Poettering
be9b32ec18
add vendor data to pk policy file
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2129 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 19:05:20 +00:00
Lennart Poettering
c5f78bfde9
Abort instead of cleanly exiting, so we can obtain a core dump and find out
...
what was wrong. (rhbz #438594 , Patch from Lubomir Kundrak)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2128 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-27 18:39:59 +00:00
Lennart Poettering
70d00833f1
change policy file to not show polkit auth dlg by default
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2116 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-14 13:28:46 +00:00
Diego Petteno
666b952218
And one more.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2115 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-09 12:55:21 +00:00
Diego Petteno
30e2a773d4
Test for _struct_ lt_user_dlloader, otherwise it won't be found.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2114 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-09 12:54:45 +00:00
Diego Petteno
9ad7bb6188
Build and run using libltdl from libtool 2.2. The user module loader support has changed drastically.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2113 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-03-08 23:30:08 +00:00
Lennart Poettering
dc3682d3f7
only call pa_ltdl_done() if we called pa_ltdl_init() before
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2111 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-02-15 18:03:11 +00:00