From edi at agharta.de Wed Mar 16 15:35:26 2005 From: edi at agharta.de (Edi Weitz) Date: Wed, 16 Mar 2005 16:35:26 +0100 Subject: [cl-gd-announce] New version 0.4.5 (Was: cl-gd:make-stream-fn) In-Reply-To: <16951.11860.397335.405939@zaphod.home.loc> (Walter C. Pelissero's message of "Tue, 15 Mar 2005 19:49:56 +0100") References: <16951.11860.397335.405939@zaphod.home.loc> Message-ID: [Cc to mailing list] On Tue, 15 Mar 2005 19:49:56 +0100, "Walter C. Pelissero" wrote: > I'm trying your cl-gd with PAServe and stumbled in a minor glitch in > MAKE-STREAM-FN. The COND first checks for: > > (subtypep (stream-element-type stream) '(unsigned-byte 8)) > > and then > > (subtypep (stream-element-type stream) 'character) > > Which both fail miserably at least on CMUCL with *HTML-STREAM* as > STREAM. The reason is that: > > (stream-element-type *HTML-STREAM*) => '(OR CHARACTER (UNSIGNED-BYTE 8)) > > (subtypep '(or character (unsigned-byte 8)) 'character) => NIL T > > (subtypep '(or character (unsigned-byte 8)) '(unsigned-byte 8)) => NIL T > > Apparently changing the order of the operands, makes the COND work > as expected, although, as far as I understand, the semantic of > subtypep isn't respected. No, I think CMUCL is right. This was a thinko in my code. Thanks for the report, I've uploaded a new version which fixes this. Cheers, Edi. From edi at agharta.de Thu Mar 31 09:39:42 2005 From: edi at agharta.de (Edi Weitz) Date: Thu, 31 Mar 2005 11:39:42 +0200 Subject: [cl-gd-announce] New version 0.4.6 Message-ID: Changelog: Version 0.4.6 2005-03-31 Fixed typo in WITH-IMAGE* (thanks to Peter Barabas) Handle CMUCL search lists correctly (thanks to Hans H?bner) Added -lc option to linker call and included makefile (thanks to Hans H?bner) Download: Cheers, Edi.