1 2005-03-03 Kevin Rosenberg (kevin@rosenberg.net)
2 * src/primitives.lisp: Add support for :union types
3 [patch from Cyrus Harmon]
4 * tests/union.lisp, tests/structs.lisp: Tests for
5 union and structure types [from Cyrus Harmon]
7 2005-02-22 Kevin Rosenberg (kevin@rosenberg.net)
8 * src/primitives.lisp, src/strings.lisp: Better support
9 for sb-unicode [from Yoshinori Tahara and R. Mattes]
11 2005-01-22 Kevin Rosenberg (kevin@rosenberg.net)
12 * src/primitives.lisp: Better support SBCL-AMD64
14 2004-11-08 Kevin Rosenberg (kevin@rosenberg.net)
15 * src/strings.lisp: Better support sb-unicode
16 * tests/compress.lisp: Support sb-unicode
18 2004-10-07 Kevin Rosenberg (kevin@rosenberg.net)
19 * src/objects.lisp: Add new function:
20 convert-from-foreign-usb8
22 2004-04-15 Kevin Rosenberg (kevin@rosenberg.net)
23 * src/objects.lisp: Add new functions:
24 MAKE-POINTER and POINTER-ADDRESS
26 2004-04-13 Kevin Rosenberg (kevin@rosenberg.net)
27 * src/string.lisp: Add new FOREIGN-STRING-LENGTH
29 2003-08-15 Kevin Rosenberg (kevin@rosenberg.net)
30 * Added with-cast-pointer and def-foreign-var (patches submitted
32 * Added many new tests
34 2002-10-16 Kevin Rosenberg (kevin@rosenberg.net)
35 * Added support for SBCL and SCL
37 2002-09-29 Kevin Rosenberg (kevin@rosenberg.net)
38 * Numerous changes in openmcl support (uffi now supports
41 2002-09-19 Kevin Rosenberg (kevin@rosenberg.net)
42 - Integrate John Desoi's OpenMCL support into src-mcl
43 * examples/Makefile: add section for building on MacOS X (John Desoi)
44 * examples/test-examples: changed from mk: to asdf: package loading (KMR)
45 * examples/run-examples: changed from mk: to asdf: package loading (KMR),
46 add conditional loading if UFFI not loaded (John Desoi)
47 * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
48 converted compressed output to hexidecimal display (KMR)
49 * examples/union.cl: Rework the tests (KMR)
50 * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
51 * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
53 2002-09-16 Kevin Rosenberg (kevin@rosenberg.net)
54 - Restructure directories to move to a asdf definition file
57 2002-08-25 Kevin Rosenberg (kevin@rosenberg.net)
58 - Restructure directories to attempt to properly handle both
59 Common Lisp Controller and non-CLC systems
61 2002-08-17 Kevin Rosenberg (kevin@rosenberg.net)
63 - add uffi.asd for ASDF users
65 2002-08-01 Kevin Rosenberg (kevin@rosenberg.net)
66 - Restructure directories to improve Common Lisp Controller v3
69 2002-07-25 Kevin Rosenberg (kevin@rosenberg.net)
71 - Rework handling of logical pathnames.
72 - Move run-examples.cl to examples directory.
74 2002-06-28 Kevin Rosenberg (kevin@rosenberg.net)
76 - Added size-of-foreign-type function.
78 2002-06-26 Kevin Rosenberg (kevin@rosenberg.net)
80 - Fix bug in Lispworks allocate-foreign-object
81 - Added new :unsigned-byte type. Made :byte signed.
83 2002-04-27 Kevin Rosenberg (kevin@rosenberg.net)
87 2002-04-23 Kevin Rosenberg (kevin@rosenberg.net)
89 Updated to debian docbook catalog
91 2002-04-23 John DeSoi (desoi@mac.com)
95 2002-04-06 Kevin Rosenberg (kevin@rosenberg.net)
96 * src/mcl/libraries.cl:
97 Removed unnecessary function and added find-foreign-library
99 Added authorship for John DeSoi
101 Added documentation for find-foreign-library
103 Simplied logical pathnames and MCL loading
105 2002-04-04 John DeSoi (desoi@mac.com)
107 Added initial support for MCL
109 2002-04-02 Kevin Rosenberg (kevin@rosenberg.net)
111 Added test for .so libraries on CMUCL and use sys::load-object-file instead
112 of alien:load-library-file
114 Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
116 2002-04-02 Kevin Rosenberg (kevin@rosenberg.net)
117 * examples/compress.cl:
120 Added support for SPARC big-endian
122 Automated testing suite
124 2002-04-01 Kevin Rosenberg (kevin@rosenberg.net)
127 Changed default type for FreeBSD and updated Makefile for
128 FreeBSD and Solaris. Enhanced find-foreign-library to
129 take a list of types to search.
130 * examples/compress.cl:
131 Add support to use find-foreign-library
133 2002-03-31 Kevin Rosenberg (kevin@rosenberg.net)
135 Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
137 Create a .a library file for FreeBSD
139 Added default type and find-foreign-library functions
141 2002-03-29 Kevin Rosenberg (kevin@rosenberg.net)
143 Fixed bug in deref-pointer (Thanks John Desoi!)
145 2002-03-22 Kevin Rosenberg (kevin@rosenberg.net)
147 Changed name and implementation of def-array to more appropriate
150 Updated def-array-pointer documentation
152 Made results of def-constant equal those of cl:defconstant
154 Made type be evaluated for with-foreign-object and allocate-foreign-object
156 Increase to 0.3.0 to coincide with the release of CLSQL.
159 * Fixed problem with NULL foreign-strings with CMUCL
160 * Added c-test-fns to examples for allow more specific testing
161 of UFFI. Builds on UNIX and Win32 platforms.
162 * Added def-union function, added union.cl example
163 * Fixed error with ensure-char-[character|integer]
164 * Added 2-d array example to examples/arrays.cl
165 * Fixed documentation error on gethostname
166 * Added ensure-char-* and def-union to documentation
167 * Added double-float vector example to c-test-fns
168 * Reworked cstring on Lispworks to have LW handle string conversion
169 * First pass at with-foreign-object -- unoptimized
170 * Added gethostname2 example which uses with-foreign-object
171 * Added char-array-to-pointer function to encapsulate
172 converting a char array to a char pointer
173 * Converted with-foreign-object to use stack allocation on CMUCL and LW
174 * Added benchmark code, first file is for allocation
177 * Updated strings.cl so that foreign-strings are always unsigned.
178 Fixes a problem with strtol example.
179 * Added ensure-char-character and ensure-char-integer to handle
180 differences in implementations dereferencing of (* :char).
181 * Added section on design priorities for UFFI
182 * Added section in TODO on splitting implementation-dependent code
185 * Added size parameter to allocate-foreign-object. Creates an array
187 * Got array-2d example working with a 1-d array.
188 * Cleaned strtol example
192 * Documentation fixes (Erik Winkels)
193 * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
196 * Changed deref-pointer so it always returns a character when
197 called with a :char or :unsigned-char type
198 * Removed function ensure-char as no longer needed
199 * Added missing :byte specifier to Lispworks
200 * Changed default string type in Lispworks to :unsigned-char
201 which is the native type for Lispworks foreign-strings.
202 * Reworked strtol to handle new character pointing method
205 * Fixed return value in load-foreign-library (Thanks Erik Winkels),
206 modified routine to accept pathnames as well as strings.
207 * Fix documention with :pointer-void (Again, Erik Winkels)
208 * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
211 * Finished basic skeleton of documentation.
214 * Changed license to more liberal Lisp Lessor GNU Public License
215 * Fixed problem with uffi.system absent from in distribution
217 * Fixed compiler warnings
221 * Changed def-type to def-foreign-type
222 * Created new macro def-type to generate cl:deftype forms. Removed
223 uffi-declare and uffi-slot-type as they are no longer necessary.
226 * Modified input parameters to load-foreign-library
227 * Added to documention
228 * Changed parameter order in get-slot-value and deref-array
231 * Added to documentation
232 * Made Allegro CL array access more efficient
233 * Changed def-routine name to def-function
234 * Fixed bug in def-function for Lispworks]
235 * Fixed error in +null-c-string-pointer+ name
236 * Fixed error in (make-null-pointer) for Lispworks
237 * Reworked Lispwork c-strings to be (* :char) rather than the
238 implementation default of (* (:unsigned :char)) to be consistent
239 with CMUCL. Bumped version to 0.2.0 because of change this change.
240 * Renamed c-string to cstring to emphasize it as a basic type
241 * Modified getenv.cl example to avoid name collison with LW
242 * Modified compress.cl to setup output buffer as :unsigned*char
243 * Added test-all-examples function. All routines tested okay with
247 * Added ZIP file output with LF->CRLF translations to distribution
248 * Modified def-enum to use uffi:def-constant rather than