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