2007-05-20  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-parser.scm (c-parse): Added ad-hoc support of
	int*_t and u_int*_t for Linux.

	* configure.ac: version 0.5.2

	* lib/c-wrapper/c-ffi.scm: Added support of GCC's unnamed
	struct/union fields within structs/unions (Reported by HIBINO Kei).

2007-05-19  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm (deref): Added deref for
	<c-func-ptr>. (Patch from HIBINO Kei)

	* lib/c-wrapper/c-ffi.scm (make-c-func, make-c-func-vaargs): Added
	c++ keyword experimentally, to mangle a C++ function name.

	* lib/c-wrapper/c-grammar.scm: Adapted to the C99 array type
	qualifier and array size expression (Reported by HIBINO Kei).

2007-01-13  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm (c-closure-free): Added c-closure-free.

2007-01-06  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm (object-apply): Added object-apply
	method for <c-func-ptr>.

	* lib/c-wrapper/c-parser.scm, lib/c-wrapper/c-lex.scm: Modified to
	improve performance.
	
	* lib/c-wrapper/c-parser.scm (emit-definition): Fixed the import handling.

2007-01-05  KOGURO, Naoki  <naoki@koguro.net>

	* configure.ac: version 0.5.1

	* lib/c-wrapper/c-ffi.scm (c-load-library): Modified to recognize
	'-Wl' option.

	* lib/c-wrapper/c-parser.scm (c-parse): Added the flag that is
	whether do check an existence of a symbol or not.

2007-01-04  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-parser.scm (emit-define-extern): Don't check an
	existence of symbols when :import is used.

2007-01-02  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm (make-c-var): Added make-c-var function.
	(cast): Added the cast rule that converts a <foreign-pointer> to a
	<c-ptr>.

2007-01-01  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-parser.scm (emit-define-inline): Modified to
	define an inline function whose body can't be parsed. cwcompile
	makes it available.

2006-12-31  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm (ref): Added a feature like the indirect
	component selection operator (->).

2006-12-23  KOGURO, Naoki  <naoki@koguro.net>

	* objc/c-wrapper/objc-ffi.scm (c-load-library): Fixed the bug that
	c-load doesn't works well using objc-wrapper.

	* lib/c-wrapper/c-ffi.scm (c-load-library): Fixed the
	c-load-library bug.

2006-12-21  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm (c-load-library): Modified the library
	search rule, the new rule is (1) search LD_LIBRARY_PATH, (2)
	search the shared library cache (using ldconfig(8)), (3) search
	/usr/lib and /lib.

	* lib/c-wrapper/c-parser.scm (parameter-decl): Fixed to adjust a
	'function returning type' parameter to 'pointer to function
	returning type'.

2006-12-20  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-parser.scm,
	lib/c-wrapper/c-lex.scm (<parse-context>): Collected some global
	variables in <parse-context> class.

	* lib/c-wrapper/c-ffi.scm (c-load-library): Changed the library
	search rule to use ldconfig (in Linux and FreeBSD) or find (in
	MacOSX).

2006-12-19  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm, lib/c-wrapper/objc-ffi.scm,
	lib/c-wrapper/stubgen.scm, lib/c-wrapper/c-parser.scm: Renamed
	some function name for consistency.

2006-12-18  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-parser.scm, lib/c-wrapper/stubgen.scm (c-parse):
	Modified to accept a procedure as :import parameter.

	* lib/c-wrapper.scm, lib/c-wrapper/c-ffi.scm,
	lib/c-wrapper/c-parser.scm: Added a feature to import enum symbols
	automatically if the enum is used as a parameter type.

	* lib/objc-wrapper.scm, lib/c-wrapper/objc-ffi.scm,
	testsuite/objc-test.scm: Added define-objc-class and
	define-objc-method.

	* src/Makefile.in: Added the target to make objc-ffilib.so

2006-12-16  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/objc-ffi.scm (c-load-library): c-load-library
	recognizes '-framework' option when objc-wrapper is used.

	* lib/c-wrapper.scm, lib/c-wrapper/stubgen.scm (c-load): Added
	c-load macro.

	* configure.ac: version 0.5.0

	* lib/c-wrapper.scm (c-include): Added new keyword option
	'compiled-lib'.

	* lib/c-wrapper/c-ffi.scm: Renamed make-c-array to c-array.
	
	* lib/c-wrapper/objc-ffi.scm (objc-lookup-class): Added
	objc-lookup-class function, instead of objc_lookUpClass.

	* Added cwcompile command, and removed genwrapper.

2006-12-02  KOGURO, Naoki  <naoki@koguro.net>

	* src/ffi.h, src/ffi.c, src/ffilib.stub: Changed the code to use
	new Scm_ApplyRec.

	* testsuite/ffitest.h, testsuite/ffitest.c,
	testsuite/cwrappertest.scm: Added a test case about a function
	pointer.

	* lib/c-wrapper/c-parser.scm (%MACRO-BODY, %SCM-CAST): Added some
	reduction rules.

	* configure.ac: version 0.4.9

2006-11-25  KOGURO, Naoki  <naoki@koguro.net>

	* src/ffi.h, src/ffi.c, src/ffilib.stub: Changed the code to use
	new Scm_Apply.

2006-11-23  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-lex.scm: Changed a data type for operator and
	keyword table from alist to hash table.

	* lib/c-wrapper.scm (c-include): Added keyword option :import, to
	import specified symbols only.

2006-11-22  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-ffi.scm, lib/c-wrapper/c-parser.scm: Removed
	deprecated functions and macros.

2006-11-20  KOGURO, Naoki  <naoki@koguro.net>

	* configure.ac, src/genwrapper.in: Removed GENWRAPPER_MODULE
	substitution because c-wrapper.c-parser module can now parse both
	C and Objective-C code.
	
	* src/genwrapper.in, lib/c-wrapper.scm (generate-module): Move
	generate-module from c-wrapper.scm to genwrapper.in.

	* c-wrapper and objc-wrapper modules are divided into c-wrapper,
	c-wrapper.c-parser, c-wrapper.c-ffi, objc-wrapper and
	c-wrapper.objc-ffi.

2006-11-14  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-parser.scm, lib/c-wrapper.scm,
	lib/objc-wrapper.scm: Added some macros for the preparation of
	stub generator.

2006-11-12  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-parser.scm, lib/c-wrapper/c-grammar.scm,
	lib/objc-wrapper.scm: Cleaned up some codes.

2006-11-05  KOGURO, Naoki  <naoki@koguro.net>

	* lib/c-wrapper/c-grammar.scm, lib/c-wrapper/c-parser.scm: Fixed a
	bug of interpretation of a complex function pointer
	declaration (Reported by HIBINO Kei).
	
