Author: ben
Date: 2007-11-13 18:31:40 -0800 (Tue, 13 Nov 2007)
New Revision: 7247

Modified:
   openlaszlo/trunk/
   openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
   openlaszlo/trunk/docs/src/build.xml
   openlaszlo/trunk/docs/src/reference/index.dbk
   openlaszlo/trunk/docs/src/xsl/js2doc2dbk.xsl
   openlaszlo/trunk/docs/src/xsl/simple-driver.xsl
Log:
Change 20071113-ben-F by [EMAIL PROTECTED] on 2007-11-13 17:47:05 PST
    in /Users/ben/src/svn/openlaszlo/trunk-for-merging
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Make reference list events and attributes better

New Features:
Technical Reviewer: none 
Doc Reviewer: sundman (pending)

Documentation:
Events appear in reference in Events list, not in the
attributes table. 

Initial arguments are not explicitly listed; instead, the 
associated attribute property is listed as an attribute. 

Reference for LzNode and LzView cleaned up by marking lots
of attributes and some methods "private". 

Get rid of the declaration of LzView.play, because it's 
conflicting with LzView.play(). This is filed as bug
LPP-5098. 

For faster builds, turn off building the charting and 
graphing reference and the cross reference. The c&g 
reference is explicitly excluded from 4.1 reference 
deliverable. The xref is planned to be included as-is, but
since we're not looking at it yet, let's not spend time 
building it. 

Release Notes:

Details:
This checkin is a merge from paperpie of r7216,7229.     

Tests:




Property changes on: openlaszlo/trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /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
   + /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 
/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-14 01:55:16 UTC 
(rev 7246)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs    2007-11-14 02:31:40 UTC 
(rev 7247)
@@ -45,6 +45,7 @@
   * this node.
   * @param Object children
   * @param Boolean instcall
