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