[Laszlo-dev] For Review: Change 20081025-maxcarlson-R Summary: Clean up capabilities-based warnings

Philip Romanik promanik at laszlosystems.com
Sun Oct 26 08:32:23 PDT 2008


Approved!


>Change 20081025-maxcarlson-R by maxcarlson at Bank on 2008-10-25 17:56:10 PDT
>      in /Users/maxcarlson/openlaszlo/trunk-clean
>      for 
> <http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk
>
>Summary: Clean up capabilities-based warnings
>
>Bugs Fixed: LPP-7135 - Document flash-specific methods in lz.Browser
>
>Technical Reviewer: promanik
>QA Reviewer: ptw
>
>Details: swf/LzSprite.as - Add runtimemenus, setclipboar, 
>proxypolicy capabilities and set to true.
>
>dhtml/LzSprite.js - Add runtimemenus, setclipboar, proxypolicy 
>capabilities and set to false.
>
>dhtml/LzBrowserKernel.lzs - Remove stub methods for disabled capabilites.
>
>swf9/LzBrowserKernel.lzs - Implement showMenu(), setClipboard(),
>isAAActive() and updateAccessibility().
>
>swf9/LzSprite.as - Add runtimemenus, setclipboar, proxypolicy 
>capabilities and set to true.
>
>services/LzBrowser.lzs - Add runtime capabilites property. Check 
>runtimemenus, setclipboar, proxypolicy capabilities before calling 
>associated methods. Use LzView.__warnCapability() method to warn for 
>calls to methods without the appropriate capabilities.
>
>LzAudio.lzs, LzInputText.lzs, LzText.lzs - Use
>LzView.__warnCapability() method to warn for calls to methods 
>without the appropriate capabilities.
>
>LzView.lzs - Add shared, static LzView.__warnCapability('msg',
>'propname') method to warn for calls to methods without the 
>appropriate capabilities.  Use LzView.__warnCapability() instead of 
>this.__warnCapability()...
>
>Tests: All tests run as before.  Better, more explicit warnings with 
>debugger on for calls that were formerly listed as Flash-specific, 
>e.g.'lz.Browser.isAAActive()'.
>
>Files:
>M      WEB-INF/lps/lfc/kernel/swf/LzSprite.as
>M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
>M      WEB-INF/lps/lfc/kernel/dhtml/LzBrowserKernel.lzs
>M      WEB-INF/lps/lfc/kernel/swf9/LzBrowserKernel.lzs
>M      WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
>M      WEB-INF/lps/lfc/services/LzBrowser.lzs
>M      WEB-INF/lps/lfc/services/LzAudio.lzs
>M      WEB-INF/lps/lfc/views/LzInputText.lzs
>M      WEB-INF/lps/lfc/views/LzText.lzs
>M      WEB-INF/lps/lfc/views/LaszloView.lzs
>
>Changeset: 
><http://svn.openlaszlo.org/openlaszlo/patches/20081025-maxcarlson-R.tar>http://svn.openlaszlo.org/openlaszlo/patches/20081025-maxcarlson-R.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081026/cc3eadc6/attachment.html


More information about the Laszlo-dev mailing list