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