[cffi-devel] New patches: 31-May-2008

Luis Oliveira loliveira at common-lisp.net
Sun Jun 1 04:00:22 UTC 2008


Sat May 17 15:02:31 EDT 2008  attila.lendvai at gmail.com
  * added support for :cc-flags for grovel-file to specify additional flags to the compiler (like -I /foo/bar)

    M ./grovel/asdf.lisp -2 +10
    M ./grovel/grovel.lisp -5 +3

Sat May 31 12:37:24 EDT 2008  Luis Oliveira <loliveira at common-lisp.net>
  * Minor fixes to cffi-manual.texinfo
  
  Restores buildability. Courtesy of Rupert Swarbrick.

    M ./doc/cffi-manual.texinfo -1 +2

Sat May 31 10:16:47 EDT 2008  Luis Oliveira <loliveira at common-lisp.net>
  * Fix conflict in cffi-openmcl.lisp

    M ./src/cffi-openmcl.lisp -8 +1

Sun Dec 30 18:39:20 EST 2007  Stelian Ionescu <sionescu at common-lisp.net>
  * Add dependency on ALEXANDRIA, remove redundant code from CFFI-UTILS package.

    M ./cffi-grovel.asd -1 +1
    M ./cffi.asd -1 +1
    M ./grovel/grovel.lisp -1 +1
    M ./src/cffi-allegro.lisp -1 +1
    M ./src/cffi-clisp.lisp -1 +1
    M ./src/cffi-cmucl.lisp -1 +1
    M ./src/cffi-corman.lisp -1 +1
    M ./src/cffi-ecl.lisp -1 +1
    M ./src/cffi-gcl.lisp -1 +1
    M ./src/cffi-lispworks.lisp -1 +1
    M ./src/cffi-openmcl.lisp -1 +1
    M ./src/cffi-sbcl.lisp -2 +2
    M ./src/cffi-scl.lisp -1 +1
    M ./src/functions.lisp -3 +2
    M ./src/libraries.lisp -7 +7
    M ./src/package.lisp -1 +1
    M ./src/types.lisp -1 +1
    M ./src/utils.lisp -96 +1

Sat Apr  5 18:18:46 EST 2008  Stelian Ionescu <sionescu at common-lisp.net>
  * Add groveler directive for inline C code, as for the wrapper.

    M ./grovel/grovel.lisp -1 +6

Fri Feb  8 17:40:19 EST 2008  Stelian Ionescu <sionescu at common-lisp.net>
  * Groveler: small fix for ECL.

    M ./grovel/grovel.lisp -1 +1

Mon Apr  7 06:54:14 EDT 2008  Luis Oliveira <loliveira at common-lisp.net>
  * cffi-lispworks: add long-long support on 64-bit platforms
  
  Initial patch and testing courtesy of Tian Chun.

    M ./src/cffi-lispworks.lisp -17 +30

Sat Apr  5 15:58:12 EST 2008  Luis Oliveira <loliveira at common-lisp.net>
  * Mark DEFCFUN.VARARGS.DOCSTRING as an expected failure on CLISP

    M ./tests/defcfun.lisp +3

Sun Mar 16 08:26:03 EST 2008  Luis Oliveira <loliveira at common-lisp.net>
  * uffi-compat: fix bitrot in CONVERT-FROM-FOREIGN-STRING
  
  Reported by Christophe Rhodes. Passes all of uffi-tests again.

    M ./uffi-compat/uffi-compat.lisp -4 +7

Mon Feb 25 18:13:21 EST 2008  Luis Oliveira <loliveira at common-lisp.net>
  * Simplify :[u]intptr definitons.
  
  - This patch makes CMUCL happier.

    M ./src/types.lisp -18 +11

Fri Dec 21 15:41:27 EST 2007  Stelian Ionescu <sionescu at common-lisp.net>
  * Make sure that the groveller can handle nested PROGN forms.

    M ./grovel/grovel.lisp -8 +11

Mon Dec 10 05:20:01 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * 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.

    M ./src/strings.lisp -29 +27

Sat Dec  8 17:28:04 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Fix WITH-FOREIGN-POINTER-AS-STRING usage in examples. (again)

    M ./examples/gethostname.lisp -1 +1

Sat Dec  8 17:25:10 EST 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Fix WITH-FOREIGN-POINTER-AS-STRING usage in examples.

    M ./examples/examples.lisp -1 +1

Wed Aug 22 23:27:14 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix Lispworks's %INVOKE

    M ./grovel/grovel.lisp -4 +5

Mon Aug 13 19:04:54 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Fix strings.lisp
  
  - Work around apparent SBCL bug.
  - Handle :RE endianness in BGET and BSET.

    M ./src/strings.lisp -3 +7

Mon Aug 13 19:04:27 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Update tests to reflect changes in WITH-FOREIGN-POINTER-AS-STRING

    M ./tests/defcfun.lisp -8 +8
    M ./tests/funcall.lisp -7 +7

