4fba65417b7f4e55a9c748a92d0fe0c24f91d498
[uffi.git] / ChangeLog
1 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
2         * Version 1.8.3
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.
6
7 2010-02-07 Kevin Rosenberg <kevin@rosenberg.net>
8         * Version 1.8.2
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,
13         CCL, and Lispworks 6
14         * src/strings.lisp: Fix an error with decoding
15         strings on CCL.
16
17 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
18         * src/i18n.lisp: Add new function string-to-octets
19
20 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
21         * Version 1.8.1
22         * src/i18n.lisp: Add new function foreign-encoded-string-octets
23
24 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
25         * Version 1.8.0
26         * src/strings.lisp: Initial support for external-formats with
27         foreign strings.
28
29 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
30         * Version 1.7.3
31         * src/primitives.lisp: Fix symbol name
32
33 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
34         * Version 1.7.2
35         * src/i18n.lisp: New file for supporting non-ASCII foreign strings.
36
37 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
38         * Version 1.7.1
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.
42
43 2010-01-28 Kevin Rosenberg <kevin@rosenberg.net>
44         * Version 1.7.0
45         * src/{functions.lisp,objects.lisp,strings.lisp}: Support Lispworks 6
46
47 2007-09-17 Kevin Rosenberg <kevin@rosenberg.net>
48         * doc/Makefile, doc/html.xsl: Change output encoding from
49         ISO-8859-1 to UTF-8
50
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,
56         signal an error.
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)
61
62 2007-04-12 Kevin Rosenberg <kevin@rosenberg.net>
63         * Version 1.5.18
64         * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
65
66 2006-10-10 Kevin Rosenberg <kevin@rosenberg.net>
67         * Version 1.5.17
68         * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
69
70 2006-09-02 Kevin Rosenberg <kevin@rosenberg.net>
71         * Version 1.5.16
72         * src/libraries.lisp: Add cygwin support
73
74 2006-08-13 Kevin Rosenberg <kevin@rosenberg.net>
75         * Version 1.5.15
76         * src/{objects,strings}.lisp: Add support for Lispworks 5
77         thanks to patches from Bill Atkins
78
79 2006-07-04 Kevin Rosenberg <kevin@rosenberg.net>
80         * Version 1.5.14
81         * src/{objects,strings}.lisp: Apply patch from Edi Weitz
82
83 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
84         * Version 1.5.13
85         * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
86
87 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
88         * Version 1.5.12
89         * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
90         default drive letters on MS Windows.
91
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
96
97 2006-04-17 Kevin Rosenberg <kevin@rosenberg.net>
98         * Version 1.5.10: Commit patch from Gary King for openmcl's
99         feature list change
100
101 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
102         * Version 1.5.7
103         * src/strings.lisp: Add with-foreign-strings by James Biel
104
105 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
106         * Version 1.5.6
107         * src/os.lisp: Remove getenv setter
108
109 2005-11-07 Kevin Rosenberg <kevin@rosenberg.net>
110         * Version 1.5.5
111         * src/os.lisp: Add support for getenv getter and setter
112
113 2005-09-17 Kevin Rosenberg <kevin@rosenberg.net>
114         * Version 1.5.4
115         * src/objects.lisp: prepend _ character for entry
116         point on Allegro macosx, patch by Luis Oliveira
117
118 2005-07-05 Kevin Rosenberg <kevin@rosenberg.net>
119         * Version 1.5.0
120         * Remove vestigial LLGPL license notices as UFFI as been
121         BSD-licensed for several years.
122
123 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
124         * Version 1.4.39
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
128
129 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
130         * Version 1.4.38
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.
138
139 2005-04-12 Kevin Rosenberg <kevin@rosenberg.net>
140         * Version 1.4.37
141         * src/strings.lisp: Fix variable name
142
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]
146
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
150
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]
156
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]
160
161 2005-01-22 Kevin Rosenberg <kevin@rosenberg.net>
162         * src/primitives.lisp: Better support SBCL-AMD64
163
164 2004-11-08 Kevin Rosenberg <kevin@rosenberg.net>
165         * src/strings.lisp: Better support sb-unicode
166         * tests/compress.lisp: Support sb-unicode
167
168 2004-10-07 Kevin Rosenberg <kevin@rosenberg.net>
169         * src/objects.lisp: Add new function:
170         convert-from-foreign-usb8
171
172 2004-04-15 Kevin Rosenberg <kevin@rosenberg.net>
173         * src/objects.lisp: Add new functions:
174         MAKE-POINTER and POINTER-ADDRESS
175
176 2004-04-13 Kevin Rosenberg <kevin@rosenberg.net>
177         * src/string.lisp: Add new FOREIGN-STRING-LENGTH
178
179 2003-08-15 Kevin Rosenberg <kevin@rosenberg.net>
180         * Added with-cast-pointer and def-foreign-var (patches submitted
181         by Edi Weitz).
182         * Added many new tests
183
184 2002-10-16 Kevin Rosenberg <kevin@rosenberg.net>
185         * Added support for SBCL and SCL
186
187 2002-09-29 Kevin Rosenberg <kevin@rosenberg.net>
188         * Numerous changes in openmcl support (uffi now supports
189         clsql on openmcl)
190
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)
202
203 2002-09-16 Kevin Rosenberg <kevin@rosenberg.net>
204         - Restructure directories to move to a asdf definition file
205         without pathnames.
206
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
210
211 2002-08-17 Kevin Rosenberg <kevin@rosenberg.net>
212         - add uffi.asd for ASDF users
213
214 2002-08-01 Kevin Rosenberg <kevin@rosenberg.net>
215         - Restructure directories to improve Common Lisp Controller v3
216         compatibility
217
218 2002-07-25 Kevin Rosenberg <kevin@rosenberg.net>
219         - Rework handling of logical pathnames.
220         - Move run-examples.cl to examples directory.
221
222 2002-06-28 Kevin Rosenberg <kevin@rosenberg.net>
223         - Added size-of-foreign-type function.
224
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.
228
229 2002-04-27 Kevin Rosenberg <kevin@rosenberg.net>
230         - misc files
231         First debian version
232
233 2002-04-23 Kevin Rosenberg <kevin@rosenberg.net>
234         - doc/*
235         Updated to debian docbook catalog
236
237 2002-04-23 John DeSoi (desoi@mac.com)
238         * src/mcl/*
239         Improved MCL support
240
241 2002-04-06 Kevin Rosenberg <kevin@rosenberg.net>
242         * src/mcl/libraries.cl:
243         Removed unnecessary function and added find-foreign-library
244         * src/mcl/*.cl:
245         Added authorship for John DeSoi
246         * doc/ref.sgml:
247         Added documentation for find-foreign-library
248         * uffi.system:
249         Simplied logical pathnames and MCL loading
250
251 2002-04-04 John DeSoi (desoi@mac.com)
252         * src/mcl/*.cl
253         Added initial support for MCL
254
255 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
256         * src/libraries.cl:
257         Added test for .so libraries on CMUCL and use sys::load-object-file instead
258         of alien:load-library-file
259         * examples/Makefile:
260         Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
261
262 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
263         * examples/compress.cl:
264         Fixed missing '/'
265         * examples/union.cl:
266         Added support for SPARC big-endian
267         * test-examples.cl:
268         Automated testing suite
269
270 2002-04-01 Kevin Rosenberg <kevin@rosenberg.net>
271         * src/libraries.cl:
272         * examples/Makefile:
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
278
279 2002-03-31  Kevin Rosenberg <kevin@rosenberg.net>
280         * src/strings.cl:
281         Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
282         * examples/Makefile:
283         Create a .a library file for FreeBSD
284         * src/libraries.cl:
285         Added default type and find-foreign-library functions
286
287 2002-03-29  Kevin Rosenberg <kevin@rosenberg.net>
288         * src/objects.cl:
289         Fixed bug in deref-pointer (Thanks John Desoi!)
290
291 2002-03-22  Kevin Rosenberg <kevin@rosenberg.net>
292         * src/aggregates.cl:
293         Changed name and implementation of def-array to more appropriate
294         def-array-pointer
295         * src/ref.sgml:
296         Updated def-array-pointer documentation
297         * src/primitives.cl:
298         Made results of def-constant equal those of cl:defconstant
299         * src/objects.cl:
300         Made type be evaluated for with-foreign-object and allocate-foreign-object
301         * VERSION:
302         Increase to 0.3.0 to coincide with the release of CLSQL.
303
304 21 Mar 2002
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
321
322 20 Mar 2002
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
329
330 19 Mar 2002
331         * Added size parameter to allocate-foreign-object. Creates an array
332         of dimensions size.
333         * Got array-2d example working with a 1-d array.
334         * Cleaned strtol example
335         * Added TODO file
336
337 18 Mar 2002
338         * Documentation fixes (Erik Winkels)
339         * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
340
341 17 Mar 2002
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
349
350 16 Mar 2002
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!)
355
356 15 Mar 2002
357         * Finished basic skeleton of documentation.
358
359 14 Mar 2002
360         * Changed license to more liberal Lisp Lessor GNU Public License
361         * Fixed problem with uffi.system absent from in distribution
362         (Thanks John DeSoi)
363         * Fixed compiler warnings
364
365 11 Mar 2002
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.
369
370 10 Mar 2002
371         * Modified input parameters to load-foreign-library
372         * Added to documention
373         * Changed parameter order in get-slot-value and deref-array
374
375 9 Mar 2002
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
389         ACL, LW, and CMUCL
390
391 8 Mar 2002
392         * Added ZIP file output with LF->CRLF translations to distribution
393         * Modified def-enum to use uffi:def-constant rather than
394         cl:defconstant