change email delimiters
[uffi.git] / ChangeLog
1 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
2         * Version 1.7.1
3         * src/primitives.lisp: Add :long-long and :unsigned-long-long
4         for lisp implementations that support it. Push uffi:no-long-long
5         on cl:*features* for lisp implementations that don't support it.
6
7 2010-01-28 Kevin Rosenberg <kevin@rosenberg.net>
8         * Version 1.7.0
9         * src/{functions.lisp,objects.lisp,strings.lisp}: Support Lispworks 6
10
11 2007-09-17 Kevin Rosenberg <kevin@rosenberg.net>
12         * doc/Makefile, doc/html.xsl: Change output encoding from
13         ISO-8859-1 to UTF-8
14
15 2007-07-22 Kevin Rosenberg <kevin@rosenberg.net>
16         * Version 1.6.0 (SPECIFICATION CHANGE)
17         * doc/ref_func_libr.xml: Change the specification of
18         load-foreign-library to better match the actual action of the
19         function. Rather than returning NIL for failure to load library,
20         signal an error.
21         * src/libraries.lisp: Rework load-foreign-library to ensure errors
22         are signaled on failure to load library. This was the case for
23         some implementations, change the other implementations to
24         match. (Inconsistency found due to Mark Wooding's remarks)
25
26 2007-04-12 Kevin Rosenberg <kevin@rosenberg.net>
27         * Version 1.5.18
28         * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
29
30 2006-10-10 Kevin Rosenberg <kevin@rosenberg.net>
31         * Version 1.5.17
32         * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
33
34 2006-09-02 Kevin Rosenberg <kevin@rosenberg.net>
35         * Version 1.5.16
36         * src/libraries.lisp: Add cygwin support
37
38 2006-08-13 Kevin Rosenberg <kevin@rosenberg.net>
39         * Version 1.5.15
40         * src/{objects,strings}.lisp: Add support for Lispworks 5
41         thanks to patches from Bill Atkins
42
43 2006-07-04 Kevin Rosenberg <kevin@rosenberg.net>
44         * Version 1.5.14
45         * src/{objects,strings}.lisp: Apply patch from Edi Weitz
46
47 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
48         * Version 1.5.13
49         * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
50
51 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
52         * Version 1.5.12
53         * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
54         default drive letters on MS Windows.
55
56 2006-05-11 Kevin Rosenberg <kevin@rosenberg.net>
57         * Version 1.5.11: Export new macro DEF-POINTER-VAR based on patch from
58         James Bielman to support defining variables on platforms which
59         support saving objects, such as openmcl
60
61 2006-04-17 Kevin Rosenberg <kevin@rosenberg.net>
62         * Version 1.5.10: Commit patch from Gary King for openmcl's
63         feature list change
64
65 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
66         * Version 1.5.7
67         * src/strings.lisp: Add with-foreign-strings by James Biel
68
69 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
70         * Version 1.5.6
71         * src/os.lisp: Remove getenv setter
72
73 2005-11-07 Kevin Rosenberg <kevin@rosenberg.net>
74         * Version 1.5.5
75         * src/os.lisp: Add support for getenv getter and setter
76
77 2005-09-17 Kevin Rosenberg <kevin@rosenberg.net>
78         * Version 1.5.4
79         * src/objects.lisp: prepend _ character for entry
80         point on Allegro macosx, patch by Luis Oliveira
81
82 2005-07-05 Kevin Rosenberg <kevin@rosenberg.net>
83         * Version 1.5.0
84         * Remove vestigial LLGPL license notices as UFFI as been
85         BSD-licensed for several years.
86
87 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
88         * Version 1.4.39
89         * tests/objects.lisp: Rename from pointers.lisp.
90         Fix test CHPTR.4 as noted by Jorg Hohle
91         * src/objects.lisp: Remove default from ensure-char-integer
92
93 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
94         * Version 1.4.38
95         * src/libraries.lisp: Commit patch from Edi Weitz to
96         allow plain filename library names to allow underlying
97         lisp implementation to find foreign libraries in the
98         locations known to the operating system.
99         * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
100         * src/strings.lisp: Avoid multiple evaluation of input
101         parameters for macros as noted by Jorg Hohle.
102
103 2005-04-12 Kevin Rosenberg <kevin@rosenberg.net>
104         * Version 1.4.37
105         * src/strings.lisp: Fix variable name
106
107 2005-04-04 Kevin Rosenberg <kevin@rosenberg.net>
108         * src/strings.lisp, src/aggregates.lisp: Support change in SBCL copy
109         function [Thanks for Nathan Froyd and Zach Beane]
110
111 2005-04-03 Kevin Rosenberg <kevin@rosenberg.net>
112         * src/objects.lisp: Commit patch from James Bielman to add
113         def-foreign-var support for OpenMCL
114
115 2005-03-03 Kevin Rosenberg <kevin@rosenberg.net>
116         * src/primitives.lisp: Add support for :union types
117         [patch from Cyrus Harmon]
118         * tests/union.lisp, tests/structs.lisp: Tests for
119         union and structure types [from Cyrus Harmon]
120
121 2005-02-22 Kevin Rosenberg <kevin@rosenberg.net>
122         * src/primitives.lisp, src/strings.lisp: Better support
123         for sb-unicode [from Yoshinori Tahara and R. Mattes]
124
125 2005-01-22 Kevin Rosenberg <kevin@rosenberg.net>
126         * src/primitives.lisp: Better support SBCL-AMD64
127
128 2004-11-08 Kevin Rosenberg <kevin@rosenberg.net>
129         * src/strings.lisp: Better support sb-unicode
130         * tests/compress.lisp: Support sb-unicode
131
132 2004-10-07 Kevin Rosenberg <kevin@rosenberg.net>
133         * src/objects.lisp: Add new function:
134         convert-from-foreign-usb8
135
136 2004-04-15 Kevin Rosenberg <kevin@rosenberg.net>
137         * src/objects.lisp: Add new functions:
138         MAKE-POINTER and POINTER-ADDRESS
139
140 2004-04-13 Kevin Rosenberg <kevin@rosenberg.net>
141         * src/string.lisp: Add new FOREIGN-STRING-LENGTH
142
143 2003-08-15 Kevin Rosenberg <kevin@rosenberg.net>
144         * Added with-cast-pointer and def-foreign-var (patches submitted
145         by Edi Weitz).
146         * Added many new tests
147
148 2002-10-16 Kevin Rosenberg <kevin@rosenberg.net>
149         * Added support for SBCL and SCL
150
151 2002-09-29 Kevin Rosenberg <kevin@rosenberg.net>
152         * Numerous changes in openmcl support (uffi now supports
153         clsql on openmcl)
154
155 2002-09-19 Kevin Rosenberg <kevin@rosenberg.net>
156         - Integrate John Desoi's OpenMCL support into src-mcl
157         * examples/Makefile: add section for building on MacOS X (John Desoi)
158         * examples/test-examples: changed from mk: to asdf: package loading (KMR)
159         * examples/run-examples: changed from mk: to asdf: package loading (KMR),
160         add conditional loading if UFFI not loaded (John Desoi)
161         * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
162         converted compressed output to hexidecimal display (KMR)
163         * examples/union.cl: Rework the tests (KMR)
164         * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
165         * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
166
167 2002-09-16 Kevin Rosenberg <kevin@rosenberg.net>
168         - Restructure directories to move to a asdf definition file
169         without pathnames.
170
171 2002-08-25 Kevin Rosenberg <kevin@rosenberg.net>
172        - Restructure directories to attempt to properly handle both
173         Common Lisp Controller and non-CLC systems
174
175 2002-08-17 Kevin Rosenberg <kevin@rosenberg.net>
176         - add uffi.asd for ASDF users
177
178 2002-08-01 Kevin Rosenberg <kevin@rosenberg.net>
179         - Restructure directories to improve Common Lisp Controller v3
180         compatibility
181
182 2002-07-25 Kevin Rosenberg <kevin@rosenberg.net>
183         - Rework handling of logical pathnames.
184         - Move run-examples.cl to examples directory.
185
186 2002-06-28 Kevin Rosenberg <kevin@rosenberg.net>
187         - Added size-of-foreign-type function.
188
189 2002-06-26 Kevin Rosenberg <kevin@rosenberg.net>
190         - Fix bug in Lispworks allocate-foreign-object
191         - Added new :unsigned-byte type. Made :byte signed.
192
193 2002-04-27 Kevin Rosenberg <kevin@rosenberg.net>
194         - misc files
195         First debian version
196
197 2002-04-23 Kevin Rosenberg <kevin@rosenberg.net>
198         - doc/*
199         Updated to debian docbook catalog
200
201 2002-04-23 John DeSoi (desoi@mac.com)
202         * src/mcl/*
203         Improved MCL support
204
205 2002-04-06 Kevin Rosenberg <kevin@rosenberg.net>
206         * src/mcl/libraries.cl:
207         Removed unnecessary function and added find-foreign-library
208         * src/mcl/*.cl:
209         Added authorship for John DeSoi
210         * doc/ref.sgml:
211         Added documentation for find-foreign-library
212         * uffi.system:
213         Simplied logical pathnames and MCL loading
214
215 2002-04-04 John DeSoi (desoi@mac.com)
216         * src/mcl/*.cl
217         Added initial support for MCL
218
219 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
220         * src/libraries.cl:
221         Added test for .so libraries on CMUCL and use sys::load-object-file instead
222         of alien:load-library-file
223         * examples/Makefile:
224         Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
225
226 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
227         * examples/compress.cl:
228         Fixed missing '/'
229         * examples/union.cl:
230         Added support for SPARC big-endian
231         * test-examples.cl:
232         Automated testing suite
233
234 2002-04-01 Kevin Rosenberg <kevin@rosenberg.net>
235         * src/libraries.cl:
236         * examples/Makefile:
237         Changed default type for FreeBSD and updated Makefile for
238         FreeBSD and Solaris. Enhanced find-foreign-library to
239         take a list of types to search.
240         * examples/compress.cl:
241         Add support to use find-foreign-library
242
243 2002-03-31  Kevin Rosenberg <kevin@rosenberg.net>
244         * src/strings.cl:
245         Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
246         * examples/Makefile:
247         Create a .a library file for FreeBSD
248         * src/libraries.cl:
249         Added default type and find-foreign-library functions
250
251 2002-03-29  Kevin Rosenberg <kevin@rosenberg.net>
252         * src/objects.cl:
253         Fixed bug in deref-pointer (Thanks John Desoi!)
254
255 2002-03-22  Kevin Rosenberg <kevin@rosenberg.net>
256         * src/aggregates.cl:
257         Changed name and implementation of def-array to more appropriate
258         def-array-pointer
259         * src/ref.sgml:
260         Updated def-array-pointer documentation
261         * src/primitives.cl:
262         Made results of def-constant equal those of cl:defconstant
263         * src/objects.cl:
264         Made type be evaluated for with-foreign-object and allocate-foreign-object
265         * VERSION:
266         Increase to 0.3.0 to coincide with the release of CLSQL.
267
268 21 Mar 2002
269         * Fixed problem with NULL foreign-strings with CMUCL
270         * Added c-test-fns to examples for allow more specific testing
271         of UFFI. Builds on UNIX and Win32 platforms.
272         * Added def-union function, added union.cl example
273         * Fixed error with ensure-char-[character|integer]
274         * Added 2-d array example to examples/arrays.cl
275         * Fixed documentation error on gethostname
276         * Added ensure-char-* and def-union to documentation
277         * Added double-float vector example to c-test-fns
278         * Reworked cstring on Lispworks to have LW handle string conversion
279         * First pass at with-foreign-object -- unoptimized
280         * Added gethostname2 example which uses with-foreign-object
281         * Added char-array-to-pointer function to encapsulate
282         converting a char array to a char pointer
283         * Converted with-foreign-object to use stack allocation on CMUCL and LW
284         * Added benchmark code, first file is for allocation
285
286 20 Mar 2002
287         * Updated strings.cl so that foreign-strings are always unsigned.
288         Fixes a problem with strtol example.
289         * Added ensure-char-character and ensure-char-integer to handle
290         differences in implementations dereferencing of (* :char).
291         * Added section on design priorities for UFFI
292         * Added section in TODO on splitting implementation-dependent code
293
294 19 Mar 2002
295         * Added size parameter to allocate-foreign-object. Creates an array
296         of dimensions size.
297         * Got array-2d example working with a 1-d array.
298         * Cleaned strtol example
299         * Added TODO file
300
301 18 Mar 2002
302         * Documentation fixes (Erik Winkels)
303         * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
304
305 17 Mar 2002
306         * Changed deref-pointer so it always returns a character when
307         called with a :char or :unsigned-char type
308         * Removed function ensure-char as no longer needed
309         * Added missing :byte specifier to Lispworks
310         * Changed default string type in Lispworks to :unsigned-char
311         which is the native type for Lispworks foreign-strings.
312         * Reworked strtol to handle new character pointing method
313
314 16 Mar 2002
315         * Fixed return value in load-foreign-library (Thanks Erik Winkels),
316         modified routine to accept pathnames as well as strings.
317         * Fix documention with :pointer-void (Again, Erik Winkels)
318         * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
319
320 15 Mar 2002
321         * Finished basic skeleton of documentation.
322
323 14 Mar 2002
324         * Changed license to more liberal Lisp Lessor GNU Public License
325         * Fixed problem with uffi.system absent from in distribution
326         (Thanks John DeSoi)
327         * Fixed compiler warnings
328
329 11 Mar 2002
330         * Changed def-type to def-foreign-type
331         * Created new macro def-type to generate cl:deftype forms. Removed
332         uffi-declare and uffi-slot-type as they are no longer necessary.
333
334 10 Mar 2002
335         * Modified input parameters to load-foreign-library
336         * Added to documention
337         * Changed parameter order in get-slot-value and deref-array
338
339 9 Mar 2002
340         * Added to documentation
341         * Made Allegro CL array access more efficient
342         * Changed def-routine name to def-function
343         * Fixed bug in def-function for Lispworks]
344         * Fixed error in +null-c-string-pointer+ name
345         * Fixed error in (make-null-pointer) for Lispworks
346         * Reworked Lispwork c-strings to be (* :char) rather than the
347         implementation default of (* (:unsigned :char)) to be consistent
348         with CMUCL. Bumped version to 0.2.0 because of change this change.
349         * Renamed c-string to cstring to emphasize it as a basic type
350         * Modified getenv.cl example to avoid name collison with LW
351         * Modified compress.cl to setup output buffer as :unsigned*char
352         * Added test-all-examples function. All routines tested okay with
353         ACL, LW, and CMUCL
354
355 8 Mar 2002
356         * Added ZIP file output with LF->CRLF translations to distribution
357         * Modified def-enum to use uffi:def-constant rather than
358         cl:defconstant