[Laszlo-dev] For Review: Change 20070817-maxcarlson-L Summary: Unify capability warnings across runtimes

Max Carlson max at openlaszlo.org
Fri Aug 17 13:37:52 PDT 2007


Change 20070817-maxcarlson-L by maxcarlson at plastik on 2007-08-17  
13:21:33 PDT
     in /Users/maxcarlson/openlaszlo/wafflecone
     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Unify capability warnings across runtimes

New Features:

Bugs Fixed: LPP-4200 - Missing warnings in "LzBrowser.js" (DHTML)

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

Documentation:

Release Notes:

Details: LzInputText.lzs - Use this.capabilities instead of  
this.sprite.capabilities and __warnCapability() instead of homespun  
warnings.

LzText.lzs - Only set advanced text methods and setters in construct 
() if capabilities.advancedtext is true.  Use this.capabilities  
instead of this.sprite.capabilities and __warnCapability() instead of  
homespun warnings.

LaszloView.lzs - Expose LzSprite.prototype.capabilities as  
view.capabilities.  Add shared __warnCapability() method.  Use  
this.capabilities instead of this.
sprite.capabilities and __warnCapability() instead of homespun warnings.


Tests: 'ant lztest' and smoketest pass.

Files:
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/20070817- 
maxcarlson-L.tar


More information about the Laszlo-dev mailing list