Mon Aug 13 16:16:39 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Add missing :after qualifier in DEFINE-C-STRUCT-WRAPPER.

    M ./src/types.lisp -1 +1

Mon Aug 13 15:49:57 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Don't use aggresive compilation declarations in BABEL-ENCODINGS:I-C-M.

    M ./src/strings.lisp -1 +1

Sun Aug  5 21:43:05 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Fix WITH-FOREIGN-POINTER-AS-STRING return values
  
  - Don't return second value of FOREIGN-STRING-TO-LISP.

    M ./src/strings.lisp -1 +1

Sun Aug  5 21:40:01 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix defwrapper handling of types in #'cffi-type

    M ./grovel/grovel.lisp -1 +1

Fri Aug  3 16:26:07 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix handling of alternatives in constantenum

    M ./grovel/grovel.lisp -2 +2

Fri Aug  3 16:25:45 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix invoke on clisp/win32

    M ./grovel/grovel.lisp -2 +3

Wed Aug  1 10:56:18 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: ugh, fix wording in form-kind comment

    M ./grovel/grovel.lisp -2 +3

Wed Aug  1 10:46:56 EDT 2007  Stelian Ionescu <sionescu at common-lisp.net>
  * Fix use of PROGN form by the groveller.

    M ./grovel/grovel.lisp -19 +22

Wed Aug  1 10:34:32 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix FORM-KIND

    M ./grovel/grovel.lisp -1 +3

Mon Jul 30 19:11:11 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Add new types :intptr and :uintptr

    M ./src/types.lisp -2 +14

Mon Jul 30 16:53:30 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: update comment regarding cstruct-and-class

    M ./grovel/grovel.lisp -4 +7

Mon Jul 30 00:09:42 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix symbol names in in-package forms

    M ./grovel/grovel.lisp -3 +1

Sun Jul 29 22:23:29 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * New macro: DEFINE-C-STRUCT-WRAPPER
  
  With tests STRUCT-WRAPPER.[12]

    M ./src/package.lisp +1
    M ./src/types.lisp +29
    M ./tests/struct.lisp +26

Sun Jul 29 15:57:47 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix conflict and indentation

    M ./grovel/grovel.lisp -11 +8

Sun Jul 29 15:36:33 EDT 2007  Stelian Ionescu <sionescu at common-lisp.net>
  * Cleaned up compiler invokation by the groveller.

    M! ./grovel/grovel.lisp -13 +20

Sun Jul 29 00:48:12 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: fix invoke-cc's conditional library arguments

    M ./grovel/grovel.lisp -4 +4

Sat Jul 28 21:22:00 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: constantenum: signal warnings properly

    M ./grovel/grovel.lisp -4 +6

Sat Jul 28 21:21:13 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Adjustments for using cffi-grovel on windows.

    M ./grovel/grovel.lisp -3 +13

Thu Jul 26 15:52:50 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * grovel: use :[u]int64 without worries
  
  No need to check for cffi-features:no-long-long now that we have 
  emulated long long type.

    M ./grovel/grovel.lisp -10 +2

Thu Jul 26 14:36:45 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * cffi-grovel: x86-64 compat changes
  
  - use :long instead of :int to try and determine word size.
  - use -fPIC for 64-bit shared libraries.

    M ./grovel/grovel.lisp -2 +4

Thu Jul 19 22:02:27 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Minor change to src/types.lisp

    M ./src/types.lisp -3 +1

Thu Jul 19 22:02:08 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Remove outdated TODO items

    M ./TODO -11

Thu Jul 19 14:25:57 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * 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.

    M ./src/types.lisp -17 +79
    M ./tests/foreign-globals.lisp -27 +21
    M ./tests/memory.lisp -30 +26
    M ./tests/misc-types.lisp -6 +3
    M ./tests/struct.lisp -42 +36

Thu Jul 19 14:20:16 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * 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.

    M ./cffi.asd -1 +1
    M ./src/cffi-allegro.lisp -13 +4
    M ./src/cffi-clisp.lisp -21 +2
    M ./src/cffi-cmucl.lisp -9 +2
    M ./src/cffi-corman.lisp -9 +4
    M ./src/cffi-ecl.lisp -14 +4
    M ./src/cffi-lispworks.lisp -11 +3
    M! ./src/cffi-openmcl.lisp -6 +6
    M ./src/cffi-sbcl.lisp -11 +3
    M ./src/cffi-scl.lisp -14 +3
    M ./src/features.lisp -4 +19
    M ./src/strings.lisp -32 +18
    M ./src/types.lisp -2 +2
    M ./tests/misc.lisp -7

Mon Jul 16 23:31:10 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * FOREIGN-STRING-TO-LISP: return number of octets read
  
  - Update test suite to reflect this change.

    M ./src/strings.lisp -2 +2
    M ./tests/defcfun.lisp -10 +11
    M ./tests/funcall.lisp -7 +7
    M ./tests/strings.lisp -2 +2

