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