Permalink
Switch branches/tags
Commits on Jan 10, 2018
  1. Merge pull request #27 from mptre/master

    kfish committed Jan 10, 2018
    Avoid passing NULL to vsnprintf()
Commits on Jan 8, 2018
Commits on Nov 13, 2017
  1. Merge pull request #25 from hyperair/debian-patches

    kfish committed Nov 13, 2017
    Debian patches
Commits on Nov 10, 2017
  1. Fix manpage to use minus signs

    Joe Nahmias authored and hyperair committed Jun 28, 2013
  2. Fix spelling error in debug message

    Joe Nahmias authored and hyperair committed Jun 28, 2013
Commits on Aug 24, 2017
  1. Use "long" for "32"-bit properties

    kfish committed Aug 24, 2017
    Patch from OpenBSD Revision 1.1
    http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/x11/xsel/patches/patch-xsel_c
    
    Fix xsel to use "long" for "32"-bit properties, per Xlib's crazy API.
    
    Pointed out by patrick keshishian on misc
  2. Update aclocal.m4

    kfish committed Aug 24, 2017
  3. Revert "Update and rename README to README.md"

    kfish committed Aug 24, 2017
    This reverts commit 9101e37.
  4. Merge pull request #22 from e7appew/fstat-iff-needed

    kfish committed Aug 24, 2017
    Perform fstat on stdin and stdout only if required.
  5. Merge pull request #21 from e7appew/fix-get_xdg_cache_home

    kfish committed Aug 24, 2017
    Do not modify HOME environment variable.
  6. Merge pull request #20 from MaskRay/master

    kfish committed Aug 24, 2017
    Fix #19 segfault when --append to empty selection
Commits on Mar 29, 2017
  1. Do not modify HOME environment variable.

    e7appew committed Mar 29, 2017
    #15 introduces some side-effects.
    The HOME environment variable is modified, and more likely than not,
    it overflows the string's buffer.
    
    Make sure we return the string in memory we've allocated ourselves
    to fix this.
Commits on Dec 5, 2016
Commits on Sep 2, 2016
  1. Merge pull request #17 from mptre/master

    kfish committed Sep 2, 2016
    Fix segfault when stdin is empty
  2. Merge pull request #18 from t6/master

    kfish committed Sep 2, 2016
    Plug memory leak in handle_targets
Commits on Aug 30, 2016
Commits on Aug 25, 2016
  1. Fix segfault when stdin is empty

    mptre committed Aug 25, 2016
    When reading input from stdin, ensure the initial read buffer capacity
    is greater than zero. This prevents the program from crashing when
    writing the null terminator to the buffer in read_input.
Commits on Aug 12, 2016
  1. Merge pull request #9 from gjuniioor/master

    kfish committed Aug 12, 2016
    Using markdown syntax
  2. Merge pull request #15 from valeth/xdg

    kfish committed Aug 12, 2016
    Use XDG_CACHE_HOME for xsel.log
Commits on Aug 11, 2016
  1. Merge pull request #16 from ebiggers/master

    kfish committed Aug 11, 2016
    INCR transfer bug fixes
Commits on Mar 6, 2016
  1. Do not prematurely terminate string while receiving INCR transfer

    ebiggers committed Mar 6, 2016
    This fixes a bug where xsel would only output the first 3999 characters
    of the selection.
  2. Send correct SelectionNotify event when starting INCR transfer

    ebiggers committed Mar 6, 2016
    The target should be copied from that given in SelectionRequest, not set
    to INCR.  This fixes a bug where it was impossible to paste > 4000
    characters of text from xsel to the Chromium browser.  Note that some
    programs, including Chromium, validate the 'target' that is passed back;
    while other programs, such as those which use the GTK clipboard API,
    ignore it.  But based the ICCCM, it appears that xsel is incorrect, not
    chromium:
    
        "The owner should set the specified selection, target, time, and
        propety arguments to the values received in the SelectionRequest event."
Commits on Nov 21, 2015
  1. add missing semicolon

    valeth committed Nov 21, 2015
  2. change get_homedir to get_xdg_cache_home

    valeth committed Nov 21, 2015
    don't write logfiles into the users home directory
    thats just rude :)
Commits on Apr 19, 2015
  1. Update and rename INSTALL to INSTALL.md

    gjuniioor committed Apr 19, 2015
    Rename adding .md because markdown syntaxe
  2. Update and rename README to README.md

    gjuniioor committed Apr 19, 2015
    Rename adding .md because use markdown syntax.
Commits on Oct 15, 2014
  1. Merge pull request #6 from trespasserw/patch-1

    kfish committed Oct 15, 2014
    avoid extra atom at the end of the targets list
  2. Merge pull request #5 from zevweiss/master

    kfish committed Oct 15, 2014
    Fixes and new functionality for '-t'; also a small build fix
  3. Block terminal signals while handling SelectionRequests.

    zevweiss committed Oct 15, 2014
    The intent is to avoid rudely hanging a client that happens to send
    a SelectionRequest just as we are about to exit (e.g. due to
    receiving SIGALRM while in daemon mode with '-t').
Commits on Oct 13, 2014