Porting Sport and Swazoo to Cuis

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Porting Sport and Swazoo to Cuis

garduino
Hi:

I'm (slowly) porting Sport and Swazoo to Cuis, to have the possibility of have Aida running on top of Cuis.

Some questions I've:

1. I'm porting Sport-2.031.mcz, is the correct version to port?

2. Sport don't have tests?

3. I'm porting Swazoo-2.2.mcz, but I saw that exist also a Swazoo-2.3Beta2.6.mcz. Which is the correct to make the port?

Ok, it's all for now, I'm copying also the Cuis list just in case of interest.

Cheers.

--
============================================
Germán S. Arduino  <gsa @ arsol.net>   Twitter: garduino
Arduino Software  http://www.arduinosoftware.com
PasswordsPro  http://www.passwordspro.com
greensecure.blogspot.com germanarduino.blogspot.com
============================================
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Porting Sport and Swazoo to Cuis

Janko Mivšek
Hi Germán,

Dne 27. 12. 2012 14:25, piše Germán Arduino:
> Hi:
>
> I'm (slowly) porting Sport and Swazoo to Cuis, to have the possibility
> of have Aida running on top of Cuis.
>
> Some questions I've:
>
> 1. I'm porting Sport-2.031.mcz, is the correct version to port?

Yes

> 2. Sport don't have tests?

Load SportDev from http://www.squeaksource.com/SPort, there are tests
although I don't know in what condition they are. Running Swazoo tests
will test indirectly SPort good enough.

> 3. I'm porting Swazoo-2.2.mcz, but I saw that exist also a
> Swazoo-2.3Beta2.6.mcz. Which is the correct to make the port?

Port latest beta2.6, yes. Even in beta this Swazoo is fully functional
and already battle tested. And includes WebSockets, very important for
Aida realtime support.

> Ok, it's all for now, I'm copying also the Cuis list just in case of
> interest.

Hardly waiting for results :)

Best regards
Janko

--
Janko Mivšek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Porting Sport and Swazoo to Cuis

garduino
Hi Janko:

Thanks for the reply.

> 3. I'm porting Swazoo-2.2.mcz, but I saw that exist also a
> Swazoo-2.3Beta2.6.mcz. Which is the correct to make the port?

Port latest beta2.6, yes. Even in beta this Swazoo is fully functional
and already battle tested. And includes WebSockets, very important for
Aida realtime support.


ok, can you point me the exact repo where I can find the correct .mcz?

 
> Ok, it's all for now, I'm copying also the Cuis list just in case of
> interest.

Hardly waiting for results :)


I will try my best, as time permits!

Cheers.
Germán.

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Porting Sport and Swazoo to Cuis

Janko Mivšek
Dne 27. 12. 2012 15:04, piše Germán Arduino:

>> 3. I'm porting Swazoo-2.2.mcz, but I saw that exist also a
>
>     > Swazoo-2.3Beta2.6.mcz. Which is the correct to make the port?
>
>     Port latest beta2.6, yes. Even in beta this Swazoo is fully functional
>     and already battle tested. And includes WebSockets, very important for
>     Aida realtime support.
>
>
> ok, can you point me the exact repo where I can find the correct .mcz?

Actually beta3.1 (not beta2.6) is the last and the greatest, port this
one please:

        http://www.squeaksource.com/Swazoo
        http://www.squeaksource.com/Swazoo/Swazoo-2.3beta3.1.mcz

From comments:

Swazoo-2.3beta3.1.mcz , 1 November 2012 7:32:43 am
- all tests now pass (HelloWorldResource missed)

Swazoo-2.3beta3.0.mcz , 31 October 2012 7:35:56 am
1. WebSockets protocol upgraded to a final RFC thanks to Hans-Martin Mosner

2. IP blacklising and whitelisting introduced, add IP address patterns
to collections in SwazooServer singleton ipBlacklist or ipWhiteList
- urlBlacklist added, to filter by url patterns
- ipAllowedList added, for kind of 'root' IPs, always allowed access

3. more:
- SwazooServer instvar #other introduced, #watchdog removed and moved to
#other
- SpTimestamp extended with #millisecond method
- HTTPRequest printOn: for POSTs prints postdata or entity body too
- Collection count: added on VW, for Squeak/Pharo compatibility

2. pathces:
- HTTPConnection close didn't terminate the loop process
- SwazooWebSocket asByteArray:, implemented here for portability
- Sport patch: SpAbstractSocketReadRequest #close missing
- HTTPRequest printOn: prints AJAX for such requests
- HTTPConnection interact raises error for non OsErrors (VW specific!)
- extension: Collection #count: added, for compatibility with Squeak/Pharo
- HTTPConnection getAndDispatchMessages don't close http10 with keepAlive!
- SwazooStream anyDataReady ignore any exception when #fillBuffer
- SwazooURI proper parsing of protocol, host and port
- patch: HTTPRequest printOn:
- SwazooServer
-- stop, stops all instances of HTTPServer, just for sure
-- category private-wathcdog removed
- FileResponse printEntityOn: binary
- SpFileStream binary, nextAvailable
- Collection count: added
- patch: HTTPConnection close nils self server, nextPutError ignores any
further error
- HTTPConnection produceResponseFor: exception catching removed, there
is another one upper in #interact anyway

>
>  
>
>     > Ok, it's all for now, I'm copying also the Cuis list just in case of
>     > interest.
>
>     Hardly waiting for results :)
>
>
> I will try my best, as time permits!
>
> Cheers.
> Germán.
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida
>

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Porting Sport and Swazoo to Cuis

garduino
In reply to this post by garduino
Thanks!

I will start working with this one then!

Cheers.

2012/12/27 Germán Arduino <[hidden email]>
Hi Janko:

Thanks for the reply.

> 3. I'm porting Swazoo-2.2.mcz, but I saw that exist also a
> Swazoo-2.3Beta2.6.mcz. Which is the correct to make the port?

Port latest beta2.6, yes. Even in beta this Swazoo is fully functional
and already battle tested. And includes WebSockets, very important for
Aida realtime support.


ok, can you point me the exact repo where I can find the correct .mcz?

 
> Ok, it's all for now, I'm copying also the Cuis list just in case of
> interest.

Hardly waiting for results :)


I will try my best, as time permits!

Cheers.
Germán.




_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida