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