From edi at agharta.de Wed Feb 1 00:49:03 2006 From: edi at agharta.de (Edi Weitz) Date: Wed, 01 Feb 2006 01:49:03 +0100 Subject: [rdnzl-announce] New release 0.9.0 / Experimental support for SBCL Message-ID: ChangeLog: Version 0.9.0 2006-02-01 Experimental support for SBCL/Win32 Download: Cheers, Edi. From edi at agharta.de Wed Feb 1 12:09:22 2006 From: edi at agharta.de (Edi Weitz) Date: Wed, 01 Feb 2006 13:09:22 +0100 Subject: [rdnzl-announce] New release 0.9.1 In-Reply-To: (Edi Weitz's message of "Wed, 01 Feb 2006 01:49:03 +0100") References: Message-ID: ChangeLog: Version 0.9.1 2006-02-01 Added missing WIDE-CHAR support for SBCL/Win32 Download: Cheers, Edi. From edi at agharta.de Mon Feb 13 19:33:13 2006 From: edi at agharta.de (Edi Weitz) Date: Mon, 13 Feb 2006 20:33:13 +0100 Subject: [rdnzl-announce] New version 0.9.2 (Was: Problem with invoking static member) In-Reply-To: (Jim Sokoloff's message of "Thu, 9 Feb 2006 14:20:59 -0500 (EST)") References: Message-ID: On Thu, 9 Feb 2006 14:20:59 -0500 (EST), Jim Sokoloff wrote: > I'll propose the following patch (attached) to invoke: > > Currently it takes an object (for an instance method) or a type name > (for a static method). > > After this patch, object can also a cons of a loaded assembly and a > type name, and it will call a static method on the type from that > assembly. Thanks Jim, I've uploaded a new version (0.9.2) which incorporates your patch. Cheers, Edi. From edi at agharta.de Fri Feb 17 13:15:32 2006 From: edi at agharta.de (Edi Weitz) Date: Fri, 17 Feb 2006 14:15:32 +0100 Subject: [rdnzl-announce] New version 0.9.3 (Was: (no subject)) In-Reply-To: <22468-24587@sneakemail.com> (Dan Muller's message of "Fri, 17 Feb 2006 00:49:16 -0500") References: <22468-24587@sneakemail.com> Message-ID: On Fri, 17 Feb 2006 00:49:16 -0500, "Dan Muller" wrote: > My first post to this list... Hi... :) > Direct3D uses single floats throughout its interface, but in > LispWorks for Windows, all floating point types are equivalent to > double-float. So I've got this rather difficult situation, where > RDNZL can never find a method if it takes a single float argument! > Even if it could find it, a down-conversion from double to single > float would be needed, which probably shouldn't occur implicitly. > > I tried explicitly calling System.Convert.ToSingle, but by the time > I can get my hands on the return value, it has been turned back into > a double! I haven't been able to figure out a way around this > without modifying RDNZL, or writing some sort of .NET function that > returned a boxed single. But I'm not sure that the latter wouldn't > be unboxed, or that it would give the correct type for the method > lookup in RDNZL. Yeah, tough call. I don't see an easy general solution but for the moment I've uploaded version 0.9.3 which offers the following workaround: You should be able to (temporarily) rebind this variable to T for single float arguments. Well, UNLESS your .NET method's signature contains both System.Single /and/ System.Double. Let me know if that helps or if you have a better idea. Cheers, Edi. From edi at agharta.de Sat Feb 18 22:17:18 2006 From: edi at agharta.de (Edi Weitz) Date: Sat, 18 Feb 2006 23:17:18 +0100 Subject: [rdnzl-announce] New version 0.9.4 In-Reply-To: <11800-80793@sneakemail.com> (Dan Muller's message of "Sat, 18 Feb 2006 12:07:34 -0500") References: <22468-24587@sneakemail.com> <29921-75407@sneakemail.com> <22203-77278@sneakemail.com> <3502-90854@sneakemail.com> <19234-07610@sneakemail.com> <11800-80793@sneakemail.com> Message-ID: On Sat, 18 Feb 2006 12:07:34 -0500, "Dan Muller" wrote: > In port-lw.lisp, FFI-MAP-TYPE, change :float to :lisp-float. Yep, thanks, that (and adding :LANGUAGE :ANSI-C) did the trick! I've uploaded 0.9.4 which should work now. Could you please test? I'm a bit in a hurry because we're moving to a new flat on Wednesday... ) Thanks for your help, Edi.