[Chicken-users] url egg is broken

2007-03-03 Thread John Janecek
G guilty culpret is (define (url-path x) (string-intersperse (cdr (uri-path x)) /) ) if uri-path return '() then the call fails also annoyed that url and uri eggs got combined into url egg. anyway ... ___ Chicken-users mailing list

Re: [Chicken-users] url egg is broken

2007-03-03 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 3, 2007, at 5:51 PM, John Janecek wrote: G guilty culpret is (define (url-path x) (string-intersperse (cdr (uri-path x)) /) ) if uri-path return '() then the call fails Thank you for reporting this. Fixed in release 2.1,

Re: [Chicken-users] url egg

2007-02-24 Thread felix winkelmann
On 2/23/07, Daishi Kato [EMAIL PROTECTED] wrote: OK, let me first add it to the svn repo. url/url.scm is now this modified version. Please modify the uri part as you like. I did not change a lot since I was not sure if I could break the compatibility with the original uri- procedures. Things we

Re: [Chicken-users] url egg

2007-02-22 Thread Daishi Kato
OK, let me first add it to the svn repo. url/url.scm is now this modified version. Please modify the uri part as you like. I did not change a lot since I was not sure if I could break the compatibility with the original uri- procedures. Things we will have to do are to write a doc (which should

Re: [Chicken-users] url egg

2007-02-21 Thread felix winkelmann
On 2/21/07, Daishi Kato [EMAIL PROTECTED] wrote: BTW, uri fails to parse the following example. Is this a bug or a spec? --daishi #;1 (use uri) ; loading /usr/local/chicken-2.514/lib/chicken/1/uri.so ... ; loading /usr/local/chicken-2.514/lib/chicken/1/coerce.so ... ; loading

Re: [Chicken-users] url egg

2007-02-21 Thread Daishi Kato
On 2/21/07, felix winkelmann [EMAIL PROTECTED] wrote: I think it's a bug: % diff url.scm~ url.scm 222c222 (list userinfo host (or (string-number port) port)) --- (list userinfo host (and port (or (string-number port) port))) % What's (or (string-number port) port) for?

Re: [Chicken-users] url egg

2007-02-21 Thread felix winkelmann
On 2/21/07, Daishi Kato [EMAIL PROTECTED] wrote: On 2/21/07, felix winkelmann [EMAIL PROTECTED] wrote: I think it's a bug: % diff url.scm~ url.scm 222c222 (list userinfo host (or (string-number port) port)) --- (list userinfo host (and port (or (string-number port)

Re: [Chicken-users] url egg

2007-02-21 Thread Kon Lovett
On Feb 21, 2007, at 3:09 AM, felix winkelmann wrote: On 2/21/07, Daishi Kato [EMAIL PROTECTED] wrote: On 2/21/07, felix winkelmann [EMAIL PROTECTED] wrote: I think it's a bug: % diff url.scm~ url.scm 222c222 (list userinfo host (or (string-number port) port)) ---

Re: [Chicken-users] url egg

2007-02-21 Thread Daishi Kato
Hi, I'm not sure if I understand your suggestion all. Are you saying that the url egg should contain url.scm and uri.scm and you would clean up uri.scm? I'm totally lost about the urc: prefix issue. Daishi On 2/22/07, Kon Lovett [EMAIL PROTECTED] wrote: Just url is fine. I would remove the

Re: [Chicken-users] url egg

2007-02-20 Thread felix winkelmann
On 2/20/07, Daishi Kato [EMAIL PROTECTED] wrote: OK, I did it. Could you please review it, Kon and Felix? I'll do that and get back to you. Does any of egg/user use url-typecode, Felix? Not any that I know of. cheers, felix ___ Chicken-users

Re: [Chicken-users] url egg

2007-02-20 Thread Daishi Kato
BTW, uri fails to parse the following example. Is this a bug or a spec? --daishi #;1 (use uri) ; loading /usr/local/chicken-2.514/lib/chicken/1/uri.so ... ; loading /usr/local/chicken-2.514/lib/chicken/1/coerce.so ... ; loading /usr/local/chicken-2.514/lib/chicken/1/url.so ... ; loading

Re: [Chicken-users] url egg

2007-02-19 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 18, 2007, at 11:07 PM, felix winkelmann wrote: On 2/16/07, Daishi Kato [EMAIL PROTECTED] wrote: Take a look at the uri egg. What's the history of these two eggs? I need to let http egg handle the query string. Felix, how difficult is it

Re: [Chicken-users] url egg

2007-02-19 Thread Daishi Kato
Yeah, they really should be merged. Kon, how hard do you think is it to make uri a really superset of url? Well, let me see if I can try it. Daishi On 2/20/07, Kon Lovett [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 18, 2007, at 11:07 PM, felix winkelmann

Re: [Chicken-users] url egg

2007-02-19 Thread Daishi Kato
OK, I did it. Could you please review it, Kon and Felix? Does any of egg/user use url-typecode, Felix? Daishi On 2/20/07, Daishi Kato [EMAIL PROTECTED] wrote: Yeah, they really should be merged. Kon, how hard do you think is it to make uri a really superset of url? Well, let me see if I can try

Re: [Chicken-users] url egg

2007-02-16 Thread Daishi Kato
On 2/16/07, Kon Lovett [EMAIL PROTECTED] wrote: On Feb 15, 2007, at 4:30 AM, felix winkelmann wrote: On 2/15/07, Daishi Kato [EMAIL PROTECTED] wrote: Hi, Looks like the url egg does not support urls with query strings. #;1 (use url) ; loading /usr/local/chicken-2.514/lib/chicken/1/url.so

Re: [Chicken-users] url egg

2007-02-15 Thread felix winkelmann
On 2/15/07, Daishi Kato [EMAIL PROTECTED] wrote: Hi, Looks like the url egg does not support urls with query strings. #;1 (use url) ; loading /usr/local/chicken-2.514/lib/chicken/1/url.so ... #;2 (url-string (url http://abc/def?xyz=123;)) http://abc/def; Has anyone done any workaround for

Re: [Chicken-users] url egg

2007-02-15 Thread Kon Lovett
On Feb 15, 2007, at 4:30 AM, felix winkelmann wrote: On 2/15/07, Daishi Kato [EMAIL PROTECTED] wrote: Hi, Looks like the url egg does not support urls with query strings. #;1 (use url) ; loading /usr/local/chicken-2.514/lib/chicken/1/url.so ... #;2 (url-string (url http://abc/def?xyz=123;))

[Chicken-users] url egg

2007-02-14 Thread Daishi Kato
Hi, Looks like the url egg does not support urls with query strings. #;1 (use url) ; loading /usr/local/chicken-2.514/lib/chicken/1/url.so ... #;2 (url-string (url http://abc/def?xyz=123;)) http://abc/def; Has anyone done any workaround for this? Or should we upgrade the url egg? Thanks,