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