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