summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* load module-gconf in default installLennart Poettering2006-07-271-1/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1159 fefdeb5f-60dc-0310-8127-8f9354f1896f
* introduce three virtual sink/source names: @DEFAULT_SINK@, @DEFAULT_SOURCE@, ↵Lennart Poettering2006-07-271-2/+26
| | | | | | @DEFAULT_MONITOR@. Especially the latter is useful for connecting to the monitor source of the default sink. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1158 fefdeb5f-60dc-0310-8127-8f9354f1896f
* if possible do not unload already loaded modules when the gconf settings ↵Lennart Poettering2006-07-271-29/+71
| | | | | | change. instead try to reuse already loaded modules as much as possible git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1157 fefdeb5f-60dc-0310-8127-8f9354f1896f
* because gconf doesn't provide real transactions we emulate our own with a ↵Lennart Poettering2006-07-271-2/+8
| | | | | | "locked" gconf key git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1156 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove superfluous codeLennart Poettering2006-07-271-43/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1155 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove two superfluous linesLennart Poettering2006-07-261-3/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1154 fefdeb5f-60dc-0310-8127-8f9354f1896f
* mainloop fixes: when disabling time events when dispatching them, make sure ↵Lennart Poettering2006-07-262-2/+12
| | | | | | to adjust the cache time event and enabled time event counters git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1153 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add some protection that the gconf helper process will be killed when the ↵Lennart Poettering2006-07-261-4/+54
| | | | | | daemon process dies. make sure the gconf helper process doesn't keep open file descriptors belonging to the daemon; if gconf helper path git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1152 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new module "module-gconf" which reads configuration information from ↵Lennart Poettering2006-07-264-2/+544
| | | | | | gconf. this will be used in my upcoming paconf module git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1150 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new command line option --no-cpu-limit. This is useful when running ↵Lennart Poettering2006-07-255-16/+42
| | | | | | PulseAudio in valgrind's massif or callgrind tools git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1149 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Results of profiling PulseAudio with valgrind's callgrind module: rework the ↵Lennart Poettering2006-07-251-194/+353
| | | | | | default event loop implementation to use PA_LLIST_xxx instead of pa_idxset; don't generate weakeup events if we aren't in STATE_POLLING; minimize dispatching of io events; cache next time event instead of traversing the list of time events on every event loop iteration; other optimizations git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1148 fefdeb5f-60dc-0310-8127-8f9354f1896f
* split a few assertsLennart Poettering2006-07-251-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1147 fefdeb5f-60dc-0310-8127-8f9354f1896f
* split a few assert()sLennart Poettering2006-07-251-4/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1146 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a few more g_assert()s and change all assert()s to g_assert()sLennart Poettering2006-07-251-52/+73
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1145 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add massif target to MakefileLennart Poettering2006-07-231-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1141 fefdeb5f-60dc-0310-8127-8f9354f1896f
* as a result of memory profiling with valgrind/massif: decrease default hash ↵Lennart Poettering2006-07-232-2/+2
| | | | | | table size from 1024 to 127. the hashtables are sparsely filled most of the time, so there is no point in allocating to much memory by default. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1140 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix horribly broken glib timeout event handlingLennart Poettering2006-07-221-7/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1138 fefdeb5f-60dc-0310-8127-8f9354f1896f
* raise the default value for RLIMIT_NOFILE to 200 since 25 is apparently too ↵Lennart Poettering2006-07-212-2/+2
| | | | | | small if every single GNOME apps thinks it needs to create its own server connection! git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1136 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Get ACL:s to work on Win32.Pierre Ossman2006-07-203-9/+47
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1134 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove access group setting from default client.confLennart Poettering2006-07-201-3/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1133 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a few @@ replacmentsLennart Poettering2006-07-201-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1132 fefdeb5f-60dc-0310-8127-8f9354f1896f
* even more FreeBSD portability (thanks Flameeyes, again!)Lennart Poettering2006-07-201-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1131 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add missing #ifdef HAVE_CREDS (thanks, Flameeyes)Lennart Poettering2006-07-201-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1130 fefdeb5f-60dc-0310-8127-8f9354f1896f
* some more FreeBSD compat from FlameeyesLennart Poettering2006-07-201-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1129 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove configurable client access group, since can never work on Linux ↵Lennart Poettering2006-07-203-11/+1
| | | | | | 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
* implement "auth-ip-acl=" in the native and esound protocolsLennart Poettering2006-07-206-20/+96
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1125 fefdeb5f-60dc-0310-8127-8f9354f1896f
* actually ship src/pulsecore/creds.h in the tarballsLennart Poettering2006-07-201-2/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1124 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add IP address ACL subsystemLennart Poettering2006-07-204-1/+377
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1123 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix incorrect call to nonexistant pa_log_warning().Pierre Ossman2006-07-202-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1122 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Only warn when running as root and not --system.Pierre Ossman2006-07-201-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1121 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Centralise check if we're running as root.Pierre Ossman2006-07-201-4/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1120 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Move check for SUID into the caps functions.Pierre Ossman2006-07-202-4/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1119 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle user switch in a more platform independent manner.Pierre Ossman2006-07-201-2/+18
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1118 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make sure parse_rlimit is only used when rlimits are supported.Pierre Ossman2006-07-201-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1117 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support to set resource limits for the daemon and set some of them to ↵Lennart Poettering2006-07-204-1/+152
| | | | | | some sane values git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1116 fefdeb5f-60dc-0310-8127-8f9354f1896f
* undo r1111 in some way: include sys/socket.h and sys/un.h but wrap it in #ifdefLennart Poettering2006-07-201-0/+10
| | | | | | | | | HAVE_xxx_H. This should be safe because config.h should be the first included header in all .c files and creds.h is never included by any external tools git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1115 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add missing header.Pierre Ossman2006-07-201-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1114 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make -1 mean "current group/user" so that some platform dependent callsPierre Ossman2006-07-204-3/+7
| | | | | | | can be centralised. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1113 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Protect platform dependent headers with ifdefs.Pierre Ossman2006-07-202-3/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1112 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Remove unneeded headers.Pierre Ossman2006-07-201-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1111 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a few commentsLennart Poettering2006-07-191-1/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1110 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new function pa_check_in_group()Lennart Poettering2006-07-1923-132/+216
| | | | | | | | | | | | | * 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
* use access group dedclared in ~/.pulse/client.conf instead of PA_ACCESS_GROUPLennart Poettering2006-07-192-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1108 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update @@ tokens according to recent Makefile.am changeLennart Poettering2006-07-193-4/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1107 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix sed scripts according to #define renamesLennart Poettering2006-07-191-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1106 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new --system command line parameter to the daemon for running ↵Lennart Poettering2006-07-1926-132/+349
| | | | | | | | | | | | PulseAudio as system-wide instance * add PA_ prefixes to all global #defines * modify auth-by-creds: define a new group "pulse-access" which is used for authentication * add proper privilige dropping when running in --system mode * create runtime directory once on startup and not by each module seperately git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1105 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove glib 1.2 adapter. It started to bitrot and wasn't used by anything ↵Lennart Poettering2006-07-184-557/+3
| | | | | | anyway. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1104 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add two more \sinceLennart Poettering2006-07-181-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1103 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix module-detect on FreeBSD (patch from Diego "Flameeyes" Pettenó)Lennart Poettering2006-07-181-11/+17
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1102 fefdeb5f-60dc-0310-8127-8f9354f1896f
* turn the glib adapter into a single GSource instead of creating a bunch of ↵Lennart Poettering2006-07-181-344/+444
| | | | | | seperate GSources for each event git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1101 fefdeb5f-60dc-0310-8127-8f9354f1896f