Skip to content
  1. Nov 21, 2011
  2. Jun 21, 2011
  3. Dec 05, 2010
  4. Sep 06, 2010
  5. Aug 20, 2008
  6. Jul 23, 2008
  7. Mar 16, 2008
  8. Jun 20, 2007
  9. Feb 19, 2007
  10. Feb 22, 2007
  11. Sep 10, 2006
  12. Aug 31, 2006
  13. May 17, 2006
  14. 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
  15. May 04, 2006
  16. May 03, 2006
  17. 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
  18. Jan 14, 2006
  19. Jan 09, 2006
  20. Dec 26, 2005
  21. Dec 23, 2005
  22. Dec 14, 2005
  23. 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
  24. Dec 11, 2005
  25. 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
  26. Nov 15, 2005
  27. Nov 04, 2005
  28. Nov 03, 2005
  29. 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
  30. Sep 15, 2005
  31. 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
  32. Jun 23, 2005
  33. Jun 07, 2005