~ubuntu-branches/ubuntu/lucid/gauche-c-wrapper/lucid

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2008-04-07 09:15:03 UTC
  • Revision ID: james.westby@ubuntu.com-20080407091503-wu0h414koe95kj4i
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2007-05-20  KOGURO, Naoki  <naoki@koguro.net>
 
2
 
 
3
        * lib/c-wrapper/c-parser.scm (c-parse): Added ad-hoc support of
 
4
        int*_t and u_int*_t for Linux.
 
5
 
 
6
        * configure.ac: version 0.5.2
 
7
 
 
8
        * lib/c-wrapper/c-ffi.scm: Added support of GCC's unnamed
 
9
        struct/union fields within structs/unions (Reported by HIBINO Kei).
 
10
 
 
11
2007-05-19  KOGURO, Naoki  <naoki@koguro.net>
 
12
 
 
13
        * lib/c-wrapper/c-ffi.scm (deref): Added deref for
 
14
        <c-func-ptr>. (Patch from HIBINO Kei)
 
15
 
 
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.
 
18
 
 
19
        * lib/c-wrapper/c-grammar.scm: Adapted to the C99 array type
 
20
        qualifier and array size expression (Reported by HIBINO Kei).
 
21
 
 
22
2007-01-13  KOGURO, Naoki  <naoki@koguro.net>
 
23
 
 
24
        * lib/c-wrapper/c-ffi.scm (c-closure-free): Added c-closure-free.
 
25
 
 
26
2007-01-06  KOGURO, Naoki  <naoki@koguro.net>
 
27
 
 
28
        * lib/c-wrapper/c-ffi.scm (object-apply): Added object-apply
 
29
        method for <c-func-ptr>.
 
30
 
 
31
        * lib/c-wrapper/c-parser.scm, lib/c-wrapper/c-lex.scm: Modified to
 
32
        improve performance.
 
33
        
 
34
        * lib/c-wrapper/c-parser.scm (emit-definition): Fixed the import handling.
 
35
 
 
36
2007-01-05  KOGURO, Naoki  <naoki@koguro.net>
 
37
 
 
38
        * configure.ac: version 0.5.1
 
39
 
 
40
        * lib/c-wrapper/c-ffi.scm (c-load-library): Modified to recognize
 
41
        '-Wl' option.
 
42
 
 
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.
 
45
 
 
46
2007-01-04  KOGURO, Naoki  <naoki@koguro.net>
 
47
 
 
48
        * lib/c-wrapper/c-parser.scm (emit-define-extern): Don't check an
 
49
        existence of symbols when :import is used.
 
50
 
 
51
2007-01-02  KOGURO, Naoki  <naoki@koguro.net>
 
52
 
 
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
 
55
        <c-ptr>.
 
56
 
 
57
2007-01-01  KOGURO, Naoki  <naoki@koguro.net>
 
58
 
 
59
        * lib/c-wrapper/c-parser.scm (emit-define-inline): Modified to
 
60
        define an inline function whose body can't be parsed. cwcompile
 
61
        makes it available.
 
62
 
 
63
2006-12-31  KOGURO, Naoki  <naoki@koguro.net>
 
64
 
 
65
        * lib/c-wrapper/c-ffi.scm (ref): Added a feature like the indirect
 
66
        component selection operator (->).
 
67
 
 
68
2006-12-23  KOGURO, Naoki  <naoki@koguro.net>
 
69
 
 
70
        * objc/c-wrapper/objc-ffi.scm (c-load-library): Fixed the bug that
 
71
        c-load doesn't works well using objc-wrapper.
 
72
 
 
73
        * lib/c-wrapper/c-ffi.scm (c-load-library): Fixed the
 
74
        c-load-library bug.
 
75
 
 
76
2006-12-21  KOGURO, Naoki  <naoki@koguro.net>
 
77
 
 
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
 
81
        /usr/lib and /lib.
 
82
 
 
83
        * lib/c-wrapper/c-parser.scm (parameter-decl): Fixed to adjust a
 
84
        'function returning type' parameter to 'pointer to function
 
85
        returning type'.
 
86
 
 
87
2006-12-20  KOGURO, Naoki  <naoki@koguro.net>
 
88
 
 
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.
 
92
 
 
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
 
95
        MacOSX).
 
96
 
 
97
2006-12-19  KOGURO, Naoki  <naoki@koguro.net>
 
98
 
 
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.
 
102
 
 
103
2006-12-18  KOGURO, Naoki  <naoki@koguro.net>
 
