[cffi-devel] New patches: 14-Feb-2007

Luis Oliveira loliveira at common-lisp.net
Thu Feb 15 05:00:12 UTC 2007


Wed Feb 14 14:54:57 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Fix load-foreign-library bug
  
  load-foreign-library wasn't accepting non-symbol library designators
  correctly. Bug reported by Stelian Ionescu.

    M ./src/libraries.lisp -1 +1

Wed Feb 14 09:42:15 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Update documentation with stdcall/namespace/close-foreign-library changes

    M ./doc/cffi-manual.texinfo -18 +194

Wed Feb 14 08:22:12 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Fix conflict

    M ./src/cffi-clisp.lisp -1 +3

Wed Feb 14 07:57:26 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Generate more meaningful errors for invalid enums
  
  Reported by Lars Nostdal.

    M ./TODO +1
    M ./src/enum.lisp -2 +2

Wed Feb 14 07:53:18 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Remove finalizers. Users can use trivial-garbage instead.

    M ./doc/cffi-manual.texinfo -107
    M ./src/cffi-allegro.lisp -27 +1
    M ./src/cffi-clisp.lisp -26 +1
    M ./src/cffi-cmucl.lisp -19 +1
    M ./src/cffi-corman.lisp -40 +1
    M ./src/cffi-ecl.lisp -14 +1
    M ./src/cffi-lispworks.lisp -32 +1
    M ./src/cffi-openmcl.lisp -31 +1
    M ./src/cffi-sbcl.lisp -21 +1
    M ./src/cffi-scl.lisp -22 +1
    M ./src/features.lisp -1
    M ./src/package.lisp -4

Wed Feb 14 07:40:58 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * stdcall, namespaces, close-foreign-library
  
  Three new features:
    - stdcall (defcfun, foreign-funcall(-pointer), defcallback)
    - namespaces, associate foreigns vars and functions to a
      specific library. (CLISP and Lispworks only)
    - close-foreign-library actually works now.
  
  Backwards incompatible changes:
    - define-foreign-library's syntax changed slightly, can't
      load more than one foreign library per define-foreign-library
      form anymore.
    - defcvar's syntax changed.
    - foreign-funcall can't funcall pointers anymore. Use
      foreign-funcall-pointer for that.

    M ./src/cffi-allegro.lisp -18 +33
    M! ./src/cffi-clisp.lisp -50 +68
    M ./src/cffi-cmucl.lisp -26 +31
    M ./src/cffi-corman.lisp -10 +14
    M ./src/cffi-ecl.lisp -10 +21
    M ./src/cffi-gcl.lisp -2 +2
    M ./src/cffi-lispworks.lisp -21 +32
    M ./src/cffi-openmcl.lisp -10 +18
    M ./src/cffi-sbcl.lisp -12 +20
    M ./src/cffi-scl.lisp -9 +17
    M ./src/early-types.lisp -2 +2
    M ./src/features.lisp -9 +38
    M ./src/foreign-vars.lisp -45 +49
    M ./src/functions.lisp -55 +150
    M ./src/libraries.lisp -98 +111
    M ./src/package.lisp -2 +4
    M ./src/types.lisp -2 +3
    M ./tests/Makefile -1 +4
    M ./tests/bindings.lisp -5 +17
    M ./tests/callbacks.lisp -23 +42
    M ./tests/compile.bat +3
    M ./tests/defcfun.lisp -4 +30
    M ./tests/foreign-globals.lisp -2 +49
    M ./tests/funcall.lisp -3 +23
    M ./tests/libtest.c -3 +57
    A ./tests/libtest2.c
    M ./tests/misc-types.lisp -2 +2
    M ./tests/misc.lisp -3 +38
    M ./tests/struct.lisp -1 +1


An updated tarball of CFFI's source can be downloaded here:
http://common-lisp.net/project/cffi/tarballs/cffi-070214.tar.gz

Darcsweb URL:
http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cffi;a=summary



More information about the cffi-devel mailing list