Archive for July, 2006

Notes on writing a new OpenLaszlo kernel; SVG

Monday, July 31st, 2006

I've been interested in SVG (Scalable Vector Graphics) for a long time, and have thought
it would make a good runtime platform for OpenLaszlo applications. With the development of the Legals release, I wanted to see how difficult it would
be to port the DHTML kernel (which is still under development) to SVG. Since Firefox and Opera now support SVG 1.1 natively, it seemed like it was a good time to try this out. SVG is strong on graphics imaging and text rendering, I think of it like a free-software version of Adobe's crown jewels.

With two days of hacking over the weekend, I got a large about of the Sprite API ported to SVG.

Here's a version of the SVG kernel running, try this in Firefox: Try clicking on the gray area of the gray square, the red rect, or the blue rect, or the text string

http://www.beartronics.com/svg/svg.html

source of test LZX app
http://www.beartronics.com/svg/sprite.lzx

Flash version
http://www.beartronics.com/svg/sprite.lzx.swf

This tells me that the kernel API is pretty much on target, certainly for runtimes which have HTML/SVG javascript-like event handling.

I was disappointed to learn that SVG 1.1 (which is what Firefox supports now) does not handle input text or wrapping text regions, however
SVG 1.2 does have these, so I look forward to finishing this work when Firefox SVG 1.2 support is released, and then we will have
an OpenLaszlo runtime with the beautiful imaging model from SVG.

If time permits, I will try to clean up the SVG kernel enough to stick into an upcoming Legals release, so interested people can look at it. I
haven't implemented image or data loading yet, and there's some bugs with background color names and defaults.

SVG has been slow to gain traction, but I think it is one of the best hope for high quality portable graphics, and maybe even rich internet apps that
use them, in the future.

Released: OpenLaszlo 3.3.3

Thursday, July 20th, 2006

We are pleased to announce that OpenLaszlo 3.3.3 is available at http://www.openlaszlo.org/download. OpenLaszlo 3.3.3 is the next fully-qualified point release with supporting documentation in the 3.x series, which supports the Flash runtime only.

OpenLaszlo 3.3.3 addresses two regressions: a media loading problem and the usage of the lzc script compiler. OpenLaszlo 3.3.3 also helps prevent a potential security issue that could arise if you do not follow the recommended guidelines for deploying your application. The issues are summarized here:

  • LPP-2131: Loading images quickly was causing the media loader to fail. This has been corrected.
  • LPP-2118: lzc.bat and the lzc script compiler were not running correctly in a standard Windows XP configuration. This has been corrected. In addition, the documentation is incorrect about the directory where it should be run. The correct directory to run lzc is:
    /Program Files/OpenLaszlo Server 3.3.3/bin/lzc
  • Potential security issue: If you deployed a developer's kit, instead of making a deployment package as directed in the Deployers Guide, there was a potential risk that the JSP files used by OpenLaszlo Explorer for remote compilation and source viewing could also be compromised to access the file system. We strongly recommend you follow the deployment instructions. As an added measure of safety, we have fixed all known potential security issues arising from JSP's.

Details can be found in the Release Notes, available at http://www.openlaszlo.org/download.


Copyright © 2005-2010 Laszlo Systems, Inc.