Luis Oliveira [Fri, 12 Sep 2008 13:34:56 +0000]
update cffi.asd for version 0.10.2
Luis Oliveira [Fri, 12 Sep 2008 13:34:24 +0000]
TODO cleanup
Luis Oliveira [Fri, 12 Sep 2008 13:33:50 +0000]
Fix handling of the T clause in DEFINE-FOREIGN-LIBRARY
- Added regression test: LIBRARY.T-CLAUSE.
Bug report and initial patch courtesy of Kalyanov Dmitry.
Stelian Ionescu [Sat, 30 Aug 2008 08:38:33 +0000]
Add wrapper directives PROCLAIM and DECLAIM.
Stelian Ionescu [Fri, 22 Aug 2008 14:43:42 +0000]
Add option BASE-TYPE to groveler directives CENUM and CONSTANTENUM.
Stelian Ionescu [Fri, 22 Aug 2008 14:39:56 +0000]
Small fix to the manual: use @var instead of @code in CENUM and CONSTANTENUM docs.
Stelian Ionescu [Fri, 22 Aug 2008 14:18:00 +0000]
Add option DEFINE-CONSTANTS to groveler directives CENUM and CONSTANTENUM.
If DEFINE-CONSTANTS is non-null, the enum members will also be defined
as constants.
Stelian Ionescu [Fri, 22 Aug 2008 14:15:27 +0000]
Make groveler directive CONSTANT more robust.
If a constant's name is a keyword, change it to a symbol
interned in the current package.
Luis Oliveira [Fri, 22 Aug 2008 14:09:47 +0000]
manual: restore colorization workingness
Luis Oliveira [Fri, 22 Aug 2008 13:31:30 +0000]
manual/groveller: fix ctype's documentation
Reported by Stelian Ionescu.
Luis Oliveira [Wed, 20 Aug 2008 22:59:50 +0000]
update cffi.asd for version 0.10.1
Stephen Compall [Wed, 20 Aug 2008 22:10:30 +0000]
port uffi-compat to Clozure
Luis Oliveira [Tue, 29 Jul 2008 22:55:54 +0000]
Fix typo in the manual.
Luis Oliveira [Tue, 29 Jul 2008 14:25:33 +0000]
Small fix to gendocs.sh to make same versions of bash happier.
Luis Oliveira [Tue, 29 Jul 2008 14:02:33 +0000]
update cffi.asd for version 0.10.0
Luis Oliveira [Tue, 29 Jul 2008 13:16:41 +0000]
Add Installation chapter to the manual.
Luis Oliveira [Tue, 29 Jul 2008 12:42:01 +0000]
Deprecate cffi-features.
- Keep it around for backwards compatibility.
- Don't use it from CFFI itself or the test suite.
- Update the manual.
Luis Oliveira [Tue, 29 Jul 2008 12:17:54 +0000]
Use :import-from for alexandria symbols.
Luis Oliveira [Tue, 29 Jul 2008 02:33:39 +0000]
New and improved release script.
Luis Oliveira [Tue, 29 Jul 2008 02:32:40 +0000]
doc/Makefile: have upload-docs target build the manual first
Luis Oliveira [Tue, 29 Jul 2008 02:15:53 +0000]
cffi-tests: mark a few expected failures for ECL
Luis Oliveira [Tue, 29 Jul 2008 02:14:09 +0000]
ECL: handle FILE-ERRORs in %LOAD-FOREIGN-LIBRARY
Luis Oliveira [Tue, 29 Jul 2008 02:12:20 +0000]
ECL: support long long on x86-64 by treating it as long.
Luis Oliveira [Tue, 29 Jul 2008 00:41:54 +0000]
cffi-tests: mark expected failures for allegro.
Luis Oliveira [Tue, 29 Jul 2008 00:37:48 +0000]
cffi-tests: mark defcfun.noop as expected for CCL
Luis Oliveira [Tue, 29 Jul 2008 00:30:26 +0000]
cffi-tests: use Babel's #\ syntax
Luis Oliveira [Tue, 29 Jul 2008 00:29:59 +0000]
cffi-tests: mark some expected failures for lispworks
Luis Oliveira [Tue, 29 Jul 2008 00:29:27 +0000]
Fix alignment information for emulated long long types.
Luis Oliveira [Tue, 29 Jul 2008 00:28:34 +0000]
Use BABEL:UNICODE-STRING instead of STRING in a few places.
Luis Oliveira [Mon, 28 Jul 2008 22:48:03 +0000]
cffi-tests: test stdcall only on win32
Luis Oliveira [Mon, 28 Jul 2008 22:42:10 +0000]
Expect STRING.ENCODING.UTF-16.BASIC and STRING.ENCODINGS.ALL.BASIC failures
Luis Oliveira [Mon, 28 Jul 2008 15:31:46 +0000]
Small fixes and simplifications to the TEST-OPs
Luis Oliveira [Mon, 28 Jul 2008 15:29:40 +0000]
CMUCL: fix NATIVE-NAMESTRING
- NAMESTRING didn't expand search lists. Actually read the
documentation for UNIX-NAMESTRING this time and figured out why it
appeared to be misbehaving in the past.
Stephen Compall [Wed, 23 Jul 2008 04:47:29 +0000]
Expand body only once for uffi:with-cstring.
Luis Oliveira [Mon, 16 Jun 2008 00:06:10 +0000]
tests/Makefile: deal with BSD systems properly
Suggestion and initial patch courtesy of Josh Elsasser.
Luis Oliveira [Tue, 10 Jun 2008 20:19:20 +0000]
Update make-shareable-byte-vector for LW 5.1
Patch courtesy of Chun Tian.
Stelian Ionescu [Thu, 5 Jun 2008 06:50:42 +0000]
Eliminate all references to cffi-utils package.
attila.lendvai [Wed, 4 Jun 2008 21:17:29 +0000]
fix groveller by adding symbolicate to alexandria
Luis Oliveira [Wed, 4 Jun 2008 03:45:03 +0000]
cffi-sbcl: needs when-let as well.
Luis Oliveira [Tue, 3 Jun 2008 22:30:08 +0000]
Makefile: rename acl to alisp
Luis Oliveira [Tue, 3 Jun 2008 22:28:41 +0000]
Remove cffi-utils
Stelian Ionescu [Fri, 9 May 2008 14:35:16 +0000]
Fix emulation of [UNSIGNED-]LONG-LONG.
Luis Oliveira [Mon, 2 Jun 2008 20:08:04 +0000]
cffi-openmcl: fix name conflict
- Import just alexandria:once-only instead of the whole package.
Reported by Marko Manninen.
Luis Oliveira [Mon, 2 Jun 2008 20:07:07 +0000]
cffi-manual: @section CMUCL -> @subheading
Luis Oliveira [Sun, 1 Jun 2008 05:17:32 +0000]
Update manual
- Fix @result{} in the HTML output.
- Revamp the "Implementation support" chapter.
- Fix misc documentation rot.
- Delete empty sections.
- Document the emulation of long-long types.
- Remove UTF-8 characters since texinfo has not entered
the 21st century yet.
- Finish the documentation for the new encoding support.
Luis Oliveira [Sun, 1 Jun 2008 04:56:24 +0000]
minor change to foreign-string-to-lisp
Make max-chars default to (1- array-total-size-limit).
attila.lendvai [Sat, 17 May 2008 19:02:31 +0000]
added support for :cc-flags for grovel-file to specify additional flags to the compiler (like -I /foo/bar)
Luis Oliveira [Sat, 31 May 2008 16:37:24 +0000]
Minor fixes to cffi-manual.texinfo
Restores buildability. Courtesy of Rupert Swarbrick.
Luis Oliveira [Sat, 31 May 2008 14:16:47 +0000]
Fix conflict in cffi-openmcl.lisp
Stelian Ionescu [Sun, 30 Dec 2007 23:39:20 +0000]
Add dependency on ALEXANDRIA, remove redundant code from CFFI-UTILS package.
Stelian Ionescu [Sat, 5 Apr 2008 23:18:46 +0000]
Add groveler directive for inline C code, as for the wrapper.
Stelian Ionescu [Fri, 8 Feb 2008 22:40:19 +0000]
Groveler: small fix for ECL.
Luis Oliveira [Mon, 7 Apr 2008 10:54:14 +0000]
cffi-lispworks: add long-long support on 64-bit platforms
Initial patch and testing courtesy of Tian Chun.
Luis Oliveira [Sat, 5 Apr 2008 20:58:12 +0000]
Mark DEFCFUN.VARARGS.DOCSTRING as an expected failure on CLISP
Luis Oliveira [Sun, 16 Mar 2008 13:26:03 +0000]
uffi-compat: fix bitrot in CONVERT-FROM-FOREIGN-STRING
Reported by Christophe Rhodes. Passes all of uffi-tests again.
Luis Oliveira [Mon, 25 Feb 2008 23:13:21 +0000]
Simplify :[u]intptr definitons.
- This patch makes CMUCL happier.
Stelian Ionescu [Fri, 21 Dec 2007 20:41:27 +0000]
Make sure that the groveller can handle nested PROGN forms.
Luis Oliveira [Mon, 10 Dec 2007 10:20:01 +0000]
Unicode string update
- Remove outdated comments.
- Use BABEL:SIMPLE-UNICODE-STRING type.
- Document *DEFAULT-FOREIGN-ENCODINGS*.
- Add :FREE-FROM-FOREIGN and :FREE-TO-FOREIGN boolean
parameters to the :STRING type.
Luis Oliveira [Sat, 8 Dec 2007 22:28:04 +0000]
Fix WITH-FOREIGN-POINTER-AS-STRING usage in examples. (again)
Luis Oliveira [Sat, 8 Dec 2007 22:25:10 +0000]
Fix WITH-FOREIGN-POINTER-AS-STRING usage in examples.
Luis Oliveira [Thu, 23 Aug 2007 03:27:14 +0000]
grovel: fix Lispworks's %INVOKE
Luis Oliveira [Mon, 13 Aug 2007 23:04:54 +0000]
Fix strings.lisp
- Work around apparent SBCL bug.
- Handle :RE endianness in BGET and BSET.
Luis Oliveira [Mon, 13 Aug 2007 23:04:27 +0000]
Update tests to reflect changes in WITH-FOREIGN-POINTER-AS-STRING
Luis Oliveira [Mon, 13 Aug 2007 20:16:39 +0000]
Add missing :after qualifier in DEFINE-C-STRUCT-WRAPPER.
Luis Oliveira [Mon, 13 Aug 2007 19:49:57 +0000]
Don't use aggresive compilation declarations in BABEL-ENCODINGS:I-C-M.
Luis Oliveira [Mon, 6 Aug 2007 01:43:05 +0000]
Fix WITH-FOREIGN-POINTER-AS-STRING return values
- Don't return second value of FOREIGN-STRING-TO-LISP.
Luis Oliveira [Mon, 6 Aug 2007 01:40:01 +0000]
grovel: fix defwrapper handling of types in #'cffi-type
Luis Oliveira [Fri, 3 Aug 2007 20:26:07 +0000]
grovel: fix handling of alternatives in constantenum
Luis Oliveira [Fri, 3 Aug 2007 20:25:45 +0000]
grovel: fix invoke on clisp/win32
Luis Oliveira [Wed, 1 Aug 2007 14:56:18 +0000]
grovel: ugh, fix wording in form-kind comment
Stelian Ionescu [Wed, 1 Aug 2007 14:46:56 +0000]
Fix use of PROGN form by the groveller.
Luis Oliveira [Wed, 1 Aug 2007 14:34:32 +0000]
grovel: fix FORM-KIND
Luis Oliveira [Mon, 30 Jul 2007 23:11:11 +0000]
Add new types :intptr and :uintptr
Luis Oliveira [Mon, 30 Jul 2007 20:53:30 +0000]
grovel: update comment regarding cstruct-and-class
Luis Oliveira [Mon, 30 Jul 2007 04:09:42 +0000]
grovel: fix symbol names in in-package forms
Luis Oliveira [Mon, 30 Jul 2007 02:23:29 +0000]
New macro: DEFINE-C-STRUCT-WRAPPER
With tests STRUCT-WRAPPER.[12]
Luis Oliveira [Sun, 29 Jul 2007 19:57:47 +0000]
grovel: fix conflict and indentation
Stelian Ionescu [Sun, 29 Jul 2007 19:36:33 +0000]
Cleaned up compiler invokation by the groveller.
Luis Oliveira [Sun, 29 Jul 2007 04:48:12 +0000]
grovel: fix invoke-cc's conditional library arguments
Luis Oliveira [Sun, 29 Jul 2007 01:22:00 +0000]
grovel: constantenum: signal warnings properly
Luis Oliveira [Sun, 29 Jul 2007 01:21:13 +0000]
Adjustments for using cffi-grovel on windows.
Luis Oliveira [Thu, 26 Jul 2007 19:52:50 +0000]
grovel: use :[u]int64 without worries
No need to check for cffi-features:no-long-long now that we have
emulated long long type.
Luis Oliveira [Thu, 26 Jul 2007 18:36:45 +0000]
cffi-grovel: x86-64 compat changes
- use :long instead of :int to try and determine word size.
- use -fPIC for 64-bit shared libraries.
Luis Oliveira [Fri, 20 Jul 2007 02:02:27 +0000]
Minor change to src/types.lisp
Luis Oliveira [Fri, 20 Jul 2007 02:02:08 +0000]
Remove outdated TODO items
Luis Oliveira [Thu, 19 Jul 2007 18:25:57 +0000]
New feature: emulated long-long types
(initial suggestion and patch courtesy of Stelian Ionescu)
- Update test suite to reflect this.
- Tested on Allegro and Lispworks. Should work for ECL as well.
Luis Oliveira [Thu, 19 Jul 2007 18:20:16 +0000]
Use trivial-features.
Not sure if this is a great idea yet. In any case, CFFI-FEATURES is
still there for backwards compatibility for the time being.
Luis Oliveira [Tue, 17 Jul 2007 03:31:10 +0000]
FOREIGN-STRING-TO-LISP: return number of octets read
- Update test suite to reflect this change.
Luis Oliveira [Tue, 17 Jul 2007 03:16:27 +0000]
Update strings.lisp to match Babel's accessor changes.
Luis Oliveira [Tue, 17 Jul 2007 03:11:51 +0000]
Bug fixes
- Fix :LICENSE -> :LICENCE in cffi-grovel.asd
- grovel.lisp fixes:
* fix OpenMCL's INVOKE
* have INVOKE call NATIVE-NAMESTRING
* add IGNORABLE declaration to DEFINE-GROVEL-SYNTAX
- CMUCL's EXT:UNIX-NAMESTRING is buggy, don't use it.
- strings.lisp: pass missing max-octets argument to OCTET-COUNTER
in FOREIGN-STRING-ALLOC.
Luis Oliveira [Mon, 9 Jul 2007 19:02:22 +0000]
Remove outdated comments re test string.short-write.1
Luis Oliveira [Sun, 8 Jul 2007 03:50:10 +0000]
Fix "endianness" typo
Luis Oliveira [Sun, 8 Jul 2007 03:45:38 +0000]
Foreign string changes
- LISP-STRING-TO-FOREIGN takes new arguments START, END and OFFSET. Also,
instead of bailing out when STRING needs more octets than BUFSIZE, it
fills in as much as possible.
- test STRING.SHORT-WRITE.1 now passes.
- FOREIGN-STRING-TO-LISP takes new argument MAX-CHARS.
Luis Oliveira [Fri, 6 Jul 2007 13:00:18 +0000]
with-foreign-pointer-as-string: take additional arguments
Changed to match the new WITH-FOREIGN-STRING syntax. Document later.
Luis Oliveira [Fri, 6 Jul 2007 00:38:36 +0000]
cffi-grovel: defwrapper: handle foreign/lisp names
Luis Oliveira [Fri, 6 Jul 2007 00:36:42 +0000]
Don't autoexport grovel definitions.
Luis Oliveira [Fri, 29 Jun 2007 20:51:15 +0000]
cffi-grovel: slightly better handling of packages
- in-package now has a read time effect on *package* which will determine
to which package various symbols (such as type names) will belong to.
Luis Oliveira [Fri, 29 Jun 2007 20:50:05 +0000]
cffi-manual: small change to the grovel example
Luis Oliveira [Fri, 29 Jun 2007 20:42:56 +0000]
WITH-FOREIGN-STRING changes
- WITH-FOREIGN-STRING's new syntax:
with-foreign-string (binding &rest args) &body
binding :
Luis Oliveira [Thu, 28 Jun 2007 15:40:56 +0000]
Use the foreign-pointer type in strings.lisp