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