[cffi-devel] New changes in cffi-luis
Luís Oliveira
luismbo at gmail.com
Wed Dec 21 17:08:38 UTC 2005
Wed Dec 21 17:02:35 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Make typedefs for structs work.
- Make get-slot-info (and thus foreign-slot-value) work on typedefs
to a struct type.
- Regression test: STRUCT.4
Wed Dec 21 10:54:27 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Use fli:make-pointer instead of fli:*null-pointer*
Use FLI:MAKE-POINTER here instead of FLI:*NULL-POINTER* for
implementing CFFI-SYS:NULL-POINTER since old versions of
Lispworks don't seem to have the latter.
Patch courtesy of: Vebjorn Ljosa <vebjorn(@)ljosa.com>
Tue Dec 20 04:38:49 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* CFFI-SYS-SPEC manual updates & Texinfo idioms
Patch from: Stephen Compall <s11 at member.fsf.org>
- Use @var for arguments, rather than @code.
- Use @deftpx for a chain of type defns, rather than repeated @deftp
blocks.
- Use @result{} instead of explicit =>.
- Use @r with appropriate formatting for comments in
@examples/@lisps. [didn't apply these changes since they didn't
play well with the colorize script in the HTML output --luis]
- Introduction: Convert naming convention to a list of general
conventions, and define "foreign type".
- Rename the pointer functions.
- Document new functions.
- Use new @impnote macro to add notes, so they can be conditionally
removed from the manual.
Tue Dec 20 03:58:58 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Forgot to export %close-foreign-library from cffi-lispworks.lisp
Thu Dec 15 15:45:26 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Untabify cffi-ecl.lisp
Thu Dec 15 09:58:34 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Preliminary support for close-foreign-library
Unimplemented for ECL and Corman. Lously implemented in CMUCL (and
possibly
in the other ports too). Not exported.
Wed Dec 14 11:08:39 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Fix parsing of types to match UFFI's behaviour
Basically, extra quoting is supposed to be ignored.
Thus 'foo, ''foo, '''foo, are all valid types.
Mon Dec 12 05:37:39 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Bug fixes
- 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.
Sun Dec 11 10:01:02 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Fix uffi-compat wrt to the ptr->pointer changes
Sun Dec 11 06:45:57 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Added GETENV to uffi-compat
Sun Dec 11 05:31:18 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Oops
- Missing comma in define-type-translator.
- Also, it almost but not quite accepted the method specifiers.
Fixed.
Sun Dec 11 05:22:01 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Type translation refactoring
- 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.
Fri Dec 9 05:30:51 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* Update manual: CMUCL passes all tests.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt
More information about the cffi-devel
mailing list