www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Mac HTTP clients and wikibots

reply Stewart Gordon <smjg_1998 yahoo.com> writes:
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.
Nov 10 2005
parent reply "Kris" <fu bar.com> writes:
"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
Nov 10 2005
next sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
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/ma go/io/Buffer.d:434: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/man o/io/Socket.d:1409: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/man o/io/Socket.d:1410: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/man o/io/Socket.d:1414: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ og/Hierarchy.d:330: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/http/serve /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/S rvletContext.d:222: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/S rvletContext.d:223: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:181: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:320: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:339: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:355: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:356: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:357: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ ache/HashMap.d:616: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ ache/HashMap.d:659: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ ache/HashMap.d:880: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1004: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1004: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1009: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1021: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/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.
Nov 11 2005
parent reply "Kris" <fu bar.com> writes:
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/ma go/io/Buffer.d:434: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/man o/io/Socket.d:1409: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/man o/io/Socket.d:1410: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/man o/io/Socket.d:1414: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ og/Hierarchy.d:330: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/http/serve /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/S rvletContext.d:222: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/S rvletContext.d:223: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:181: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:320: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:339: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:355: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:356: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/servlet/Se vletProvider.d:357: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ ache/HashMap.d:616: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ ache/HashMap.d:659: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/ ache/HashMap.d:880: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1004: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1004: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1009: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/HashMap.d:1021: '!==' is deprecated, use '!is' instead /usr/lib/gcc/powerpc-apple-darwin7/3.3.6/../../../../include/d/3.3.6/mango/c che/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.
Nov 11 2005
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
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.
Nov 11 2005
parent reply "Kris" <fu bar.com> writes:
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.
Nov 11 2005
next sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
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.
Nov 14 2005
parent "Kris" <fu bar.com> writes:
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.
Nov 14 2005
prev sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
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.
Nov 14 2005
parent reply kris <fu bar.org> writes:
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.
Nov 14 2005
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
kris wrote:
<snip>
 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.
I've just downloaded mango_release_1-6.zip and there's still something wrong. Does it rely on a bug fix that was put in since the last GDC update? ---------- [masg2-mac:D/mango/test] masg2% build -I../.. unittest.d /Users/masg2/Documents/Prog/D/mango/io/DisplayWriter.d:154: function mango.io.DisplayWriter.DisplayWriter.print called with argument types: (char[],TypeInfo[],char*) matches both: mango.io.DisplayWriter.DisplayWriter.print(char[],TypeInfo[],void*) and: mango.io.DisplayWriter.DisplayWriter.print(char[],...) /Users/masg2/Documents/Prog/D/mango/io/DisplayWriter.d:167: function mango.io.DisplayWriter.DisplayWriter.print called with argument types: (char[],TypeInfo[],char*) matches both: mango.io.DisplayWriter.DisplayWriter.print(char[],TypeInfo[],void*) and: mango.io.DisplayWriter.DisplayWriter.print(char[],...) /Users/masg2/Documents/Prog/D/mango/io/TextFormat.d:94: function mango.format.Format.Format.Sprintf.format called with argument types: (char[],TypeInfo[],char*) matches both: mango.format.Format.Format.Sprintf.format(char[],...) and: mango.format.Format.Format.Sprintf.format(char[],TypeInfo[],void*) ---------- 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.
Nov 15 2005
parent reply "Kris" <fu bar.com> writes:
"Stewart Gordon" <smjg_1998 yahoo.com> wrote...
 I've just downloaded mango_release_1-6.zip and there's still something 
 wrong.  Does it rely on a bug fix that was put in since the last GDC 
 update?

 ----------
 [masg2-mac:D/mango/test] masg2% build -I../.. unittest.d
 /Users/masg2/Documents/Prog/D/mango/io/DisplayWriter.d:154: function 
 mango.io.DisplayWriter.DisplayWriter.print called with argument types:
     (char[],TypeInfo[],char*)
 matches both:
     mango.io.DisplayWriter.DisplayWriter.print(char[],TypeInfo[],void*)
 and:
     mango.io.DisplayWriter.DisplayWriter.print(char[],...)
Ack! That has always compiled cleanly with DMD. I think it's fixable, but I don't have a GDC environment. Can you try a cast(void*) on the last argument of that line 154? If so, I'll fix the rest. Does this mean GDC is more stringent? (At least that error msg now has useful information <g>)
Nov 15 2005
next sibling parent reply "Kris" <fu bar.com> writes:
GDC apparently thinks _argptr is a char*, whereas DMD says it's a void*. 
Still, I should have used va_list as the argument type ...

"Kris" <fu bar.com> wrote in message news:dldf1j$2t51$1 digitaldaemon.com...
 "Stewart Gordon" <smjg_1998 yahoo.com> wrote...
 I've just downloaded mango_release_1-6.zip and there's still something 
 wrong.  Does it rely on a bug fix that was put in since the last GDC 
 update?

 ----------
 [masg2-mac:D/mango/test] masg2% build -I../.. unittest.d
 /Users/masg2/Documents/Prog/D/mango/io/DisplayWriter.d:154: function 
 mango.io.DisplayWriter.DisplayWriter.print called with argument types:
     (char[],TypeInfo[],char*)
 matches both:
     mango.io.DisplayWriter.DisplayWriter.print(char[],TypeInfo[],void*)
 and:
     mango.io.DisplayWriter.DisplayWriter.print(char[],...)
