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