+  * @access private
   */
 function initialize ( parent , attrs , children , instcall ){
         this.__LZUID = "__U" + ++LzNode.__UIDs;
@@ -290,6 +291,7 @@
 var onclonenumber = LzDeclaredEvent;
 /** 
   * @lzxtype event
+  * @access private
   */ 
 var ondestroy = LzDeclaredEvent;
 
@@ -697,7 +699,7 @@
   * If this node's parent is inited, this method clears the queue of nodes
   * awaiting init.
   *
-  * @access protected
+  * @access private
   */
 function __LZinstantiationDone (){
     if ( !this.immediateparent ||  this.immediateparent.isinited ||

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs       2007-11-14 
01:55:16 UTC (rev 7246)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs       2007-11-14 
02:31:40 UTC (rev 7247)
@@ -532,7 +532,6 @@
   * the view is instantiated.
   * @lzxtype boolean
   */
-var play;   
 setters.play =   "setPlay";
 /** Show or hide the handcursor for this view, if clickable */
 setters.showhandcursor =   "setShowHandCursor";
@@ -2439,6 +2438,7 @@
 /**
   * Get the Z order of the view
   * @return Integer: A number representing z level relative to other siblings
+  * @access private
   */
 function getZ () {
     return this.sprite.getZ();
@@ -2697,6 +2697,7 @@
     return this.sprite.getContextMenu();
 }
 
+/** @access private */ 
 function __warnCapability(msg) {
     Debug.warn('The %s runtime does not support %s', lzr, msg); 
 }
@@ -2704,7 +2705,7 @@
 /**
   * LzView.getNextSelection
   * Override to specify the next view to be focused
-  * @access public
+  * @access private
   */
 function getNextSelection() {
 }

Modified: openlaszlo/trunk/docs/src/build.xml
===================================================================
--- openlaszlo/trunk/docs/src/build.xml 2007-11-14 01:55:16 UTC (rev 7246)
+++ openlaszlo/trunk/docs/src/build.xml 2007-11-14 02:31:40 UTC (rev 7247)
@@ -568,7 +568,7 @@
     <property name="ref.visibility.filter" value="public protected"/>
     <property name="ref.show.comments" value="${show.comments}"/>
     <property name="ref.show.fixmes" value="${show.fixmes}"/>
-    
+
     <antcall target="dbk.topic.generate" inheritAll="true">
       <param name="local.input.file" value="${ref.file.in}"/>
       <param name="local.output.file" 
value="${reference.build.dir}/embedref.dbk"/>
@@ -605,6 +605,7 @@
       <param name="dbk.show.fixmes" value="${ref.show.fixmes}"/>
     </antcall>
 
+<?skip for faster builds
     <antcall target="dbk.topic.generate" inheritAll="true">
       <param name="local.input.file" value="${ref.file.in}"/>
       <param name="local.output.file" 
value="${reference.build.dir}/chartref.dbk"/>
@@ -613,6 +614,7 @@
       <param name="dbk.show.comments" value="${ref.show.comments}"/>
       <param name="dbk.show.fixmes" value="${ref.show.fixmes}"/>
     </antcall>
+?>    
 
     <antcall target="dbk.topic.generate" inheritAll="true">
       <param name="local.input.file" value="${ref.file.in}"/>
@@ -631,7 +633,7 @@
       <param name="dbk.show.comments" value="${ref.show.comments}"/>
       <param name="dbk.show.fixmes" value="${ref.show.fixmes}"/>
     </antcall>
-
+    
     <antcall target="dbk.topic.generate" inheritAll="true">
       <param name="local.input.file" value="${ref.file.in}"/>
       <param name="local.output.file" 
value="${reference.build.dir}/devref.dbk"/>
@@ -641,6 +643,7 @@
       <param name="dbk.show.fixmes" value="${ref.show.fixmes}"/>
     </antcall>
 
+<?skip for faster builds
     <style style="xsl/js2doc2xref.xsl"
            in="${ref.file.in}"
            out="${reference.build.dir}/xref.dbk">
@@ -652,6 +655,7 @@
       <param name="show.fixmes" expression="${ref.show.fixmes}"/>
       <param name="build.general.index" expression="1"/>
     </style>
+?>    
   </target>
   
   <target name="reference.preprocess" depends="init,reference.dbk.build"

Modified: openlaszlo/trunk/docs/src/reference/index.dbk
===================================================================
--- openlaszlo/trunk/docs/src/reference/index.dbk       2007-11-14 01:55:16 UTC 
(rev 7246)
+++ openlaszlo/trunk/docs/src/reference/index.dbk       2007-11-14 02:31:40 UTC 
(rev 7247)
@@ -41,16 +41,20 @@
     <xi:fallback><para>Missing: Embedding Reference</para></xi:fallback>
   </xi:include>
 
+<?ignore skip for faster builds
   <xi:include href="chartref.dbk">
     <xi:fallback><para>Missing: Charting Reference</para></xi:fallback>
   </xi:include>
+?>  
 
   <xi:include href="incref.dbk">
     <xi:fallback><para>Missing: Incubator Reference</para></xi:fallback>
   </xi:include>
 
+<?ignore skip for faster builds
   <xi:include href="xref.dbk">
     <xi:fallback><para>Missing: Cross-Reference</para></xi:fallback>
   </xi:include>
+?>  
   
 </book>

Modified: openlaszlo/trunk/docs/src/xsl/js2doc2dbk.xsl
===================================================================
--- openlaszlo/trunk/docs/src/xsl/js2doc2dbk.xsl        2007-11-14 01:55:16 UTC 
(rev 7246)
+++ openlaszlo/trunk/docs/src/xsl/js2doc2dbk.xsl        2007-11-14 02:31:40 UTC 
(rev 7247)
@@ -297,7 +297,7 @@
         <!-- Properties -->    
         <xsl:if test="$show.members.attributes">
           <xsl:call-template name="describe-members">
-            <xsl:with-param name="members" select="$ivars | 
&classvalue;/initarg | $svars"/>
+            <xsl:with-param name="members" select="$ivars[not &isevent;] | 
$svars[not &isevent;]"/>
             <xsl:with-param name="title" select="'Attributes'"/>
             <xsl:with-param name="initargs" select="$initargs" />
             <xsl:with-param name="ivars" select="$ivars" />
@@ -1017,8 +1017,7 @@
         </title>
         <para>
           <xsl:variable name="inheritedattrs" select="$superclass/class/[EMAIL 
PROTECTED]'__ivars__']/object/[EMAIL PROTECTED]'public']"></xsl:variable>
-          <xsl:variable name="initargs" select="$superclass/class/[EMAIL 
PROTECTED]'public']"></xsl:variable>
-          <xsl:variable name="allinheritedattrs" select="$inheritedattrs | 
$initargs" />
+          <xsl:variable name="allinheritedattrs" select="$inheritedattrs" />
           <xsl:for-each select="$allinheritedattrs">
             <xsl:sort select="@name"/>            
             <link linkend="[EMAIL PROTECTED]"><xsl:value-of 
select="@name"/></link>

Modified: openlaszlo/trunk/docs/src/xsl/simple-driver.xsl
===================================================================
--- openlaszlo/trunk/docs/src/xsl/simple-driver.xsl     2007-11-14 01:55:16 UTC 
(rev 7246)
+++ openlaszlo/trunk/docs/src/xsl/simple-driver.xsl     2007-11-14 02:31:40 UTC 
(rev 7247)
@@ -22,6 +22,7 @@
 <!ENTITY isvisible      '(contains("public", @access))'>
 
 <!ENTITY ispublic       '(@access="public")'>
+<!ENTITY isevent        '((doc/[EMAIL PROTECTED]"lzxtype"]/text) = "event" or 
@type="LzEvent")'>
 
 
 
@@ -82,8 +83,8 @@
         </xsl:for-each>
         
         
-        instancevariables: 
-        <xsl:for-each select="$instancevariables">
+        non-event instancevariables: 
+        <xsl:for-each select="$instancevariables[not &isevent;]">
             <xsl:sort select="@name" />            
             <xsl:value-of select="@name"/>,             
         </xsl:for-each>            


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to