Permalink
Commits on Nov 8, 2014
  1. Update gitignores.

    committed Nov 8, 2014
Commits on Jul 20, 2014
  1. Merge remote-tracking branch 'freedesktop/master'

    Conflicts:
    	.gitignore
    	bootstrap.sh
    	doxygen/doxygen.conf.in
    	src/Makefile.am
    	src/pulse/channelmap.c
    	src/pulsecore/remap.c
    	src/pulsecore/remap.h
    	src/pulsecore/sink.h
    committed Jul 20, 2014
  2. gitignore updates

    Conflicts:
    	.gitignore
    committed Jul 20, 2014
  3. Clueless commit -- DANGER. Getting back to project after many moons and

    do no know what these changes are.
    committed Jul 20, 2014
Commits on Jul 17, 2014
  1. tunnel-new: remove uncorking in thread_func. Now handled by state cha…

    …nge callback.
    
    tunnel-new handled a corked stream conditional in the thread_func to be
    sure the stream isn't corked. Un/Corking is now handled in the
    state change callback.
    
    Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
    lynxis committed with tanuk Nov 25, 2013
  2. tunnel-new: add un/corking to the state change callback

    The stream is now corked when the sink or source becomes suspended and
    uncorked when it's back idle/ready.
    
    Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
    lynxis committed with tanuk Nov 25, 2013
Commits on Jul 13, 2014
  1. daemon-conf: changing default rlimit_rttime value to 200 ms

    Since rtkit v11, the top limit for rttime is 200 ms (previously it
    was wrongly limited to 2 seconds).
    
    Reviewed-by: David Henningsson <david.henningsson@canonical.com>
    Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
    Ricardo Salveti de Araujo committed with tanuk Jul 1, 2014
Commits on Jul 12, 2014
  1. .gitignore: Add srbchannel-test

    tanuk committed Jul 12, 2014
  2. device-manager: Add a comment about non-extensible struct

    This comment can potentially save a lot of debugging effort and fixing
    an ABI break, even though I don't think it's particularly likely that
    anyone will ever extend pa_ext_device_manager_role_priority_info.
    tanuk committed May 24, 2014
Commits on Jul 4, 2014
  1. creds: Unbreak build without HAVE_CREDS

    A recent patch broke the build on FreeBSD, which does not have
    HAVE_CREDS defined. Also, make sure any attempts to enable the
    srbchannel on such architectures fail.
    
    BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=80642
    Reported-by: Ryan Lortie
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Jul 4, 2014
Commits on Jul 3, 2014
Commits on Jul 2, 2014
  1. core: Add SRBCHANNEL command names for debug

    Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
    pmeerw committed Jun 16, 2014
  2. core: Misc srbchannel cleanup

    Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
    pmeerw committed Jun 16, 2014
