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