HI Hannes:<div><br></div><div>About HTTP* classes, I started some work that you can find here <a href="https://github.com/garduino/Cuis-Pharo14CompatibilityLayer">https://github.com/garduino/Cuis-Pharo14CompatibilityLayer</a> but is all *** work in progress ***, and with the time I started another layer of compatibility (<a href="https://github.com/garduino/Cuis-CompatibilityWithOtherSmalltalks">https://github.com/garduino/Cuis-CompatibilityWithOtherSmalltalks</a>) that may be is better to adapt to the Network-* classes. </div>
<div><br></div><div>My original idea was port the Network-* classes from Pharo not present in Cuis.</div><div><br></div><div>After that and regarding Zinc I saw some differences between Pharo and Squeak then some sort of classes are needed to have Zinc working and exist some differences with the Squeak implementation not using Zinc.</div>
<div><br></div><div>I'm still thinking what/how to port for have Sport and Swazoo working. Zinc will be another step.</div><div><br></div><div>About WebClient I tried also, but to avoid the hanging you need to use the latest .mcz.</div>
<div><br></div><div>Cheers.</div><div><br></div><div>Germán.</div><div><br></div><div><br><div class="gmail_quote">2012/12/29 H. Hirzel <span dir="ltr"><<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
There is an initial version of a WebClient port on<br>
<a href="https://github.com/davidgraham/Cuis-WebClient" target="_blank">https://github.com/davidgraham/Cuis-WebClient</a><br>
<br>
<br>
The messages on Transcript while loading<br>
Cuis-WebClient.pck<br>
<br>
are copied in below. [1]<br>
<br>
The SUnit test runner on<br>
WebClientServerTest<br>
<br>
hangs.<br>
<br>
<br>
However an access like<br>
<br>
(WebClient httpGet: '<a href="http://www.jvuletich.org/Cuis/Index.html" target="_blank">http://www.jvuletich.org/Cuis/Index.html</a>') content<br>
<br>
works fine.<br>
<br>
<br>
Question: It seems that having a HTTPSocket is necessary.<br>
<br>
Cuis only has a<br>
Socket<br>
class.<br>
<br>
<br>
I then filed out HttpSocket from Squeak4.4-12324 and filed it into<br>
Cuis 4.1. The Transcript is copied in below [2].<br>
<br>
Any suggestions how to proceed?<br>
<br>
Is somebody working on a HttpSocket class for Cuis?<br>
<br>
<br>
--Hannes<br>
<br>
<br>
<br>
<br>
<br>
[1] Transcript output while filing in Cuis-WebClient.pck<br>
<br>
#(27 December 2012 10:13:47 pm) Cuis4.1.image priorSource: 2344746<br>
a FileList=============<br>
<br>
WebClient>>digestAuth:from:header:params: (UUID is Undeclared)<br>
WebClient class>>httpRequest:url:headers:content:response: (HTTPSocket<br>
is Undeclared)<br>
WebClient class>>httpRequest:url:headers:content:response:<br>
(HTTPProgress is Undeclared)<br>
WebClient class>>httpRequest:url:headers:content:response:<br>
(MIMEDocument is Undeclared)<br>
WebClient class>>registerHttpSocketRequestHandler (HTTPSocket is Undeclared)<br>
WebClient class>>registerHttpSocketRequestHandler (HTTPSocket is Undeclared)<br>
WebClient class>>registerHttpSocketRequestHandler (HTTPSocket is Undeclared)<br>
WebClient class>>registerHttpSocketRequestHandler (HTTPSocket is Undeclared)<br>
WebClient class>>unregisterHttpSocketRequestHandler (HTTPSocket is Undeclared)<br>
WebClient class>>unregisterHttpSocketRequestHandler (HTTPSocket is Undeclared)<br>
WebClient class>>unregisterHttpSocketRequestHandler (HTTPSocket is Undeclared)<br>
WebClientServerTest>>expectedFailures (HTTPSocket is Undeclared)<br>
WebClientServerTest>>testAuthRedirectSession (UUID is Undeclared)<br>
WebClientServerTest>>testMultipartFiles (MIMEDocument is Undeclared)<br>
WebClientServerTest>>testMultipartFiles2 (MIMEDocument is Undeclared)<br>
WebClientServerTest>>testMultipartFiles2 (HTTPSocket is Undeclared)<br>
WebClientServerTest>>testMultipartFiles2 (HTTPSocket is Undeclared)<br>
WebClientServerTest>>testMultipartFiles2 (HTTPSocket is Undeclared)<br>
WebClientServerTest>>testMultipartFiles2 (HTTPSocket is Undeclared)<br>
WebClientServerTest>>testPersistentAuthRedirectSession (UUID is Undeclared)<br>
WebMessage>>contentWithProgress: (ByteString is Undeclared)<br>
WebRequest>>send200Response: (UTF8TextConverter is Undeclared)<br>
WebRequest>>send404Response: (UTF8TextConverter is Undeclared)<br>
WebServer>>newNonce (UUID is Undeclared)<br>
WebServer>>systemInfoOn: (SmalltalkImage is Undeclared)<br>
WebServer>>systemInfoOn: (SecurityManager is Undeclared)<br>
WebServer>>systemInfoOn: (SmalltalkImage is Undeclared)<br>
WebServer class>>benchmark (NullStream is Undeclared)<br>
WebServer class>>benchmark (NullStream is Undeclared)<br>
WebServer class>>exampleSession (UUID is Undeclared)<br>
WebUtils class>>defaultProxyServer (HTTPSocket is Undeclared)<br>
WebUtils class>>defaultProxyServer (HTTPSocket is Undeclared)<br>
WebUtils class>>defaultProxyServer (HTTPSocket is Undeclared)<br>
WebUtils class>>defaultProxyServer (HTTPSocket is Undeclared)<br>
WebUtils class>>defaultProxyServer (HTTPSocket is Undeclared)<br>
WebUtils class>>encodeMultipartForm:boundary: (MIMEDocument is Undeclared)<br>
WebUtils class>>handleAuth: (UIManager is Undeclared)<br>
WebUtils class>>handleAuth: (UIManager is Undeclared)<br>
WebUtils class>>oAuthSign:url:extra:using: (UUID is Undeclared)<br>
WebUtils class>>proxyExceptionsDo: (HTTPSocket is Undeclared)<br>
WebUtils class>>sha1Hash: (SecureHashAlgorithm is Undeclared)<br>
WebUtils class>>webSocketHash07: (SecureHashAlgorithm is Undeclared)<br>
Package Cuis-WebClient successfully installed<br>
Undeclared: a Dictionary(#ByteString->nil #HTTPProgress->nil<br>
#HTTPSocket->nil #MIMEDocument->nil #NullStream->nil<br>
#SecureHashAlgorithm->nil #SecurityManager->nil #SmalltalkImage->nil<br>
#UIManager->nil #UTF8TextConverter->nil #UUID->nil )<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
[2] Transcript log of filing in HTTPSocket.st as exported from Squeak4.4-12324<br>
<br>
HTTPSocket class>>initialize (ExternalSettings is Undeclared)<br>
HTTPSocket class>>httpGetDocument:args:accept:request: (Url is Undeclared)<br>
HTTPSocket class>>httpGif: (GIFReadWriter is Undeclared)<br>
HTTPSocket class>>httpJpeg: (JPEGReadWriter is Undeclared)<br>
HTTPSocket class>>httpPost:content:type:accept:request: (Url is Undeclared)<br>
HTTPSocket class>>httpPostMultipart:args:accept:request: (MIMEDocument<br>
is Undeclared)<br>
HTTPSocket class>>httpPut:to:user:passwd: (Url is Undeclared)<br>
HTTPSocket class>>httpRequest:url:headers:content:response:<br>
(HTTPProgress is Undeclared)<br>
HTTPSocket class>>httpRequest:url:headers:content:response:<br>
(HTTPProgress is Undeclared)<br>
HTTPSocket class>>httpRequest:url:headers:content:response:<br>
(MIMEDocument is Undeclared)<br>
HTTPSocket class>>httpShowChunk: (StringHolder is Undeclared)<br>
HTTPSocket class>>httpShowPage: (StringHolder is Undeclared)<br>
HTTPSocket class>>fetchExternalSettingsIn: (ExternalSettings is Undeclared)<br>
HTTPSocket class>>showImage:named: (Project is Undeclared)<br>
MessageNotUnderstood: UndefinedObject>>registerClient:<br>
while evaluating: HTTPSocket initialize<br>
MessageNotUnderstood: Preferences class>>valueOfPreference:<br>
while evaluating: HTTPSocket initialize<br>
MessageNotUnderstood: Preferences class>>valueOfPreference:<br>
while evaluating: HTTPSocket initialize<br>
MessageNotUnderstood: Preferences class>>valueOfPreference:<br>
while evaluating: HTTPSocket initialize<br>
MessageNotUnderstood: Preferences class>>valueOfPreference:<br>
while evaluating: HTTPSocket initialize<br>
<br>
_______________________________________________<br>
Cuis mailing list<br>
<a href="mailto:Cuis@jvuletich.org">Cuis@jvuletich.org</a><br>
<a href="http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org" target="_blank">http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org</a><br>
</blockquote></div><br><br></div>