- Nov 21, 2011
-
-
Luís Oliveira authored
Initial patch courtesy of François-René Rideau.
-
- Jun 21, 2011
-
-
Stelian Ionescu authored
Previously, it was returning an expression, acting like a macro. Thanks to Nathan Bird for spotting this bug
-
- Dec 05, 2010
-
-
Luís Oliveira authored
-
- Sep 06, 2010
-
-
Luís Oliveira authored
Patch courtesy of Gustavo Milare.
-
- Aug 20, 2008
-
-
Stephen Compall authored
-
- Jul 23, 2008
-
-
Stephen Compall authored
-
- Mar 16, 2008
-
-
Luís Oliveira authored
Reported by Christophe Rhodes. Passes all of uffi-tests again.
-
- Jun 20, 2007
-
-
Luís Oliveira authored
Bug reported by Aurelio Bignoli.
-
- Feb 19, 2007
-
-
Luís Oliveira authored
The changes are summarized here: http://article.gmane.org/gmane.lisp.cffi.devel/1029 Also adapted tests and examples and uffi-compat.
-
- Feb 22, 2007
-
-
Luís Oliveira authored
-
- Sep 10, 2006
-
-
Luís Oliveira authored
Reported by Ricardo Alves.
-
- Aug 31, 2006
-
-
Luís Oliveira authored
- Better handling of shared library extensions on Windows. Patch courtesy of Kevin Rosenberg.
-
- May 17, 2006
-
-
Nathan Bird authored
If it is just a filename without a directory, continue passing it down to the underlying functions, as they probably know how to find a library in default location.s The test now matches the uffi behaviour too.
-
- May 20, 2006
-
-
Luís Oliveira authored
- :pointer is no longer a built-in type so we have to parse it, not find-type it. - def-array-pointer actually defines an array type with 1 element. (this emulates UFFI's behaviour) Bug report and initial patches courtesy of Lou Vanek.
-
- May 04, 2006
-
-
James Bielman authored
- Fixes an error when loading FASL files that dumped UFFI-CHAR instead of (UFFI-CHAR :CHAR) using MAKE-LOAD-FORM. - Reported by Ricardo Boccato.
-
- May 03, 2006
-
-
James Bielman authored
-
- Mar 16, 2006
-
-
Luís Oliveira authored
- New cffi-sys primitive: canonicalize-symbol-name-case. Use this instead of read-from-string. Also new tests for this. - cffi-scl.lisp: correct the evaluation order of %MEM-REF and %MEM-SET. Have 'foreign-symbol-pointer return 'nil if the symbol is not found. - uffi-compat.lisp: better support for SCL. - defcfun.lisp (defcfun.undefined): package at time of eval may differ from the compile time package. Patch courtesy of Douglas Crosher.
-
- Jan 14, 2006
-
-
James Bielman authored
-
- Jan 09, 2006
-
-
James Bielman authored
Patch courtesy of: Robert J. Macomber <xbxyh8 at rojoma.com>
-
- Dec 26, 2005
-
-
Luís Oliveira authored
Convert TYPE to the equivalent UFFI type at macro-expansion time when constant.
-
- Dec 23, 2005
-
-
Luís Oliveira authored
Determine the element type at macro-expansion time when the array type is constant.
-
- Dec 14, 2005
-
-
Luís Oliveira authored
Basically, extra quoting is supposed to be ignored. Thus 'foo, ''foo, '''foo, are all valid types.
-
- Dec 12, 2005
-
-
Luís Oliveira authored
- 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.
-
- Dec 11, 2005
-
-
Luís Oliveira authored
-
Luís Oliveira authored
-
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.
-
- Dec 09, 2005
-
-
Luís Oliveira authored
- Renamed: null-ptr -> null-pointer, null-ptr-p -> null-pointer, inc-ptr -> inc-pointer, with-foreign-ptr -> with-foreign-pointer, with-foreign-ptr-as-string -> with-foreign-pointer-as-string, foreign-slot-address -> foreign-slot-pointer, get-var-ptr -> get-var-pointer and foreign-symbol-ptr -> foreign-symbol-pointer. - Updated various references to the old names in the cffi code itself, examples, tests and the manual. - New functions: cffi(-sys):pointer-address and cffi(-sys):make-pointer. - Use these in uffi-compat. - Documented them in the manual. - New tests: POINTER.1 and POINTER.2
-
- Nov 15, 2005
-
-
James Bielman authored
-
- Nov 04, 2005
-
-
Luís Oliveira authored
-
Luís Oliveira authored
- Implement uffi:make-pointer and export uffi:pointer-address.
-
- Nov 03, 2005
-
-
Luís Oliveira authored
-
- Oct 03, 2005
-
-
Luís Oliveira authored
- make the uffi-array-type be aggregate. (hopefully this didn't break uses of this type in other situations) - add uffi's :struct-pointer type. (not well tested, but passes all tests from uffi's regression suite)
-
- Sep 15, 2005
-
-
Luís Oliveira authored
-
- Sep 09, 2005
-
-
Luís Oliveira authored
- removed foreign-object-alloc, added cffi:foreign-alloc with new options (including the functionality foreign-object-alloc provided). - renamed the cffi-sys:foreign-alloc's to cffi-sys:%foreign-alloc. - updated respective documentation. - improved mem-aref's documentation including new examples. - fixed with buf with lisp-string-to-foreign not handling empty strings correctly. added regression test. - fixed translate-to-c and translate-from-c (not exported yet) - fixed uffi-compat bugs, implemented all operators (including a bunch that aren't documented in UFFI's manual) except a foreign-string-length which is weird and not used anywhere. - added "UFFI" as a nickname for the cffi-uffi-compat package.
-
- Jun 23, 2005
-
-
Stelian Ionescu authored
Add some commentary about the how to implement UFFI array types and unions correctly.
-
- Jun 07, 2005
-
-
Stelian Ionescu authored
-