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