Permalink
Commits on Aug 22, 2016
  1. @lh3

    added dequeue

    lh3 committed Aug 22, 2016
Commits on Aug 16, 2016
  1. @lh3

    kexpr: evaluate by return type

    lh3 committed Aug 16, 2016
Commits on Jul 31, 2016
  1. @lh3

    added a simple header for kthread

    lh3 committed Jul 31, 2016
  2. @lh3
Commits on Dec 30, 2015
  1. @lh3
  2. @lh3
Commits on Oct 23, 2015
  1. @lh3

    Merge pull request #62 from innoink/master

    fix spelling mistake
    lh3 committed Oct 23, 2015
  2. @innoink

    fix spelling mistake

    innoink committed Oct 23, 2015
Commits on Sep 29, 2015
  1. @lh3

    added

    lh3 committed Sep 29, 2015
Commits on Sep 17, 2015
  1. @lh3

    simplified the kbtree iter a bit

    lh3 committed Sep 17, 2015
  2. @lh3
  3. @lh3

    added iterator interface to kbtree

    and deprecated the old macro interface
    lh3 committed Sep 17, 2015
Commits on Jul 23, 2015
  1. @lh3

    Merge pull request #53 from jmarshall/kgetline

    Add kstring kgetline() and ks_release() functions
    lh3 committed Jul 23, 2015
  2. @lh3

    Merge pull request #47 from jmarshall/unused-warnings

    Prevent unused function warnings in khash.h, klist.h
    lh3 committed Jul 23, 2015
  3. @lh3

    Merge pull request #32 from jmarshall/getaddrinfo

    Don't call freeaddrinfo() when getaddrinfo() fails
    lh3 committed Jul 23, 2015
  4. @jmarshall

    Don't call freeaddrinfo() when getaddrinfo() fails

    POSIX is somewhat unclear here, but doing so segfaults on some
    platforms.  Hat tip Kamil Slowikowski @slowkow.
    
    Instead print a more detailed error message using gai_strerror().
    jmarshall committed Apr 16, 2014
  5. @jmarshall

    Prevent unused function warnings in khash.h, klist.h

    Recent versions of Clang warn about unused static inline functions
    in .c files (though they suppress this warning for such definitions
    in header files).  Definitions via KHASH_INIT etc are effectively in
    the .c file, and it's impractical to make these inline other than
    static inline; so add attributes to suppress these warnings.
    jmarshall committed Mar 24, 2015
  6. @jmarshall

    Add kgetline() to kstring.c/.h

    Similar to BSD's getline() but omits the \n terminator and manages the
    memory as a kstring.  Call with "(kgets_func *) fgets" to read from stdio,
    or implement an fgets()-style function to read from other streams, e.g.,
    a wrapper around gzgets() that reorders its parameters as per fgets().
    jmarshall committed Jun 9, 2015
Commits on Jul 2, 2015
  1. @jmarshall

    Add ks_release() to kstring.h

    Using this function is a more explicit way of transferring ownership
    than just "foo = str.s"; the latter leaves room for readers to wonder
    whether a subsequent "free(str.s)" has been forgotten.
    jmarshall committed Mar 12, 2014
Commits on Jun 26, 2015
  1. @lh3

    Merge pull request #52 from ihh/master

    Fixed output bug where leaf branch length is not printed
    lh3 committed Jun 26, 2015
  2. @ihh
Commits on May 22, 2015
  1. @lh3

    fixed a bug and a portability issue

    lh3 committed May 22, 2015
  2. @lh3

    don't stop on undefined functions

    lh3 committed May 22, 2015
  3. @lh3

    set user-defined functions

    lh3 committed May 22, 2015
  4. @lh3

    code cleanup

    lh3 committed May 22, 2015
  5. @lh3
  6. @lh3

    a little bit code cleanup

    lh3 committed May 22, 2015
  7. @lh3
  8. @lh3
  9. @lh3

    use operator functions

    lh3 committed May 22, 2015
  10. @lh3
  11. @lh3

    command line assignment

    lh3 committed May 22, 2015
  12. @lh3

    check unknown function names

    lh3 committed May 22, 2015
  13. @lh3

    return final type

    lh3 committed May 22, 2015
  14. @lh3

    support assignment

    lh3 committed May 22, 2015