Luis Oliveira | 5 Aug 2009 06:42
Gravatar

New patches: 4-Aug-2009


Tue Aug  4 15:37:38 EDT 2009  Stelian Ionescu <sionescu <at> cddr.org>
  * Groveler fixes for ECL.

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

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

Darcsweb URL:
http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cffi-cffi;a=summary
Andy Chambers | 7 Aug 2009 12:44

groveller doesn't grovel for functions?

Hi,

Am I correct in thinking that the groveller doesn't grovel for
functions and automatically create
the correct defcfun forms for a given library?

--

-- 
----
Andy Chambers
Formedix Ltd
Luís Oliveira | 7 Aug 2009 13:48
Picon
Gravatar

Re: groveller doesn't grovel for functions?

On Fri, Aug 7, 2009 at 10:44 AM, Andy
Chambers<achambers.home <at> googlemail.com> wrote:
> Am I correct in thinking that the groveller doesn't grovel for
> functions and automatically create
> the correct defcfun forms for a given library?

Yes. For that functionality there's Verrazano.
<http://common-lisp.net/project/fetter/>

--

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Travis Cross | 7 Aug 2009 16:49

CFFI darcs repository broken?

Today I tried `darcs pull`ing the repo, but darcs told me the repo I was
pulling looked unrelated to the repo I had.  The last revision I had in
my local repository was from Mon Feb  2 01:22:03 UTC 2009.

So I tried starting over and pulling a clean copy of the repos.  No go
on that either:

$ darcs get http://common-lisp.net/project/cffi/darcs/cffi/ cffi
Unapplicable patch:
Mon Jun 22 19:03:26 UTC 2009  Stelian Ionescu <sionescu <at> common-lisp.net>
  * Groveler: implement %INVOKE for ABCL.
darcs: ./grovel/grovel.lisp: openBinaryFile: does not exist (No such
file or directory)

$ darcs --version
2.2.0 (release)

I've also tried this on darcs 1.0.8.

Digging in a little bit, I rsync'ed the repos from common-lisp.net.  The
_darcs/inventory file includes only the last 17 changes.  More
frighteningly, one of the checkpoints in _darcs/checkpoints looks corrupt:

$ gunzip --verbose -c
20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz >
20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a
20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz:
gzip: 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz:
invalid compressed data--crc error

(Continue reading)

Stelian Ionescu | 7 Aug 2009 17:24
Gravatar

Re: CFFI darcs repository broken?

On Fri, 2009-08-07 at 14:49 +0000, Travis Cross wrote:
> Today I tried `darcs pull`ing the repo, but darcs told me the repo I was
> pulling looked unrelated to the repo I had.  The last revision I had in
> my local repository was from Mon Feb  2 01:22:03 UTC 2009.
> 
> So I tried starting over and pulling a clean copy of the repos.  No go
> on that either:
> 
> $ darcs get http://common-lisp.net/project/cffi/darcs/cffi/ cffi
> Unapplicable patch:
> Mon Jun 22 19:03:26 UTC 2009  Stelian Ionescu <sionescu <at> common-lisp.net>
>   * Groveler: implement %INVOKE for ABCL.
> darcs: ./grovel/grovel.lisp: openBinaryFile: does not exist (No such
> file or directory)

Sorry for that. Apparently, darcs optimize --checkpoint --compress is
broken on c-l.net
It's fixed now.

--

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
_______________________________________________
cffi-devel mailing list
cffi-devel <at> common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel
(Continue reading)

dherring | 7 Aug 2009 17:36
Favicon

Re: CFFI darcs repository broken?

> Digging in a little bit, I rsync'ed the repos from common-lisp.net.  The
> _darcs/inventory file includes only the last 17 changes.  More
> frighteningly, one of the checkpoints in _darcs/checkpoints looks corrupt:
>
> $ gunzip --verbose -c
> 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz >
> 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a
> 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz:
> gzip: 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz:
> invalid compressed data--crc error

http://bugs.darcs.net/issue844
Some versions of darcs misuse gzip, causing checksum corruption.  The
corrupt gzip files can be "fixed" by recalculating the CRC; the attached
heal-darcs.sh shows one such solution.

This corruption affects many (most?) CL darcs repos.  It usually doesn't
affect darcs itself (which ignores the checksums) but often causes
problems with other tools.  I used to notify people of this issue, but now
just run heal-darcs and hope mismatched checksums weren't actually valid.

