[Laszlo-dev] [Laszlo-checkins] r7226 - in openlaszlo/trunk: . WEB-INF/lps/lfc/core WEB-INF/lps/lfc/views WEB-INF/lps/schema

P T Withington ptw at pobox.com
Tue Nov 13 08:35:25 PST 2007


Crivens!  This is another one of those whacky cases where we have an  
attribute and a method with the same name.  We advertise both  
`setAttribute('play', true)` and `play(...)` to control the playing of  
a clip.  This makes no sense.

Ben (justifiably IMO) felt that if you could set `play` you ought to  
be able to read it.  But, in adjusting that, we lose the `play` method.

I would suggest that the attribute be renamed `playing`, but that  
would be an API change...  Oh, waily, waily.

On 2007-11-13, at 00:00 EST, Max Carlson wrote:

> Hi Ben,
>
> Looks like this change broke LaszloView media playback in DHTML. http://localhost:8080/trunk/test/lfc/legals/multiframeresource.lzx?lzr=dhtml&debug=true 
>  fails with r7226 applied:
>
> ERROR @http://localhost:8080/trunk/lps/includes/lfc/LFCdhtml-debug.js#9803 
> : this.play is not a function
>
>
>
> ben at openlaszlo.org wrote:
>> Author: ben
>> Date: 2007-11-12 17:02:15 -0800 (Mon, 12 Nov 2007)
>> New Revision: 7226
>> Modified:
>>   openlaszlo/trunk/
>>   openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
>>   openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloCanvas.lzs
>>   openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
>>   openlaszlo/trunk/WEB-INF/lps/schema/build.xml
>> Log:
>> Change 20071111-ben-1 by ben at slim.local on 2007-11-11 23:39:32 PST
>>    in /Users/ben/src/svn/openlaszlo/trunk
>>    for http://svn.openlaszlo.org/openlaszlo/trunk
>> Summary: Merge doc tools work into trunk
>> New Features: Correct attributes and events categories for LzView  
>> and LzNode
>> Bugs Fixed:
>> Technical Reviewer: ptw (pending)
>> QA Reviewer: frisco (pending)
>> Doc Reviewer: sundman (pending)
>> Documentation:
>> Release Notes:
>> Details:
>> Merged r7412:7213 from paperpie into trunk. LzNode.lzs and  
>> LaszloView.lzs: added doc comments
>> @lzxtype event
>> @access private @access readonly to make the attributes and events  
>> listed in the reference match
>> the attributes and events listed in the 3.4 reference. Declared
>> variables when necessary, for instance, LzView.clip and  
>> LzView.align. LaszloCanvas.lzs: added doc comments to make the events
>> appear as events. simple-driver.xsl: helpful changes to list events
>> This was checked in by accident with r7221: js2doc2dbk.xsl: Added  
>> entities to simplify code for detecting
>> readonly, final, unwritable, and event attributes. Made
>> inherited events list find events declared with new annotation
>> syntax. Made sure to only generate one index entry for each
>> event.  This was checked in by accident with r7221: docs/src/xsl/ 
>> common-html.xsl: Turned off printing extra
>> debugging info on code examples, and wrapped that code in
>> a parameterized if, so I can turn it on again later easily, by  
>> setting show.examples.debuginfo to true in parameters.xsl.     Tests:
>> Property changes on: openlaszlo/trunk
>> ___________________________________________________________________
>> Name: svnmerge-integrated
>>   - /openlaszlo/branches/paperpie: 
>> 1-6504,6506-6574,6576-7135,7137-7142 /openlaszlo/branches/ 
>> wafflecone: 
>> 1 
>> -5746,5818 
>> -6068,6070 
>> -6205,6207 
>> -6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097 / 
>> openlaszlo/trunk: 
>> 1 
>> -3892,3894 
>> -3952,3954 
>> -4393,4395 
>> -4461,4463 
>> -4467,4469 
>> -4471,4473-5085,5087-5171,5173-5203,5205-5209,5211-5331,5333-5334
>>   + /openlaszlo/branches/paperpie: 
>> 1-6504,6506-6574,6576-7135,7137-7213 /openlaszlo/branches/ 
>> wafflecone: 
>> 1 
>> -5746,5818 
>> -6068,6070 
>> -6205,6207 
>> -6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097 / 
>> openlaszlo/trunk: 
>> 1 
>> -3892,3894 
>> -3952,3954 
>> -4393,4395 
>> -4461,4463 
>> -4467,4469 
>> -4471,4473-5085,5087-5171,5173-5203,5205-5209,5211-5331,5333-5334
>> Modified: openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
>> ===================================================================
>> --- openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs	2007-11-13  
>> 00:55:23 UTC (rev 7225)
>> +++ openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs	2007-11-13  
>> 01:02:15 UTC (rev 7226)
>> @@ -261,22 +261,36 @@
>>  /** This event is sent right before a node becomes active --
>>   * e.g. before a view displays, or before a layout affects its  
>> subviews.
>> +  * @lzxtype event
>>   */
>> var oninit = LzDeclaredEvent;
>>  /** This is the first event a node sends, right
>>   * at the end of the instantiation process, but before any subnodes
>>   * have been created or references resolved
>> +  * @lzxtype event
>>   */
>> var onconstruct = LzDeclaredEvent;
>>  /** The ondata script is executed when the data selected by a  
>> view's datapath
>>   * changes.
>> +  * @lzxtype event     */
>> var ondata = LzDeclaredEvent;
>> -/** If replicated, the index of this clone */
>> +/**
>> +  * If replicated, the index of this clone
>> +  * @lzxtype event
>> +  * @access private
>> +  */
>> var clonenumber = null;
>> +/** +  * @access private +  * @lzxtype event
>> +  */  var onclonenumber = LzDeclaredEvent;
>> +/** +  * @lzxtype event
>> +  */  var ondestroy = LzDeclaredEvent;
>>  /** @access private */
>> @@ -292,6 +306,7 @@
>> /** @access private */
>> var __LZdelegates = null;
>> +/** @access private */
>> var defaultattrs = { $hasdefaultattrs : true };
>>  /**
>> @@ -303,6 +318,7 @@
>>  * @keywords read-only
>>  * @see initstage
>>  * @see oninit
>> + * @access private
>>  */
>> var isinited = false;
>> @@ -312,6 +328,7 @@
>>   * children.
>>   *
>>   * @type Array
>> +  * @keywords readonly
>>   */
>> var subnodes = null;
>> @@ -325,6 +342,7 @@
>>   *
>>   * @type String
>>   * @lzxtype string
>> +  * @keywords readonly
>>   */
>> var datapath = null;
>> @@ -356,6 +374,7 @@
>> var initstage = null;
>> /** @access private */
>> var $isstate = false;
>> +/** @access private */
>> var doneClassRoot = false;
>>  /** Reference to the node that was passed as this
>> @@ -364,14 +383,17 @@
>>   * Its lexical parent is the tag that encloses it. Allow a null  
>> parent
>>   * so that nodes can be garbage collected when they are no longer  
>> needed.
>>   * See also, immediateparent.
>> +  * @keywords readonly
>>   */
>> var parent;
>> +/** @access private */
>> var children = null;
>>  /** If this node is replicated due to data
>>   * replication, the LzReplicationManager which controls this node.
>>   * @type LzNode
>> +  * @keywords readonly
>>   */
>> var cloneManager = null;
>> @@ -388,7 +410,7 @@
>>   * variable name in JavaScript code.
>>   *
>>   * @type String
>> -  * @lzxtype xsd:ID
>> +  * @lzxtype ID
>>   * @keywords final
>>   * @lzxtype token
>>   */
>> @@ -407,6 +429,7 @@
>>   * determinePlacement method.
>>   * @type String
>>   * @lzxtype token
>> +  * @keywords final
>>   */
>> var defaultplacement = null;
>> @@ -432,9 +455,11 @@
>>   * to get a mouse position in your views coordinate system.
>>   *
>>   * @type LzNode
>> +  * @keywords readonly
>>   */
>> var immediateparent = null;
>> +/** @access private */  var dependencies = null;
>>  /** A reference to the node that is an instance
>> @@ -447,16 +472,20 @@
>>   * <code>parent.parent.parent.setAttribute(bgcolor, 0xFFFFFF)</code>
>>   * you can simply use <code>classroot.setAttribute(bgcolor,  
>> 0xFFFFFF)</code>.
>>   * @type LzNode
>> +  * @keywords readonly
>>   */
>> var classroot;
>>  /** The depth of this node in the overall node hierarchy
>>   * @type Number
>> +  * @keywords readonly
>>   */
>> var nodeLevel;
>>  if ($debug) {
>> -    // The source locator table maps source locations to nodes
>> +    /** The source locator table maps source locations to nodes
>> +      * @access private
>> +      */      var sourceLocatorTable = {};
>>      /**
>> @@ -788,6 +817,16 @@
>>   */
>> static var _ignoreAttribute = {toString: function () {
>>                                         return '_ignoreAttribute'}};
>> +                                        +/** +  * Overrides  
>> placement attribute (and defaultplacement in lexical parent). +  *  
>> See the LzNode.determinePlacement method. Defaults to false.
>> +  * @type Boolean
>> +  * @keywords final
>> +  * @lzxdefault "false"
>> +  */
>> +var ignoreplacement;  +                                          /**
>>   * Applies a dictionary of args
>> @@ -1057,6 +1096,7 @@
>> }
>>  +/** @access private */
>> var setters ={
>>     name : "setName" ,
>>     id : "setID" ,
>> Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloCanvas.lzs
>> ===================================================================
>> --- openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloCanvas.lzs	 
>> 2007-11-13 00:55:23 UTC (rev 7225)
>> +++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloCanvas.lzs	 
>> 2007-11-13 01:02:15 UTC (rev 7226)
>> @@ -243,13 +243,18 @@
>>  var initdelay = 0;
>> -/** Sent whenever the number of created nodes changes */
>> +/** Sent whenever the number of created nodes changes +  *  
>> @lzxtype event
>> +  */
>> var onpercentcreated = LzDeclaredEvent;
>> -/** Sent whenever the mouse button goes down*/
>> +/** Sent whenever the mouse button goes down
>> +  * @lzxtype event */
>> var onmousedown = LzDeclaredEvent;
>> -/** Sent whenever the mouse button goes up*/
>> +/** Sent whenever the mouse button goes up
>> +  * @lzxtype event */
>> var onmouseup = LzDeclaredEvent;
>> -/** Sent whenever the mouse moves */
>> +/** Sent whenever the mouse moves +  * @lzxtype event */
>> var onmousemove = LzDeclaredEvent;
>>  /** version number of the LPS that generated this application  
>> (for .lzo files,
>> Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
>> ===================================================================
>> --- openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs	 
>> 2007-11-13 00:55:23 UTC (rev 7225)
>> +++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs	 
>> 2007-11-13 01:02:15 UTC (rev 7226)
>> @@ -52,20 +52,7 @@
>>   * @initarg public String resource: A string denoting the library  
>> resource to use for
>>   * this view. The default is usually 'theEmptyResource'
>>   *
>> -  * In addition to any events documented in the section below,  
>> these events are also available:
>> -  *
>> -  * <event>onmouseupoutside</event>: Sent when the mouse button  
>> comes up outside a
>> -  * view This event is only sent by views which are clickable
>> -  * after it went down over the view. This event is only sent by  
>> views which
>> -  * are clickable
>> -  * <event>onmousedragin</event>: Sent when the mouse button went  
>> down over the view
>> -  * and the button is still down when mouse rolls back inside the  
>> view.
>> -  * This event is only sent by views which are clickable
>> -
>> -  * <event>onmousedragout</event>: Sent when the mouse button went  
>> down over the view
>> -  * and the button is still down when mouse rolls outside the view.
>> -  * This event is only sent by views which are clickable
>>   */
>> class LzView extends LzNode {
>> @@ -76,31 +63,44 @@
>>   */
>> static var tagname = 'view';
>> -/** Event called when this view adds a subview */
>> +/** Event called when this view adds a subview   +  * @access  
>> private
>> +  * @lzxtype event
>> +  */
>> var onaddsubview = LzDeclaredEvent;
>> +/** @access private */
>> var onbgcolor = LzDeclaredEvent;
>> /** The onblur script is executed when an element loses focus either
>>   * by the pointing device or by tabbing navigation.
>> +  * @lzxtype event
>>   */
>> var onblur = LzDeclaredEvent;
>> /** The onclick script is executed when the pointing device button is
>>   * clicked over an element.
>> +  * @lzxtype event     */
>> var onclick = LzDeclaredEvent;
>> +/** @access private */
>> var onclickable = LzDeclaredEvent;
>> /** The onfocus script is executed when an element receives focus
>>   * either by the pointing device or by tabbing navigation.
>> +  * @lzxtype event     */
>> var onfocus = LzDeclaredEvent;   // From LzFocus
>> +/** @lzxtype event */    var onframe = LzDeclaredEvent;
>> -/** Event for changes to view's <attribute>height</attribute>  
>> property */
>> +/** Event for changes to view's <attribute>height</attribute>  
>> property +  * @lzxtype event
>> +  */
>> var onheight = LzDeclaredEvent;
>> +/** @lzxtype event */    var onimload = LzDeclaredEvent;
>>  /** The onkeyup script is executed when this view has the focus  
>> and a
>>   * key is released. This event is sent with the keycode for the  
>> key that    * went up.
>> +  * @lzxtype event
>>   */
>> var onkeyup = LzDeclaredEvent;   // From LzFocus
>> @@ -109,71 +109,140 @@
>>   * key that is held down.  If you want the script executed only
>>   * once, use onkeyup. This event is sent with the keycode for the  
>> key that is
>>   * down.
>> +  * @lzxtype event
>>   */
>> var onkeydown = LzDeclaredEvent; // From LzFocus
>> +/** @lzxtype event */
>> var onlastframe = LzDeclaredEvent;
>> +/** @lzxtype event */
>> var onload = LzDeclaredEvent;
>> +/** @lzxtype event */
>> var onloadperc = LzDeclaredEvent;
>>  /** <event>onerror</event>: Sent when there is an error loading  
>> the view's resource.
>>   * The argument sent with the event is the error string sent by  
>> the server.
>> +  * @access private
>> +  * @lzxtype event
>>   */
>> var onerror = LzDeclaredEvent;
>>  /**
>>   * <event>ontimeout</event>: Sent when the request to load media  
>> for the view times
>>   * out
>> +  * @lzxtype event
>>   */
>> var ontimeout = LzDeclaredEvent;
>> /** The onmousedown script is executed when the pointing device  
>> button is
>>   * pressed over an element.
>> +  * @lzxtype event
>>   */
>> var onmousedown = LzDeclaredEvent;
>>  /** The onmouseout script is executed when the point device is moved
>>   * so that is is no longer over an element.
>> +  * @lzxtype event
>>   */
>> var onmouseout = LzDeclaredEvent;
>> +
>> /** The onmouseover script is executed when the pointing device is
>>   * moved onto an element.
>> +  * @lzxtype event     */
>> var onmouseover = LzDeclaredEvent;
>> +
>> +/** @access private +  * @lzxtype event +  */
>> var onmousetrackover = LzDeclaredEvent;
>> +
>> +/** @access private +  * @lzxtype event +  */
>> var onmousetrackup = LzDeclaredEvent;
>>  /** The onmouseup script is executed when the pointing device  
>> button is
>>   * released over an element.
>> +  * @lzxtype event
>>   */
>> var onmouseup = LzDeclaredEvent;
>> -/** Sent when a view changes its opacity */
>> +
>> +/** +  * Sent when a view changes its opacity +  * @lzxtype event
>> +  */
>> var onopacity = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onplay = LzDeclaredEvent;
>> -/** Event called when this view removes a subview */
>> +/** +  * Event called when this view removes a subview +  *  
>> @lzxtype event
>> +  */  var onremovesubview = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onresource = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onresourceheight = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onresourcewidth = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onrotation = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onstop = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var ontotalframes = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onunstretchedheight = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onunstretchedwidth = LzDeclaredEvent;
>> +/** @lzxtype event */
>> var onvisible = LzDeclaredEvent;
>> -/** @access private */
>> +/** @access private +  * @lzxtype event +  */
>> var onvisibility = LzDeclaredEvent;
>> -/** event for changes to view's <attribute>width</attribute>  
>> property */
>> +/** event for changes to view's <attribute>width</attribute>  
>> property + * @lzxtype event + */
>> var onwidth = LzDeclaredEvent;
>> -/** event for changes to view's <attribute>x</attribute> property */
>> +/** event for changes to view's <attribute>x</attribute> property  
>> + * @lzxtype event
>> + */
>> var onx = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onxoffset = LzDeclaredEvent;
>> -/** event for changes to view's <attribute>y</attribute> property */
>> +/** event for changes to view's <attribute>y</attribute> property  
>> +  * @lzxtype event
>> +  */
>> var ony = LzDeclaredEvent;
>> +/** @access private +  * @lzxtype event +  */
>> var onyoffset = LzDeclaredEvent;
>>  /**
>> @@ -186,10 +255,13 @@
>>   * ondblclick event, will simply send two click events.
>>   * The view's doubleclick time can be adjusted by setting its
>>   * DOUBLE_CLICK_TIME attribute
>> +  * @lzxtype event
>>   */
>> var ondblclick = LzDeclaredEvent;
>> +/** @access private */
>> var DOUBLE_CLICK_TIME = 500;
>> +/** @access private */
>> var capabilities = LzSprite.prototype.capabilities;
>>  /**
>> @@ -311,6 +383,7 @@
>> /** Reference to closest masked view in the hierarchy at or above
>>   * this one
>>   * @type LzView
>> +  * @keywords readonly
>>   */
>> var mask;
>> @@ -318,6 +391,7 @@
>>   * See focus manager (LzFocus) for more details.
>>   * @type Boolean
>>   * @lzxtype boolean
>> +  * @keywords readonly
>>   */
>> var focusable = false;
>> @@ -332,6 +406,7 @@
>>   * @lzxdefault "false"
>>   * @keywords final
>>   */
>> +var clip = false;
>> setters.clip =  -1;
>> setters.x ="setX"
>> setters.y =  "setY";
>> @@ -350,6 +425,7 @@
>>   * @lzxdefault "left"
>>   * @keywords final
>>   */
>> +var align = "left"
>> setters.align = "setAlign"
>>  /**
>> @@ -359,6 +435,7 @@
>>   * @lzxtype "top" | "middle" | "bottom" | constraint
>>   * @lzxdefault "top"
>>   */
>> +var valign = "top"
>> setters.valign = "setValign"
>>  /** The URL from which to load the resource for this
>> @@ -368,6 +445,14 @@
>>   * @lzxtype expression
>>   * @access private
>>   */
>> +var source;
>> +/** +  * As a setter, this is private. It's not really a setter,  
>> because
>> +  * it talks to a private attribute, "source". +  * The method  
>> setSource, defined below, is public, but it's not
>> +  * a setter. [bshine 2007.11.07]
>> +  * @access private +  */  setters.source = "setSource";
>> /** The background color of the canvas.    * @lzxtype token
>> @@ -378,6 +463,7 @@
>>   * be loaded.
>>   * @type String
>>   */
>> +var resource;
>> setters.resource =  "setResource";
>>  /** If true, this view intercepts click events; otherwise they are  
>> passed
>> @@ -387,9 +473,10 @@
>>   */
>> setters.clickable =  "setClickable";
>> /** Setting clickRegion to a vector-based SWF turns the SWF shape  
>> into a clickable hotspot.
>> -  * @access private
>> +  * @access public
>>   * @lzxtype string
>>   */
>> +var clickregion;    setters.clickregion =  "__LZsetClickRegion";
>> /** The cursor to display when the mouse is over this view. Any
>>   * resource can be used as a cursor. This attribute can be set for
>> @@ -397,12 +484,14 @@
>>   * clickable to true.
>>   * @lzxtype token
>>   */
>> +var cursor;   setters.cursor =  "setCursor";
>> /** A color to use to render object that appears inside this view,
>>   * which includes any vector or bitmap art in the view's resource
>>   * and any contained views.
>>   * @lzxtype color
>>   */
>> +var fgcolor;    setters.fgcolor =  "setColor";
>> /** The font to use for any @c{&lt;text>} or @c{&lt;inputtext>}  
>> elements that
>>   * appear inside this view. Like all the font properties
>> @@ -413,6 +502,7 @@
>>   * for any of its subviews.
>>   * @lzxtype string
>>   */
>> +var font;   setters.font = "setFontName" ;
>>  /** The style to use to render text fields that appear inside of
>> @@ -434,42 +524,51 @@
>>   * default for this property is "none". This is used to resize a
>>   * view's contents by setting its width and/or height.
>>   * @lzxtype "width" | "height" | "both"
>> +  * @lzxdefault "none"
>>   */
>> +var stretches = "none";  setters.stretches =   "stretchResource";
>> /** If true, the resource attached to this view begins playing when
>>   * the view is instantiated.
>>   * @lzxtype boolean
>>   */
>> +var play;    setters.play =   "setPlay";
>> /** Show or hide the handcursor for this view, if clickable */
>> setters.showhandcursor =   "setShowHandCursor";
>> +var layout;  setters.layout =   "setLayout";
>>  /** Activate/inactivate children for accessibility
>>   * @type Boolean
>>   * @lzxtype boolean
>>   */
>> +var aaactive;  setters.aaactive =   "setAAActive";
>> /** Set accessibility name
>>   * @type String
>>   * @lzxtype string
>>   */
>> +var aaname;
>> setters.aaname =   "setAAName";
>> /** Set accessibility description
>>   * @type String
>>   * @lzxtype string
>>   */
>> +var aadescription;  setters.aadescription =   "setAADescription";
>> /** Set accessibility tab order
>>   * @type Number
>>   * @lzxtype number
>>   */
>> +var aatabindex;    setters.aatabindex =   "setAATabIndex";
>> /** Set accessibility silencing/unsilencing
>>   * @type Boolean
>>   * @lzxtype boolean
>>   */
>> +var aasilent;  setters.aasilent =   "setAASilent";
>>  __LZdelayedSetters.layout = "setLayout";
>> @@ -492,6 +591,7 @@
>>   */
>> setters.yoffset = "setYOffset";
>> +/** @access private */
>> var sprite = null;
>>  /** A value of true means that this view is shown. A
>> @@ -581,7 +681,7 @@
>>   * to scale a view by a percentage of its original size, or to  
>> determine the
>>   * aspect ratio for a view.
>>   * @type Number
>> -  * @modifiers readonly
>> +  * @keywords readonly
>>   */
>> var unstretchedwidth =   0;
>> /** If stretches is not set to none, the height
>> @@ -589,12 +689,12 @@
>>   * to scale a view by a percentage of its original size, or to  
>> determine the
>>   * aspect ratio for a view.
>>   * @type Number
>> -  * @modifiers readonly
>> +  * @keywords readonly
>>   */
>> var unstretchedheight =   0;
>> /** An array of the subviews that are children of this
>>   * view. This is initialized to an empty array for views that have  
>> no subviews.
>> -  * @modifiers readonly
>> +  * @keywords readonly
>>   */
>> var subviews =   [];
>> /** @access private */
>> @@ -630,7 +730,7 @@
>>  /** The total number of frames for this view's resource.
>>   * @type Number
>> -  * @modifiers readonly
>> +  * @keywords readonly
>>   */
>> var totalframes =   0;
>> /** If this view has a multi-frame resource, this allows setting  
>> which
>> @@ -649,30 +749,35 @@
>> var frame =   0;
>> setters.frame =   "setResourceNumber";
>> -/** @keywords deprecated */
>> +/** @keywords deprecated +  * @access private +  */
>> var loadperc =   0;
>> /** For views whose resource is loaded at runtime,
>>   * the ratio of the loaded frames to the total frames. This is a  
>> number between
>>   * zero and 1.
>>   * @type Number
>> -  * @modifiers readonly
>> +  * @keywords readonly
>>   */
>> var framesloadratio =   0;
>> /** For views whose resource is loaded at runtime,
>>   * ratio of the loaded bytes to the total bytes. This is a number  
>> between    * zero and 1.
>>   * @type Number
>> +  * @keywords readonly
>>   */
>> var loadratio =   0;
>>  /** If true, then setWidth() has been called on this
>>   * view, and the view will not be sized to its contents.    *  
>> @type Boolean
>> +  * @keywords readonly     */
>> var hassetheight = false;
>> /** If true, then setHeight() has been called on this
>>   * view, and the view will not be sized to its contents.    *  
>> @type Boolean
>> +  * @keywords readonly     */
>> var hassetwidth = false;
>> @@ -688,9 +793,11 @@
>> // @access private
>> //
>> // 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>> -
>> +/** @access private */
>> var addedToParent = null;
>> +/** @access private */
>> var checkPlayStatusDel = null;
>> +/** @access private */
>> var masked = false;
>>  /**
>> @@ -698,9 +805,10 @@
>>   * animation. This may be turned off to make the view snap to a
>>   * pixel boundary by setting pixellock to true.
>>   * @lzxtype booleanLiteral
>> +  * @modifiers final
>>   */
>> var pixellock = null;
>> -
>> +/** @access private */
>> var setButtonSize = null;
>>  var clickable = false;
>> @@ -709,6 +817,7 @@
>>   * @lzxtype boolean
>>   */
>> var showhandcursor = null;
>> +/** @access private */
>> var updatePlayDel = null;
>> /**
>>   * A resource that is presented in the background of this view.  The
>> @@ -722,11 +831,11 @@
>> var resource = null;
>>  /**
>> -  * @modifiers readonly
>> +  * @keywords readonly
>>   */
>> var resourcewidth = null;
>> /**
>> -  * @modifiers readonly
>> +  * @keywords readonly
>>   */
>> var resourceheight = null;
>> @@ -2513,6 +2622,7 @@
>>  /** blurring is true if the view is in the process of losing focus.
>>   * @type Boolean
>> +  * @access private    */
>> var blurring = false;
>> Modified: openlaszlo/trunk/WEB-INF/lps/schema/build.xml
>> ===================================================================
>> --- openlaszlo/trunk/WEB-INF/lps/schema/build.xml	2007-11-13  
>> 00:55:23 UTC (rev 7225)
>> +++ openlaszlo/trunk/WEB-INF/lps/schema/build.xml	2007-11-13  
>> 01:02:15 UTC (rev 7226)
>> @@ -56,12 +56,14 @@
>>   <target name="dtd"            description="Generate DTD"  
>> depends="rng"
>>           unless="schemas.uptodate" >
>> +          <?ignore BEN HATES THE DTD
>>       <exec executable="${python.exec}" taskname="rng2dtd"  
>> failonerror="true" >
>>         <arg value="rng2dtd.py"/>
>>         <arg value="${rng}"/>
>>         <arg value="-o"/>
>>         <arg value="${dtd}"/>
>>       </exec>
>> +      ?>
>>   </target>
>>    <target name="clean"  
>> _______________________________________________
>> Laszlo-checkins mailing list
>> Laszlo-checkins at openlaszlo.org
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
>
> -- 
> Regards,
> Max Carlson
> OpenLaszlo.org



More information about the Laszlo-dev mailing list