Re: miniSphere 4.6.0
Reply #1767 –
I'm going to add a legacy support module like legacy.c or something to the source code. In the process of refactoring the internal sockets code, I realized that the Sphere v1 sockets implementation depends on some "magic" behavior of the socket object (i.e. a server socket magically transforms into client upon first connection), which I then had to work around with special cases in the v2 implementation where that behavior is undesirable. Removing the magic behavior from the internal socket object of course breaks the v1 API. I think it would be better to separate legacy support code into its own module so it can't hold back the implementation of new stuff anymore.
Oh, I implemented clipping for surfaces. In 4.7 you'll be able to call surface.clipTo(x, y, w, h) to restrict drawing to the specified region of the surface.