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