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