Commits on Jun 27, 2014
  1. tests: Add pstream/srbchannel test

    Runs four tests:
     1) Small packets, iochannel
     2) Big packets, iochannel
     3) Small packets, srbchannel
     4) Big packets, srbchannel
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed May 30, 2014
  2. protocol-native: Enable srbchannel

    The srbchannel is enabled if protocol version >= 30 and
    SHM is available. There is also a module parameter
    srbchannel=false that can be used for disabling the srbchannel.
    
    The setup is done in these steps:
    1) Server receives authentication (like today)
    2) Server sends enable_srbchannel to client
    3) Server sends memblock to client
    4) Client receives enable_srbchannel
    5) Client receives memblock
    6) Client sends enable_srbchannel back to server
    7) Client switches over
    8) Server receives enable_srbchannel and switches over
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 25, 2014
  3. Protocol, client: Add commands to enable srbchannel

    This increments protocol version to v30 and adds two new commands
    to enable and disable an shm ringbuffer, as well as client side
    implementation.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 25, 2014
  4. pstream: Allow reading/writing through srbchannel

    For writing, we prefer writing through the srbchannel if one is available,
    and we have no ancil data to send.
    
    For reading, we support reading from both in parallel. This meant replicating
    a struct used for reading, so a lot of this patch is just a search/replace in
    do_read to use the appropriate channel for reading.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 25, 2014
  5. core: Add a second rw mempool

    To keep the data and the ringbuffer separate, let's add another
    mempool just for the ringbuffer(s). That way, the client can open
    the ringbuffer shm file in rw mode and keep the data in ro mode.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 25, 2014
  6. tests: Adapt memblock-test to changed pa_memimport_get()

    patch 'memblock, pstream: Allow send/receive of remote writable memblocks'
    adds an extra parameter to pa_memimport_get()
    
    change test program accordingly
    
    Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
    Cc: David Henningsson <david.henningsson@canonical.com>
    pmeerw committed with David Henningsson May 26, 2014
  7. memblock, pstream: Allow send/receive of remote writable memblocks

    The shared ringbuffer memblock must be writable by both sides.
    This makes it possible to send such a memblock over a pstream without
    the "both sides writable" information getting lost.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 25, 2014
  8. shm: Allow to open shm in writable mode

    This is a preparation for the shm ringbuffer, which needs to be able
    to be writable by both sides, because there are atomic variables they
    both need to modify.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 25, 2014
  9. srbchannel: Add the shared ringbuffer object

    An shm ringbuffer that is used for low overhead server-client communication.
    Signalling is done through eventfd semaphores - it's based on pa_fdsem to avoid
    syscalls if nothing is waiting on the other side.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 15, 2014
  10. iochannel/pstream: Support sending file descriptors

    This patch adds support to iochannel, pstream and pstream-util
    to send file descriptors over a unix pipe.
    
    Currently we don't support writing both creds and fds in the same
    packet, it's either one or the other (or neither).
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 15, 2014
  11. iochannel/pstream/pdispatch: Add support for receiving file descriptors

    The file descriptors are read from the iochannel just like the creds are.
    So instead of passing just creds (and creds_valid), we now pass the
    entire pa_ancil struct.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 15, 2014
  12. creds: Add struct for ancillary data

    To support later patches that add sending/receiving file descriptors,
    let's add this struct.
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    David Henningsson committed Apr 15, 2014
Commits on Jun 26, 2014
  1. build-sys: Add -fdiagnostics-color=auto to CFLAGS

    As a way to highlight warnings and errors in GCC output
    This will be available in GCC 4.9, but some distros backported
    the feature to lower versions
    
    http://gcc.gnu.org/gcc-4.9/changes.html
    jjardon committed with tanuk Oct 26, 2013
  2. build-sys: Use AM_CPPFLAGS instead of AM_CFLAGS for preprocessor argu…

    …ments
    
    As the automake documentation says:
    
    AM_CPPFLAGS: The contents of this variable are passed to every compilation
        that invokes the C preprocessor; it is a list of arguments to the preprocessor.
        For instance, -I and -D options should be listed here
    
    AM_CFLAGS: This is the variable the Makefile.am author can use to pass in
        additional C compiler flags.
    
    http://www.gnu.org/software/automake/manual/html_node/Program-Variables.html
    jjardon committed with tanuk Oct 26, 2013
Commits on Jun 24, 2014
  1. Update Ukrainian translation

    yurchor committed with tanuk Jun 23, 2014
  2. bluetooth: Refactor POLLHUP handling

    The code in the "io_fail" section was only used for HUP handling, but
    there were jumps to there also from places where reading or writing
    failed, because the read/write failure could have been caused by HUP.
    This patch simplifies things by checking for HUP condition before
    trying to read or write. Now if reading or writing fails, we will
    jump to "fail" directly instead of going via the "io_fail" label. As
    a result, the "io_fail" label isn't needed any more.
    tanuk committed Jun 1, 2014
  3. authkey: Use the config home dir for relative paths

    Previously relative cookie paths were searched from the home
    directory, now they are searched from the config home directory. This
    fixes the problem that XDG_CONFIG_HOME didn't have effect on cookie
    paths.
    
    BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=75006
    tanuk committed Jun 8, 2014
  4. esound, native: Pass an absolute path to pa_authkey_load() when using…

    … a file in the home directory
    
    If a relative path is passed to pa_authkey_load(), it will interpret
    the path as relative to the home directory. This is wrong, because
    relative paths should be interpreted to be relative to the config home
    directory. Before fixing pa_authkey_load(), this patch prepares for
    the change by using absolute paths when the file actually needs to be
    in the home directory (i.e. the fallback cookie path for the native
    protocol and the default cookie path for the esound protocol).
    tanuk committed Jun 8, 2014