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