Skip to content
  1. Sep 20, 2020
  2. 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
  3. Aug 06, 2015
  4. Feb 14, 2014
  5. Nov 21, 2011
  6. Jun 21, 2011
  7. Dec 05, 2010
  8. Sep 06, 2010
  9. Aug 20, 2008
  10. Jul 23, 2008
  11. Mar 16, 2008
  12. Jun 20, 2007
  13. Feb 19, 2007
  14. Feb 22, 2007
  15. Sep 10, 2006
  16. Aug 31, 2006
  17. May 17, 2006
  18. May 20, 2006
    • Luís Oliveira's avatar
      Fix uffi-compat bugs · aae4ebae
      Luís Oliveira authored
      - :pointer is no longer a built-in type so we have to parse it,
        not find-type it.
      - def-array-pointer actually defines an array type with 1 element.
        (this emulates UFFI's behaviour)
      
      Bug report and initial patches courtesy of Lou Vanek.
      aae4ebae
  19. May 04, 2006
  20. May 03, 2006
  21. Mar 16, 2006
    • Luís Oliveira's avatar
      SCL update + new cffi-sys primitive · 0c8f86aa
      Luís Oliveira authored
      - New cffi-sys primitive: canonicalize-symbol-name-case. Use this
        instead of read-from-string. Also new tests for this.
      - cffi-scl.lisp: correct the evaluation order of %MEM-REF and %MEM-SET.
        Have 'foreign-symbol-pointer return 'nil if the symbol is not found.
      - uffi-compat.lisp: better support for SCL.
      - defcfun.lisp (defcfun.undefined): package at time of eval may differ
        from the compile time package.
      
      Patch courtesy of Douglas Crosher.
      0c8f86aa
  22. Jan 14, 2006
  23. Jan 09, 2006
  24. Dec 26, 2005
  25. Dec 23, 2005
  26. Dec 14, 2005
  27. Dec 12, 2005
    • Luís Oliveira's avatar
      Bug fixes · dc4219cd
      Luís Oliveira authored
      - WITH-FOREIGN-OBJECT should eval the type parameter. Fixed this
        as well as the examples and tests that assumed it wasn't evaluated.
      - document WITH-FOREIGN-OBJECT in the manual.
      - removed the pseudo ability to specialize arguments on
        define-type-translator. That didn't quite work, doh.
      - removed dead code from cffi-uffi-compat::foreign-type-size
        specialized on the uffi-array-type.
      - uffi-compat: parse (:array <type>) as (:array <type> 1)
      - uffi-compat: reflect the fact that CFFI:WITH-FOREIGN-OBJECT now
        evaluates the type parameter.
      dc4219cd
  28. Dec 11, 2005
  29. Dec 09, 2005
    • Luís Oliveira's avatar
      Lots of renaming and 2 new functions · bfddc915
      Luís Oliveira authored
      - Renamed: null-ptr -> null-pointer, null-ptr-p -> null-pointer,
        inc-ptr -> inc-pointer, with-foreign-ptr -> with-foreign-pointer,
        with-foreign-ptr-as-string -> with-foreign-pointer-as-string,
        foreign-slot-address -> foreign-slot-pointer,
        get-var-ptr -> get-var-pointer and
        foreign-symbol-ptr -> foreign-symbol-pointer.
      - Updated various references to the old names in the cffi code itself,
        examples, tests and the manual.
      - New functions: cffi(-sys):pointer-address and cffi(-sys):make-pointer.
      - Use these in uffi-compat.
      - Documented them in the manual.
      - New tests: POINTER.1 and POINTER.2
      bfddc915
  30. Nov 15, 2005
  31. Nov 04, 2005
  32. Nov 03, 2005
  33. Oct 03, 2005
    • Luís Oliveira's avatar
      Fixed bug in uffi-compat, added new type. · 6174372b
      Luís Oliveira authored
      - make the uffi-array-type be aggregate. (hopefully this didn't break
        uses of this type in other situations)
      - add uffi's :struct-pointer type. (not well tested, but passes all
        tests from uffi's regression suite)
      6174372b
  34. Sep 15, 2005
  35. Sep 09, 2005
    • Luís Oliveira's avatar
      foreign-alloc and uffi-compat · 189617e4
      Luís Oliveira authored
      - removed foreign-object-alloc, added cffi:foreign-alloc with new options
        (including the functionality foreign-object-alloc provided).
      - renamed the cffi-sys:foreign-alloc's to cffi-sys:%foreign-alloc.
      - updated respective documentation.
      - improved mem-aref's documentation including new examples.
      - fixed with buf with lisp-string-to-foreign not handling empty strings
        correctly. added regression test.
      - fixed translate-to-c and translate-from-c (not exported yet)
      - fixed uffi-compat bugs, implemented all operators (including a bunch
        that aren't documented in UFFI's manual) except a foreign-string-length
        which is weird and not used anywhere.
      - added "UFFI" as a nickname for the cffi-uffi-compat package.
      189617e4