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