Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix up according to Coding Style | Maarten Bosmans | 2011-03-11 | 1 | -8/+5 |
| | | | | Only whitespace changes in here | ||||
* | Get rid of some unused-function compiler warnings | Maarten Bosmans | 2011-03-02 | 1 | -0/+4 |
| | |||||
* | win32: Implement rtclock based on QueryPerformanceCounter | Maarten Bosmans | 2011-02-17 | 1 | -2/+0 |
| | | | | Also remove some unnecessary <time.h> headers. | ||||
* | Implement some functions for win32 | Maarten Bosmans | 2011-02-17 | 1 | -9/+53 |
| | | | | And disable building binaries for win32 that make no sense there | ||||
* | Repair some typos | Maarten Bosmans | 2011-02-17 | 1 | -4/+4 |
| | |||||
* | Fix dependencies and include necessary headers | Maarten Bosmans | 2011-02-17 | 1 | -0/+1 |
| | |||||
* | Use PCRE if POSIX regex.h is not available | Maarten Bosmans | 2011-02-17 | 1 | -1/+6 |
| | |||||
* | Apply #ifdefs around functionality not available on win32 | Maarten Bosmans | 2011-02-17 | 1 | -2/+39 |
| | | | | And also the reverse: around some win32 specific functionality | ||||
* | Use <pulsecore/socket.h> instead of <sys/socket.h> | Maarten Bosmans | 2011-02-17 | 1 | -2/+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) | ||||
* | Use setenv instead of putenv | Maarten Bosmans | 2011-02-17 | 1 | -1/+1 |
| | | | | | | | In theory putenv could be used to handle freeing of strings yourself, but this was not done in PulseAudio. That leaves no advantages in using putenv. With setenv you're at the mercy of the implementation whether the strings leak, but at least that is better then a certain leak, as it was before. | ||||
* | Core: Fix incorrect check of return value | Scott Reeves | 2011-01-23 | 1 | -2/+2 |
| | |||||
* | core-util: ensure that we chmod only the dir we ourselves created | Kees Cook | 2010-05-08 | 1 | -5/+34 |
| | |||||
* | core-util: introduce generic function pa_strip() | Lennart Poettering | 2010-02-21 | 1 | -4/+24 |
| | |||||
* | fix a number of warnings | Daniel Mack | 2010-01-05 | 1 | -2/+2 |
| | | | | | most of them were due to missing #ifdefs or wrong printf format type for [s]size_t. | ||||
* | core: make cpuid code compile cleanly with 32bit PIC | Lennart Poettering | 2009-11-11 | 1 | -2/+6 |
| | |||||
* | core-util: add call to detect if we are called from within a VM | Lennart Poettering | 2009-11-05 | 1 | -0/+89 |
| | |||||
* | daemon: make sure pa has its own session and process group, but is not its ↵ | Lennart Poettering | 2009-10-31 | 1 | -0/+16 |
| | | | | leader so that we cannot acquire a tty ever | ||||
* | use pa_fopen_cloexec() where applicable | Lennart Poettering | 2009-10-30 | 1 | -4/+4 |
| | |||||
* | core-util: introduce pa_fopen_cloexec() | Lennart Poettering | 2009-10-30 | 1 | -2/+27 |
| | |||||
* | core-util: make sure to enable FD_CLOEXEC unconditionally to cope with ↵ | Lennart Poettering | 2009-10-30 | 1 | -3/+12 |
| | | | | kernels that silently accept but ignore O_CLOEXEC | ||||
* | use cloexec wrappers wherever applicable | Lennart Poettering | 2009-10-30 | 1 | -4/+1 |
| | |||||
* | core-util: introduce FD_CLOEXEC wrappers for open/socket/pipe/accept | Lennart Poettering | 2009-10-30 | 1 | -0/+79 |
| | |||||
* | Merge branch 'master' into dbus-work | Tanu Kaskinen | 2009-10-02 | 1 | -19/+71 |
|\ | | | | | | | | | Conflicts: src/daemon/daemon-conf.c | ||||
| * | core-util: unify how we determine the temporary directory | Lennart Poettering | 2009-09-17 | 1 | -10/+23 |
| | | |||||
| * | Improve TMPDIR handling | Lennart Poettering | 2009-09-17 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch from 'jnelson', http://pulseaudio.org/ticket/653 | ||||
| * | core-util: properly fill in exception array for pa_reset_sigs() ↵ | Lennart Poettering | 2009-09-08 | 1 | -1/+1 |
| | | | | | | | | (llvm-clang-analyzer) | ||||
| * | llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes | Lennart Poettering | 2009-09-08 | 1 | -8/+5 |
| | | |||||
| * | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-09-02 | 1 | -0/+10 |
| |\ | |||||
| | * | core-util: call dbus_connection_set_exit_on_disconnect() on shared busses to ↵ | Lennart Poettering | 2009-09-02 | 1 | -0/+10 |
| | | | | | | | | | | | | make sure dbus_shutdown() isn't fatal | ||||
| * | | core-util: don't leak memory in pa_unset_env_recorded() | Lennart Poettering | 2009-09-02 | 1 | -2/+4 |
| |/ | |||||
| * | core-util: add api for setting env vars and record them so that we can undo ↵ | Lennart Poettering | 2009-09-02 | 1 | -0/+30 |
| | | | | | | | | them n fork | ||||
* | | Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work | Tanu Kaskinen | 2009-08-30 | 1 | -6/+6 |
|\| | | | | | | | | | Conflicts: src/modules/module-stream-restore.c | ||||
| * | core-util: Fix logic of pa_make_path_absolute() | Andy Shevchenko | 2009-08-28 | 1 | -6/+6 |
| | | | | | | | | | | Make it works as described in commentary (when fn is NULL, pa_assert(fn) could break logic). | ||||
* | | Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work | Tanu Kaskinen | 2009-08-24 | 1 | -95/+42 |
|\| | | | | | | | | | Conflicts: src/Makefile.am | ||||
| * | port a few things over to use xmalloc and friends instead of low-level libc ↵ | Lennart Poettering | 2009-08-23 | 1 | -1/+1 |
| | | | | | | | | malloc/free directly | ||||
| * | core: Add thread-safe group info functions with dynamic buffers | Ted Percival | 2009-08-22 | 1 | -86/+20 |
| | | | | | | | | | | | | | | Provides getgrgid, getgrnam, getpwuid & getpwnam replacements that are thread safe (a la getgrgid_r() and friends) that internally handle allocating big-enough buffers to avoid ERANGE errors on large users or groups. | ||||
| * | adjust various data/library paths automatically if we are run from a build tree | Lennart Poettering | 2009-08-21 | 1 | -0/+19 |
| | | |||||
| * | core: check return value of getgrnam_r() instead of errno | Lennart Poettering | 2009-08-20 | 1 | -40/+34 |
| | | | | | | | | | | | | | | According to POSIX getgrnam_r() returns the error code as return value, and not in errno. Honour that. Pointed out and inspired by a patch from Ted Percival. | ||||
* | | Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work | Tanu Kaskinen | 2009-08-16 | 1 | -15/+104 |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile.am src/daemon/daemon-conf.c src/daemon/daemon.conf.in src/modules/module-stream-restore.c src/pulse/client-conf.c src/pulsecore/namereg.c | ||||
| * | core-util: move personality resetting into core-util | Lennart Poettering | 2009-08-12 | 1 | -0/+13 |
| | | |||||
| * | core-util: replace remaining fixed size destination string functions by ↵ | Lennart Poettering | 2009-08-01 | 1 | -11/+63 |
| | | | | | | | | | | | | | | | | | | | | _malloc() versions This helps portability to GNU/Hurd. Patch originally from Samuel Thibault but modified. Closes ticket #546 | ||||
| * | core-util: rework pa_strlcpy() to not rely on strncpy() | Lennart Poettering | 2009-08-01 | 1 | -2/+10 |
| | | | | | | | | | | strncpy() is very slow since it resets the entire destination buffer. Replace usage of strncpy by memcpy(). | ||||
| * | pipe: replace PIPE_BUF macro pa pa_pipe_buf call | Lennart Poettering | 2009-08-01 | 1 | -0/+16 |
| | | | | | | | | | | | | | | This should help portability to platforms that lack PIPE_BUF. Based on a patch from Samuel Thibault. See ticket #546 | ||||
| * | daemon: replace colons by dash in per-machine directory names for compat ↵ | Lennart Poettering | 2009-07-23 | 1 | -2/+2 |
| | | | | | | | | with weird filesystems | ||||
* | | Finish the Core dbus interface. | Tanu Kaskinen | 2009-07-21 | 1 | -0/+22 |
|/ | |||||
* | Add missing headers includes for FreeBSD. | Diego Elio 'Flameeyes' Pettenò | 2009-06-29 | 1 | -0/+1 |
| | | | | This removes the implicit declarations of send() and pthread_sigmask(). | ||||
* | Rename the flock variable to f_lock. | Diego Elio 'Flameeyes' Pettenò | 2009-06-29 | 1 | -8/+8 |
| | | | | flock() is a function on FreeBSD, and the variable shadowed its definition. | ||||
* | Only declare saved_errno when it's going to be used (on Linux). | Diego Elio 'Flameeyes' Pettenò | 2009-06-29 | 1 | -2/+1 |
| | |||||
* | core: use rtkit to acquire high-priority scheduling | Lennart Poettering | 2009-06-19 | 1 | -104/+46 |
| | |||||
* | core: ask RealtimeKit for RT scheduling | Lennart Poettering | 2009-06-19 | 1 | -18/+78 |
| |