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

Wed Feb 15 23:15:44 CST 2006 Luis Oliveira <loliveira@common-lisp.net> * Fix typo. extend -> extent M ./doc/cffi-manual.texinfo -1 +1 Wed Feb 15 23:07:35 CST 2006 Luis Oliveira <loliveira@common-lisp.net> * Minor change to tests/defcfun.lisp - Remove unnecessary (setf (mem-ref s :char) 0) forms. M ./tests/defcfun.lisp -7 Wed Feb 15 22:55:47 CST 2006 Luis Oliveira <loliveira@common-lisp.net> * CFFI Manual update - Update known issues (callback.bff.[12] failures). - defbitfield, foreign-bitfield-symbols and foreign-bitfield-value. - Fix typo in tutorial. defenum -> defcenum. - New section "Other Types" documenting :string, :boolean and :wrapper. - Add note about the translate-* methods not being meant to be called directly and suggesting convert-* instead. - Document the macroexpansion-time translators in a new "Optimizing Type Translators" sub-section. - Document defcenum's base-type option. - Document defcfun's varargs support. M ./doc/cffi-manual.texinfo -15 +371 Wed Feb 15 22:53:35 CST 2006 Luis Oliveira <loliveira@common-lisp.net> * New functions convert-to/from-foreign and free-converted-object - These functions basically export the functionality of translate-type-to-foreign, translate-type-from-foreign and free-translated-object. - TODO: document these. M ./TODO -3 +2 M ./src/package.lisp +3 M ./src/types.lisp +23 Wed Feb 15 22:52:40 CST 2006 Luis Oliveira <loliveira@common-lisp.net> * New TODO item: defcfun compiler macros M ./TODO +3 Wed Feb 15 16:25:59 CST 2006 James Bielman <jamesjb@jamesjb.com> * Implement compiler macros for %MEM-REF and %MEM-SET in LispWorks. - Use FLI:FOREIGN-TYPED-AREF if available and dereferencing a number. - Avoid calling INC-POINTER when the offset is a multiple of the type size allowing direct use of the INDEX argument to FOREIGN-TYPED-AREF. - Fall back to open-coding the call to FLI:DEREFERENCE otherwise. M ./src/cffi-lispworks.lisp +84 Wed Feb 15 15:34:42 CST 2006 James Bielman <jamesjb@jamesjb.com> * Delete LispWorks/Linux .ufsl files on make clean. M ./Makefile -1 +1 Wed Feb 15 14:15:14 CST 2006 James Bielman <jamesjb@jamesjb.com> * Use C limits for foreign floats and doubles instead of Lisp's. - Export 'float_min', 'float_max', 'double_min', and 'double_max' from the libtest shared library with the values of FLT_MIN, FLT_MAX, DBL_MIN, and DBL_MAX, respectively. - Use *FLOAT-MIN*, *FLOAT-MAX*, *DOUBLE-MIN*, and *DOUBLE-MAX* as test values for foreign floats/doubles instead of the Lisp constants <foo>-POSITIVE-<bar>-FLOAT. M ./tests/bindings.lisp -1 +9 M ./tests/libtest.c -1 +7 M ./tests/memory.lisp -16 +16 Wed Feb 15 11:43:16 CST 2006 Luis Oliveira <loliveira@common-lisp.net> * Oops, fix tests. - MISC-TYPES.BOOLEAN.2 was using the wrong ff name. - MISC-TYPES.EXPAND.* need the expand-* methods defined at macroexpansion-time. M ./tests/misc-types.lisp -5 +6 Wed Feb 15 11:16:31 CST 2006 James Bielman <jamesjb@jamesjb.com> * Change +REQUIRED-DLL-VERSION+ to *REQUIRED-DLL-VERSION*. M ./tests/bindings.lisp -3 +3 Wed Feb 15 03:13:37 CST 2006 James Bielman <jamesjb@jamesjb.com> * Remove completed TODO item about building 32 and 64 bit libtest. M ./TODO -2 Wed Feb 15 10:35:51 CST 2006 Luis Oliveira <loliveira@common-lisp.net> * A few more tests - Tests for the new macroexpansion-time type translator interface: MISC-TYPES.EXPAND.[1234] - New tests: DEREF.LONG-LONG and DEREF.UNSIGNED-LONG-LONG. - Tests for mem-ref with non-constant type arguments: DEREF.NONCONST.* - Fix some comments in tests/memory.lisp. - New test: MISC-TYPES.BOOLEAN.2 (accepting typedefs to integer types) M ./tests/libtest.c +3 M ./tests/memory.lisp -16 +140 M ./tests/misc-types.lisp -3 +66 An updated tarball of CFFI's source can be downloaded here: http://common-lisp.net/project/cffi/tarballs/cffi-060215.tar.gz Darcsweb URL: http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cffi;a=summary
participants (1)
-
loliveira@common-lisp.net