r1613: Updated to use stack allocation
[uffi.git] / ChangeLog
1 See TODO file -- actively maintained. Includes changes that you
2         might expect in the interface.
3
4 21 Mar 2002
5         * Fixed problem with NULL foreign-strings with CMUCL
6         * Added c-test-fns to examples for allow more specific testing
7         of UFFI. Builds on UNIX and Win32 platforms.
8         * Added def-union function, added union.cl example
9         * Fixed error with ensure-char-[character|integer]
10         * Added 2-d array example to examples/arrays.cl 
11         * Fixed documentation error on gethostname
12         * Added ensure-char-* and def-union to documentation
13         * Added double-float vector example to c-test-fns
14         * Reworked cstring on Lispworks to have LW handle string conversion
15         * First pass at with-foreign-object -- unoptimized
16         * Added gethostname2 to examples/gethostname.cl which uses with-foreign-object
17         * Added char-array-to-pointer function to encapsulate converting a char array
18         to a pointer to char
19         * Converted with-foreign-object to use stack allocation on CMUCL and LW
20         
21 20 Mar 2002
22         * Updated strings.cl so that foreign-strings are always unsigned.
23         Fixes a problem with strtol example.
24         * Added ensure-char-character and ensure-char-integer to handle
25         differences in implementations dereferencing of (* :char).
26         * Added section on design priorities for UFFI
27         * Added section in TODO on splitting implementation-dependent code
28         
29 19 Mar 2002
30         * Added size parameter to allocate-foreign-object. Creates an array
31         of dimensions size.
32         * Got array-2d example working with a 1-d array.
33         * Cleaned strtol example
34         * Added TODO file
35         
36 18 Mar 2002
37         * Documentation fixes (Erik Winkels)
38         * Fixed missing '.' in CMUCL type declarations (Erik Winkels)
39         
40 17 Mar 2002
41         * Changed deref-pointer so it always returns a character when
42         called with a :char or :unsigned-char type
43         * Removed function ensure-char as no longer needed
44         * Added missing :byte specifier to Lispworks
45         * Changed default string type in Lispworks to :unsigned-char
46         which is the native type for Lispworks foreign-strings.
47         * Reworked strtol to handle new character pointing method
48         
49 16 Mar 2002
50         * Fixed return value in load-foreign-library (Thanks Erik Winkels),
51         modified routine to accept pathnames as well as strings.
52         * Fix documention with :pointer-void (Again, Erik Winkels)
53         * Added missing type specifiers for CMUCL (Thanks a bunch, Erik!)
54         
55 15 Mar 2002
56         * Finished basic skeleton of documentation.
57         
58 14 Mar 2002
59         * Changed license to more liberal Lisp Lessor GNU Public License
60         * Fixed problem with uffi.system absent from in distribution 
61         (Thanks John DeSoi)
62         * Fixed compiler warnings
63         
64
65 11 Mar 2002
66         * Changed def-type to def-foreign-type
67         * Created new macro def-type to generate cl:deftype forms. Removed
68         uffi-declare and uffi-slot-type as they are no longer necessary.
69          
70 10 Mar 2002
71         * Modified input parameters to load-foreign-library
72         * Added to documention
73         * Changed parameter order in get-slot-value and deref-array 
74         
75 9 Mar 2002
76         * Added to documentation
77         * Made Allegro CL array access more efficient
78         * Changed def-routine name to def-function
79         * Fixed bug in def-function for Lispworks]
80         * Fixed error in +null-c-string-pointer+ name
81         * Fixed error in (make-null-pointer) for Lispworks
82         * Reworked Lispwork c-strings to be (* :char) rather than the
83         implementation default of (* (:unsigned :char)) to be consistent
84         with CMUCL. Bumped version to 0.2.0 because of change this change.
85         * Renamed c-string to cstring to emphasize it as a basic type
86         * Modified getenv.cl example to avoid name collison with LW
87         * Modified compress.cl to setup output buffer as :unsigned*char
88         * Added test-all-examples function. All routines tested okay with
89         ACL, LW, and CMUCL
90         
91 8 Mar 2002
92         * Added ZIP file output with LF->CRLF translations to distribution
93         * Modified def-enum to use uffi:def-constant rather than
94         cl:defconstant
95