I didn't notice any need for this in FLEXI-STREAMS. Using grep it looks like the only place it interns is in the asd file:
(funcall (intern (symbol-name :run-tests) (find-package :flexi-streams-test)))
And this method of interning a symbol-name is portable in all casemodes as long as the cases of the typed in :run-tests and function definition name match.
Is there something I'm missing?
Thanks so much for creating this library. AServe's client does not use streams, which is annoying, and doesn't current support chunking with https requests (not a blocker because I could revert to http/1.0, but...). In a shop that is mostly Java programmers, you saved me from having to apologize for some embarrassingly silly work-arounds using the other library. I just recently replaced do-http-request from Aserve with http-request from Drakma in soap calls and it works great.
Thank you! Ross ----- Original Message ----- From: "Edi Weitz" edi@agharta.de To: "General interest list for Drakma and Chunga" drakma-devel@common-lisp.net Sent: Thursday, October 11, 2007 12:05:24 AM (GMT-0800) America/Los_Angeles Subject: [drakma-devel] New releases 0.10.3 (Drakma) and 0.4.1 (Chunga) (Was: utf-8 question)
On Mon, 1 Oct 2007 22:44:14 -0700 (PDT), Ross Jekel ross@sourcelabs.com wrote:
To the best of my knowledge, the two attached patches should work on all common lisp implementations. Basically I just added an "as-keyword" function to the util.lisp of both chunga and drakma that checks the readtable-case and uses #'string-upcase to convert the string if it is :upcase, otherwise it uses #'string-downcase (since the symbols in your source files are typically typed in all lowercase).
The two places (one in chunga read.lisp and one in drakma request.lisp) that call (intern (string-upcase ..) :keyword) were replaced with the (as-keyword ) form.
I've attached the diff -u output trying to follow your patching rules.
Thanks and sorry for the delay. This is now in the latest releases - see subject line. If you're using "modern mode", you should also update FLEXI-STREAMS.
Cheers, Edi. _______________________________________________ drakma-devel mailing list drakma-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel