1 2007-07-22 Kevin Rosenberg (kevin@rosenberg.net)
2 * Version 1.6.0 (SPECIFICATION CHANGE)
3 * doc/ref_func_libr.xml: Change the specification of
4 load-foreign-library to better match the actual action of the
5 function. Rather than returning NIL for failure to load library,
7 * src/libraries.lisp: Rework load-foreign-library to ensure errors
8 are signaled on failure to load library. This was the case for
9 some implementations, change the other implementations to
10 match. (Inconsistency found due to Mark Wooding's remarks)
12 2007-04-12 Kevin Rosenberg (kevin@rosenberg.net)
14 * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
16 2006-10-10 Kevin Rosenberg (kevin@rosenberg.net)
18 * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
20 2006-09-02 Kevin Rosenberg (kevin@rosenberg.net)
22 * src/libraries.lisp: Add cygwin support
24 2006-08-13 Kevin Rosenberg (kevin@rosenberg.net)
26 * src/{objects,strings}.lisp: Add support for Lispworks 5
27 thanks to patches from Bill Atkins
29 2006-07-04 Kevin Rosenberg (kevin@rosenberg.net)
31 * src/{objects,strings}.lisp: Apply patch from Edi Weitz
33 2006-05-17 Kevin Rosenberg (kevin@rosenberg.net)
35 * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
37 2006-05-17 Kevin Rosenberg (kevin@rosenberg.net)
39 * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
40 default drive letters on MS Windows.
42 2006-05-11 Kevin Rosenberg (kevin@rosenberg.net)
43 * Version 1.5.11: Export new macro DEF-POINTER-VAR based on patch from
44 James Bielman to support defining variables on platforms which
45 support saving objects, such as openmcl
47 2006-04-17 Kevin Rosenberg (kevin@rosenberg.net)
48 * Version 1.5.10: Commit patch from Gary King for openmcl's
51 2005-11-14 Kevin Rosenberg (kevin@rosenberg.net)
53 * src/strings.lisp: Add with-foreign-strings by James Biel
55 2005-11-14 Kevin Rosenberg (kevin@rosenberg.net)
57 * src/os.lisp: Remove getenv setter
59 2005-11-07 Kevin Rosenberg (kevin@rosenberg.net)
61 * src/os.lisp: Add support for getenv getter and setter
63 2005-09-17 Kevin Rosenberg (kevin@rosenberg.net)
65 * src/objects.lisp: prepend _ character for entry
66 point on Allegro macosx, patch by Luis Oliveira
68 2005-07-05 Kevin Rosenberg (kevin@rosenberg.net)
70 * Remove vestigial LLGPL license notices as UFFI as been
71 BSD-licensed for several years.
73 2005-06-09 Kevin Rosenberg (kevin@rosenberg.net)
75 * tests/objects.lisp: Rename from pointers.lisp.
76 Fix test CHPTR.4 as noted by Jorg Hohle
77 * src/objects.lisp: Remove default from ensure-char-integer
79 2005-06-09 Kevin Rosenberg (kevin@rosenberg.net)
81 * src/libraries.lisp: Commit patch from Edi Weitz to
82 allow plain filename library names to allow underlying
83 lisp implementation to find foreign libraries in the
84 locations known to the operating system.
85 * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
86 * src/strings.lisp: Avoid multiple evaluation of input
87 parameters for macros as noted by Jorg Hohle.
89 2005-04-12 Kevin Rosenberg (kevin@rosenberg.net)
91 * src/strings.lisp: Fix variable name
93 2005-04-04 Kevin Rosenberg (kevin@rosenberg.net)
94 * src/strings.lisp, src/aggregates.lisp: Support change in SBCL copy
95 function [Thanks for Nathan Froyd and Zach Beane]
97 2005-04-03 Kevin Rosenberg (kevin@rosenberg.net)
98 * src/objects.lisp: Commit patch from James Bielman to add
99 def-foreign-var support for OpenMCL
101 2005-03-03 Kevin Rosenberg (kevin@rosenberg.net)
102 * src/primitives.lisp: Add support for :union types
103 [patch from Cyrus Harmon]
104 * tests/union.lisp, tests/structs.lisp: Tests for
105 union and structure types [from Cyrus Harmon]
107 2005-02-22 Kevin Rosenberg (kevin@rosenberg.net)
108 * src/primitives.lisp, src/strings.lisp: Better support
109 for sb-unicode [from Yoshinori Tahara and R. Mattes]
111 2005-01-22 Kevin Rosenberg (kevin@rosenberg.net)
112 * src/primitives.lisp: Better support SBCL-AMD64
114 2004-11-08 Kevin Rosenberg (kevin@rosenberg.net)
115 * src/strings.lisp: Better support sb-unicode
116 * tests/compress.lisp: Support sb-unicode
118 2004-10-07 Kevin Rosenberg (kevin@rosenberg.net)
119 * src/objects.lisp: Add new function:
120 convert-from-foreign-usb8
122 2004-04-15 Kevin Rosenberg (kevin@rosenberg.net)
123 * src/objects.lisp: Add new functions:
124 MAKE-POINTER and POINTER-ADDRESS
126 2004-04-13 Kevin Rosenberg (kevin@rosenberg.net)
127 * src/string.lisp: Add new FOREIGN-STRING-LENGTH
129 2003-08-15 Kevin Rosenberg (kevin@rosenberg.net)
130 * Added with-cast-pointer and def-foreign-var (patches submitted
132 * Added many new tests
134 2002-10-16 Kevin Rosenberg (kevin@rosenberg.net)
135 * Added support for SBCL and SCL
137 2002-09-29 Kevin Rosenberg (kevin@rosenberg.net)
138 * Numerous changes in openmcl support (uffi now supports
141 2002-09-19 Kevin Rosenberg (kevin@rosenberg.net)
142 - Integrate John Desoi's OpenMCL support into src-mcl
143 * examples/Makefile: add section for building on MacOS X (John Desoi)
144 * examples/test-examples: changed from mk: to asdf: package loading (KMR)
145 * examples/run-examples: changed from mk: to asdf: package loading (KMR),
146 add conditional loading if UFFI not loaded (John Desoi)
147 * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
148 converted compressed output to hexidecimal display (KMR)
149 * examples/union.cl: Rework the tests (KMR)
150 * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
151 * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
153 2002-09-16 Kevin Rosenberg (kevin@rosenberg.net)
154 - Restructure directories to move to a asdf definition file
157 2002-08-25 Kevin Rosenberg (kevin@rosenberg.net)
158 - Restructure directories to attempt to properly handle both
159 Common Lisp Controller and non-CLC systems
161 2002-08-17 Kevin Rosenberg (kevin@rosenberg.net)
163 - add uffi.asd for ASDF users
165 2002-08-01 Kevin Rosenberg (kevin@rosenberg.net)
166 - Restructure directories to improve Common Lisp Controller v3
169 2002-07-25 Kevin Rosenberg (kevin@rosenberg.net)
171 - Rework handling of logical pathnames.
172 - Move run-examples.cl to examples directory.
174 2002-06-28 Kevin Rosenberg (kevin@rosenberg.net)
176 - Added size-of-foreign-type function.
178 2002-06-26 Kevin Rosenberg (kevin@rosenberg.net)
180 - Fix bug in Lispworks allocate-foreign-object
181 - Added new :unsigned-byte type. Made :byte signed.
183 2002-04-27 Kevin Rosenberg (kevin@rosenberg.net)
187 2002-04-23 Kevin Rosenberg (kevin@rosenberg.net)
189 Updated to debian docbook catalog
191 2002-04-23 John DeSoi (desoi@mac.com)
195 2002-04-06 Kevin Rosenberg (kevin@rosenberg.net)
196 * src/mcl/libraries.cl:
197 Removed unnecessary function and added find-foreign-library
199 Added authorship for John DeSoi
201 Added documentation for find-foreign-library
203 Simplied logical pathnames and MCL loading
205 2002-04-04 John DeSoi (desoi@mac.com)
207 Added initial support for MCL
209 2002-04-02 Kevin Rosenberg (kevin@rosenberg.net)
211 Added test for .so libraries on CMUCL and use sys::load-object-file instead
212 of alien:load-library-file
214 Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
216 2002-04-02 Kevin Rosenberg (kevin@rosenberg.net)
217 * examples/compress.cl:
220 Added support for SPARC big-endian
222 Automated testing suite
224 2002-04-01 Kevin Rosenberg (kevin@rosenberg.net)
227 Changed default type for FreeBSD and updated Makefile for
228 FreeBSD and Solaris. Enhanced find-foreign-library to
229 take a list of types to search.
230 * examples/compress.cl:
231 Add support to use find-foreign-library
233 2002-03-31 Kevin Rosenberg (kevin@rosenberg.net)
235 Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
237 Create a .a library file for FreeBSD
239 Added default type and find-foreign-library functions
241 2002-03-29 Kevin Rosenberg (kevin@rosenberg.net)
243 Fixed bug in deref-pointer (Thanks John Desoi!)
245 2002-03-22 Kevin Rosenberg (kevin@rosenberg.net)
247 Changed name and implementation of def-array to more appropriate
250 Updated def-array-pointer documentation
252 Made results of def-constant equal those of cl:defconstant
254 Made type be evaluated for with-foreign-object and allocate-foreign-object
256 Increase to 0.3.0 to coincide with the release of CLSQL.
259 * Fixed problem with NULL foreign-strings with CMUCL
260 * Added c-test-fns to examples for allow more specific testing
261 of UFFI. Builds on UNIX and Win32 platforms.
262 * Added def-union function, added union.cl example
263 * Fixed error with ensure-char-[character|integer]
264 * Added 2-d array example to examples/arrays.cl
265 * Fixed documentation error on gethostname
266 * Added ensure-char-* and def-union to documentation
267 * Added double-float vector example to c-test-fns
268 * Reworked cstring on Lispworks to have LW handle string conversion
269 * First pass at with-foreign-object -- unoptimized
270 * Added gethostname2 example which uses with-foreign-object
271 * Added char-array-to-pointer function to encapsulate
272 converting a char array to a char pointer
273 * Converted with-foreign-object to use stack allocation on CMUCL and LW
274 * Added benchmark code, first file is for allocation
277 * Updated strings.cl so that foreign-strings are always unsigned.
278 Fixes a problem with strtol example.
279 * Added ensure-char-character and ensure-char-integer to handle
280 differences in implementations dereferencing of (* :char).
281 * Added section on design priorities for UFFI
282 * Added section in TODO on splitting implementation-dependent code
285 * Added size parameter to allocate-foreign-object. Creates an array
287 * Got array-2d example working with a 1-d array.
288 * Cleaned strtol example
292 * Documentation fixes (Erik Winkels)
293 * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
296 * Changed deref-pointer so it always returns a character when
297 called with a :char or :unsigned-char type
298 * Removed function ensure-char as no longer needed
299 * Added missing :byte specifier to Lispworks
300 * Changed default string type in Lispworks to :unsigned-char
301 which is the native type for Lispworks foreign-strings.
302 * Reworked strtol to handle new character pointing method
305 * Fixed return value in load-foreign-library (Thanks Erik Winkels),
306 modified routine to accept pathnames as well as strings.
307 * Fix documention with :pointer-void (Again, Erik Winkels)
308 * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
311 * Finished basic skeleton of documentation.
314 * Changed license to more liberal Lisp Lessor GNU Public License
315 * Fixed problem with uffi.system absent from in distribution
317 * Fixed compiler warnings
321 * Changed def-type to def-foreign-type
322 * Created new macro def-type to generate cl:deftype forms. Removed
323 uffi-declare and uffi-slot-type as they are no longer necessary.
326 * Modified input parameters to load-foreign-library
327 * Added to documention
328 * Changed parameter order in get-slot-value and deref-array
331 * Added to documentation
332 * Made Allegro CL array access more efficient
333 * Changed def-routine name to def-function
334 * Fixed bug in def-function for Lispworks]
335 * Fixed error in +null-c-string-pointer+ name
336 * Fixed error in (make-null-pointer) for Lispworks
337 * Reworked Lispwork c-strings to be (* :char) rather than the
338 implementation default of (* (:unsigned :char)) to be consistent
339 with CMUCL. Bumped version to 0.2.0 because of change this change.
340 * Renamed c-string to cstring to emphasize it as a basic type
341 * Modified getenv.cl example to avoid name collison with LW
342 * Modified compress.cl to setup output buffer as :unsigned*char
343 * Added test-all-examples function. All routines tested okay with
347 * Added ZIP file output with LF->CRLF translations to distribution
348 * Modified def-enum to use uffi:def-constant rather than