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