Thread overview | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
November 10, 2005 Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Has anyone written, or is anyone writing or planning to write: (a) an HTTP client library that supports Mac OS X? (b) a wikibot framework, maybe as a layer on top of (a)? If you're wondering, see http://en.wikipedia.org/wiki/Wikipedia:Bots Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
November 10, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | "Stewart Gordon" <smjg_1998@yahoo.com> wrote
> Has anyone written, or is anyone writing or planning to write:
>
> (a) an HTTP client library that supports Mac OS X?
I understand that Mango runs on OS-X, including mango.http.client.HttpClient
|
November 11, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | Kris wrote: > "Stewart Gordon" <smjg_1998@yahoo.com> wrote >> Has anyone written, or is anyone writing or planning to write: >> >> (a) an HTTP client library that supports Mac OS X? > > I understand that Mango runs on OS-X, including mango.http.client.HttpClient Here are the errors I get (using GDC 0.16, Build 2.09): [masg2-mac:3.3.6/mango/test] masg2% build unittest.d /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Buffer.d:434: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Socket.d:1409: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Socket.d:1410: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Socket.d:1414: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/log/Hierarchy.d:330: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/http/server/HttpHeaders.d:303: class mango.http.server.HttpHeaders.HttpHeaders.FilteredHeaders super class FilteredTokens is nested within HttpTokens, not HttpHeaders /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletContext.d:222: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletContext.d:223: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:181: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:320: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:339: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:355: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:356: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:357: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:616: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:659: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:880: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1004: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1004: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1009: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1021: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1033: '!==' is deprecated, use '!is' instead Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
November 11, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | You'll need to get the latest code (HEAD) from dsource.org via SVN. "Stewart Gordon" <smjg_1998@yahoo.com> wrote in message news:dl2jaa$sms$1@digitaldaemon.com... > Kris wrote: >> "Stewart Gordon" <smjg_1998@yahoo.com> wrote >>> Has anyone written, or is anyone writing or planning to write: >>> >>> (a) an HTTP client library that supports Mac OS X? >> >> I understand that Mango runs on OS-X, including mango.http.client.HttpClient > > Here are the errors I get (using GDC 0.16, Build 2.09): > > [masg2-mac:3.3.6/mango/test] masg2% build unittest.d > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Buffer.d:434: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Socket.d:1409: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Socket.d:1410: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/io/Socket.d:1414: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/log/Hierarchy.d:330: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/http/server/HttpHeaders.d:303: > class mango.http.server.HttpHeaders.HttpHeaders.FilteredHeaders super > class FilteredTokens is nested within HttpTokens, not HttpHeaders > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletContext.d:222: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletContext.d:223: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:181: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:320: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:339: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:355: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:356: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/ServletProvider.d:357: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:616: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:659: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:880: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1004: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1004: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1009: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1021: > '!==' is deprecated, use '!is' instead > /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/cache/HashMap.d:1033: > '!==' is deprecated, use '!is' instead > > Stewart. > > -- > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- > Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y > ------END GEEK CODE BLOCK------ > > My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
November 11, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | Kris wrote: > You'll need to get the latest code (HEAD) from dsource.org via SVN. <snip top of upside-down reply> Therein lies the problem. The DSource SVN server is incompatible with my Internet connection. http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/19511 So downloading the zipfile was all I could do. Meanwhile I've posted a message to the SVN mailing list in the hope that someone can help.... Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
November 11, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | That sucks. There'll be a new set of zip files posted tonight; should help. "Stewart Gordon" <smjg_1998@yahoo.com> wrote in message news:dl2sgn$13qh$1@digitaldaemon.com... > Kris wrote: >> You'll need to get the latest code (HEAD) from dsource.org via SVN. > <snip top of upside-down reply> > > Therein lies the problem. The DSource SVN server is incompatible with my Internet connection. > > http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/19511 > > So downloading the zipfile was all I could do. > > Meanwhile I've posted a message to the SVN mailing list in the hope that someone can help.... > > Stewart. > > -- > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- > Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y > ------END GEEK CODE BLOCK------ > > My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
November 14, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | Kris wrote: > That sucks. There'll be a new set of zip files posted tonight; should help. <snip top of upside-down reply> [masg2-mac:3.3.6/mango/test] masg2% dbuild unittest.d unittest.d:1188: no property 'toUri' for type 'mango.io.FilePath.FilePath' unittest.d:1188: function expected before (), not 1 of type int unittest.d:1188: cannot implicitly convert expression (1()) of type int to mango.io.Uri.Uri unittest.d:1202: constructor mango.io.FilePath.FilePath.this () does not match argument types (Uri) unittest.d:1202: cannot implicitly convert expression (uri) of type mango.io.Uri.Uri to char[] But that's just the unittest. Maybe when I try doing stuff with it myself things'll be different.... Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
November 14, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kris | Kris wrote: > That sucks. There'll be a new set of zip files posted tonight; should help. <snip top of upside-down reply> And I noticed in the readme file: "- The make file has changed! Please check those file(s) for details." I don't see a makefile anywhere in the distribution. Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
November 14, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | Stewart Gordon wrote:
> Kris wrote:
>
>> That sucks. There'll be a new set of zip files posted tonight; should help.
>
> <snip top of upside-down reply>
>
> And I noticed in the readme file:
>
> "- The make file has changed! Please check those file(s) for details."
>
> I don't see a makefile anywhere in the distribution.
>
> Stewart.
>
Mango uses Build exclusively at this point. You'll see various .brf files in both the \build and \example. You might try compiling the examples and going from there? Thanks for the bug report on the unittest ~ it' clearly out of date. The examples are good to go.
|
November 14, 2005 Re: Mac HTTP clients and wikibots | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | All fixed, Stewart ~ you'll find a full set of updates on the download page, and you'll find a simple http-client example within unittest.d
"Stewart Gordon" <smjg_1998@yahoo.com> wrote
> Kris wrote:
>> That sucks. There'll be a new set of zip files posted tonight; should help.
> <snip top of upside-down reply>
>
> [masg2-mac:3.3.6/mango/test] masg2% dbuild unittest.d
> unittest.d:1188: no property 'toUri' for type 'mango.io.FilePath.FilePath'
> unittest.d:1188: function expected before (), not 1 of type int
> unittest.d:1188: cannot implicitly convert expression (1()) of type int to
> mango.io.Uri.Uri
> unittest.d:1202: constructor mango.io.FilePath.FilePath.this () does not
> match argument types (Uri)
> unittest.d:1202: cannot implicitly convert expression (uri) of type
> mango.io.Uri.Uri to char[]
>
> But that's just the unittest. Maybe when I try doing stuff with it myself things'll be different....
>
> Stewart.
|
Copyright © 1999-2021 by the D Language Foundation