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