1 2010-10-20 Kevin Rosenberg <kevin@rosenberg.net>
2 * src/{strings,i18n}.lisp: Rework foreign string
3 conversion for Lispworks so that wide-character strings
4 are produced (rather than strings of octets)
6 2010-04-20 Kevin Rosenberg <kevin@rosenberg.net>
8 * uffi.asdf: Update version so libraries using UFFI
9 can depend on verson 2.0 for new foreign encoding
11 * src/i18n.lisp: Add null-terminate to STRING-TO-OCTETS
12 * tests/i18n.lisp: Add new tests
14 2010-02-11 Kevin Rosenberg <kevin@rosenberg.net>
16 * src/strings.lisp: Standards on :encoding keyword
19 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
21 * src/primitives.lisp: Fix for long-long patch
23 * src/i18n.lisp: Changed logic of how to deal
24 with an passed encoding value of il.
26 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
28 * sql/primitives.lisp: Improved detection for
29 availability of long-long integer for CMU.
30 (Thanks to Stelian Ionescu)
31 * sql/i18n.lisp: Changes in how ignored variables
32 are declared (Stelian Ionescu)
34 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
36 * sql/strings.liap: Commit patch from
37 with fixes for recent changes with i18n as well
38 as reworking how ignored variables are declared.
40 2010-02-07 Kevin Rosenberg <kevin@rosenberg.net>
42 * src/i18n.lisp: Rename function to
43 foreign-encoded-octet-count. Fix errors.
44 * tests/i18n.lisp: New file. i18n tests fine
45 on AllegroCL 8/16 bits, SBCL unicode/non-unicode,
47 * src/strings.lisp: Fix an error with decoding
50 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
51 * src/i18n.lisp: Add new function string-to-octets
53 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
55 * src/i18n.lisp: Add new function foreign-encoded-string-octets
57 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
59 * src/strings.lisp: Initial support for external-formats with
62 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
64 * src/primitives.lisp: Fix symbol name
66 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
68 * src/i18n.lisp: New file for supporting non-ASCII foreign strings.
70 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
72 * src/primitives.lisp: Add :long-long and :unsigned-long-long
73 for lisp implementations that support it. Push uffi:no-long-long
74 on cl:*features* for lisp implementations that don't support it.
76 2010-01-28 Kevin Rosenberg <kevin@rosenberg.net>
78 * src/{functions.lisp,objects.lisp,strings.lisp}: Support Lispworks 6
80 2007-09-17 Kevin Rosenberg <kevin@rosenberg.net>
81 * doc/Makefile, doc/html.xsl: Change output encoding from
84 2007-07-22 Kevin Rosenberg <kevin@rosenberg.net>
85 * Version 1.6.0 (SPECIFICATION CHANGE)
86 * doc/ref_func_libr.xml: Change the specification of
87 load-foreign-library to better match the actual action of the
88 function. Rather than returning NIL for failure to load library,
90 * src/libraries.lisp: Rework load-foreign-library to ensure errors
91 are signaled on failure to load library. This was the case for
92 some implementations, change the other implementations to
93 match. (Inconsistency found due to Mark Wooding's remarks)
95 2007-04-12 Kevin Rosenberg <kevin@rosenberg.net>
97 * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
99 2006-10-10 Kevin Rosenberg <kevin@rosenberg.net>
101 * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
103 2006-09-02 Kevin Rosenberg <kevin@rosenberg.net>
105 * src/libraries.lisp: Add cygwin support
107 2006-08-13 Kevin Rosenberg <kevin@rosenberg.net>
109 * src/{objects,strings}.lisp: Add support for Lispworks 5
110 thanks to patches from Bill Atkins
112 2006-07-04 Kevin Rosenberg <kevin@rosenberg.net>
114 * src/{objects,strings}.lisp: Apply patch from Edi Weitz
116 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
118 * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
120 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
122 * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
123 default drive letters on MS Windows.
125 2006-05-11 Kevin Rosenberg <kevin@rosenberg.net>
126 * Version 1.5.11: Export new macro DEF-POINTER-VAR based on patch from
127 James Bielman to support defining variables on platforms which
128 support saving objects, such as openmcl
130 2006-04-17 Kevin Rosenberg <kevin@rosenberg.net>
131 * Version 1.5.10: Commit patch from Gary King for openmcl's
134 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
136 * src/strings.lisp: Add with-foreign-strings by James Biel
138 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
140 * src/os.lisp: Remove getenv setter
142 2005-11-07 Kevin Rosenberg <kevin@rosenberg.net>
144 * src/os.lisp: Add support for getenv getter and setter
146 2005-09-17 Kevin Rosenberg <kevin@rosenberg.net>
148 * src/objects.lisp: prepend _ character for entry
149 point on Allegro macosx, patch by Luis Oliveira
151 2005-07-05 Kevin Rosenberg <kevin@rosenberg.net>
153 * Remove vestigial LLGPL license notices as UFFI as been
154 BSD-licensed for several years.
156 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
158 * tests/objects.lisp: Rename from pointers.lisp.
159 Fix test CHPTR.4 as noted by Jorg Hohle
160 * src/objects.lisp: Remove default from ensure-char-integer
162 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
164 * src/libraries.lisp: Commit patch from Edi Weitz to
165 allow plain filename library names to allow underlying
166 lisp implementation to find foreign libraries in the
167 locations known to the operating system.
168 * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
169 * src/strings.lisp: Avoid multiple evaluation of input
170 parameters for macros as noted by Jorg Hohle.
172 2005-04-12 Kevin Rosenberg <kevin@rosenberg.net>
174 * src/strings.lisp: Fix variable name
176 2005-04-04 Kevin Rosenberg <kevin@rosenberg.net>
177 * src/strings.lisp, src/aggregates.lisp: Support change in SBCL copy
178 function [Thanks for Nathan Froyd and Zach Beane]
180 2005-04-03 Kevin Rosenberg <kevin@rosenberg.net>
181 * src/objects.lisp: Commit patch from James Bielman to add
182 def-foreign-var support for OpenMCL
184 2005-03-03 Kevin Rosenberg <kevin@rosenberg.net>
185 * src/primitives.lisp: Add support for :union types
186 [patch from Cyrus Harmon]
187 * tests/union.lisp, tests/structs.lisp: Tests for
188 union and structure types [from Cyrus Harmon]
190 2005-02-22 Kevin Rosenberg <kevin@rosenberg.net>
191 * src/primitives.lisp, src/strings.lisp: Better support
192 for sb-unicode [from Yoshinori Tahara and R. Mattes]
194 2005-01-22 Kevin Rosenberg <kevin@rosenberg.net>
195 * src/primitives.lisp: Better support SBCL-AMD64
197 2004-11-08 Kevin Rosenberg <kevin@rosenberg.net>
198 * src/strings.lisp: Better support sb-unicode
199 * tests/compress.lisp: Support sb-unicode
201 2004-10-07 Kevin Rosenberg <kevin@rosenberg.net>
202 * src/objects.lisp: Add new function:
203 convert-from-foreign-usb8
205 2004-04-15 Kevin Rosenberg <kevin@rosenberg.net>
206 * src/objects.lisp: Add new functions:
207 MAKE-POINTER and POINTER-ADDRESS
209 2004-04-13 Kevin Rosenberg <kevin@rosenberg.net>
210 * src/string.lisp: Add new FOREIGN-STRING-LENGTH
212 2003-08-15 Kevin Rosenberg <kevin@rosenberg.net>
213 * Added with-cast-pointer and def-foreign-var (patches submitted
215 * Added many new tests
217 2002-10-16 Kevin Rosenberg <kevin@rosenberg.net>
218 * Added support for SBCL and SCL
220 2002-09-29 Kevin Rosenberg <kevin@rosenberg.net>
221 * Numerous changes in openmcl support (uffi now supports
224 2002-09-19 Kevin Rosenberg <kevin@rosenberg.net>
225 - Integrate John Desoi's OpenMCL support into src-mcl
226 * examples/Makefile: add section for building on MacOS X (John Desoi)
227 * examples/test-examples: changed from mk: to asdf: package loading (KMR)
228 * examples/run-examples: changed from mk: to asdf: package loading (KMR),
229 add conditional loading if UFFI not loaded (John Desoi)
230 * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
231 converted compressed output to hexidecimal display (KMR)
232 * examples/union.cl: Rework the tests (KMR)
233 * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
234 * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
236 2002-09-16 Kevin Rosenberg <kevin@rosenberg.net>
237 - Restructure directories to move to a asdf definition file
240 2002-08-25 Kevin Rosenberg <kevin@rosenberg.net>
241 - Restructure directories to attempt to properly handle both
242 Common Lisp Controller and non-CLC systems
244 2002-08-17 Kevin Rosenberg <kevin@rosenberg.net>
245 - add uffi.asd for ASDF users
247 2002-08-01 Kevin Rosenberg <kevin@rosenberg.net>
248 - Restructure directories to improve Common Lisp Controller v3
251 2002-07-25 Kevin Rosenberg <kevin@rosenberg.net>
252 - Rework handling of logical pathnames.
253 - Move run-examples.cl to examples directory.
255 2002-06-28 Kevin Rosenberg <kevin@rosenberg.net>
256 - Added size-of-foreign-type function.
258 2002-06-26 Kevin Rosenberg <kevin@rosenberg.net>
259 - Fix bug in Lispworks allocate-foreign-object
260 - Added new :unsigned-byte type. Made :byte signed.
262 2002-04-27 Kevin Rosenberg <kevin@rosenberg.net>
266 2002-04-23 Kevin Rosenberg <kevin@rosenberg.net>
268 Updated to debian docbook catalog
270 2002-04-23 John DeSoi (desoi@mac.com)
274 2002-04-06 Kevin Rosenberg <kevin@rosenberg.net>
275 * src/mcl/libraries.cl:
276 Removed unnecessary function and added find-foreign-library
278 Added authorship for John DeSoi
280 Added documentation for find-foreign-library
282 Simplied logical pathnames and MCL loading
284 2002-04-04 John DeSoi (desoi@mac.com)
286 Added initial support for MCL
288 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
290 Added test for .so libraries on CMUCL and use sys::load-object-file instead
291 of alien:load-library-file
293 Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
295 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
296 * examples/compress.cl:
299 Added support for SPARC big-endian
301 Automated testing suite
303 2002-04-01 Kevin Rosenberg <kevin@rosenberg.net>
306 Changed default type for FreeBSD and updated Makefile for
307 FreeBSD and Solaris. Enhanced find-foreign-library to
308 take a list of types to search.
309 * examples/compress.cl:
310 Add support to use find-foreign-library
312 2002-03-31 Kevin Rosenberg <kevin@rosenberg.net>
314 Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
316 Create a .a library file for FreeBSD
318 Added default type and find-foreign-library functions
320 2002-03-29 Kevin Rosenberg <kevin@rosenberg.net>
322 Fixed bug in deref-pointer (Thanks John Desoi!)
324 2002-03-22 Kevin Rosenberg <kevin@rosenberg.net>
326 Changed name and implementation of def-array to more appropriate
329 Updated def-array-pointer documentation
331 Made results of def-constant equal those of cl:defconstant
333 Made type be evaluated for with-foreign-object and allocate-foreign-object
335 Increase to 0.3.0 to coincide with the release of CLSQL.
338 * Fixed problem with NULL foreign-strings with CMUCL
339 * Added c-test-fns to examples for allow more specific testing
340 of UFFI. Builds on UNIX and Win32 platforms.
341 * Added def-union function, added union.cl example
342 * Fixed error with ensure-char-[character|integer]
343 * Added 2-d array example to examples/arrays.cl
344 * Fixed documentation error on gethostname
345 * Added ensure-char-* and def-union to documentation
346 * Added double-float vector example to c-test-fns
347 * Reworked cstring on Lispworks to have LW handle string conversion
348 * First pass at with-foreign-object -- unoptimized
349 * Added gethostname2 example which uses with-foreign-object
350 * Added char-array-to-pointer function to encapsulate
351 converting a char array to a char pointer
352 * Converted with-foreign-object to use stack allocation on CMUCL and LW
353 * Added benchmark code, first file is for allocation
356 * Updated strings.cl so that foreign-strings are always unsigned.
357 Fixes a problem with strtol example.
358 * Added ensure-char-character and ensure-char-integer to handle
359 differences in implementations dereferencing of (* :char).
360 * Added section on design priorities for UFFI
361 * Added section in TODO on splitting implementation-dependent code
364 * Added size parameter to allocate-foreign-object. Creates an array
366 * Got array-2d example working with a 1-d array.
367 * Cleaned strtol example
371 * Documentation fixes (Erik Winkels)
372 * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
375 * Changed deref-pointer so it always returns a character when
376 called with a :char or :unsigned-char type
377 * Removed function ensure-char as no longer needed
378 * Added missing :byte specifier to Lispworks
379 * Changed default string type in Lispworks to :unsigned-char
380 which is the native type for Lispworks foreign-strings.
381 * Reworked strtol to handle new character pointing method
384 * Fixed return value in load-foreign-library (Thanks Erik Winkels),
385 modified routine to accept pathnames as well as strings.
386 * Fix documention with :pointer-void (Again, Erik Winkels)
387 * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
390 * Finished basic skeleton of documentation.
393 * Changed license to more liberal Lisp Lessor GNU Public License
394 * Fixed problem with uffi.system absent from in distribution
396 * Fixed compiler warnings
399 * Changed def-type to def-foreign-type
400 * Created new macro def-type to generate cl:deftype forms. Removed
401 uffi-declare and uffi-slot-type as they are no longer necessary.
404 * Modified input parameters to load-foreign-library
405 * Added to documention
406 * Changed parameter order in get-slot-value and deref-array
409 * Added to documentation
410 * Made Allegro CL array access more efficient
411 * Changed def-routine name to def-function
412 * Fixed bug in def-function for Lispworks]
413 * Fixed error in +null-c-string-pointer+ name
414 * Fixed error in (make-null-pointer) for Lispworks
415 * Reworked Lispwork c-strings to be (* :char) rather than the
416 implementation default of (* (:unsigned :char)) to be consistent
417 with CMUCL. Bumped version to 0.2.0 because of change this change.
418 * Renamed c-string to cstring to emphasize it as a basic type
419 * Modified getenv.cl example to avoid name collison with LW
420 * Modified compress.cl to setup output buffer as :unsigned*char
421 * Added test-all-examples function. All routines tested okay with
425 * Added ZIP file output with LF->CRLF translations to distribution
426 * Modified def-enum to use uffi:def-constant rather than