Version 1.8.4: Impoved detection of long-long type for CMUCL
[uffi.git] / ChangeLog
1 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
2         * Version 1.8.4
3         * sql/primitives.lisp: Improved detection for
4         availability of long-long integer for CMU.
5         (Thanks to Stelian Ionescu)
6         * sql/i18n.lisp: Changes in how ignored variables
7         are declared (Stelian Ionescu)
8
9 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
10         * Version 1.8.3
11         * sql/strings.liap: Commit patch from 
12         with fixes for recent changes with i18n as well
13         as reworking how ignored variables are declared.
14
15 2010-02-07 Kevin Rosenberg <kevin@rosenberg.net>
16         * Version 1.8.2
17         * src/i18n.lisp: Rename function to 
18         foreign-encoded-octet-count. Fix errors.
19         * tests/i18n.lisp: New file. i18n tests fine
20         on AllegroCL 8/16 bits, SBCL unicode/non-unicode,
21         CCL, and Lispworks 6
22         * src/strings.lisp: Fix an error with decoding
23         strings on CCL.
24
25 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
26         * src/i18n.lisp: Add new function string-to-octets
27
28 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
29         * Version 1.8.1
30         * src/i18n.lisp: Add new function foreign-encoded-string-octets
31
32 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
33         * Version 1.8.0
34         * src/strings.lisp: Initial support for external-formats with
35         foreign strings.
36
37 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
38         * Version 1.7.3
39         * src/primitives.lisp: Fix symbol name
40
41 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
42         * Version 1.7.2
43         * src/i18n.lisp: New file for supporting non-ASCII foreign strings.
44
45 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
46         * Version 1.7.1
47         * src/primitives.lisp: Add :long-long and :unsigned-long-long
48         for lisp implementations that support it. Push uffi:no-long-long
49         on cl:*features* for lisp implementations that don't support it.
50
51 2010-01-28 Kevin Rosenberg <kevin@rosenberg.net>
52         * Version 1.7.0
53         * src/{functions.lisp,objects.lisp,strings.lisp}: Support Lispworks 6
54
55 2007-09-17 Kevin Rosenberg <kevin@rosenberg.net>
56         * doc/Makefile, doc/html.xsl: Change output encoding from
57         ISO-8859-1 to UTF-8
58
59 2007-07-22 Kevin Rosenberg <kevin@rosenberg.net>
60         * Version 1.6.0 (SPECIFICATION CHANGE)
61         * doc/ref_func_libr.xml: Change the specification of
62         load-foreign-library to better match the actual action of the
63         function. Rather than returning NIL for failure to load library,
64         signal an error.
65         * src/libraries.lisp: Rework load-foreign-library to ensure errors
66         are signaled on failure to load library. This was the case for
67         some implementations, change the other implementations to
68         match. (Inconsistency found due to Mark Wooding's remarks)
69
70 2007-04-12 Kevin Rosenberg <kevin@rosenberg.net>
71         * Version 1.5.18
72         * src/functions.lisp: Patch from Ian Eslick for Lispworks 5
73
74 2006-10-10 Kevin Rosenberg <kevin@rosenberg.net>
75         * Version 1.5.17
76         * src/functions.lisp: Patch from Edi Weitz for Lispworks 5/Linux
77
78 2006-09-02 Kevin Rosenberg <kevin@rosenberg.net>
79         * Version 1.5.16
80         * src/libraries.lisp: Add cygwin support
81
82 2006-08-13 Kevin Rosenberg <kevin@rosenberg.net>
83         * Version 1.5.15
84         * src/{objects,strings}.lisp: Add support for Lispworks 5
85         thanks to patches from Bill Atkins
86
87 2006-07-04 Kevin Rosenberg <kevin@rosenberg.net>
88         * Version 1.5.14
89         * src/{objects,strings}.lisp: Apply patch from Edi Weitz
90
91 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
92         * Version 1.5.13
93         * src/libraries.lisp: Revert buggy patch from Yaroslav Kavenchuk.
94
95 2006-05-17 Kevin Rosenberg <kevin@rosenberg.net>
96         * Version 1.5.12
97         * src/libraries.lisp: Patch from Yaroslav Kavenchuk to set
98         default drive letters on MS Windows.
99
100 2006-05-11 Kevin Rosenberg <kevin@rosenberg.net>
101         * Version 1.5.11: Export new macro DEF-POINTER-VAR based on patch from
102         James Bielman to support defining variables on platforms which
103         support saving objects, such as openmcl
104
105 2006-04-17 Kevin Rosenberg <kevin@rosenberg.net>
106         * Version 1.5.10: Commit patch from Gary King for openmcl's
107         feature list change
108
109 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
110         * Version 1.5.7
111         * src/strings.lisp: Add with-foreign-strings by James Biel
112
113 2005-11-14 Kevin Rosenberg <kevin@rosenberg.net>
114         * Version 1.5.6
115         * src/os.lisp: Remove getenv setter
116
117 2005-11-07 Kevin Rosenberg <kevin@rosenberg.net>
118         * Version 1.5.5
119         * src/os.lisp: Add support for getenv getter and setter
120
121 2005-09-17 Kevin Rosenberg <kevin@rosenberg.net>
122         * Version 1.5.4
123         * src/objects.lisp: prepend _ character for entry
124         point on Allegro macosx, patch by Luis Oliveira
125
126 2005-07-05 Kevin Rosenberg <kevin@rosenberg.net>
127         * Version 1.5.0
128         * Remove vestigial LLGPL license notices as UFFI as been
129         BSD-licensed for several years.
130
131 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
132         * Version 1.4.39
133         * tests/objects.lisp: Rename from pointers.lisp.
134         Fix test CHPTR.4 as noted by Jorg Hohle
135         * src/objects.lisp: Remove default from ensure-char-integer
136
137 2005-06-09 Kevin Rosenberg <kevin@rosenberg.net>
138         * Version 1.4.38
139         * src/libraries.lisp: Commit patch from Edi Weitz to
140         allow plain filename library names to allow underlying
141         lisp implementation to find foreign libraries in the
142         locations known to the operating system.
143         * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
144         * src/strings.lisp: Avoid multiple evaluation of input
145         parameters for macros as noted by Jorg Hohle.
146
147 2005-04-12 Kevin Rosenberg <kevin@rosenberg.net>
148         * Version 1.4.37
149         * src/strings.lisp: Fix variable name
150
151 2005-04-04 Kevin Rosenberg <kevin@rosenberg.net>
152         * src/strings.lisp, src/aggregates.lisp: Support change in SBCL copy
153         function [Thanks for Nathan Froyd and Zach Beane]
154
155 2005-04-03 Kevin Rosenberg <kevin@rosenberg.net>
156         * src/objects.lisp: Commit patch from James Bielman to add
157         def-foreign-var support for OpenMCL
158
159 2005-03-03 Kevin Rosenberg <kevin@rosenberg.net>
160         * src/primitives.lisp: Add support for :union types
161         [patch from Cyrus Harmon]
162         * tests/union.lisp, tests/structs.lisp: Tests for
163         union and structure types [from Cyrus Harmon]
164
165 2005-02-22 Kevin Rosenberg <kevin@rosenberg.net>
166         * src/primitives.lisp, src/strings.lisp: Better support
167         for sb-unicode [from Yoshinori Tahara and R. Mattes]
168
169 2005-01-22 Kevin Rosenberg <kevin@rosenberg.net>
170         * src/primitives.lisp: Better support SBCL-AMD64
171
172 2004-11-08 Kevin Rosenberg <kevin@rosenberg.net>
173         * src/strings.lisp: Better support sb-unicode
174         * tests/compress.lisp: Support sb-unicode
175
176 2004-10-07 Kevin Rosenberg <kevin@rosenberg.net>
177         * src/objects.lisp: Add new function:
178         convert-from-foreign-usb8
179
180 2004-04-15 Kevin Rosenberg <kevin@rosenberg.net>
181         * src/objects.lisp: Add new functions:
182         MAKE-POINTER and POINTER-ADDRESS
183
184 2004-04-13 Kevin Rosenberg <kevin@rosenberg.net>
185         * src/string.lisp: Add new FOREIGN-STRING-LENGTH
186
187 2003-08-15 Kevin Rosenberg <kevin@rosenberg.net>
188         * Added with-cast-pointer and def-foreign-var (patches submitted
189         by Edi Weitz).
190         * Added many new tests
191
192 2002-10-16 Kevin Rosenberg <kevin@rosenberg.net>
193         * Added support for SBCL and SCL
194
195 2002-09-29 Kevin Rosenberg <kevin@rosenberg.net>
196         * Numerous changes in openmcl support (uffi now supports
197         clsql on openmcl)
198
199 2002-09-19 Kevin Rosenberg <kevin@rosenberg.net>
200         - Integrate John Desoi's OpenMCL support into src-mcl
201         * examples/Makefile: add section for building on MacOS X (John Desoi)
202         * examples/test-examples: changed from mk: to asdf: package loading (KMR)
203         * examples/run-examples: changed from mk: to asdf: package loading (KMR),
204         add conditional loading if UFFI not loaded (John Desoi)
205         * examples/compress.cl: Add dylib to library types for MacOSX (John Desoi),
206         converted compressed output to hexidecimal display (KMR)
207         * examples/union.cl: Rework the tests (KMR)
208         * src-main/libraries.cl: add dylib as default library type on MacOSX (John Desoi)
209         * src-main/aggregates.cl: convert from uffi type in deref-array (John Desoi)
210
211 2002-09-16 Kevin Rosenberg <kevin@rosenberg.net>
212         - Restructure directories to move to a asdf definition file
213         without pathnames.
214
215 2002-08-25 Kevin Rosenberg <kevin@rosenberg.net>
216        - Restructure directories to attempt to properly handle both
217         Common Lisp Controller and non-CLC systems
218
219 2002-08-17 Kevin Rosenberg <kevin@rosenberg.net>
220         - add uffi.asd for ASDF users
221
222 2002-08-01 Kevin Rosenberg <kevin@rosenberg.net>
223         - Restructure directories to improve Common Lisp Controller v3
224         compatibility
225
226 2002-07-25 Kevin Rosenberg <kevin@rosenberg.net>
227         - Rework handling of logical pathnames.
228         - Move run-examples.cl to examples directory.
229
230 2002-06-28 Kevin Rosenberg <kevin@rosenberg.net>
231         - Added size-of-foreign-type function.
232
233 2002-06-26 Kevin Rosenberg <kevin@rosenberg.net>
234         - Fix bug in Lispworks allocate-foreign-object
235         - Added new :unsigned-byte type. Made :byte signed.
236
237 2002-04-27 Kevin Rosenberg <kevin@rosenberg.net>
238         - misc files
239         First debian version
240
241 2002-04-23 Kevin Rosenberg <kevin@rosenberg.net>
242         - doc/*
243         Updated to debian docbook catalog
244
245 2002-04-23 John DeSoi (desoi@mac.com)
246         * src/mcl/*
247         Improved MCL support
248
249 2002-04-06 Kevin Rosenberg <kevin@rosenberg.net>
250         * src/mcl/libraries.cl:
251         Removed unnecessary function and added find-foreign-library
252         * src/mcl/*.cl:
253         Added authorship for John DeSoi
254         * doc/ref.sgml:
255         Added documentation for find-foreign-library
256         * uffi.system:
257         Simplied logical pathnames and MCL loading
258
259 2002-04-04 John DeSoi (desoi@mac.com)
260         * src/mcl/*.cl
261         Added initial support for MCL
262
263 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
264         * src/libraries.cl:
265         Added test for .so libraries on CMUCL and use sys::load-object-file instead
266         of alien:load-library-file
267         * examples/Makefile:
268         Updated defaults so library is created correctly on Linux, FreeBSD, and Solaris
269
270 2002-04-02 Kevin Rosenberg <kevin@rosenberg.net>
271         * examples/compress.cl:
272         Fixed missing '/'
273         * examples/union.cl:
274         Added support for SPARC big-endian
275         * test-examples.cl:
276         Automated testing suite
277
278 2002-04-01 Kevin Rosenberg <kevin@rosenberg.net>
279         * src/libraries.cl:
280         * examples/Makefile:
281         Changed default type for FreeBSD and updated Makefile for
282         FreeBSD and Solaris. Enhanced find-foreign-library to
283         take a list of types to search.
284         * examples/compress.cl:
285         Add support to use find-foreign-library
286
287 2002-03-31  Kevin Rosenberg <kevin@rosenberg.net>
288         * src/strings.cl:
289         Fixed bug in with-foreign-string (Thanks Harald Hanche-Olsen)
290         * examples/Makefile:
291         Create a .a library file for FreeBSD
292         * src/libraries.cl:
293         Added default type and find-foreign-library functions
294
295 2002-03-29  Kevin Rosenberg <kevin@rosenberg.net>
296         * src/objects.cl:
297         Fixed bug in deref-pointer (Thanks John Desoi!)
298
299 2002-03-22  Kevin Rosenberg <kevin@rosenberg.net>
300         * src/aggregates.cl:
301         Changed name and implementation of def-array to more appropriate
302         def-array-pointer
303         * src/ref.sgml:
304         Updated def-array-pointer documentation
305         * src/primitives.cl:
306         Made results of def-constant equal those of cl:defconstant
307         * src/objects.cl:
308         Made type be evaluated for with-foreign-object and allocate-foreign-object
309         * VERSION:
310         Increase to 0.3.0 to coincide with the release of CLSQL.
311
312 21 Mar 2002
313         * Fixed problem with NULL foreign-strings with CMUCL
314         * Added c-test-fns to examples for allow more specific testing
315         of UFFI. Builds on UNIX and Win32 platforms.
316         * Added def-union function, added union.cl example
317         * Fixed error with ensure-char-[character|integer]
318         * Added 2-d array example to examples/arrays.cl
319         * Fixed documentation error on gethostname
320         * Added ensure-char-* and def-union to documentation
321         * Added double-float vector example to c-test-fns
322         * Reworked cstring on Lispworks to have LW handle string conversion
323         * First pass at with-foreign-object -- unoptimized
324         * Added gethostname2 example which uses with-foreign-object
325         * Added char-array-to-pointer function to encapsulate
326         converting a char array to a char pointer
327         * Converted with-foreign-object to use stack allocation on CMUCL and LW
328         * Added benchmark code, first file is for allocation
329
330 20 Mar 2002
331         * Updated strings.cl so that foreign-strings are always unsigned.
332         Fixes a problem with strtol example.
333         * Added ensure-char-character and ensure-char-integer to handle
334         differences in implementations dereferencing of (* :char).
335         * Added section on design priorities for UFFI
336         * Added section in TODO on splitting implementation-dependent code
337
338 19 Mar 2002
339         * Added size parameter to allocate-foreign-object. Creates an array
340         of dimensions size.
341         * Got array-2d example working with a 1-d array.
342         * Cleaned strtol example
343         * Added TODO file
344
345 18 Mar 2002
346         * Documentation fixes (Erik Winkels)
347         * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
348
349 17 Mar 2002
350         * Changed deref-pointer so it always returns a character when
351         called with a :char or :unsigned-char type
352         * Removed function ensure-char as no longer needed
353         * Added missing :byte specifier to Lispworks
354         * Changed default string type in Lispworks to :unsigned-char
355         which is the native type for Lispworks foreign-strings.
356         * Reworked strtol to handle new character pointing method
357
358 16 Mar 2002
359         * Fixed return value in load-foreign-library (Thanks Erik Winkels),
360         modified routine to accept pathnames as well as strings.
361         * Fix documention with :pointer-void (Again, Erik Winkels)
362         * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
363
364 15 Mar 2002
365         * Finished basic skeleton of documentation.
366
367 14 Mar 2002
368         * Changed license to more liberal Lisp Lessor GNU Public License
369         * Fixed problem with uffi.system absent from in distribution
370         (Thanks John DeSoi)
371         * Fixed compiler warnings
372
373 11 Mar 2002
374         * Changed def-type to def-foreign-type
375         * Created new macro def-type to generate cl:deftype forms. Removed
376         uffi-declare and uffi-slot-type as they are no longer necessary.
377
378 10 Mar 2002
379         * Modified input parameters to load-foreign-library
380         * Added to documention
381         * Changed parameter order in get-slot-value and deref-array
382
383 9 Mar 2002
384         * Added to documentation
385         * Made Allegro CL array access more efficient
386         * Changed def-routine name to def-function
387         * Fixed bug in def-function for Lispworks]
388         * Fixed error in +null-c-string-pointer+ name
389         * Fixed error in (make-null-pointer) for Lispworks
390         * Reworked Lispwork c-strings to be (* :char) rather than the
391         implementation default of (* (:unsigned :char)) to be consistent
392         with CMUCL. Bumped version to 0.2.0 because of change this change.
393         * Renamed c-string to cstring to emphasize it as a basic type
394         * Modified getenv.cl example to avoid name collison with LW
395         * Modified compress.cl to setup output buffer as :unsigned*char
396         * Added test-all-examples function. All routines tested okay with
397         ACL, LW, and CMUCL
398
399 8 Mar 2002
400         * Added ZIP file output with LF->CRLF translations to distribution
401         * Modified def-enum to use uffi:def-constant rather than
402         cl:defconstant