1 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
3 * src/primitives.lisp: Fix symbol name
5 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
7 * src/i18n.lisp: New file for supporting non-ASCII foreign strings.
9 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
11 * src/primitives.lisp: Add :long-long and :unsigned-long-long
12 for lisp implementations that support it. Push uffi:no-long-long
13 on cl:*features* for lisp implementations that don't support it.
15 2010-01-28 Kevin Rosenberg <kevin@rosenberg.net>
17 * src/{functions.lisp,objects.lisp,strings.lisp}: Support Lispworks 6
19 2007-09-17 Kevin Rosenberg <kevin@rosenberg.net>
20 * doc/Makefile, doc/html.xsl: Change output encoding from
23 2007-07-22 Kevin Rosenberg <kevin@rosenberg.net>
24 * Version 1.6.0 (SPECIFICATION CHANGE)
25 * doc/ref_func_libr.xml: Change the specification of
26 load-foreign-library to better match the actual action of the
27 function. Rather than returning NIL for failure to load library,
29 * src/libraries.lisp: Rework load-foreign-library to ensure errors
30 are signaled on failure to load library. This was the case for
31 some implementations, change the other implementations to
32 match. (Inconsistency found due to Mark Wooding's remarks)
34 2007-04-12 Kevin Rosenberg <kevin@rosenberg.net>
36 * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
38 2006-10-10 Kevin Rosenberg <kevin@rosenberg.net>
40 * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
42 2006-09-02 Kevin Rosenberg <kevin@rosenberg.net>
44 * src/libraries.lisp: Add cygwin support
46 2006-08-13 Kevin Rosenberg <kevin@rosenberg.net>
48 * src/{objects,strings}.lisp: Add support for Lispworks 5
49 thanks to patches from Bill Atkins
51 2006-07-04 Kevin Rosenberg <kevin@rosenberg.net>
53 * src/{objects,strings}.lisp: Apply patch from Edi Weitz
55 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
57 * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
59 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
61 * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
62 default drive letters on MS Windows.
64 2006-05-11 Kevin Rosenberg <kevin@rosenberg.net>
65 * Version 1.5.11: Export new macro DEF-POINTER-VAR based on patch from
66 James Bielman to support defining variables on platforms which
67 support saving objects, such as openmcl
69 2006-04-17 Kevin Rosenberg <kevin@rosenberg.net>
70 * Version 1.5.10: Commit patch from Gary King for openmcl's
73 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
75 * src/strings.lisp: Add with-foreign-strings by James Biel
77 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
79 * src/os.lisp: Remove getenv setter
81 2005-11-07 Kevin Rosenberg <kevin@rosenberg.net>
83 * src/os.lisp: Add support for getenv getter and setter
85 2005-09-17 Kevin Rosenberg <kevin@rosenberg.net>
87 * src/objects.lisp: prepend _ character for entry
88 point on Allegro macosx, patch by Luis Oliveira
90 2005-07-05 Kevin Rosenberg <kevin@rosenberg.net>
92 * Remove vestigial LLGPL license notices as UFFI as been
93 BSD-licensed for several years.
95 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
97 * tests/objects.lisp: Rename from pointers.lisp.
98 Fix test CHPTR.4 as noted by Jorg Hohle
99 * src/objects.lisp: Remove default from ensure-char-integer
101 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
103 * src/libraries.lisp: Commit patch from Edi Weitz to
104 allow plain filename library names to allow underlying
105 lisp implementation to find foreign libraries in the
106 locations known to the operating system.
107 * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
108 * src/strings.lisp: Avoid multiple evaluation of input
109 parameters for macros as noted by Jorg Hohle.
111 2005-04-12 Kevin Rosenberg <kevin@rosenberg.net>
113 * src/strings.lisp: Fix variable name
115 2005-04-04 Kevin Rosenberg <kevin@rosenberg.net>
116 * src/strings.lisp, src/aggregates.lisp: Support change in SBCL copy
117 function [Thanks for Nathan Froyd and Zach Beane]
119 2005-04-03 Kevin Rosenberg <kevin@rosenberg.net>
120 * src/objects.lisp: Commit patch from James Bielman to add
121 def-foreign-var support for OpenMCL
123 2005-03-03 Kevin Rosenberg <kevin@rosenberg.net>
124 * src/primitives.lisp: Add support for :union types
125 [patch from Cyrus Harmon]
126 * tests/union.lisp, tests/structs.lisp: Tests for
127 union and structure types [from Cyrus Harmon]
129 2005-02-22 Kevin Rosenberg <kevin@rosenberg.net>
130 * src/primitives.lisp, src/strings.lisp: Better support
131 for sb-unicode [from Yoshinori Tahara and R. Mattes]
133 2005-01-22 Kevin Rosenberg <kevin@rosenberg.net>
134 * src/primitives.lisp: Better support SBCL-AMD64
136 2004-11-08 Kevin Rosenberg <kevin@rosenberg.net>
137 * src/strings.lisp: Better support sb-unicode
138 * tests/compress.lisp: Support sb-unicode
140 2004-10-07 Kevin Rosenberg <kevin@rosenberg.net>
141 * src/objects.lisp: Add new function:
142 convert-from-foreign-usb8
144 2004-04-15 Kevin Rosenberg <kevin@rosenberg.net>
145 * src/objects.lisp: Add new functions:
146 MAKE-POINTER and POINTER-ADDRESS
148 2004-04-13 Kevin Rosenberg <kevin@rosenberg.net>
149 * src/string.lisp: Add new FOREIGN-STRING-LENGTH
151 2003-08-15 Kevin Rosenberg <kevin@rosenberg.net>
152 * Added with-cast-pointer and def-foreign-var (patches submitted
154 * Added many new tests
156 2002-10-16 Kevin Rosenberg <kevin@rosenberg.net>
157 * Added support for SBCL and SCL
159 2002-09-29 Kevin Rosenberg <kevin@rosenberg.net>
160 * Numerous changes in openmcl support (uffi now supports
163 2002-09-19 Kevin Rosenberg <kevin@rosenberg.net>
164 - Integrate John Desoi's OpenMCL support into src-mcl
165 * examples/Makefile: add section for building on MacOS X (John Desoi)
166 * examples/test-examples: changed from mk: to asdf: package loading (KMR)
167 * examples/run-examples: changed from mk: to asdf: package loading (KMR),
168 add conditional loading if UFFI not loaded (John Desoi)
169 * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
170 converted compressed output to hexidecimal display (KMR)
171 * examples/union.cl: Rework the tests (KMR)
172 * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
173 * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
175 2002-09-16 Kevin Rosenberg <kevin@rosenberg.net>
176 - Restructure directories to move to a asdf definition file
179 2002-08-25 Kevin Rosenberg <kevin@rosenberg.net>
180 - Restructure directories to attempt to properly handle both
181 Common Lisp Controller and non-CLC systems
183 2002-08-17 Kevin Rosenberg <kevin@rosenberg.net>
184 - add uffi.asd for ASDF users
186 2002-08-01 Kevin Rosenberg <kevin@rosenberg.net>
187 - Restructure directories to improve Common Lisp Controller v3
190 2002-07-25 Kevin Rosenberg <kevin@rosenberg.net>
191 - Rework handling of logical pathnames.
192 - Move run-examples.cl to examples directory.
194 2002-06-28 Kevin Rosenberg <kevin@rosenberg.net>
195 - Added size-of-foreign-type function.
197 2002-06-26 Kevin Rosenberg <kevin@rosenberg.net>
198 - Fix bug in Lispworks allocate-foreign-object
199 - Added new :unsigned-byte type. Made :byte signed.
201 2002-04-27 Kevin Rosenberg <kevin@rosenberg.net>
205 2002-04-23 Kevin Rosenberg <kevin@rosenberg.net>
207 Updated to debian docbook catalog
209 2002-04-23 John DeSoi (desoi@mac.com)
213 2002-04-06 Kevin Rosenberg <kevin@rosenberg.net>
214 * src/mcl/libraries.cl:
215 Removed unnecessary function and added find-foreign-library
217 Added authorship for John DeSoi
219 Added documentation for find-foreign-library
221 Simplied logical pathnames and MCL loading
223 2002-04-04 John DeSoi (desoi@mac.com)
225 Added initial support for MCL
227 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
229 Added test for .so libraries on CMUCL and use sys::load-object-file instead
230 of alien:load-library-file
232 Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
234 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
235 * examples/compress.cl:
238 Added support for SPARC big-endian
240 Automated testing suite
242 2002-04-01 Kevin Rosenberg <kevin@rosenberg.net>
245 Changed default type for FreeBSD and updated Makefile for
246 FreeBSD and Solaris. Enhanced find-foreign-library to
247 take a list of types to search.
248 * examples/compress.cl:
249 Add support to use find-foreign-library
251 2002-03-31 Kevin Rosenberg <kevin@rosenberg.net>
253 Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
255 Create a .a library file for FreeBSD
257 Added default type and find-foreign-library functions
259 2002-03-29 Kevin Rosenberg <kevin@rosenberg.net>
261 Fixed bug in deref-pointer (Thanks John Desoi!)
263 2002-03-22 Kevin Rosenberg <kevin@rosenberg.net>
265 Changed name and implementation of def-array to more appropriate
268 Updated def-array-pointer documentation
270 Made results of def-constant equal those of cl:defconstant
272 Made type be evaluated for with-foreign-object and allocate-foreign-object
274 Increase to 0.3.0 to coincide with the release of CLSQL.
277 * Fixed problem with NULL foreign-strings with CMUCL
278 * Added c-test-fns to examples for allow more specific testing
279 of UFFI. Builds on UNIX and Win32 platforms.
280 * Added def-union function, added union.cl example
281 * Fixed error with ensure-char-[character|integer]
282 * Added 2-d array example to examples/arrays.cl
283 * Fixed documentation error on gethostname
284 * Added ensure-char-* and def-union to documentation
285 * Added double-float vector example to c-test-fns
286 * Reworked cstring on Lispworks to have LW handle string conversion
287 * First pass at with-foreign-object -- unoptimized
288 * Added gethostname2 example which uses with-foreign-object
289 * Added char-array-to-pointer function to encapsulate
290 converting a char array to a char pointer
291 * Converted with-foreign-object to use stack allocation on CMUCL and LW
292 * Added benchmark code, first file is for allocation
295 * Updated strings.cl so that foreign-strings are always unsigned.
296 Fixes a problem with strtol example.
297 * Added ensure-char-character and ensure-char-integer to handle
298 differences in implementations dereferencing of (* :char).
299 * Added section on design priorities for UFFI
300 * Added section in TODO on splitting implementation-dependent code
303 * Added size parameter to allocate-foreign-object. Creates an array
305 * Got array-2d example working with a 1-d array.
306 * Cleaned strtol example
310 * Documentation fixes (Erik Winkels)
311 * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
314 * Changed deref-pointer so it always returns a character when
315 called with a :char or :unsigned-char type
316 * Removed function ensure-char as no longer needed
317 * Added missing :byte specifier to Lispworks
318 * Changed default string type in Lispworks to :unsigned-char
319 which is the native type for Lispworks foreign-strings.
320 * Reworked strtol to handle new character pointing method
323 * Fixed return value in load-foreign-library (Thanks Erik Winkels),
324 modified routine to accept pathnames as well as strings.
325 * Fix documention with :pointer-void (Again, Erik Winkels)
326 * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
329 * Finished basic skeleton of documentation.
332 * Changed license to more liberal Lisp Lessor GNU Public License
333 * Fixed problem with uffi.system absent from in distribution
335 * Fixed compiler warnings
338 * Changed def-type to def-foreign-type
339 * Created new macro def-type to generate cl:deftype forms. Removed
340 uffi-declare and uffi-slot-type as they are no longer necessary.
343 * Modified input parameters to load-foreign-library
344 * Added to documention
345 * Changed parameter order in get-slot-value and deref-array
348 * Added to documentation
349 * Made Allegro CL array access more efficient
350 * Changed def-routine name to def-function
351 * Fixed bug in def-function for Lispworks]
352 * Fixed error in +null-c-string-pointer+ name
353 * Fixed error in (make-null-pointer) for Lispworks
354 * Reworked Lispwork c-strings to be (* :char) rather than the
355 implementation default of (* (:unsigned :char)) to be consistent
356 with CMUCL. Bumped version to 0.2.0 because of change this change.
357 * Renamed c-string to cstring to emphasize it as a basic type
358 * Modified getenv.cl example to avoid name collison with LW
359 * Modified compress.cl to setup output buffer as :unsigned*char
360 * Added test-all-examples function. All routines tested okay with
364 * Added ZIP file output with LF->CRLF translations to distribution
365 * Modified def-enum to use uffi:def-constant rather than