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