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