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