Permalink
Commits on Jun 21, 2016
  1. Merge pull request #113 from rogers0/kfreebsd-n-hurd

    Build support for kFreeBSD and GNU/Hurd
    gregvirgin committed on GitHub Jun 21, 2016
  2. Merge pull request #112 from rogers0/multi-arch

    Add Multi-Arch support
    gregvirgin committed on GitHub Jun 21, 2016
Commits on Jun 18, 2016
Commits on Jun 16, 2016
Commits on Jan 5, 2016
  1. Merge branch 'feature/stack-bitsets' into develop

    John Zachary committed Jan 5, 2016
  2. Support for bitsets allocated on the stack

    This patch includes an _init and _done function for bitsets allocated on
    the stack.
    John Zachary committed with John Zachary Dec 17, 2014
Commits on Nov 9, 2015
  1. Merge pull request #108 from redjack/rhel5

    RHEL 5 compatibility
    rouge8 committed Nov 9, 2015
  2. Support RHEL 5

    This patch includes two fixes to support RHEL5, assuming `cmake28`,
    `gcc44`, `gcc44-c++`, and `binutils220` have all been installed from
    EPEL:
    
    - Our usage of `pthread_setname_np` is not supported on versions of
      glibc earlier than 2.12. This patch checks the glibc MINOR version and
      only uses that API where supported.
    - Explicitly include `string.h` to support older versions of GCC
    John Zachary committed with rouge8 Nov 6, 2015
Commits on Sep 3, 2015
  1. Merge branch 'release/0.15.0' into develop

    * release/0.15.0:
      Bump release 0.15.0
    Douglas Creager committed Sep 3, 2015
  2. Merge branch 'release/0.15.0'

    * release/0.15.0:
      Bump release 0.15.0
      Update mempool copyright dates
      Separate callback functions for cork_mempool
      Use all LDFLAGS when linking via pkgconfig
      Debug allocator should always abort
      Higher timeout for bitset tests
      Fix macros for cmake 2.8.7
      Enable static libraries
      Add cmake helper macros
      Library version API
      Separate out major/minor/patch versions
      Enable static libraries
    Douglas Creager committed Sep 3, 2015
  3. Bump release 0.15.0

    Douglas Creager committed Sep 3, 2015
Commits on Aug 26, 2015
  1. Update mempool copyright dates

    I forgot to update the copyright dates in the previous PR.
    Douglas Creager committed Aug 26, 2015
  2. Merge pull request #106 from redjack/feature/mempool-callbacks

    Separate callback functions for cork_mempool
    Douglas Creager committed Aug 26, 2015
  3. Separate callback functions for cork_mempool

    The cork_mempool type lets you provide `init_object` and `done_object`
    callbacks, which are called when an instance is first allocated and
    finally deallocated (i.e., exactly once per instance, regardless of how
    many times the instance is reused).  This patch updates the API to have
    separate functions for setting each of those callbacks, instead of the
    single big function — this is more consistent with our current pattern,
    and is nicer for ABI compatibility reasons.
    
    The existing `set_callbacks` function still exists, but it's now
    deprecated and no longer mentioned in the documentation.
    Douglas Creager committed Aug 26, 2015
Commits on Jun 30, 2015
  1. Merge pull request #103 from redjack/feature/static-template

    Use cmake helper macros
    Douglas Creager committed Jun 30, 2015
  2. Merge remote-tracking branch 'template/c-template' into feature/stati…

    …c-template
    
    * template/c-template:
      Use all LDFLAGS when linking via pkgconfig
      Fix macros for cmake 2.8.7
      Enable static libraries
      Add cmake helper macros
    Douglas Creager committed Jun 29, 2015
