1
2007-05-20 KOGURO, Naoki <naoki@koguro.net>
3
* lib/c-wrapper/c-parser.scm (c-parse): Added ad-hoc support of
4
int*_t and u_int*_t for Linux.
6
* configure.ac: version 0.5.2
8
* lib/c-wrapper/c-ffi.scm: Added support of GCC's unnamed
9
struct/union fields within structs/unions (Reported by HIBINO Kei).
11
2007-05-19 KOGURO, Naoki <naoki@koguro.net>
13
* lib/c-wrapper/c-ffi.scm (deref): Added deref for
14
<c-func-ptr>. (Patch from HIBINO Kei)
16
* lib/c-wrapper/c-ffi.scm (make-c-func, make-c-func-vaargs): Added
17
c++ keyword experimentally, to mangle a C++ function name.
19
* lib/c-wrapper/c-grammar.scm: Adapted to the C99 array type
20
qualifier and array size expression (Reported by HIBINO Kei).
22
2007-01-13 KOGURO, Naoki <naoki@koguro.net>
24
* lib/c-wrapper/c-ffi.scm (c-closure-free): Added c-closure-free.
26
2007-01-06 KOGURO, Naoki <naoki@koguro.net>
28
* lib/c-wrapper/c-ffi.scm (object-apply): Added object-apply
29
method for <c-func-ptr>.
31
* lib/c-wrapper/c-parser.scm, lib/c-wrapper/c-lex.scm: Modified to
34
* lib/c-wrapper/c-parser.scm (emit-definition): Fixed the import handling.
36
2007-01-05 KOGURO, Naoki <naoki@koguro.net>
38
* configure.ac: version 0.5.1
40
* lib/c-wrapper/c-ffi.scm (c-load-library): Modified to recognize
43
* lib/c-wrapper/c-parser.scm (c-parse): Added the flag that is
44
whether do check an existence of a symbol or not.
46
2007-01-04 KOGURO, Naoki <naoki@koguro.net>
48
* lib/c-wrapper/c-parser.scm (emit-define-extern): Don't check an
49
existence of symbols when :import is used.
51
2007-01-02 KOGURO, Naoki <naoki@koguro.net>
53
* lib/c-wrapper/c-ffi.scm (make-c-var): Added make-c-var function.
54
(cast): Added the cast rule that converts a <foreign-pointer> to a
57
2007-01-01 KOGURO, Naoki <naoki@koguro.net>
59
* lib/c-wrapper/c-parser.scm (emit-define-inline): Modified to
60
define an inline function whose body can't be parsed. cwcompile
63
2006-12-31 KOGURO, Naoki <naoki@koguro.net>
65
* lib/c-wrapper/c-ffi.scm (ref): Added a feature like the indirect
66
component selection operator (->).
68
2006-12-23 KOGURO, Naoki <naoki@koguro.net>
70
* objc/c-wrapper/objc-ffi.scm (c-load-library): Fixed the bug that
71
c-load doesn't works well using objc-wrapper.
73
* lib/c-wrapper/c-ffi.scm (c-load-library): Fixed the
76
2006-12-21 KOGURO, Naoki <naoki@koguro.net>
78
* lib/c-wrapper/c-ffi.scm (c-load-library): Modified the library
79
search rule, the new rule is (1) search LD_LIBRARY_PATH, (2)
80
search the shared library cache (using ldconfig(8)), (3) search
83
* lib/c-wrapper/c-parser.scm (parameter-decl): Fixed to adjust a
84
'function returning type' parameter to 'pointer to function
87
2006-12-20 KOGURO, Naoki <naoki@koguro.net>
89
* lib/c-wrapper/c-parser.scm,
90
lib/c-wrapper/c-lex.scm (<parse-context>): Collected some global
91
variables in <parse-context> class.
93
* lib/c-wrapper/c-ffi.scm (c-load-library): Changed the library
94
search rule to use ldconfig (in Linux and FreeBSD) or find (in
97
2006-12-19 KOGURO, Naoki <naoki@koguro.net>
99
* lib/c-wrapper/c-ffi.scm, lib/c-wrapper/objc-ffi.scm,
100
lib/c-wrapper/stubgen.scm, lib/c-wrapper/c-parser.scm: Renamed
101
some function name for consistency.
103
2006-12-18 KOGURO, Naoki <naoki@koguro.net>
105
* lib/c-wrapper/c-parser.scm, lib/c-wrapper/stubgen.scm (c-parse):
106
Modified to accept a procedure as :import parameter.
108
* lib/c-wrapper.scm, lib/c-wrapper/c-ffi.scm,
109
lib/c-wrapper/c-parser.scm: Added a feature to import enum symbols
110
automatically if the enum is used as a parameter type.
112
* lib/objc-wrapper.scm, lib/c-wrapper/objc-ffi.scm,
113
testsuite/objc-test.scm: Added define-objc-class and
116
* src/Makefile.in: Added the target to make objc-ffilib.so
118
2006-12-16 KOGURO, Naoki <naoki@koguro.net>
120
* lib/c-wrapper/objc-ffi.scm (c-load-library): c-load-library
121
recognizes '-framework' option when objc-wrapper is used.
123
* lib/c-wrapper.scm, lib/c-wrapper/stubgen.scm (c-load): Added
126
* configure.ac: version 0.5.0
128
* lib/c-wrapper.scm (c-include): Added new keyword option
131
* lib/c-wrapper/c-ffi.scm: Renamed make-c-array to c-array.
133
* lib/c-wrapper/objc-ffi.scm (objc-lookup-class): Added
134
objc-lookup-class function, instead of objc_lookUpClass.
136
* Added cwcompile command, and removed genwrapper.
138
2006-12-02 KOGURO, Naoki <naoki@koguro.net>
140
* src/ffi.h, src/ffi.c, src/ffilib.stub: Changed the code to use
143
* testsuite/ffitest.h, testsuite/ffitest.c,
144
testsuite/cwrappertest.scm: Added a test case about a function
147
* lib/c-wrapper/c-parser.scm (%MACRO-BODY, %SCM-CAST): Added some
150
* configure.ac: version 0.4.9
152
2006-11-25 KOGURO, Naoki <naoki@koguro.net>
154
* src/ffi.h, src/ffi.c, src/ffilib.stub: Changed the code to use
157
2006-11-23 KOGURO, Naoki <naoki@koguro.net>
159
* lib/c-wrapper/c-lex.scm: Changed a data type for operator and
160
keyword table from alist to hash table.
162
* lib/c-wrapper.scm (c-include): Added keyword option :import, to
163
import specified symbols only.
165
2006-11-22 KOGURO, Naoki <naoki@koguro.net>
167
* lib/c-wrapper/c-ffi.scm, lib/c-wrapper/c-parser.scm: Removed
168
deprecated functions and macros.
170
2006-11-20 KOGURO, Naoki <naoki@koguro.net>
172
* configure.ac, src/genwrapper.in: Removed GENWRAPPER_MODULE
173
substitution because c-wrapper.c-parser module can now parse both
174
C and Objective-C code.
176
* src/genwrapper.in, lib/c-wrapper.scm (generate-module): Move
177
generate-module from c-wrapper.scm to genwrapper.in.
179
* c-wrapper and objc-wrapper modules are divided into c-wrapper,
180
c-wrapper.c-parser, c-wrapper.c-ffi, objc-wrapper and
183
2006-11-14 KOGURO, Naoki <naoki@koguro.net>
185
* lib/c-wrapper/c-parser.scm, lib/c-wrapper.scm,
186
lib/objc-wrapper.scm: Added some macros for the preparation of
189
2006-11-12 KOGURO, Naoki <naoki@koguro.net>
191
* lib/c-wrapper/c-parser.scm, lib/c-wrapper/c-grammar.scm,
192
lib/objc-wrapper.scm: Cleaned up some codes.
194
2006-11-05 KOGURO, Naoki <naoki@koguro.net>
196
* lib/c-wrapper/c-grammar.scm, lib/c-wrapper/c-parser.scm: Fixed a
197
bug of interpretation of a complex function pointer
198
declaration (Reported by HIBINO Kei).