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