Approved!

Change 20070312-maxcarlson-U by [EMAIL PROTECTED] on 2007-03-12
02:07:39 PDT
     in /Users/maxcarlson/openlaszlo/legals-clean

Summary: Add drawview support to IE

New Features:

Bugs Fixed:

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation: Listen for the oncontext event before using any
drawing commands in your drawview, to ensure it works in IE dhtml.

Release Notes:

Details: test/drawing.lzx - Updated testcase to listen for oncontext
event - important for IE.

LzSprite.as - Updated capabilities table.  Moved accessibility
methods from LaszloView.

LzUtils.js - getcallbackstr now more explicit about callback scope.

LzSprite.js - Added preload_images_only_once to only preload a given
url once per session, which should be enough to populate the browser
cache.  Updated capabilities table.  Remove stub methods.  Update
getcallbackstr calls to new format.

LzPool.js - Call destroyer with id for symmetry with other calls.

LaszloView.lzs - Moved accessibility methods to LzSprite.as.  Check
capabilities before making runtime-specific calls.

drawview.lzx - Add IE support, update comments to doc format.  Add
oncontext event to notify when it's safe to draw, which can take a
little while in ie.

excanvas.js - Checking in r14 from http://
excanvas.svn.sourceforge.net/svnroot/excanvas/excanvas.js.  Use
compressor.

embednew.js - Use ServerRoot for excanvas.js base url.

build.xml - Compress excanvas.js.

solo-dhtml-deploy.jsp - Make sure excanvas.js is included for IE

Tests: ant lztest.  lztest/view test passes in dhtml and swf.  All
apps run as before.  lps/components/extensions/test/drawing.lzx runs
in ie.

Files:
M      test/drawing/drawing.lzx
M      WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M      WEB-INF/lps/lfc/kernel/dhtml/LzUtils.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzPool.js
M      WEB-INF/lps/lfc/views/LaszloView.lzs
M      lps/components/extensions/test/drawing.lzx
M      lps/components/extensions/drawview.lzx
D      lps/includes/excanvas.js
M      lps/includes/source/embednew.js
A      lps/includes/source/excanvas.js
M      lps/includes/source/build.xml
M      lps/admin/solo-dhtml-deploy.jsp

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070312-
maxcarlson-U.tar

Reply via email to