Skip to content
  1. Apr 24, 2006
  2. 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
  3. 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
  4. Feb 04, 2006
  5. 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
  6. 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
  7. Dec 08, 2005
  8. 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
  9. Aug 21, 2005
    • Luís Oliveira's avatar
      A couple of minor changes. · 94e36ad3
      Luís Oliveira authored
      - Move #-cffi/no-foreign-funcall from cffi-tests.asd to
        tests/funcall.lisp and have the lisps that don't support this
        push the feature in cffi-<lisp>.lisp instead of defpackage.
      - New file: utils.lisp
      - Make Allegro, CMUCL, Corman and OpenMCL use callback-symbol-name  (from cffi-utils) to safely intern callback symbol names (James)
      - Clisp: consider (pointerp NIL)
      94e36ad3
  10. Aug 06, 2005
    • Luís Oliveira's avatar
      Initial support for Corman Lisp. · 2912c647
      Luís Oliveira authored
      - A few bugs and issues left, fails 5 tests. (the tests
        won't run automatically because Corman Lisp binds
        *load-truename* to NIL, so the code in tests/bindings.lisp
        doesn't find the C test library).
      2912c647
  11. Jul 05, 2005
  12. Jul 04, 2005
  13. Jun 12, 2005
    • Stelian Ionescu's avatar
      Very preliminary Lispworks support. · 87462687
      Stelian Ionescu authored
      Very preliminary Lispworks support.
      Calling foreign functions is not implemented, and will probably require
      vendor support as a necessary primitive does not seem to be exported.
      87462687
  14. Jun 08, 2005
  15. Jun 07, 2005