- Feb 23, 2013
-
-
Stelian Ionescu authored
-
- Apr 14, 2012
-
-
Luís Oliveira authored
-
- Jan 07, 2012
-
-
Luís Oliveira authored
-
- Oct 22, 2011
-
-
Liam M. Healy authored
Tests fsbv.1 and fsbv.2 added that test foreign structure call and return by value. This includes the C file and addition to makefile to generate the appropriate library, libfsbv. So that the tests are properly defined, load cffi-fsbv and then cffi-tests. Both tests should pass. The test returning a structure, fsbv.2, exposed an error in the form generated by ffcall-body-libffi; because it always generated a mem-aref on the return value, the subsequent translate-from-foreign was effectively making a double translation. Thus, this form generation has been conditionalized so that if translate-from-foreign will not be applied (e.g., built-in-type) to call mem-aref, otherwise just return the pointer.
-
- May 26, 2011
-
-
Luís Oliveira authored
As of OSX 10.6.6, loading things like CoreFoundation on something other than the initial thread results in a crash. Implemented workaround on SBCL based on what CCL does upstream. Other Lisps might benefit from similar workarounds.
-
- Sep 09, 2010
-
-
Luís Oliveira authored
Patch courtesy of Dorian Taylor, lp#631972.
-
- Apr 28, 2010
-
-
Luís Oliveira authored
Testing error situations for some pointer operations.
-
- Jan 01, 2010
-
-
Luís Oliveira authored
-
- Nov 24, 2009
-
-
Luís Oliveira authored
-
- Jul 20, 2009
-
-
Stelian Ionescu authored
-
- Jul 28, 2008
-
-
Luís Oliveira authored
-
- Apr 07, 2008
-
-
Luís Oliveira authored
-
- Apr 05, 2008
-
-
Luís Oliveira authored
-
- Jun 01, 2007
-
-
Luís Oliveira authored
- cffi-tests.asd: use gmake on solaris too. - new cffi-features: sparc[64] and hppa[64], SCL-only. (updated the respective test) - libraries.lisp: handle ERROR instead of SIMPLE-ERROR. - tests/bindings.lisp: bugfix? Patch courtesy of Douglas Crosher.
-
- Feb 14, 2007
-
-
Luís Oliveira authored
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.
-
- Nov 17, 2006
-
-
Luís Oliveira authored
-
- Oct 13, 2006
-
-
Luís Oliveira authored
-
- Oct 12, 2006
-
-
Luís Oliveira authored
- Fixed the port to architectures without dynamical FFI. - Tests with too large number of arguments (> 34) are marked as expected to fail. Patch courtesy of Juan Jose Garcia-Ripoll.
-
- Sep 25, 2006
-
-
Luís Oliveira authored
- Use pathname-device and pathname-host to more accurately get the current directory on, for example, windows. Bug report and initial fix by Yaroslav Kavenchuk.
-
- Sep 07, 2006
-
-
Luís Oliveira authored
-
- Sep 06, 2006
-
-
Luís Oliveira authored
-
- Jun 27, 2006
-
-
Luís Oliveira authored
- cffi-ecl fixes: - push cffi-features:unix on darwin too. - use si:load-foreign-module instead of ffi:load-foreign-library on DFFI platforms. - use convert-external-name in foreign-symbol-pointer. - wrap defcvar's define-foreign-symbol around eval-when. - simplify default-library-suffix - cffi-tests: - load libtest.o on ECL platforms without DFFI. - conditionalize the tests with 127 arguments based on the value of lambda-parameters-limit.
-
- Jun 07, 2006
-
-
Luís Oliveira authored
- Make the test-suite run both with and without rt::*compile-tests* bound to T.
-
- May 26, 2006
-
-
Luís Oliveira authored
-
- May 03, 2006
-
-
James Bielman authored
-
- Apr 14, 2006
-
-
Luís Oliveira authored
- update dll version. - add some CMUCL/darwin failures.
-
- Feb 23, 2006
-
-
Luís Oliveira authored
-
- Feb 15, 2006
-
-
James Bielman authored
- 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.
-
James Bielman authored
-
- Feb 14, 2006
-
-
Luís Oliveira authored
-
- Feb 12, 2006
-
-
Jack Unrue authored
-
- Feb 03, 2006
-
-
James Bielman authored
-
- Jan 16, 2006
-
-
Luís Oliveira authored
-
- Oct 27, 2005
-
-
Luís Oliveira authored
- Updated cffi-ecl.lisp, courtesy of Michael Goffioul. (Includes some ECL specific workarounds in the portable bits of CFFI.)
-
- Sep 25, 2005
-
-
Luís Oliveira authored
- extend load-foreign-library to accept a pathname as an argument. - change tests/bindings.lisp to pass a pathname.
-
- Sep 24, 2005
-
-
Luís Oliveira authored
Well, support for asdf setups that don't put fasl files next to the source files. The Makefile will delete the .fasls directories on make clean (that's where my setup puts the fasls) and bindings.lisp will save the shared library's location at compile-time.
-
- Sep 02, 2005
-
-
Luís Oliveira authored
- defcvar now works (more) correctly with aggregate types. - struct types now carry alignment information which is now correctly calculated (for unions too) according to the x86 ABI (tested on darwin/ppc too, but should study other ABI docs at some point). - also tail padding is now correctly added to structs, when necessary. (also according to the x86 ABI). - 4 new tests for this struct bug (reported by Wilco Greven). - tweaked tests/bindings.lisp to correctly load the library on Lispworks and to make it more portable across win/nix/etc..
-
- Aug 31, 2005
-
-
Luís Oliveira authored
... in order to work with the MSVC++ free toolkit. - correctly load the test library. - and __declspec(dllexport) to the test library functions - implement a strdup, used in 2 tests - added a compile.bat, the free toolkit doesn't seem to have nmake. Also, I don't know how to make ASDF automatically compile the lib under win32 like I did for *nix.
-
- Jul 04, 2005
-
-
Luís Oliveira authored
-
- Jun 07, 2005
-
-
Stelian Ionescu authored
-