Mon Jul 16 23:16:27 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Update strings.lisp to match Babel's accessor changes.

    M ./src/strings.lisp -4 +6

Mon Jul 16 23:11:51 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * 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.

    M ./cffi-grovel.asd -1 +1
    M ./grovel/grovel.lisp -1 +5
    M ./src/cffi-cmucl.lisp -1 +4
    M ./src/strings.lisp -1 +2

Mon Jul  9 15:02:22 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Remove outdated comments re test string.short-write.1

    M ./tests/strings.lisp -3

Sat Jul  7 23:50:10 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Fix "endianness" typo

    M ./tests/misc.lisp -1 +1

Sat Jul  7 23:45:38 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * 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.

    M ./src/strings.lisp -12 +18

Fri Jul  6 09:00:18 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * with-foreign-pointer-as-string: take additional arguments
  
  Changed to match the new WITH-FOREIGN-STRING syntax.  Document later.

    M ./src/strings.lisp -8 +13

Thu Jul  5 20:38:36 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * cffi-grovel: defwrapper: handle foreign/lisp names

    M ./grovel/grovel.lisp -15 +19

Thu Jul  5 20:36:42 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Don't autoexport grovel definitions.

    M ./grovel/grovel.lisp -1 +6

Fri Jun 29 16:51:15 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * 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.

    M ./grovel/grovel.lisp -8 +20

Fri Jun 29 16:50:05 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * cffi-manual: small change to the grovel example

    M ./doc/cffi-manual.texinfo +1

Fri Jun 29 16:42:56 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * WITH-FOREIGN-STRING changes
  
  - WITH-FOREIGN-STRING's new syntax:
      with-foreign-string (binding &rest args) &body
        binding  := { var | (var &optional byte-size-var) }
  - Update the documentation, not complete.
  - New test: STRING.CONVERSION.BASIC.2

    M ./doc/cffi-manual.texinfo -4 +7
    M ./src/strings.lisp -14 +12
    M ./src/utils.lisp -2 +2
    M ./tests/strings.lisp +5

Thu Jun 28 11:40:56 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Use the foreign-pointer type in strings.lisp

    M ./src/strings.lisp -3 +4

Mon Jun 25 10:59:23 EDT 2007  attila.lendvai at gmail.com
  * Added remove-from-plist into cffi-utils, copied from alexandria

    M ./src/utils.lisp +18

Mon Jun 25 10:58:36 EDT 2007  attila.lendvai at gmail.com
  * Added :byte-size-variable keyword arg to with-foreign-string

    M ./src/strings.lisp -4 +13

Mon Jun 25 10:46:37 EDT 2007  tomi.borbely at gmail.com
  * add :null-teminated-p keyword param to foreign-string-alloc

    M ./src/strings.lisp -6 +9

Thu Jun  7 22:26:12 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Encoding support using Babel
  
  - Preliminary (likely buggy) version.  Includes documentation and tests.
  - New cffi-features: big-endian and little-endian determined with CFFI
    code.
  - Needs cleaning up.

    M ./cffi-tests.asd +1
    M ./cffi.asd +1
    M ./doc/cffi-manual.texinfo -10 +52
    M ./src/cffi-sbcl.lisp -2 +1
    M ./src/features.lisp -1 +3
    M ./src/package.lisp -1 +2
    M ./src/strings.lisp -55 +199
    M ./tests/misc-types.lisp +3
    M ./tests/misc.lisp +7
    A ./tests/strings.lisp

Mon Jun 18 04:20:56 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * manual: Use @deffn instead of @itemize for grovel forms.

    M ./doc/cffi-manual.texinfo -43 +40

Sun Jun 17 19:19:23 EDT 2007  Luis Oliveira <loliveira at common-lisp.net>
  * Integrate cffi-grovel
  
  Added a groveller based on Dan Knap's and Matthew Backes's cffi-grovel
  and Stelian Ionescu's fork iolib-grovel.  cffi-grovel is inspired by
  SBCL's groveller.  This is a preliminary version.
  
  Includes a new wrapper generator syntax to simplify the writing of
  C glue libraries among other minor features.
  
  - Updated TODO items related to grovelling.
  - Integrated documentation into the CFFI manual.
  - src/libraries: use ".so" as the default library suffix.

    M ./TODO -3 +5
    A ./cffi-grovel.asd
    M ./doc/cffi-manual.texinfo +257
    A ./grovel/
    A ./grovel/asdf.lisp
    A ./grovel/grovel.lisp
    M ./src/libraries.lisp -1 +2
    M ./src/utils.lisp +2

Sat May 31 10:11:12 EDT 2008  Luis Oliveira <loliveira at common-lisp.net>
  tagged before cffi+lotsastuff merge



An updated tarball of CFFI's source can be downloaded here:
http://common-lisp.net/project/cffi/tarballs/cffi-080531.tar.gz

Darcsweb URL:
http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cffi-cffi;a=summary



More information about the cffi-devel mailing list