Commits on Jun 29, 2015
  1. Use all LDFLAGS when linking via pkgconfig

    As one example, the Ubuntu pkgconfig file for check includes a
    `-pthread` switch, which cmake doesn't pass through if we use the
    `_LIBRARIES` variable instead of the `_LDFLAGS` variable.
    Douglas Creager committed Jun 29, 2015
  2. Merge pull request #104 from redjack/feature/debug-assert

    Debug allocator should always abort
    Douglas Creager committed Jun 29, 2015
  3. Debug allocator should always abort

    We provide a "debug" allocator, which verifies that the sizes that you
    provide to the allocation functions matches the sizes that you provide
    to the deallocation functions.  Before, we used the builtin `assert`
    macro to perform this check.  However, that means that if we compile
    libcork in `Release` mode (in which asserts are left out), we never
    actually perform the check!  We now use an explicit check, and call
    `abort` ourselves if the check fails — our assumption being that if you
    ask for the debug allocator, you want at least this particular bit of
    debug behavior even if the rest of the library was compiled in `Release`
    mode.
    Douglas Creager committed Jun 29, 2015
  4. Merge pull request #105 from redjack/feature/bitset-timeout

    Higher timeout for bitset tests
    Douglas Creager committed Jun 29, 2015
  5. Higher timeout for bitset tests

    This test can take awhile, which sometimes causes a spurious test
    failure when running under Travis.  Let's bump the timeout to give us
    more wiggle room.
    Douglas Creager committed Jun 29, 2015
Commits on Jun 26, 2015
  1. Fix macros for cmake 2.8.7

    We need to be careful about when we're passing the `__SOURCES` variable
    as a list (and therefore don't want to quote it).  We can't use
    `target_include_directories` before 2.8.12, and need to fall back on
    `include_directories` if it isn't available.  And we have to explicitly
    include the file that defines `cmake_parse_arguments` on some earlier
    cmake versions (although I'm not sure precisely where the boundary is).
    Douglas Creager committed Jun 26, 2015
Commits on Jun 25, 2015
  1. Merge pull request #102 from redjack/feature/version

    Library version API
    Douglas Creager committed Jun 25, 2015
  2. Merge pull request #13 from redjack/feature/static

    Enable static libraries
    Douglas Creager committed Jun 25, 2015
  3. Enable static libraries

    The new ENABLE_SHARED, ENABLE_SHARED_EXECUTABLES, and ENABLE_STATIC
    cmake flags give you full control over whether to build shared and/or
    static libraries, and whether to link any executables against shared
    libraries or static.
    Douglas Creager committed Jun 25, 2015
  4. Add cmake helper macros

    Instead of having to copy-paste all of the cmake magic for finding
    prereqs and building our libraries and programs, lets add a handful of
    helper macros that encapsulate the details.
    Douglas Creager committed Jun 25, 2015
Commits on Jun 18, 2015
  1. Library version API

    We now provide access to the libcork version number using both
    compile-time macros and runtime functions.  Right now only the macros
    support comparison, using the common (major*1000000 + minor*1000 +
    patch) pattern.
    Douglas Creager committed Jun 18, 2015
  2. Merge remote-tracking branch 'template/c-template' into feature/version

    * template/c-template:
      Separate out major/minor/patch versions
    Douglas Creager committed Jun 18, 2015
  3. Merge pull request #12 from redjack/feature/version

    Separate out major/minor/patch versions
    Douglas Creager committed Jun 18, 2015
  4. Separate out major/minor/patch versions

    Our template already grabs the current version from git tags.  We now
    also separate this out in major, minor, and patch versions, stored in
    the `VERSION_MAJOR`, `VERSION_MINOR`, and `VERSION_PATCH` cmake
    variables, respectively.  We also grab the SHA-1 identifier of the
    current git commit and store that in the `GIT_SHA1` variable.
    
    (Note that this means that the cmake scripts only work from a valid git
    checkout.  The version detection tries to support working from a release
    tarball, as well, but we don't currently have a good mechanism for
    generating one of those.  Once we do, we should tweak all of this to
    work there, too.)
    Douglas Creager committed Jun 18, 2015
  5. Merge pull request #100 from redjack/feature/static

    Enable static libraries
    Douglas Creager committed Jun 18, 2015
  6. Enable static libraries

    The new ENABLE_SHARED, ENABLE_SHARED_EXECUTABLES, and ENABLE_STATIC
    cmake flags give you full control over whether to build shared and/or
    static libraries, and whether to link any executables against shared
    libraries or static.
    Douglas Creager committed May 29, 2015
Commits on Mar 12, 2015
  1. Merge branch 'release/0.14.3' into develop

    * release/0.14.3:
      Release 0.14.3
    Douglas Creager committed Mar 12, 2015