Skip to content
  1. Jan 26, 2020
  2. Jan 30, 2018
  3. Apr 19, 2017
  4. Dec 26, 2016
  5. Sep 12, 2016
    • Daniel Kochmanski's avatar
      system: re-add dependency on UIOP · 2c60ad76
      Daniel Kochmanski authored
      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 asdf/asdf!13).
      
      Closes #96.
      2c60ad76
  6. Sep 01, 2016
  7. Mar 03, 2016
  8. Jan 31, 2016
  9. Jan 30, 2016
  10. Jan 28, 2016
  11. Oct 19, 2015
    • Francois-Rene Rideau's avatar
      Make CFFI-grovel play well with ASDF 3.1.6 · 2de8ece5
      Francois-Rene Rideau authored
      Move the C toolchain support to its own system cffi-toolchain.
      
      Create linkable object files and include them in output-files for
      compile-op, so that they can be found and linked by a recent-enough
      ASDF (3.1.6 or later).
      
      Allow for delivery of a system with a single static and/or dynamic
      library, and on support platform (CLISP, CMUCL, SBCL), enable delivery
      of a standalone executable that statically links required extensions.
      
      This requires a recent SBCL (will hopefully be released in 1.2.17).
      ASDF 3.1.6 is required, but backward compatibility code is
      provided at least back to ASDF 3.1.2.
      
      On BSD, use ld -r for "libraries" instead of ar and possibly libtool.
      
      When forking a Lisp to dump an image, support Quicklisp.
      
      Make CFFI-Grovel generally more robust.
      
      Document static linking operations in manual. Improve documentation.
      
      Add test for ASDF support including wrappers.
      2de8ece5
  12. Jan 25, 2015
  13. Nov 04, 2012
  14. Mar 10, 2012
  15. Sep 11, 2011
    • Liam M. Healy's avatar
      Define structure interface to libffi · f5469081
      Liam M. Healy authored
      Generic function translate-into-foreign-memory and funtion
      convert-into-foreign-memory definitions now loaded by cffi.  System
      cffi-fsbv defined for calling functions with foreign structures by
      value using libffi.  Current state of this system is to make
      libffi-type-pointer and associate with the structure in defcstruct.
      This works on test structure
      (macroexpand '(defcstruct (complex :class complex-type) (real :double) (imag :double)))
      but nothing further is done with the libffi-type-pointer.
      
      To do: fix lookup-type so that if there is no type defined, it returns
      nil.  Do iterate-foreign-structure in advance of macro expansion in
      cstruct-libffi-hook, if any arguments lack type translation, then
      return nil.  This means that that structure can not be passed/returned
      by value.  Then load cif after cstruct.  Secondary bug fix: defsynonym
      'unsigned to something, not sure what it's supposed to be; :uint?
      f5469081
  16. Aug 22, 2010
    • Luís Oliveira's avatar
      Moving repository to git. · cc8517b5
      Luís Oliveira authored
      - Added .gitignore.
      - Adapted release.sh script to git.
      - Removed :version from cffi.asd. Release tarballs now get the release
        version inserted into the tarball's cffi.asd.
      - Update manual with git info.
      v0.10.6
      cc8517b5
  17. May 20, 2010
  18. Jan 01, 2010
  19. Jun 16, 2009
  20. Feb 01, 2009
  21. Oct 29, 2008
  22. Sep 12, 2008
  23. Aug 20, 2008
  24. Jul 29, 2008
  25. Jul 28, 2008
  26. Jun 03, 2008
  27. Dec 30, 2007
  28. Jul 19, 2007
    • Luís Oliveira's avatar
      Use trivial-features. · d1709647
      Luís Oliveira authored
      Not sure if this is a great idea yet.  In any case, CFFI-FEATURES is
      still there for backwards compatibility for the time being.
      d1709647
  29. Jun 08, 2007
    • Luís Oliveira's avatar
      Encoding support using Babel · 4f1b66c4
      Luís Oliveira authored
      - Preliminary (likely buggy) version.  Includes documentation and tests.
      - New cffi-features: big-endian and little-endian determined with CFFI
        code.
      - Needs cleaning up.
      4f1b66c4
  30. Jun 01, 2007
  31. Sep 08, 2006
  32. May 03, 2006
  33. Apr 24, 2006
  34. Apr 18, 2006
    • Luís Oliveira's avatar
      More minor changes to cffi-tests · 9a1bd8bd
      Luís Oliveira authored
      - add asdf:test-op to the cffi system
      - mark a couple more cmucl failures
      - get rid of the warning in libtest.c about comparing void* and
        function pointer
      9a1bd8bd
  35. Feb 23, 2006
    • Luís Oliveira's avatar
      SCL port, courtesy of Douglas Crosher · 3ce10a0c
      Luís Oliveira authored
      - Makefile: new test-scl target. Add SCL's fasl file extensions
        to the clean target.
      - Remove SCL TODO item.
      - New file: cffi-scl.lisp.
      - New primitive type :long-double. Since it's only supported by
        SCL, it's not worth adding a no-long-double feature just yet.
      - New tests for :long-double.
      - Add information about SCL and the new :long-double type to
        the user manual.
      3ce10a0c
  36. Feb 04, 2006
  37. Jan 07, 2006
    • Luís Oliveira's avatar
      Pushing cffi-features symbols to *features* · 9ac097e9
      Luís Oliveira authored
      - Renamed :cffi/no-foreign-funcall and :cffi/no-long-long to
        cffi-features:foreign-funcall and cffi-features:long-long respectively
        (with the opposite meanings of course).
      - Also new features (in the cffi-features package): darwin, unix, windows,
        ppc32 and x86. More could be added. The cffi-sys backends are
        responsible for pushing these features.
      9ac097e9
  38. Dec 11, 2005
    • Luís Oliveira's avatar
      Type translation refactoring · 6733be49
      Luís Oliveira authored
      - Refactoring of the type translation mechanism, now based on
        generic functions. The only user-visible changes is that you can
        now specialize the on the argument of the translator, and there's
        no type argument now (which was useless too for user-defined types).
      - Don't export define-type-spec-parser since it's useless on its own.
      - The anonymous :enum type is gone.
      - Updated manual.
      6733be49