Skip to content
Commits on Feb 5, 2016
  1. @luismbo

    grovel: fix pkg-config-cflags and use grovel-error

    luismbo committed
    Bug report and initial patch courtesy of Thayne McCombs.
Commits on Feb 2, 2016
  1. @luismbo

    tests: avoid collisions with other constants

    luismbo committed
    E.g., ONE is defined as a constant in a DEFBITFIELD so it can't be used
    as an argument name in CHECK-ENUMS.
  2. @luismbo

    Seems that Darwin's _Bool is now byte-sized

    luismbo committed
    At least on OS X El Capitan. Breaking compatibility with older versions
    because I'm not sure how to conditionalize for that. :-/
  3. @luismbo

    Fix FOREIGN-STRUCT-SLOT-SET-FORM for aggregate slots

    luismbo committed
    Avoid expanding into a form with a literal AGGREGATE-STRUCT-SLOT object.
  4. @attila-lendvai
Commits on Jan 31, 2016
  1. @luismbo

    Merge pull request #84 from attila-lendvai/c2ffi

    luismbo committed
    Add automatic generation of CFFI bindings via c2ffi
  2. @attila-lendvai
  3. @attila-lendvai
Commits on Jan 30, 2016
  1. @attila-lendvai
Commits on Jan 29, 2016
  1. @luismbo

    Add regression test for pr #85

    luismbo committed
  2. @deadtrickster @luismbo
Commits on Jan 28, 2016
  1. @attila-lendvai
  2. @attila-lendvai
  3. @attila-lendvai

    Clean up foreign-bitfield, inherit from foreign-enum.

    attila-lendvai committed
    INCOMPATIBLE CHANGE: bitfields in FOREIGN-BITFIELD-SYMBOLS were
    treating (field 0) entries as a valid bitfield member. This commit
    changes that, the zero'th bit is a mask of 1, so 0 entries will not
    treated as bitfields entries (only mere enum entries).
  4. @attila-lendvai
  5. @attila-lendvai
  6. @attila-lendvai

    enum and bitfield cleanup: they are not foreign-typedef's

    attila-lendvai committed
    Once fixed, also added follow-typedefs into their accessors.
    
    NOTE: the new ENSURE-PARSED-BASE-TYPE function is more premissive
    than PARSE-TYPE because it doesn't error on already parsed types.
    This shouldn't be a problem, but there might be some assumptions
    i'm not aware of.
  7. @attila-lendvai
  8. @attila-lendvai

    Modernize cffi.asd

    attila-lendvai committed
  9. @attila-lendvai

    Introduce condition types for signaling type related errors.

    attila-lendvai committed
    Also add some comments regarding the discrepancies relative to
    the C type rules.
  10. @attila-lendvai
Commits on Jan 19, 2016
  1. @attila-lendvai

    Refactor libffi code, get rid of type descriptor caching.

    attila-lendvai committed
    It was not thread safe, and it only saves a few dozen bytes
    of memory per libffi-using defcfun.
  2. @attila-lendvai

    Some libffi cleanups.

    attila-lendvai committed
    Notably it merges the windows/unix grovel files, which i could only
    test on linux.
  3. @attila-lendvai

    Implement a threadsafe cache for libffi funcalls.

    attila-lendvai committed
    There are still pending issues with the other half of the caching.
Commits on Jan 18, 2016
  1. @liamh

    Revert "Mutex on hash table for cffi-libffi"

    liamh committed
    This reverts commit bb5577b.
Commits on Jan 7, 2016
  1. @liamh

    Mutex on hash table for cffi-libffi

    liamh committed
    Use Bordeaux threads to thread lock access to the hash table, to make
    compilation thread safe. There probably isn't much risk of conflict in
    practice, but if Bordeaux threads is installed, this should remove that
    risk.  Closes https://bugs.launchpad.net/cffi/+bug/1474211.
  2. @liamh

    cffi-libffi: Fix translate-objects-ret

    liamh committed
    In translate-objects-ret for cffi-libffi, dereference the pointer
    returned from the foreign function first, then call
    translate-objects. This fixes an error reported by Attila Lendvai in
    e54b7ab when typedef is used. Test he contributed (now called
    fsbv.return-value-typedef) now passes.
Commits on Jan 6, 2016
  1. @luismbo

    Pass -y to apt-get install

    luismbo committed
    Travis recently started to behave as though its console were interactive for
    some reason, so we need to pass -y to apt-get install in orther to avoid
    getting stuck in a [y/n] prompt.
  2. @attila-lendvai
Commits on Dec 29, 2015
  1. @attila-lendvai
Commits on Dec 26, 2015
  1. @attila-lendvai
  2. @attila-lendvai

    FSBV: fix defcfun expansion for returning a struct.

    attila-lendvai committed
    The test called alloc_pair_plus_one compiled with a full warning before
    the fix.
  3. @attila-lendvai
Commits on Dec 24, 2015
  1. @liamh

    Revert "Permit calling function with pointer to struct"

    liamh committed
    This reverts commit 827985c.
Commits on Dec 23, 2015
  1. @liamh

    Permit calling function with pointer to struct

    liamh committed
    Permit calling the foreign function with a pointer for a
    structure-by-value argument. This alleviates the need to have a
    translator and a Lisp representation for that foreign structure.
Something went wrong with that request. Please try again.