Permalink
Commits on Sep 27, 2016
  1. cffi/c2ffi: fix the emission of the export statement.

     - make sure we don't try to emit a base-string.
     - add an unrelated comment without semantic change.
    attila-lendvai committed Sep 27, 2016
Commits on Sep 24, 2016
  1. add ffi-export-predicate (#101)

    This allows the user to provide a predicate to determine which of the
    generated symbols will be exported from the cffi/c2ffi specified
    package.
    
    By default no symbols are exported (so the current behaviour is maintained)
    
    The predicate is specified in the fashion as :ffi-type-transformer &
    :ffi-name-transformer
    
    ```
        :ffi-export-predicate "test-c2ffi.ffi::ffi-export-predicate"
    ```
    
    The predicate function has the following form
    
    ```
    (defun ffi-export-predicate (symbol &key &allow-other-keys)
      (alexandria:starts-with-subseq "NK-" (symbol-name symbol)))
    ```
    cbaggers committed with attila-lendvai Sep 24, 2016
Commits on Sep 12, 2016
  1. system: re-add dependency on UIOP

    Dependency on `uiop' can't be implicit for sake of `program-op' and
    `image-op' builds. User may wish to not include `asdf' or `cmp' (in case
    of ECL) in the final image. Also not including this dependency breaks
    the build-system and the application separation and is clearly invalid
    from the system definition point of view.
    
    ASDF has option (require-system :system) which doesn't reload it, if
    it's already present in the image (even if it's newer):
    
    https://common-lisp.net/project/asdf/asdf.html#index-require_002dsystem
    
    so if we create alternative patch like:
    
    -  :depends-on (:alexandria :trivial-features :babel)
    +  :depends-on ((:require :uiop) :alexandria :trivial-features :babel)
    
    then ASDF shouldn't reload the system if it's present in the memory.
    
    That said, ASDF doesn't handle (:require :system-name) options
    correctly yet.
    
    (see https://gitlab.common-lisp.net/asdf/asdf/merge_requests/13).
    
    Closes #96.
    dkochmanski committed with luismbo Sep 12, 2016
Commits on Sep 11, 2016
Commits on Sep 10, 2016
  1. cffi-abcl: fix foreign-alloc/foreign-free (#98)

    Recent change to jna in ABCL causes breakage of CFFI. Patch provided by
    ferada.
    dkochmanski committed with luismbo Sep 10, 2016
Commits on Sep 1, 2016
  1. Remove explicit dependency on UIOP

    As recommended by Faré in issue #96.
    luismbo committed on GitHub Sep 1, 2016
Commits on Aug 30, 2016
Commits on Jun 21, 2016
  1. ecl: defcallback: fix calling-convention (#93)

    This is for bytecmp and the C compiler compatibility. :cdecl doesn't
    work on Android, but :default works just fine. For C compiled code there
    is no difference.
    dkochmanski committed with luismbo Jun 21, 2016
Commits on Jun 11, 2016
  1. Avoid using uoip:os-cond

    It's only present in newer ASDFs and is basically a COND with
    macroexpansion-time test evaluation. The code that uses it is not
    performance critical.
    stassats committed with luismbo Jun 11, 2016
Commits on Apr 29, 2016
  1. c2ffi: fix: unconditionally include unnamed toplevel entries

    Used to call cl-ppcre with NIL before this fix.
    attila-lendvai committed Apr 29, 2016
Commits on Apr 27, 2016
  1. parse-command-flags: added #\Return to separators

    On Windows7+MSYS, the output of pkg-config as read by CCL included
    #\Return.
    mirkov committed with luismbo Apr 27, 2016
Commits on Apr 3, 2016
  1. Revert "travis: sbcl32 is flaky"

    cl-travis now has a workaround for this issue.
    
    This reverts commit 604b3ee.
    luismbo committed Apr 3, 2016
Commits on Mar 14, 2016
  1. travis: sbcl32 is flaky

    luismbo committed Mar 14, 2016
Commits on Mar 12, 2016
Commits on Mar 3, 2016
Commits on Feb 24, 2016
  1. Reinstate :sizet in cffi-libffi to unbreak some projects that depend …

    …on it.
    
    It was deleted in this cleanup: 4fbe586
    attila-lendvai committed Feb 24, 2016
Commits on Feb 5, 2016
  1. grovel: fix pkg-config-cflags and use grovel-error

    Bug report and initial patch courtesy of Thayne McCombs.
    luismbo committed Feb 5, 2016
Commits on Feb 2, 2016
  1. tests: avoid collisions with other constants

    E.g., ONE is defined as a constant in a DEFBITFIELD so it can't be used
    as an argument name in CHECK-ENUMS.
    luismbo committed Feb 2, 2016
  2. Seems that Darwin's _Bool is now byte-sized

    At least on OS X El Capitan. Breaking compatibility with older versions
    because I'm not sure how to conditionalize for that. :-/
    luismbo committed Feb 2, 2016
  3. Fix FOREIGN-STRUCT-SLOT-SET-FORM for aggregate slots

    Avoid expanding into a form with a literal AGGREGATE-STRUCT-SLOT object.
    luismbo committed Feb 2, 2016
Commits on Jan 31, 2016
  1. Merge pull request #84 from attila-lendvai/c2ffi

    Add automatic generation of CFFI bindings via c2ffi
    luismbo committed Jan 31, 2016