Minor updates to 4.7.2 release notes.

Reviewer: ptw
QA: amy (visual verify)
Title: OpenLaszlo @VERSIONID@ Release Notes


Release Notes for OpenLaszlo @VERSIONID@


OpenLaszlo @VERSIONID@ is a bug fix release to OpenLaszlo 4.7.1, and contains 4 important community bug fixes and a new feature adding Silence Level and Timeout attributes to microphone (see the JIRA report 4.7.2 Fixed Bugs for details). In addition, the build system has been updated for those of you building OpenLaszlo from the sources.

We strongly suggest that you refer to the Release Notes for OpenLaszlo 4.7.1, which was a significant release preceding OpenLaszlo @versio...@.

OpenLaszlo Credits

OpenLaszlo continues to be grateful for the significant contributions by André Bargull and Raju Bitter. You guys are amazing - thank you! In addition, we want to thank Cem Sonmez for helping us isolate issues on Linux. Thanks for filing detailed bug reports, creating test apps, and helping us resolve these important bugs. We would also like to thank the entire OpenLaszlo community for your support in so many ways, like submitting bug fixes and participating in discussions to help make OpenLaszlo a better platform.

Build System Changes

In OpenLaszlo @VERSIONID@ and trunk (5.0.x), we have updated our build tools. If you are building from source, you will need to do the same. The build system now requires ant 1.7.

The instructions have been updated on the wiki here: http://wiki.openlaszlo.org/SubversionBuildInstructions

Here is a quick summary of what you will need to do to update an existing build system:

  1. Update the vendor files (ant and its supporting jars):
    (cd $LZ_VENDOR_ROOT; svn update)
  2. You will have to either install ant 1.7 from the zip file as described in the wiki, or, if you are on OS X Snow Leopard, simply set your ANT_HOME to /usr/share/ant (which is ant 1.7 as distributed in Snow Leopard).
  3. We recommend that you do not use the install_libs task in vendor as it will install many unnecessary jars. Instead, copy just the ones you need to your ${HOME}/.ant/lib/ directory (you will need to ensure this directory exists):
    cp ${LZ_VENDOR_ROOT}/{ant-contrib,catalina-ant,jing,js}.jar ${HOME}/.ant/lib/
    is sufficient for basic builds. If you also are building the documentation, you will also need the xalan and serializer jars.

    If you are building on Cygwin, note that the .ant/lib must be in your Windows user directory, not your Cygwin directory, so say:
    cp ${LZ_VENDOR_ROOT}/{ant-contrib,catalina-ant,jing,js}.jar "`cygpath -u "$USERPROFILE"`"/.ant/lib

Operating System, Browser, Runtime Compatibility

We have a broad specification that we support browsers that obey DOM 2 and CSS 2.1 for DHTML and SWF8, SWF9, and SWF10. We are also actively tracking HTML5 and mobile/touch browsers. These are some of the active operating systems/browser/runtime platforms on which we and the community are using this release:

  • Windows XP, Internet Explorer 7 and 8: SWF8, SWF9, SWF10, DHTML
    Windows XP, Firefox 3.6: SWF8, SWF9, SWF10, DHTML
  • Windows 7, Internet Explorer 8: SWF8, SWF9, SWF10, DHTML
    Windows 7, Firefox 3.6: SWF8, SWF9, SWF10, DHTML
  • Linux 2.6 kernel, Firefox 3.6: SWF8, SWF9, SWF10, DHTML
  • Mac OS X, Firefox 3.6: SWF8, SWF9, SWF10, DHTML
    Mac OS X, Safari 4: SWF8, SWF9, SWF10, DHTML

Please note that although we have also done some testing with Windows Vista and Windows 7, OpenLaszlo @VERSIONID@ has not been fully qualified against that operating system at this time. Please see Running OpenLaszlo Server on Windows Vista for more information.

Migrating your Applications to OpenLaszlo @VERSIONID@

For those of you who have already upgraded your applications to OpenLaszlo 4.2 or higher, no further work is needed. You should just start using OpenLaszlo @versio...@.

To migrate your 4.0.X or 4.1.1 applications, we strongly suggest that you refer to this wiki page: Runtime_Differences. This page discusses the changes required by SWF9 and also provides a methodology for upgrading your application. It is very important that you run the automated conversion scripts in the recommended order, should you choose to take advantage of them. To review the changes in incremental releases, please refer to the OpenLaszlo Archive

Bugs Fixed in OpenLaszlo @VERSIONID@

The @VERSIONID@ release includes 4 bug fixes and 1 new feature since OpenLaszlo 4.7.1; we have provided links to our JIRA bug tracking system where you can view the details:

Workaround for Input Text Unexpected Behavior with onfocus Handler

In some cases, the onfocus event fires too early, causing unexpected input text characters to be selected as it does in this example:

  <canvas layout="axis: y">
    <inputtext text="abcd" width="100" bgcolor="0xcccccc"/>
    <inputtext text="abcd" width="100" bgcolor="0xffcccc" />
   </canvas>

To work around this issue, you can create a cover view that handles initial clicks, as shown here for the above example:

  <canvas layout="axis: y">
    <inputtext text="abcd" width="100" bgcolor="0xcccccc"/>
    <view bgcolor="0xffcccc"> <inputtext name="field" text="abcd" width="100">
      <handler name="onfocus"<
        parent.cover.setVisible(false);
        this.setSelection(0, this.getText().length);
      </handler>
      <handler name="onblur">
        parent.cover.setVisible(true);
      </handler>
      </inputtext>
      <view name="cover" width="100%" height="100%"  />
    </view>
  </canvas>

Deprecation Notice: Attribute Values on Data Element Will Be Coerced to String in a Future OpenLaszlo Release

Currently, if you set an attribute value for a data element, the value is stored as it is set. This will no longer be true in future OpenLaszlo releases, where the value will be coerced to a String value. If you need to set non-String values for data elements, you should use the setUserData method as shown in this example where node is an LzDataElement:
node1.setUserData('key1', val1); assertEquals(val1, node1.getUserData('key1'), 'getUserData key1')


OpenLaszlo @VERSIONID@ @RELEASE@ @BUILDID@ @BUILDDATE@

Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.


Reply via email to