Ack! That has always compiled cleanly with DMD. I think it's fixable, but I don't have a GDC environment. Can you try a cast(void*) on the last argument of that line 154? If so, I'll fix the rest. Does this mean GDC is more stringent? (At least that error msg now has useful information <g>)
Nov 15 2005
parent reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
The type of va_list varies from target to target.  On some, it is a struct!

David

Kris wrote:
 GDC apparently thinks _argptr is a char*, whereas DMD says it's a void*. 
 Still, I should have used va_list as the argument type ...
 
 "Kris" <fu bar.com> wrote in message news:dldf1j$2t51$1 digitaldaemon.com...
 
"Stewart Gordon" <smjg_1998 yahoo.com> wrote...

I've just downloaded mango_release_1-6.zip and there's still something 
wrong.  Does it rely on a bug fix that was put in since the last GDC 
update?

----------
[masg2-mac:D/mango/test] masg2% build -I../.. unittest.d
/Users/masg2/Documents/Prog/D/mango/io/DisplayWriter.d:154: function 
mango.io.DisplayWriter.DisplayWriter.print called with argument types:
    (char[],TypeInfo[],char*)
matches both:
    mango.io.DisplayWriter.DisplayWriter.print(char[],TypeInfo[],void*)
and:
    mango.io.DisplayWriter.DisplayWriter.print(char[],...)
Ack! That has always compiled cleanly with DMD. I think it's fixable, but I don't have a GDC environment. Can you try a cast(void*) on the last argument of that line 154? If so, I'll fix the rest. Does this mean GDC is more stringent? (At least that error msg now has useful information <g>)
Nov 15 2005
parent reply "Kris" <fu bar.com> writes:
"David Friedman"  wrote
 The type of va_list varies from target to target.  On some, it is a 
 struct!
I know; shameful behaviour on my part. Thank you, and there's yet another zipfile update for Stewart available. Sigh.
Nov 15 2005
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Kris wrote:
 "David Friedman"  wrote
 The type of va_list varies from target to target.  On some, it is a 
 struct!
I know; shameful behaviour on my part. Thank you, and there's yet another zipfile update for Stewart available. Sigh.
Got it. The Mac version of build is buggy - the .o files all go the working directory but when the time comes to link, it looks for them in the individual source directories. But having got around that, it still doesn't work: [masg2-mac:~/Documents/Prog/d] masg2% a.out Error: could not open library libicuuc.dylib.32 Any idea where to get this? WIAI I noticed a few more errors: 1. mango.d, required by mango.brf, is missing. 2. Small typo in readme.txt: "Fixed bugs in unitest.d" s/unitest/unittest 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.
Nov 16 2005
prev sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Kris wrote:
<snip>
 Ack! That has always compiled cleanly with DMD. I think it's fixable, but I 
 don't have a GDC environment. Can you try a cast(void*) on the last argument 
 of that line 154? If so, I'll fix the rest. Does this mean GDC is more 
 stringent?
You're right, only GDC isn't stringent, it's buggy. http://www.digitalmars.com/d/function.html "These variadic functions have a special local variable declared for them, _argptr, which is a void* pointer to the first of the variadic arguments. To access the arguments, _argptr must be cast to a pointer to the expected argument type:" 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.
Nov 16 2005
prev sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
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
I got the HTTP client unittest to compile in the end. However, I get this error: 74611 FATAL mango.unittest - Unable to connect socket: Operation timed out Could it be a proxy problem? A grep for 'proxy' in mango.http.client returns nothing, so I'm guessing Mango doesn't support it yet. I also tried my university's website, since this works without the proxy, but just got a segfault. And by the way, testLayout segfaults as well. 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.
Nov 22 2005
parent reply "Kris" <fu bar.com> writes:
"Stewart Gordon" <smjg_1998 yahoo.com> wrote ...
 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
I got the HTTP client unittest to compile in the end. However, I get this error: 74611 FATAL mango.unittest - Unable to connect socket: Operation timed out Could it be a proxy problem? A grep for 'proxy' in mango.http.client returns nothing, so I'm guessing Mango doesn't support it yet.
Correct. Do you fancy adding that?
 I also tried my university's website, since this works without the proxy, 
 but just got a segfault.  And by the way, testLayout segfaults as well.
I guess that means Mango does not work on OS-X anymore :-( testLayout() could possibly be a codegen issue? It uses this syntax: format (T[][] layout ...) (no comma) which is intended to spare one the argptr() machinations.
Nov 22 2005
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Kris wrote:
 "Stewart Gordon" <smjg_1998 yahoo.com> wrote ...
 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
I got the HTTP client unittest to compile in the end. However, I get this error: 74611 FATAL mango.unittest - Unable to connect socket: Operation timed out Could it be a proxy problem? A grep for 'proxy' in mango.http.client returns nothing, so I'm guessing Mango doesn't support it yet.
Correct. Do you fancy adding that?
At the moment I wouldn't know where to start....
 I also tried my university's website, since this works without the proxy, 
 but just got a segfault.  And by the way, testLayout segfaults as well.
I guess that means Mango does not work on OS-X anymore :-(
Does this mean you've tested all the unittests on Windows and Linux recently? Guess one of us needs to investigate where it's failing.
 testLayout() could possibly be a codegen issue?  It uses this syntax:
 
 format (T[][] layout ...)
 
 (no comma) which is intended to spare one the argptr() machinations.
I'll see if I can figure out what's going on.... 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.
Nov 23 2005