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