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