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