[Laszlo-dev] For Review: Change 20080804-Philip-4. Summary: Fix (a in b) in LFC and components

Philip Romanik promanik at laszlosystems.com
Mon Aug 4 14:38:52 PDT 2008


Change 20080804-Philip-4 by Philip at Philip-DC on 2008-08-04 13:42:23 EDT
     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix (a in b) in LFC and components

New Features:

Bugs Fixed: LPP-6670 (partial)

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Most uses of 'in' are correct as they refer to keys in hashes. I 
removed 'in' in the LFC and components, with the exception of 
debugging which will be a separate changeset.

In most cases the fix was to make sure the class defines the value 
and then remove the 'in' check.

/data/LzHTTPDataProvider.lzs - secure is always defined

/views/LaszloCanvas.lzs - default version to null and remove check

/views/LaszloView.lzs - onremovesubview exists, removed check

/base/basescrollbar.lzx - Added attributes to remove 'in' checks

/charts/common/valueregion.lzx - Moved stretches into an attribute

/lz/tabs.lzx  background check not necessary.

/utils/replicator/replicator.lzx - All views (and all nodes) have 
setSelected() method.

/incubator/rich-test/richtexteditarea.lzx - default toolbar and 
linkpanel to null and removed checks

/incubator/rich-text/test/formatfontsize.lzx - same as above


Tests:
lzpix in swf/dhtml (problems in swf8: see lpp-6753)
smoketest in swf/dhtml
component_sampler.lzx in swf/dhtml/swf9

Files:
M      WEB-INF/lps/lfc/views/LaszloView.lzs
M      WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M      WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
M      lps/components/charts/styles/chartstyle.lzx
M      lps/components/charts/common/valueregion.lzx
M      lps/components/lz/tabs.lzx
M      lps/components/incubator/rich-text/test/formatfontsize.lzx
M      lps/components/incubator/rich-text/richtexteditarea.lzx
M      lps/components/utils/replicator/replicator.lzx
M      lps/components/base/basescrollbar.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080804-Philip-4.tar



More information about the Laszlo-dev mailing list