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