1 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
3 * sql/strings.liap: Commit patch from Stelian Ionescu
4 with fixes for recent changes with i18n as well
5 as reworking how ignored variables are declared.
7 2010-02-07 Kevin Rosenberg <kevin@rosenberg.net>
9 * src/i18n.lisp: Rename function to
10 foreign-encoded-octet-count. Fix errors.
11 * tests/i18n.lisp: New file. i18n tests fine
12 on AllegroCL 8/16 bits, SBCL unicode/non-unicode,
14 * src/strings.lisp: Fix an error with decoding
17 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
18 * src/i18n.lisp: Add new function string-to-octets
20 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
22 * src/i18n.lisp: Add new function foreign-encoded-string-octets
24 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
26 * src/strings.lisp: Initial support for external-formats with
29 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
31 * src/primitives.lisp: Fix symbol name
33 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
35 * src/i18n.lisp: New file for supporting non-ASCII foreign strings.
37 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
39 * src/primitives.lisp: Add :long-long and :unsigned-long-long
40 for lisp implementations that support it. Push uffi:no-long-long
41 on cl:*features* for lisp implementations that don't support it.
43 2010-01-28 Kevin Rosenberg <kevin@rosenberg.net>
45 * src/{functions.lisp,objects.lisp,strings.lisp}: Support Lispworks 6
47 2007-09-17 Kevin Rosenberg <kevin@rosenberg.net>
48 * doc/Makefile, doc/html.xsl: Change output encoding from
51 2007-07-22 Kevin Rosenberg <kevin@rosenberg.net>
52 * Version 1.6.0 (SPECIFICATION CHANGE)
53 * doc/ref_func_libr.xml: Change the specification of
54 load-foreign-library to better match the actual action of the
55 function. Rather than returning NIL for failure to load library,
57 * src/libraries.lisp: Rework load-foreign-library to ensure errors
58 are signaled on failure to load library. This was the case for
59 some implementations, change the other implementations to
60 match. (Inconsistency found due to Mark Wooding's remarks)
62 2007-04-12 Kevin Rosenberg <kevin@rosenberg.net>
64 * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
66 2006-10-10 Kevin Rosenberg <kevin@rosenberg.net>
68 * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
70 2006-09-02 Kevin Rosenberg <kevin@rosenberg.net>
72 * src/libraries.lisp: Add cygwin support
74 2006-08-13 Kevin Rosenberg <kevin@rosenberg.net>
76 * src/{objects,strings}.lisp: Add support for Lispworks 5
77 thanks to patches from Bill Atkins
79 2006-07-04 Kevin Rosenberg <kevin@rosenberg.net>
81 * src/{objects,strings}.lisp: Apply patch from Edi Weitz
83 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
85 * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
87 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
89 * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
90 default drive letters on MS Windows.
92 2006-05-11 Kevin Rosenberg <kevin@rosenberg.net>
93 * Version 1.5.11: Export new macro DEF-POINTER-VAR based on patch from
94 James Bielman to support defining variables on platforms which
95 support saving objects, such as openmcl
97 2006-04-17 Kevin Rosenberg <kevin@rosenberg.net>
98 * Version 1.5.10: Commit patch from Gary King for openmcl's
101 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
103 * src/strings.lisp: Add with-foreign-strings by James Biel
105 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
107 * src/os.lisp: Remove getenv setter
109 2005-11-07 Kevin Rosenberg <kevin@rosenberg.net>
111 * src/os.lisp: Add support for getenv getter and setter
113 2005-09-17 Kevin Rosenberg <kevin@rosenberg.net>
115 * src/objects.lisp: prepend _ character for entry
116 point on Allegro macosx, patch by Luis Oliveira
118 2005-07-05 Kevin Rosenberg <kevin@rosenberg.net>
120 * Remove vestigial LLGPL license notices as UFFI as been
121 BSD-licensed for several years.
123 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
125 * tests/objects.lisp: Rename from pointers.lisp.
126 Fix test CHPTR.4 as noted by Jorg Hohle
127 * src/objects.lisp: Remove default from ensure-char-integer
129 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
131 * src/libraries.lisp: Commit patch from Edi Weitz to
132 allow plain filename library names to allow underlying
133 lisp implementation to find foreign libraries in the
134 locations known to the operating system.
135 * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
136 * src/strings.lisp: Avoid multiple evaluation of input
137 parameters for macros as noted by Jorg Hohle.
139 2005-04-12 Kevin Rosenberg <kevin@rosenberg.net>
141 * src/strings.lisp: Fix variable name
143 2005-04-04 Kevin Rosenberg <kevin@rosenberg.net>
144 * src/strings.lisp, src/aggregates.lisp: Support change in SBCL copy
145 function [Thanks for Nathan Froyd and Zach Beane]
147 2005-04-03 Kevin Rosenberg <kevin@rosenberg.net>
148 * src/objects.lisp: Commit patch from James Bielman to add
149 def-foreign-var support for OpenMCL
151 2005-03-03 Kevin Rosenberg <kevin@rosenberg.net>
152 * src/primitives.lisp: Add support for :union types
153 [patch from Cyrus Harmon]
154 * tests/union.lisp, tests/structs.lisp: Tests for
155 union and structure types [from Cyrus Harmon]
157 2005-02-22 Kevin Rosenberg <kevin@rosenberg.net>
158 * src/primitives.lisp, src/strings.lisp: Better support
159 for sb-unicode [from Yoshinori Tahara and R. Mattes]
161 2005-01-22 Kevin Rosenberg <kevin@rosenberg.net>
162 * src/primitives.lisp: Better support SBCL-AMD64
164 2004-11-08 Kevin Rosenberg <kevin@rosenberg.net>
165 * src/strings.lisp: Better support sb-unicode
166 * tests/compress.lisp: Support sb-unicode
168 2004-10-07 Kevin Rosenberg <kevin@rosenberg.net>
169 * src/objects.lisp: Add new function:
170 convert-from-foreign-usb8
172 2004-04-15 Kevin Rosenberg <kevin@rosenberg.net>
173 * src/objects.lisp: Add new functions:
174 MAKE-POINTER and POINTER-ADDRESS
176 2004-04-13 Kevin Rosenberg <kevin@rosenberg.net>
177 * src/string.lisp: Add new FOREIGN-STRING-LENGTH
179 2003-08-15 Kevin Rosenberg <kevin@rosenberg.net>
180 * Added with-cast-pointer and def-foreign-var (patches submitted
182 * Added many new tests
184 2002-10-16 Kevin Rosenberg <kevin@rosenberg.net>
185 * Added support for SBCL and SCL
187 2002-09-29 Kevin Rosenberg <kevin@rosenberg.net>
188 * Numerous changes in openmcl support (uffi now supports
191 2002-09-19 Kevin Rosenberg <kevin@rosenberg.net>
192 - Integrate John Desoi's OpenMCL support into src-mcl
193 * examples/Makefile: add section for building on MacOS X (John Desoi)
194 * examples/test-examples: changed from mk: to asdf: package loading (KMR)
195 * examples/run-examples: changed from mk: to asdf: package loading (KMR),
196 add conditional loading if UFFI not loaded (John Desoi)
197 * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
198 converted compressed output to hexidecimal display (KMR)
199 * examples/union.cl: Rework the tests (KMR)
200 * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
201 * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
203 2002-09-16 Kevin Rosenberg <kevin@rosenberg.net>
204 - Restructure directories to move to a asdf definition file
207 2002-08-25 Kevin Rosenberg <kevin@rosenberg.net>
208 - Restructure directories to attempt to properly handle both
209 Common Lisp Controller and non-CLC systems
211 2002-08-17 Kevin Rosenberg <kevin@rosenberg.net>
212 - add uffi.asd for ASDF users
214 2002-08-01 Kevin Rosenberg <kevin@rosenberg.net>
215 - Restructure directories to improve Common Lisp Controller v3
218 2002-07-25 Kevin Rosenberg <kevin@rosenberg.net>
219 - Rework handling of logical pathnames.
220 - Move run-examples.cl to examples directory.
222 2002-06-28 Kevin Rosenberg <kevin@rosenberg.net>
223 - Added size-of-foreign-type function.
225 2002-06-26 Kevin Rosenberg <kevin@rosenberg.net>
226 - Fix bug in Lispworks allocate-foreign-object
227 - Added new :unsigned-byte type. Made :byte signed.
229 2002-04-27 Kevin Rosenberg <kevin@rosenberg.net>
233 2002-04-23 Kevin Rosenberg <kevin@rosenberg.net>
235 Updated to debian docbook catalog
237 2002-04-23 John DeSoi (desoi@mac.com)
241 2002-04-06 Kevin Rosenberg <kevin@rosenberg.net>
242 * src/mcl/libraries.cl:
243 Removed unnecessary function and added find-foreign-library
245 Added authorship for John DeSoi
247 Added documentation for find-foreign-library
249 Simplied logical pathnames and MCL loading
251 2002-04-04 John DeSoi (desoi@mac.com)
253 Added initial support for MCL
255 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
257 Added test for .so libraries on CMUCL and use sys::load-object-file instead
258 of alien:load-library-file
260 Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
262 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
263 * examples/compress.cl:
266 Added support for SPARC big-endian
268 Automated testing suite
270 2002-04-01 Kevin Rosenberg <kevin@rosenberg.net>
273 Changed default type for FreeBSD and updated Makefile for
274 FreeBSD and Solaris. Enhanced find-foreign-library to
275 take a list of types to search.
276 * examples/compress.cl:
277 Add support to use find-foreign-library
279 2002-03-31 Kevin Rosenberg <kevin@rosenberg.net>
281 Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
283 Create a .a library file for FreeBSD
285 Added default type and find-foreign-library functions
287 2002-03-29 Kevin Rosenberg <kevin@rosenberg.net>
289 Fixed bug in deref-pointer (Thanks John Desoi!)
291 2002-03-22 Kevin Rosenberg <kevin@rosenberg.net>
293 Changed name and implementation of def-array to more appropriate
296 Updated def-array-pointer documentation
298 Made results of def-constant equal those of cl:defconstant
300 Made type be evaluated for with-foreign-object and allocate-foreign-object
302 Increase to 0.3.0 to coincide with the release of CLSQL.
305 * Fixed problem with NULL foreign-strings with CMUCL
306 * Added c-test-fns to examples for allow more specific testing
307 of UFFI. Builds on UNIX and Win32 platforms.
308 * Added def-union function, added union.cl example
309 * Fixed error with ensure-char-[character|integer]
310 * Added 2-d array example to examples/arrays.cl
311 * Fixed documentation error on gethostname
312 * Added ensure-char-* and def-union to documentation
313 * Added double-float vector example to c-test-fns
314 * Reworked cstring on Lispworks to have LW handle string conversion
315 * First pass at with-foreign-object -- unoptimized
316 * Added gethostname2 example which uses with-foreign-object
317 * Added char-array-to-pointer function to encapsulate
318 converting a char array to a char pointer
319 * Converted with-foreign-object to use stack allocation on CMUCL and LW
320 * Added benchmark code, first file is for allocation
323 * Updated strings.cl so that foreign-strings are always unsigned.
324 Fixes a problem with strtol example.
325 * Added ensure-char-character and ensure-char-integer to handle
326 differences in implementations dereferencing of (* :char).
327 * Added section on design priorities for UFFI
328 * Added section in TODO on splitting implementation-dependent code
331 * Added size parameter to allocate-foreign-object. Creates an array
333 * Got array-2d example working with a 1-d array.
334 * Cleaned strtol example
338 * Documentation fixes (Erik Winkels)
339 * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
342 * Changed deref-pointer so it always returns a character when
343 called with a :char or :unsigned-char type
344 * Removed function ensure-char as no longer needed
345 * Added missing :byte specifier to Lispworks
346 * Changed default string type in Lispworks to :unsigned-char
347 which is the native type for Lispworks foreign-strings.
348 * Reworked strtol to handle new character pointing method
351 * Fixed return value in load-foreign-library (Thanks Erik Winkels),
352 modified routine to accept pathnames as well as strings.
353 * Fix documention with :pointer-void (Again, Erik Winkels)
354 * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
357 * Finished basic skeleton of documentation.
360 * Changed license to more liberal Lisp Lessor GNU Public License
361 * Fixed problem with uffi.system absent from in distribution
363 * Fixed compiler warnings
366 * Changed def-type to def-foreign-type
367 * Created new macro def-type to generate cl:deftype forms. Removed
368 uffi-declare and uffi-slot-type as they are no longer necessary.
371 * Modified input parameters to load-foreign-library
372 * Added to documention
373 * Changed parameter order in get-slot-value and deref-array
376 * Added to documentation
377 * Made Allegro CL array access more efficient
378 * Changed def-routine name to def-function
379 * Fixed bug in def-function for Lispworks]
380 * Fixed error in +null-c-string-pointer+ name
381 * Fixed error in (make-null-pointer) for Lispworks
382 * Reworked Lispwork c-strings to be (* :char) rather than the
383 implementation default of (* (:unsigned :char)) to be consistent
384 with CMUCL. Bumped version to 0.2.0 because of change this change.
385 * Renamed c-string to cstring to emphasize it as a basic type
386 * Modified getenv.cl example to avoid name collison with LW
387 * Modified compress.cl to setup output buffer as :unsigned*char
388 * Added test-all-examples function. All routines tested okay with
392 * Added ZIP file output with LF->CRLF translations to distribution
393 * Modified def-enum to use uffi:def-constant rather than