1 2004-05-20 Kevin Rosenberg (kevin@rosenberg.net)
2 * Version 1.5.0 released
3 * Reworked array allocation and dereferencing for cmu/sbcl for greater
4 consistancy/robustness. Hopefully, this won't break any packages that use
5 UFFI, but the change does slightly change the alien types of foreign variables.
7 2004-04-15 Kevin Rosenberg (kevin@rosenberg.net)
8 * src/objects.lisp: Add new functions:
9 MAKE-POINTER and POINTER-ADDRESS
11 2004-04-13 Kevin Rosenberg (kevin@rosenberg.net)
12 * src/string.lisp: Add new FOREIGN-STRING-LENGTH
14 2003-08-15 Kevin Rosenberg (kevin@rosenberg.net)
15 * Added with-cast-pointer and def-foreign-var (patches submitted
17 * Added many new tests
19 2002-10-16 Kevin Rosenberg (kevin@rosenberg.net)
20 * Added support for SBCL and SCL
22 2002-09-29 Kevin Rosenberg (kevin@rosenberg.net)
23 * Numerous changes in openmcl support (uffi now supports
26 2002-09-19 Kevin Rosenberg (kevin@rosenberg.net)
27 - Integrate John Desoi's OpenMCL support into src-mcl
28 * examples/Makefile: add section for building on MacOS X (John Desoi)
29 * examples/test-examples: changed from mk: to asdf: package loading (KMR)
30 * examples/run-examples: changed from mk: to asdf: package loading (KMR),
31 add conditional loading if UFFI not loaded (John Desoi)
32 * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
33 converted compressed output to hexidecimal display (KMR)
34 * examples/union.cl: Rework the tests (KMR)
35 * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
36 * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
38 2002-09-16 Kevin Rosenberg (kevin@rosenberg.net)
39 - Restructure directories to move to a asdf definition file
42 2002-08-25 Kevin Rosenberg (kevin@rosenberg.net)
43 - Restructure directories to attempt to properly handle both
44 Common Lisp Controller and non-CLC systems
46 2002-08-17 Kevin Rosenberg (kevin@rosenberg.net)
48 - add uffi.asd for ASDF users
50 2002-08-01 Kevin Rosenberg (kevin@rosenberg.net)
51 - Restructure directories to improve Common Lisp Controller v3
54 2002-07-25 Kevin Rosenberg (kevin@rosenberg.net)
56 - Rework handling of logical pathnames.
57 - Move run-examples.cl to examples directory.
59 2002-06-28 Kevin Rosenberg (kevin@rosenberg.net)
61 - Added size-of-foreign-type function.
63 2002-06-26 Kevin Rosenberg (kevin@rosenberg.net)
65 - Fix bug in Lispworks allocate-foreign-object
66 - Added new :unsigned-byte type. Made :byte signed.
68 2002-04-27 Kevin Rosenberg (kevin@rosenberg.net)
72 2002-04-23 Kevin Rosenberg (kevin@rosenberg.net)
74 Updated to debian docbook catalog
76 2002-04-23 John DeSoi (desoi@mac.com)
80 2002-04-06 Kevin Rosenberg (kevin@rosenberg.net)
81 * src/mcl/libraries.cl:
82 Removed unnecessary function and added find-foreign-library
84 Added authorship for John DeSoi
86 Added documentation for find-foreign-library
88 Simplied logical pathnames and MCL loading
90 2002-04-04 John DeSoi (desoi@mac.com)
92 Added initial support for MCL
94 2002-04-02 Kevin Rosenberg (kevin@rosenberg.net)
96 Added test for .so libraries on CMUCL and use sys::load-object-file instead
97 of alien:load-library-file
99 Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
101 2002-04-02 Kevin Rosenberg (kevin@rosenberg.net)
102 * examples/compress.cl:
105 Added support for SPARC big-endian
107 Automated testing suite
109 2002-04-01 Kevin Rosenberg (kevin@rosenberg.net)
112 Changed default type for FreeBSD and updated Makefile for
113 FreeBSD and Solaris. Enhanced find-foreign-library to
114 take a list of types to search.
115 * examples/compress.cl:
116 Add support to use find-foreign-library
118 2002-03-31 Kevin Rosenberg (kevin@rosenberg.net)
120 Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
122 Create a .a library file for FreeBSD
124 Added default type and find-foreign-library functions
126 2002-03-29 Kevin Rosenberg (kevin@rosenberg.net)
128 Fixed bug in deref-pointer (Thanks John Desoi!)
130 2002-03-22 Kevin Rosenberg (kevin@rosenberg.net)
132 Changed name and implementation of def-array to more appropriate
135 Updated def-array-pointer documentation
137 Made results of def-constant equal those of cl:defconstant
139 Made type be evaluated for with-foreign-object and allocate-foreign-object
141 Increase to 0.3.0 to coincide with the release of CLSQL.
144 * Fixed problem with NULL foreign-strings with CMUCL
145 * Added c-test-fns to examples for allow more specific testing
146 of UFFI. Builds on UNIX and Win32 platforms.
147 * Added def-union function, added union.cl example
148 * Fixed error with ensure-char-[character|integer]
149 * Added 2-d array example to examples/arrays.cl
150 * Fixed documentation error on gethostname
151 * Added ensure-char-* and def-union to documentation
152 * Added double-float vector example to c-test-fns
153 * Reworked cstring on Lispworks to have LW handle string conversion
154 * First pass at with-foreign-object -- unoptimized
155 * Added gethostname2 example which uses with-foreign-object
156 * Added char-array-to-pointer function to encapsulate
157 converting a char array to a char pointer
158 * Converted with-foreign-object to use stack allocation on CMUCL and LW
159 * Added benchmark code, first file is for allocation
162 * Updated strings.cl so that foreign-strings are always unsigned.
163 Fixes a problem with strtol example.
164 * Added ensure-char-character and ensure-char-integer to handle
165 differences in implementations dereferencing of (* :char).
166 * Added section on design priorities for UFFI
167 * Added section in TODO on splitting implementation-dependent code
170 * Added size parameter to allocate-foreign-object. Creates an array
172 * Got array-2d example working with a 1-d array.
173 * Cleaned strtol example
177 * Documentation fixes (Erik Winkels)
178 * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
181 * Changed deref-pointer so it always returns a character when
182 called with a :char or :unsigned-char type
183 * Removed function ensure-char as no longer needed
184 * Added missing :byte specifier to Lispworks
185 * Changed default string type in Lispworks to :unsigned-char
186 which is the native type for Lispworks foreign-strings.
187 * Reworked strtol to handle new character pointing method
190 * Fixed return value in load-foreign-library (Thanks Erik Winkels),
191 modified routine to accept pathnames as well as strings.
192 * Fix documention with :pointer-void (Again, Erik Winkels)
193 * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
196 * Finished basic skeleton of documentation.
199 * Changed license to more liberal Lisp Lessor GNU Public License
200 * Fixed problem with uffi.system absent from in distribution
202 * Fixed compiler warnings
206 * Changed def-type to def-foreign-type
207 * Created new macro def-type to generate cl:deftype forms. Removed
208 uffi-declare and uffi-slot-type as they are no longer necessary.
211 * Modified input parameters to load-foreign-library
212 * Added to documention
213 * Changed parameter order in get-slot-value and deref-array
216 * Added to documentation
217 * Made Allegro CL array access more efficient
218 * Changed def-routine name to def-function
219 * Fixed bug in def-function for Lispworks]
220 * Fixed error in +null-c-string-pointer+ name
221 * Fixed error in (make-null-pointer) for Lispworks
222 * Reworked Lispwork c-strings to be (* :char) rather than the
223 implementation default of (* (:unsigned :char)) to be consistent
224 with CMUCL. Bumped version to 0.2.0 because of change this change.
225 * Renamed c-string to cstring to emphasize it as a basic type
226 * Modified getenv.cl example to avoid name collison with LW
227 * Modified compress.cl to setup output buffer as :unsigned*char
228 * Added test-all-examples function. All routines tested okay with
232 * Added ZIP file output with LF->CRLF translations to distribution
233 * Modified def-enum to use uffi:def-constant rather than