Skip to content
  1. Jun 05, 2008
  2. Dec 08, 2007
  3. Apr 13, 2007
  4. Feb 19, 2007
  5. May 03, 2006
  6. Jan 01, 2006
  7. Dec 28, 2005
  8. Dec 23, 2005
  9. 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
  10. 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
  11. Dec 02, 2005
  12. Aug 26, 2005
    • Luís Oliveira's avatar
      Type system improvements and more. · cf0aca67
      Luís Oliveira authored
      - New tests: tests/enums.lisp (4 tests) and tests/misc-types.lisp (3 tests).
      - New file: objects.lisp, skeleton of the safe typed pointer interface. I
        also added a :boolean type here, it's looking for a better home still.
      - (early-types.lisp): type parsers, DEFINE-TYPE-SPEC-PARSER and PARSE-TYPE.
        Added abbility to have anonymous types (ie. a name is no longer required
        for FOREIGN-TYPE). Moved DEFCTYPE to types.lisp.
      - (enum.lisp): improved DEFCENUM, the values for each keyword are now
        optional, like in C. Added the anonymous type (:enum ...)
      - (types.lisp):
          - Renamed :TO-C-ARG to :TO-C-DYNAMIC.
          - Renamed FOREIGN-AREF to MEM-AREF and implemented compiler macros
            for it.
          - New exported macro: DEFINE-FOREIGN-TYPE for parameterized types.
          - Change DEFINE-TYPE-TRANSLATOR back to the previous interface,
            translators take a type argument now and we have translators
            available at runtime now too.
          - FOREIGN-TYPEDEF's now inherit their parent type's translators.
          - New :wrapper type, for anonymous typedefs with translators.
      - (strings.lisp): Renamed string to :string. Added new type, :string+ptr.
      - (utils.lisp): renamed let-if to bif.
      - (tests/callbacks.lisp): two tests were not being run for SBCL
        because I thought it triggered a bug but it's actually only one that
        triggers the bug. Fixed that.
      - Updated examples and tests to use :string instead of string.
      cf0aca67
  13. Jun 13, 2005
  14. Jun 12, 2005
  15. Jun 11, 2005
    • Stelian Ionescu's avatar
      Add unit testing framework using RT. · b1f81eee
      Stelian Ionescu authored
      Add unit testing framework using RT.
      Lots of manual and CFFI-SYS updates.
      Add passing a double float to sprintf in examples.lisp.
      Update the syntax of the nested structure example.
      Add the INC-PTR function to the CFFI-SYS backends.
      Add the shareable byte vector interface to the CFFI-SYS backends.
      Started writing support for aggregate structure slots.  Not used yet.
      b1f81eee
  16. Jun 08, 2005
  17. Jun 07, 2005