Skip to content
  1. Jan 03, 2022
  2. Aug 19, 2021
    • stacksmith's avatar
      Allow local names in WITH-FOREIGN-SLOTS · 743a9025
      stacksmith authored
      It remains compatible with existing code, but accepts additional formats for bindings:
      1) (name slot-name) - just like WITH-SLOTS;
      2) (name :pointer slot-name) - a pointer version.
      743a9025
  3. Oct 15, 2020
  4. May 28, 2020
  5. May 26, 2020
  6. May 18, 2020
    • Stelian Ionescu's avatar
      Detect statically linked libraries and avoid loading · fed34b0e
      Stelian Ionescu authored
      * add option :CANARY to DEFINE-FOREIGN-LIBRARY: a foreign symbol unique
      to the library
      
      If that symbol is found in the current image before
      the first attempt to load the library, the latter is assumed to be
      statically linked and LOAD-FOREIGN-LIBRARY only marks the load state
      as :STATIC before returning.
      
      * add new slot LOAD-STATE which, together with HANDLE, tracks the
      library
      
      | library state     | LOAD-STATE | HANDLE  |
      |-------------------|------------|---------|
      | not loaded        | NIL        | NIL     |
      | statically linked | :STATIC    | NIL     |
      | dlopen()'d        | :EXTERNAL  | non-NIL |
      fed34b0e
  7. May 04, 2020
    • Shinmera's avatar
      Implement an enum flag that elides an error when translating an enum value that was not declared. · 2e945ea7
      Shinmera authored
      This is useful for very large enumerations of which we're only interested in a subset, or enumerations that allow for arbitrary client or vendor extensions that we cannot be aware of. Erroring on a value that we ostensibly do not care about in such a situation is not desirable, and instead simply passing through the integer allows handling the interesting cases easily in a CASE or something similar.
      2e945ea7
  8. Mar 02, 2020
  9. Oct 20, 2018
  10. Feb 12, 2018
  11. Oct 05, 2017
  12. Apr 19, 2017
  13. Oct 15, 2016
  14. Apr 27, 2016
  15. Dec 04, 2015
  16. 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
  17. Jul 30, 2015
  18. May 28, 2015
  19. Mar 10, 2015
  20. Jan 25, 2015
  21. Nov 28, 2014
  22. Nov 11, 2014
  23. Feb 02, 2014
  24. Nov 24, 2013
    • Luís Oliveira's avatar
      manual: minor tweaks to the tutorial · f96c901b
      Luís Oliveira authored
      * Remove suggestion of C++ support in CFFI. It probably referred to the
        Verrazano project. There are currently no plans to support C++ in CFFI.
      * cffi-grovel has been integrated into CFFI.
      * Make it slightly easier to run the tutorial code on MacOS X.
      f96c901b
  25. Aug 18, 2013
  26. Jun 10, 2013
  27. Apr 24, 2013
  28. Apr 02, 2013
  29. Feb 23, 2013
  30. Nov 04, 2012
  31. Apr 20, 2012
    • Liam M. Healy's avatar
      Improve documentation of structure reference · 77d60b93
      Liam M. Healy authored
      Improved the documentation for Foreign Structure Types to more clearly
      describe the behavior of mem-aref under the new structure reference
      syntax and the compatibility of the bare structure reference with the
      old behavior.
      77d60b93