On Sun, 17 Sep 2006 19:33:51 -0400, "Erik Enge" <erik.enge(a)gmail.com> wrote:
> The simplest way I can think of is with a hook right when we have
> the filename but before we start writing to that file.
I've added that now - see doc entry for *FILE-UPLOAD-HOOK*. Please
try if it works for you. I think that's the best I can do ATM without
modifying the RFC2388 code.
Cheers,
Edi.
_______________________________________________
tbnl-announce site list
tbnl-announce(a)common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-announce
On Tue, 26 Sep 2006 15:24:05 +0200, "Goffioul Michael" <goffioul(a)imec.be> wrote:
> Currently, the only solution I'm left with is to set the invoke and
> release callbacks of DelegateAdapter class to null before exiting
> and add nullity-check code to DelegateAdapter class before calling
> those callbacks.
I've released new versions of the Lisp and the C++ code which
implement this - just in case. Thanks for the suggestion.
_______________________________________________
rdnzl-announce mailing list
rdnzl-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-announce
* Added :timeout keyword parameter that will cause tests to fail if
they take too long
* Removed :single-setup? parameter
* Added :run-setup parameter. This can be one of :once-per-test (or
t), :never (or nil), :once-per-suite, :once-per-session. Still
working through some issues but the basics are in place.
* Fixed and cleaned several examples.
* LIFT no longer requires moptilities
--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM
_______________________________________________
lift-announce mailing list
lift-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/lift-announce
Various updates and bug fixes... enjoy.
Note that I now have a new public key (see http://
unclog.metabang.com/ for details).
--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM
_______________________________________________
cl-containers-announce mailing list
cl-containers-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-containers-announce
On Sun, 24 Sep 2006 23:00:32 -0400, Colin Simmonds <colin_simmonds(a)Mac.lover.org> wrote:
> I'd previously been using Curl through FFI bindings for a simple
> Lisp web client project of mine, but have now switched to Drakma as
> it's much easier to use.
>
> However, there was one feature in Curl that I needed which was
> missing, and was easily added in the attached patch. Curl has an
> autoreferer option, which when following redirects, automatically
> adds a Referer header containing the URI of the page that is being
> redirected from. I've added an equivalent option to the http-request
> function.
Thanks for the patch - I've added the new functionality to the 0.5.0
release. Note, however, that I've called it AUTO-REFERER (note the
hyphen).
Cheers,
Edi.
_______________________________________________
drakma-announce mailing list
drakma-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-announce
Hi!
On Sun, 24 Sep 2006 09:41:04 +0300, "Ivan Toshkov" <ivan(a)toshkov.org> wrote:
> First of all, thank you Edi Weitz for your excellent libraries. I
> find them simple to use, well thought out, and with excellent
> documentation. Again, a big thank you.
You're welcome... :)
> And thanks to whoever is working on porting Drakma.
I think that's me... :)
> I found a couple of problems:
>
> Drakma cannot receive cookies from localhost. After a short
> investigation I found that the problem was with the method
> VALID-COOKIE-DOMAIN-P, which insist to have at least 2 dots in the
> normalized domain name. As a workaround I used 127.0.0.1 instead of
> localhost.
Thanks for the report, I've released a new version (0.4.4) which fixes
this.
> The other problem is with an incomplete implementation of
> flexi-streams under CMUCL. The call:
>
>> (drakma:http-request "http://www.google.com/" :parameters '(("q" . "something")))
>
> works normally, but
>
>> (drakma:http-request "http://www.google.com/search" :parameters '(("q" . "something")))
>
> gives:
>
> No matching method for the generic function
> #<STANDARD-GENERIC-FUNCTION INPUT-STREAM-P (2) {58E17501}>, when called with
> arguments (#<FLEXI-STREAMS::VECTOR-OUTPUT-STREAM {5834F8FD}>).
> [Condition of type PCL::NO-APPLICABLE-METHOD-ERROR]
>
> 0: ("DEFMETHOD NO-APPLICABLE-METHOD (T)" #<#1=unused-arg> #<#1#>
> #<STANDARD-GENERIC-FUNCTION INPUT-STREAM-P (2) {58E17501}>
> (#<FLEXI-STREAMS::VECTOR-OUTPUT-STREAM {5834F8FD}>))
> 1: (FLEXI-STREAMS:MAKE-FLEXI-STREAM
> #<FLEXI-STREAMS::VECTOR-OUTPUT-STREAM {5834F8FD}> :EXTERNAL-FORMAT
> :LATIN-1)
> 2: (FLEXI-STREAMS:STRING-TO-OCTETS "q" :EXTERNAL-FORMAT :LATIN-1 :START ...)
> 3: (DRAKMA::URL-ENCODE "q" :LATIN-1)
> 4: (DRAKMA::ALIST-TO-URL-ENCODED-STRING (("q" . "something")) :LATIN-1)
> 5: (DRAKMA:HTTP-REQUEST #<URI http://www.google.com/search>
> :PARAMETERS (("q" . "something")))
>
> I don't have time at the moment to see if anything else is missing
> and to give patches. For this case though the workaround seems to
> be as simple as:
>
> (defmethod input-stream-p ((s flexi-streams::vector-output-stream)) nil)
If I understand the Gray streams proposal correctly, this isn't an
incompleteness in FLEXI-STREAMS, but a problem in CMUCL's Gray streams
implementation. Are you using the newest version of CMUCL? Have you
asked on their mailing list? (It is also not clear to me why the
problem only surfaces with the longer URL because URL-ENCODE has to be
called in both cases.)
Cheers,
Edi.
_______________________________________________
drakma-announce mailing list
drakma-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-announce
I've just updated Tinaa with some minor improvements and bug fixes
(thanks to Robert Goldman and Jason Dunsmore).
(Note that I'm in the midst of recovering from a hard drive failure
which has left my GPG private key in the operating room. I think I'll
be able to recover it but until I do, I can't update any of my ASDF
installable things without switching keys. If I don't recover the key
today; I'll start fresh.
thanks,
--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM
_______________________________________________
tinaa-announce mailing list
tinaa-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/tinaa-announce