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