1 2010-02-11 Kevin Rosenberg <kevin@rosenberg.net>
3 * src/strings.lisp: Standards on :encoding keyword
6 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
8 * src/primitives.lisp: Fix for long-long patch
10 * src/i18n.lisp: Changed logic of how to deal
11 with an passed encoding value of il.
13 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
15 * sql/primitives.lisp: Improved detection for
16 availability of long-long integer for CMU.
17 (Thanks to Stelian Ionescu)
18 * sql/i18n.lisp: Changes in how ignored variables
19 are declared (Stelian Ionescu)
21 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
23 * sql/strings.liap: Commit patch from
24 with fixes for recent changes with i18n as well
25 as reworking how ignored variables are declared.
27 2010-02-07 Kevin Rosenberg <kevin@rosenberg.net>
29 * src/i18n.lisp: Rename function to
30 foreign-encoded-octet-count. Fix errors.
31 * tests/i18n.lisp: New file. i18n tests fine
32 on AllegroCL 8/16 bits, SBCL unicode/non-unicode,
34 * src/strings.lisp: Fix an error with decoding
37 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
38 * src/i18n.lisp: Add new function string-to-octets
40 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
42 * src/i18n.lisp: Add new function foreign-encoded-string-octets
44 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
46 * src/strings.lisp: Initial support for external-formats with
49 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
51 * src/primitives.lisp: Fix symbol name
53 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
55 * src/i18n.lisp: New file for supporting non-ASCII foreign strings.
57 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
59 * src/primitives.lisp: Add :long-long and :unsigned-long-long
60 for lisp implementations that support it. Push uffi:no-long-long
61 on cl:*features* for lisp implementations that don't support it.
63 2010-01-28 Kevin Rosenberg <kevin@rosenberg.net>
65 * src/{functions.lisp,objects.lisp,strings.lisp}: Support Lispworks 6
67 2007-09-17 Kevin Rosenberg <kevin@rosenberg.net>
68 * doc/Makefile, doc/html.xsl: Change output encoding from
71 2007-07-22 Kevin Rosenberg <kevin@rosenberg.net>
72 * Version 1.6.0 (SPECIFICATION CHANGE)
73 * doc/ref_func_libr.xml: Change the specification of
74 load-foreign-library to better match the actual action of the
75 function. Rather than returning NIL for failure to load library,
77 * src/libraries.lisp: Rework load-foreign-library to ensure errors
78 are signaled on failure to load library. This was the case for
79 some implementations, change the other implementations to
80 match. (Inconsistency found due to Mark Wooding's remarks)
82 2007-04-12 Kevin Rosenberg <kevin@rosenberg.net>
84 * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
86 2006-10-10 Kevin Rosenberg <kevin@rosenberg.net>
88 * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
90 2006-09-02 Kevin Rosenberg <kevin@rosenberg.net>
92 * src/libraries.lisp: Add cygwin support
94 2006-08-13 Kevin Rosenberg <kevin@rosenberg.net>
96 * src/{objects,strings}.lisp: Add support for Lispworks 5
97 thanks to patches from Bill Atkins
99 2006-07-04 Kevin Rosenberg <kevin@rosenberg.net>
101 * src/{objects,strings}.lisp: Apply patch from Edi Weitz
103 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
105 * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
107 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
109 * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
110 default drive letters on MS Windows.
112 2006-05-11 Kevin Rosenberg <kevin@rosenberg.net>
113 * Version 1.5.11: Export new macro DEF-POINTER-VAR based on patch from
114 James Bielman to support defining variables on platforms which
115 support saving objects, such as openmcl
117 2006-04-17 Kevin Rosenberg <kevin@rosenberg.net>
118 * Version 1.5.10: Commit patch from Gary King for openmcl's
121 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
123 * src/strings.lisp: Add with-foreign-strings by James Biel
125 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
127 * src/os.lisp: Remove getenv setter
129 2005-11-07 Kevin Rosenberg <kevin@rosenberg.net>
131 * src/os.lisp: Add support for getenv getter and setter
133 2005-09-17 Kevin Rosenberg <kevin@rosenberg.net>
135 * src/objects.lisp: prepend _ character for entry
136 point on Allegro macosx, patch by Luis Oliveira
138 2005-07-05 Kevin Rosenberg <kevin@rosenberg.net>
140 * Remove vestigial LLGPL license notices as UFFI as been
141 BSD-licensed for several years.
143 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
145 * tests/objects.lisp: Rename from pointers.lisp.
146 Fix test CHPTR.4 as noted by Jorg Hohle
147 * src/objects.lisp: Remove default from ensure-char-integer
149 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
151 * src/libraries.lisp: Commit patch from Edi Weitz to
152 allow plain filename library names to allow underlying
153 lisp implementation to find foreign libraries in the
154 locations known to the operating system.
155 * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
156 * src/strings.lisp: Avoid multiple evaluation of input
157 parameters for macros as noted by Jorg Hohle.
159 2005-04-12 Kevin Rosenberg <kevin@rosenberg.net>
161 * src/strings.lisp: Fix variable name
163 2005-04-04 Kevin Rosenberg <kevin@rosenberg.net>
164 * src/strings.lisp, src/aggregates.lisp: Support change in SBCL copy
165 function [Thanks for Nathan Froyd and Zach Beane]
167 2005-04-03 Kevin Rosenberg <kevin@rosenberg.net>
168 * src/objects.lisp: Commit patch from James Bielman to add
169 def-foreign-var support for OpenMCL
171 2005-03-03 Kevin Rosenberg <kevin@rosenberg.net>
172 * src/primitives.lisp: Add support for :union types
173 [patch from Cyrus Harmon]
174 * tests/union.lisp, tests/structs.lisp: Tests for
175 union and structure types [from Cyrus Harmon]
177 2005-02-22 Kevin Rosenberg <kevin@rosenberg.net>
178 * src/primitives.lisp, src/strings.lisp: Better support
179 for sb-unicode [from Yoshinori Tahara and R. Mattes]
181 2005-01-22 Kevin Rosenberg <kevin@rosenberg.net>
182 * src/primitives.lisp: Better support SBCL-AMD64
184 2004-11-08 Kevin Rosenberg <kevin@rosenberg.net>
185 * src/strings.lisp: Better support sb-unicode
186 * tests/compress.lisp: Support sb-unicode
188 2004-10-07 Kevin Rosenberg <kevin@rosenberg.net>
189 * src/objects.lisp: Add new function:
190 convert-from-foreign-usb8
192 2004-04-15 Kevin Rosenberg <kevin@rosenberg.net>
193 * src/objects.lisp: Add new functions:
194 MAKE-POINTER and POINTER-ADDRESS
196 2004-04-13 Kevin Rosenberg <kevin@rosenberg.net>
197 * src/string.lisp: Add new FOREIGN-STRING-LENGTH
199 2003-08-15 Kevin Rosenberg <kevin@rosenberg.net>
200 * Added with-cast-pointer and def-foreign-var (patches submitted
202 * Added many new tests
204 2002-10-16 Kevin Rosenberg <kevin@rosenberg.net>
205 * Added support for SBCL and SCL
207 2002-09-29 Kevin Rosenberg <kevin@rosenberg.net>
208 * Numerous changes in openmcl support (uffi now supports
211 2002-09-19 Kevin Rosenberg <kevin@rosenberg.net>
212 - Integrate John Desoi's OpenMCL support into src-mcl
213 * examples/Makefile: add section for building on MacOS X (John Desoi)
214 * examples/test-examples: changed from mk: to asdf: package loading (KMR)
215 * examples/run-examples: changed from mk: to asdf: package loading (KMR),
216 add conditional loading if UFFI not loaded (John Desoi)
217 * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
218 converted compressed output to hexidecimal display (KMR)
219 * examples/union.cl: Rework the tests (KMR)
220 * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
221 * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
223 2002-09-16 Kevin Rosenberg <kevin@rosenberg.net>
224 - Restructure directories to move to a asdf definition file
227 2002-08-25 Kevin Rosenberg <kevin@rosenberg.net>
228 - Restructure directories to attempt to properly handle both
229 Common Lisp Controller and non-CLC systems
231 2002-08-17 Kevin Rosenberg <kevin@rosenberg.net>
232 - add uffi.asd for ASDF users
234 2002-08-01 Kevin Rosenberg <kevin@rosenberg.net>
235 - Restructure directories to improve Common Lisp Controller v3
238 2002-07-25 Kevin Rosenberg <kevin@rosenberg.net>
239 - Rework handling of logical pathnames.
240 - Move run-examples.cl to examples directory.
242 2002-06-28 Kevin Rosenberg <kevin@rosenberg.net>
243 - Added size-of-foreign-type function.
245 2002-06-26 Kevin Rosenberg <kevin@rosenberg.net>
246 - Fix bug in Lispworks allocate-foreign-object
247 - Added new :unsigned-byte type. Made :byte signed.
249 2002-04-27 Kevin Rosenberg <kevin@rosenberg.net>
253 2002-04-23 Kevin Rosenberg <kevin@rosenberg.net>
255 Updated to debian docbook catalog
257 2002-04-23 John DeSoi (desoi@mac.com)
261 2002-04-06 Kevin Rosenberg <kevin@rosenberg.net>
262 * src/mcl/libraries.cl:
263 Removed unnecessary function and added find-foreign-library
265 Added authorship for John DeSoi
267 Added documentation for find-foreign-library
269 Simplied logical pathnames and MCL loading
271 2002-04-04 John DeSoi (desoi@mac.com)
273 Added initial support for MCL
275 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
277 Added test for .so libraries on CMUCL and use sys::load-object-file instead
278 of alien:load-library-file
280 Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
282 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
283 * examples/compress.cl:
286 Added support for SPARC big-endian
288 Automated testing suite
290 2002-04-01 Kevin Rosenberg <kevin@rosenberg.net>
293 Changed default type for FreeBSD and updated Makefile for
294 FreeBSD and Solaris. Enhanced find-foreign-library to
295 take a list of types to search.
296 * examples/compress.cl:
297 Add support to use find-foreign-library
299 2002-03-31 Kevin Rosenberg <kevin@rosenberg.net>
301 Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
303 Create a .a library file for FreeBSD
305 Added default type and find-foreign-library functions
307 2002-03-29 Kevin Rosenberg <kevin@rosenberg.net>
309 Fixed bug in deref-pointer (Thanks John Desoi!)
311 2002-03-22 Kevin Rosenberg <kevin@rosenberg.net>
313 Changed name and implementation of def-array to more appropriate
316 Updated def-array-pointer documentation
318 Made results of def-constant equal those of cl:defconstant
320 Made type be evaluated for with-foreign-object and allocate-foreign-object
322 Increase to 0.3.0 to coincide with the release of CLSQL.
325 * Fixed problem with NULL foreign-strings with CMUCL
326 * Added c-test-fns to examples for allow more specific testing
327 of UFFI. Builds on UNIX and Win32 platforms.
328 * Added def-union function, added union.cl example
329 * Fixed error with ensure-char-[character|integer]
330 * Added 2-d array example to examples/arrays.cl
331 * Fixed documentation error on gethostname
332 * Added ensure-char-* and def-union to documentation
333 * Added double-float vector example to c-test-fns
334 * Reworked cstring on Lispworks to have LW handle string conversion
335 * First pass at with-foreign-object -- unoptimized
336 * Added gethostname2 example which uses with-foreign-object
337 * Added char-array-to-pointer function to encapsulate
338 converting a char array to a char pointer
339 * Converted with-foreign-object to use stack allocation on CMUCL and LW
340 * Added benchmark code, first file is for allocation
343 * Updated strings.cl so that foreign-strings are always unsigned.
344 Fixes a problem with strtol example.
345 * Added ensure-char-character and ensure-char-integer to handle
346 differences in implementations dereferencing of (* :char).
347 * Added section on design priorities for UFFI
348 * Added section in TODO on splitting implementation-dependent code
351 * Added size parameter to allocate-foreign-object. Creates an array
353 * Got array-2d example working with a 1-d array.
354 * Cleaned strtol example
358 * Documentation fixes (Erik Winkels)
359 * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
362 * Changed deref-pointer so it always returns a character when
363 called with a :char or :unsigned-char type
364 * Removed function ensure-char as no longer needed
365 * Added missing :byte specifier to Lispworks
366 * Changed default string type in Lispworks to :unsigned-char
367 which is the native type for Lispworks foreign-strings.
368 * Reworked strtol to handle new character pointing method
371 * Fixed return value in load-foreign-library (Thanks Erik Winkels),
372 modified routine to accept pathnames as well as strings.
373 * Fix documention with :pointer-void (Again, Erik Winkels)
374 * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
377 * Finished basic skeleton of documentation.
380 * Changed license to more liberal Lisp Lessor GNU Public License
381 * Fixed problem with uffi.system absent from in distribution
383 * Fixed compiler warnings
386 * Changed def-type to def-foreign-type
387 * Created new macro def-type to generate cl:deftype forms. Removed
388 uffi-declare and uffi-slot-type as they are no longer necessary.
391 * Modified input parameters to load-foreign-library
392 * Added to documention
393 * Changed parameter order in get-slot-value and deref-array
396 * Added to documentation
397 * Made Allegro CL array access more efficient
398 * Changed def-routine name to def-function
399 * Fixed bug in def-function for Lispworks]
400 * Fixed error in +null-c-string-pointer+ name
401 * Fixed error in (make-null-pointer) for Lispworks
402 * Reworked Lispwork c-strings to be (* :char) rather than the
403 implementation default of (* (:unsigned :char)) to be consistent
404 with CMUCL. Bumped version to 0.2.0 because of change this change.
405 * Renamed c-string to cstring to emphasize it as a basic type
406 * Modified getenv.cl example to avoid name collison with LW
407 * Modified compress.cl to setup output buffer as :unsigned*char
408 * Added test-all-examples function. All routines tested okay with
412 * Added ZIP file output with LF->CRLF translations to distribution
413 * Modified def-enum to use uffi:def-constant rather than