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