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