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