summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
Commit message (Collapse)AuthorAgeFilesLines
* 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
* implement "auth-ip-acl=" in the native and esound protocolsLennart Poettering2006-07-204-15/+78
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1125 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add IP address ACL subsystemLennart Poettering2006-07-202-0/+247
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1123 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
* Make -1 mean "current group/user" so that some platform dependent callsPierre Ossman2006-07-201-0/+4
| | | | | | | 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-201-1/+5
| | | | 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 new function pa_check_in_group()Lennart Poettering2006-07-1913-97/+183
| | | | | | | | | | | | | * 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
* * add new --system command line parameter to the daemon for running ↵Lennart Poettering2006-07-1914-64/+123
| | | | | | | | | | | | 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
* change licensing blurb form "Library GPL" to "Lesser GPL" on request of Loic ↵Lennart Poettering2006-07-174-60/+68
| | | | | | Minier. Effectively this means using the same license blurb like in all other source files. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1099 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Forgot to protect one access to with_creds with an ifdef.Pierre Ossman2006-07-171-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1098 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Restore SIGPIPE warning when the platform doesn't have MSG_NOSIGNAL.Pierre Ossman2006-07-171-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1097 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new PA_SOURCE_HARDWARE/PA_SINK_HARDWARE flagLennart Poettering2006-07-161-2/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1091 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a new boolean variable is_hardware to pa_sink/pa_source to denote wether ↵Lennart Poettering2006-07-164-0/+8
| | | | | | the specific device is a hardware device or virtual/software git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1090 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't send SCM_CREDENTIALS on every sendmsg(), instead do it only on handshakeLennart Poettering2006-07-141-5/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1085 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't set MSG_NOSIGNAL for recvmsg(), since it doesn't make sense thereLennart Poettering2006-07-141-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1084 fefdeb5f-60dc-0310-8127-8f9354f1896f
* try to use send(,,MSG_NOSIGNAL) instead of write() wherever possible (whichLennart Poettering2006-07-146-37/+72
| | | | | | | | | | will allow us to drop the SIGPIPE check). Cache the results of the last write()/send() to make sure that we do not issue more than necessary system calls. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1083 fefdeb5f-60dc-0310-8127-8f9354f1896f
* support time events with NULL timevals which are OK in avahi, but not in PA. ↵Lennart Poettering2006-07-131-3/+12
| | | | | | This makes padevchooser actually work on top of the new avahi browsing stuff git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1076 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * port libpulse-browse to use the native avahi API instead of the HOWL cruftLennart Poettering2006-07-131-1/+0
| | | | | | | | * add new function pa_browser_set_error_callback() * add doxygen docs to browser.h git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1069 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update module-zeroconf-publish to make use of the native AVAHI API, instead ↵Lennart Poettering2006-07-132-0/+221
| | | | | | of HOWL git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1068 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make sure gccmacro.h and cdecl.h may be included at the same time as those ↵Lennart Poettering2006-07-131-2/+2
| | | | | | headers from the avahi project git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1067 fefdeb5f-60dc-0310-8127-8f9354f1896f
* increase the maxium number of concurrent esd and native connectionsLennart Poettering2006-06-212-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1053 fefdeb5f-60dc-0310-8127-8f9354f1896f
* s/POLYP/PULSE/gLennart Poettering2006-06-192-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1041 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * more s/pulseaudio/PulseAudio/ replacementsLennart Poettering2006-06-195-8/+8
| | | | | | | * name the per-user dir ~/.pulse (instead of .pulseaudio), just like /etc/pulse/ git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1039 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"Lennart Poettering2006-06-192-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1036 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big s/polyp/pulse/gLennart Poettering2006-06-19145-0/+27456
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f