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