104
 
 
105
        * lib/c-wrapper/c-parser.scm, lib/c-wrapper/stubgen.scm (c-parse):
 
106
        Modified to accept a procedure as :import parameter.
 
107
 
 
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.
 
111
 
 
112
        * lib/objc-wrapper.scm, lib/c-wrapper/objc-ffi.scm,
 
113
        testsuite/objc-test.scm: Added define-objc-class and
 
114
        define-objc-method.
 
115
 
 
116
        * src/Makefile.in: Added the target to make objc-ffilib.so
 
117
 
 
118
2006-12-16  KOGURO, Naoki  <naoki@koguro.net>
 
119
 
 
120
        * lib/c-wrapper/objc-ffi.scm (c-load-library): c-load-library
 
121
        recognizes '-framework' option when objc-wrapper is used.
 
122
 
 
123
        * lib/c-wrapper.scm, lib/c-wrapper/stubgen.scm (c-load): Added
 
124
        c-load macro.
 
125
 
 
126
        * configure.ac: version 0.5.0
 
127
 
 
128
        * lib/c-wrapper.scm (c-include): Added new keyword option
 
129
        'compiled-lib'.
 
130
 
 
131
        * lib/c-wrapper/c-ffi.scm: Renamed make-c-array to c-array.
 
132
        
 
133
        * lib/c-wrapper/objc-ffi.scm (objc-lookup-class): Added
 
134
        objc-lookup-class function, instead of objc_lookUpClass.
 
135
 
 
136
        * Added cwcompile command, and removed genwrapper.
 
137
 
 
138
2006-12-02  KOGURO, Naoki  <naoki@koguro.net>
 
139
 
 
140
        * src/ffi.h, src/ffi.c, src/ffilib.stub: Changed the code to use
 
141
        new Scm_ApplyRec.
 
142
 
 
143
        * testsuite/ffitest.h, testsuite/ffitest.c,
 
144
        testsuite/cwrappertest.scm: Added a test case about a function
 
145
        pointer.
 
146
 
 
147
        * lib/c-wrapper/c-parser.scm (%MACRO-BODY, %SCM-CAST): Added some
 
148
        reduction rules.
 
149
 
 
150
        * configure.ac: version 0.4.9
 
151
 
 
152
2006-11-25  KOGURO, Naoki  <naoki@koguro.net>
 
153
 
 
154
        * src/ffi.h, src/ffi.c, src/ffilib.stub: Changed the code to use
 
155
        new Scm_Apply.
 
156
 
 
157
2006-11-23  KOGURO, Naoki  <naoki@koguro.net>
 
158
 
 
159
        * lib/c-wrapper/c-lex.scm: Changed a data type for operator and
 
160
        keyword table from alist to hash table.
 
161
 
 
162
        * lib/c-wrapper.scm (c-include): Added keyword option :import, to
 
163
        import specified symbols only.
 
164
 
 
165
2006-11-22  KOGURO, Naoki  <naoki@koguro.net>
 
166
 
 
167
        * lib/c-wrapper/c-ffi.scm, lib/c-wrapper/c-parser.scm: Removed
 
168
        deprecated functions and macros.
 
169
 
 
170
2006-11-20  KOGURO, Naoki  <naoki@koguro.net>
 
171
 
 
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.
 
175
        
 
176
        * src/genwrapper.in, lib/c-wrapper.scm (generate-module): Move
 
177
        generate-module from c-wrapper.scm to genwrapper.in.
 
178
 
 
179
        * c-wrapper and objc-wrapper modules are divided into c-wrapper,
 
180
        c-wrapper.c-parser, c-wrapper.c-ffi, objc-wrapper and
 
181
        c-wrapper.objc-ffi.
 
182
 
 
183
2006-11-14  KOGURO, Naoki  <naoki@koguro.net>
 
184
 
 
185
        * lib/c-wrapper/c-parser.scm, lib/c-wrapper.scm,
 
186
        lib/objc-wrapper.scm: Added some macros for the preparation of
 
187
        stub generator.
 
188
 
 
189
2006-11-12  KOGURO, Naoki  <naoki@koguro.net>
 
190
 
 
191
        * lib/c-wrapper/c-parser.scm, lib/c-wrapper/c-grammar.scm,
 
192
        lib/objc-wrapper.scm: Cleaned up some codes.
 
193
 
 
194
2006-11-05  KOGURO, Naoki  <naoki@koguro.net>
 
195
 
 
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).
 
199