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