[cffi-devel] New patches: 13-Feb-2006

Luis Oliveira loliveira at common-lisp.net
Tue Feb 14 06:00:05 UTC 2006


Mon Feb 13 22:29:28 CST 2006  Luis Oliveira <loliveira at common-lisp.net>
  * Fix float varargs promotion.
  
  - Convert floats to doubles in foreign-funcall-varargs. Test
    DEFCFUN.VARARGS.FLOAT now passes.

    M ./src/functions.lisp -4 +9

Mon Feb 13 22:27:33 CST 2006  Luis Oliveira <loliveira at common-lisp.net>
  * Preliminary random tester.
  
  - Push random-tester.lisp. This was used to generate the BFF tests,
    but is still not automated.
  - Update respective TODO item.

    M ./TODO -6 +1
    A ./tests/random-tester.lisp

Mon Feb 13 21:28:30 CST 2006  Luis Oliveira <loliveira at common-lisp.net>
  * MORE TESTS
  
  - New tests: callbacks.funcall.2, callbacks.bff.[12], defcfun.bff.[12].
  - Re-enable defcfun.varargs.double.
  - Use #'float instead of #'coerce in the defcfun.varargs.* tests.
  - Fix dll version in libtest.c.

    M ./tests/callbacks.lisp -2 +136
    M ./tests/defcfun.lisp -5 +125
    M ./tests/libtest.c -1 +222

Mon Feb 13 18:28:39 CST 2006  Luis Oliveira <loliveira at common-lisp.net>
  * Change defconstant to defparameter in bindings.lisp

    M ./tests/bindings.lisp -1 +3

Mon Feb 13 18:19:31 CST 2006  Luis Oliveira <loliveira at common-lisp.net>
  * Macroexpansion-time translators
  
  - New interface. expand-to-foreign-dyn, expand-to-foreign and
    expand-from-foreign.
  - defcfun/foreign-funcall/defcallback/defcvar use this as well
    as the compiler macros and setf-expanders for mem-ref, mem-aref,
    and foreign-slot-value.
  - Also, parse ignore declarations and use them to avoid translating
    such types (thus avoiding breaking the ignore declaration).

    M ./src/foreign-vars.lisp -13 +7
    M ./src/functions.lisp -46 +44
    M ./src/package.lisp -1 +4
    M ./src/types.lisp -40 +118

Sun Feb 12 12:27:09 CST 2006  Jack Unrue <jdunrue at gmail.com>
  * Implement simple version check for libtest DLL

    M ./tests/bindings.lisp +9
    M ./tests/libtest.c +2


An updated tarball of CFFI's source can be downloaded here:
http://common-lisp.net/project/cffi/tarballs/cffi-060213.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