[squeak-dev] Some question regarding portability

Sven Van Caekenberghe sven at beta9.be
Tue May 10 09:21:25 UTC 2011


Hi All,

I would like to improve the portability of Zinc HTTP Components ( http://zn.stfx.eu ) to Squeak. During the development of Zn I have regulary tested on Squeak (currently 4.2 #10977), and most of the code works unmodified. Recently, I had another look, and I would like to fix some issues, if possible. 

- Are announcements available ? Can this framework be loaded ? What is the official way to do this ?

- How does one do MD5 hashing in Squeak ? We used to fall back to either CMD5Hasher or TCryptoRandom, but none are in the standard image. What has to be loaded to make this work (again) ?

- Has there ever been a MIMEType class ? This is not crucial at all, I am just wondering why it is not there.

- I guess that ByteTextConverter class>>#encodeTable and ByteTextConverter class>>#decodeTable play the same role as ByteTextConverter class>>#unicodeToByteTable and ByteTextConverter class>>#byteToUnicodeTable ?

Thanks,

Sven






More information about the Squeak-dev mailing list