This release features a few features, a bunch of bug fixes and a couple important breaking changes. Please note these breaking changes because you would have to update some of your programs before they would work in the new version.
First, the features
Publish and Import
Remember how you had to copy and paste your program to share it with friends or to post your sample on the forums? Well, you don't have to anymore. Just hit the
button and you'll get back a 6-digit/letter combination code. This code uniquely identifies your program and your friends can now view and run your program by importing it using this code.
: Makes Small Basic startup faster
Fixed a lot of regional formatting issues. Decimals now preserve their precision in non-US settings machine.
Fixed issues with DateTime formatting in non-US settings machine.
Fixed Font Size setting issues. Font Sizes can now be set once and they take effect right away.
Fixed issues with multiple event subscribers. There can only be one sub routine subscribed to an event now.
Added Close Button to the errors window
Added sync lock for "CreateWindow" in GraphicsWindow object. Extenders can now run multi-threaded if they wanted to.
Program now exits cleanly after setting the desktop background.
GetHeight and GetWidth on ImageList now return the correct pixel height and width respectively
Fixed crash that happens when permission to the temporary folder is denied.
Here is a list of breaking changes in v0.3. These are important because you might have to update some of your programs to run on this.
: The GraphicsWindow has been factored out and there's now a new Shapes object. This object contains operations like AddRectangle, AddEllipse, etc. These methods used to be on GraphicsWindow and now they are no more. If your program used them, you'd have to modify your program to match the new pattern.
: ImageList.LoadImage no longer takes an "image id" as an argument. Instead it returns a newly created id for you to use. For example "pic = ImageList.LoadImage("c:\myimage.jpg")"