- Daniel
Attachment (heal-darcs.sh): application/octet-stream, 0 bytes
_______________________________________________
cffi-devel mailing list
cffi-devel <at> common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel
Luis Oliveira | 8 Aug 2009 06:42
Gravatar

New patches: 7-Aug-2009


Tue Jun 16 12:19:44 EDT 2009  Luis Oliveira <loliveira <at> common-lisp.net>
  * update cffi.asd for version 0.10.5

    M ./cffi.asd -1 +1

Tue Jun 16 12:18:26 EDT 2009  Luis Oliveira <loliveira <at> common-lisp.net>
  * cffi-manual: minor style change.

    M ./doc/cffi-manual.texinfo -5 +7

Tue Jun 16 12:05:19 EDT 2009  Stelian Ionescu <sionescu <at> common-lisp.net>
  * Update docs for groveler clause CONSTANT.

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

Mon Jun 15 13:07:33 EDT 2009  Luis Oliveira <loliveira <at> common-lisp.net>
  * grovel: remove comment about the *CC* and the CC environment variable
  
  We already do look at CC in GROVEL::CC-COMPILE-AND-LINK.

    M ./grovel/grovel.lisp -1

Mon Jun 15 11:13:12 EDT 2009  Luis Oliveira <loliveira <at> common-lisp.net>
  * cffi-grovel: use "cc" on non-Windows platforms (including Cygwin)

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

Sun Jun 14 14:16:43 EDT 2009  Luis Oliveira <loliveira <at> common-lisp.net>
  * clisp: avoid using NIL for null pointers.
(Continue reading)

Luis Oliveira | 9 Aug 2009 06:42
Gravatar

New patches: 8-Aug-2009


Sat Aug  8 20:53:56 EDT 2009  Stelian Ionescu <sionescu <at> cddr.org>
  * Also canonicalize search paths in library specs.

    M ./src/libraries.lisp -1 +4

Sat Aug  8 18:28:34 EDT 2009  Stelian Ionescu <sionescu <at> cddr.org>
  * Update manual.

  DEFCFUN & co. now take only :CONVENTION.

    M ./doc/cffi-manual.texinfo -17 +12

Sat Aug  8 18:15:47 EDT 2009  Stelian Ionescu <sionescu <at> cddr.org>
  * Whitespace.

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

Sat Aug  8 18:10:55 EDT 2009  Stelian Ionescu <sionescu <at> cddr.org>
  * Declare DEFCALLBACK, DEFCFUN and DEFINE-FOREIGN-LIBRARY's keyword args :CCONV and
:CALLING-CONVENTION obsolete, use :CONVENTION instead.

    M ./src/cffi-allegro.lisp -8 +8
    M ./src/cffi-clisp.lisp -12 +12
    M ./src/cffi-cmucl.lisp -6 +6
    M ./src/cffi-ecl.lisp -6 +6
    M ./src/cffi-lispworks.lisp -13 +13
    M ./src/cffi-openmcl.lisp -6 +6
    M ./src/cffi-sbcl.lisp -6 +6
    M ./src/cffi-scl.lisp -5 +6
(Continue reading)

Stelian Ionescu | 10 Aug 2009 13:02
Gravatar

Re: CFFI darcs repository broken?

On Fri, 2009-08-07 at 11:36 -0400, dherring <at> tentpost.com wrote:
> This corruption affects many (most?) CL darcs repos.  It usually doesn't
> affect darcs itself (which ignores the checksums) but often causes
> problems with other tools.  I used to notify people of this issue, but now
> just run heal-darcs and hope mismatched checksums weren't actually valid.

your attachment seems to be empty

--

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
_______________________________________________
cffi-devel mailing list
cffi-devel <at> common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel
Daniel Herring | 11 Aug 2009 06:55
Favicon

Re: CFFI darcs repository broken?

> On Fri, 2009-08-07 at 11:36 -0400, dherring <at> tentpost.com wrote:
>> This corruption affects many (most?) CL darcs repos.  It usually doesn't
>> affect darcs itself (which ignores the checksums) but often causes
>> problems with other tools.  I used to notify people of this issue, but
>> now
>> just run heal-darcs and hope mismatched checksums weren't actually
>> valid.
>
> your attachment seems to be empty

So it was.  Not sure what happened, but the file was also empty on my
computer...  Trying again.  Note that its not too fancy or bulletproof.

- Daniel
Attachment (heal-darcs.sh): application/octet-stream, 133 bytes
_______________________________________________
cffi-devel mailing list
cffi-devel <at> common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Gmane