Author: pbr
Date: 2008-03-03 08:07:34 -0800 (Mon, 03 Mar 2008)
New Revision: 8154

Added:
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LZHTTPDataProvider.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataAttrBind.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataElement.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataNode.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataProvider.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataRequest.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataText.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatapath.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatapointer.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataset.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatasource.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzHTTPDataSource.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzLazyReplicationManager.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzMiniNode.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzParam.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzParsedPath.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzReplicationManager.js
   
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzResizeReplicationManager.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/LzUtils.js
Modified:
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzDefs.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/dummyclasses.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/Library.lzs
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/Library.lzs
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LaszloView.js
   openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LzText.js
Log:
Change 20080303-Philip-a by [EMAIL PROTECTED] on 2008-03-03 10:36:20 EST
     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/devildog
     for http://svn.openlaszlo.org/openlaszlo/branches/devildog

Summary: Data directory converted to as3

New Features:

Bugs Fixed:

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

Documentation:

Release Notes:

Details:
Data-related files have been converted to as3 and stored as .js files in the 
data directory. A few non-data files were modified as needed:

kernel/LzUtils.js
   Converted to class system and removed nested classes core/LzDefs.js
   Changed lzutils to lzcoreutils to avoid name collision core/dummyclasses.js
   Commented out stub files for data classes core/LzNode.js
   Moved some variable definitions to base class (__LZvisDat, layouts).
   cloneManager variable changed to type LzDatapath.
   Added default value to deleteNode argument.
view/LaszloView.js
   Moved 2 variable defs to LzNode


Tests:
lzpix runs in dhtml/swf
smokecheck runs in dhtml/swf

Files:
A      WEB-INF/lps/lfc/kernel/LzUtils.js
M      WEB-INF/lps/lfc/kernel/Library.lzs
M      WEB-INF/lps/lfc/core/LzDefs.js
M      WEB-INF/lps/lfc/core/dummyclasses.js
M      WEB-INF/lps/lfc/core/LzNode.js
M      WEB-INF/lps/lfc/views/LzText.js
M      WEB-INF/lps/lfc/views/LaszloView.js
A      WEB-INF/lps/lfc/data/LzDataAttrBind.js
A      WEB-INF/lps/lfc/data/LzLazyReplicationManager.js
A      WEB-INF/lps/lfc/data/LzDataText.js
A      WEB-INF/lps/lfc/data/LzDataNode.js
A      WEB-INF/lps/lfc/data/LzDataProvider.js
A      WEB-INF/lps/lfc/data/LzDatapath.js
A      WEB-INF/lps/lfc/data/LzDatasource.js
A      WEB-INF/lps/lfc/data/LzParsedPath.js
A      WEB-INF/lps/lfc/data/LzParam.js
A      WEB-INF/lps/lfc/data/LzMiniNode.js
A      WEB-INF/lps/lfc/data/LzReplicationManager.js
A      WEB-INF/lps/lfc/data/LzDatapointer.js
A      WEB-INF/lps/lfc/data/LzDataRequest.js
A      WEB-INF/lps/lfc/data/LzDataElement.js
A      WEB-INF/lps/lfc/data/LZHTTPDataProvider.js
A      WEB-INF/lps/lfc/data/LzDataset.js
A      WEB-INF/lps/lfc/data/LzResizeReplicationManager.js
A      WEB-INF/lps/lfc/data/LzHTTPDataSource.js
M      WEB-INF/lps/lfc/data/Library.lzs


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080303-Philip-a.tar



Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzDefs.js
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzDefs.js 2008-03-03 
15:46:09 UTC (rev 8153)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzDefs.js 2008-03-03 
16:07:34 UTC (rev 8154)
@@ -116,7 +116,7 @@
 
 
 
-class lzutils {
+class lzcoreutils {
     /// TODO [hqm 2008-01] just for debugging until we get debugger up
               #passthrough {
     public static function objAsString(obj:*):String {

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.js
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.js 2008-03-03 
15:46:09 UTC (rev 8153)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/LzNode.js 2008-03-03 
16:07:34 UTC (rev 8154)
@@ -43,6 +43,8 @@
      var _events:Array = null;
      var data:* = null;
      var classChildren:Array = null;
+     var __LZvizDat:Boolean = true;
+     var layouts:* = null; // Used by replication
 
     //////////////////
 
@@ -439,7 +441,7 @@
   * @type LzNode
   * @keywords readonly
   */
-    var cloneManager:LFCNode = null;
+    var cloneManager:LzDatapath = null;
 
 /** The name for this subnode. If given, then this node's
   * parent and immediate parent will store a pointer to this node as the
@@ -678,9 +680,9 @@
 
     static var nodecount = 0;
 function construct ( parent , args ){
-    //trace("LFCNode.construct", nodecount++, parent, 
lzutils.objAsString(args));
+    //trace("LFCNode.construct", nodecount++, parent, 
lzcoreutils.objAsString(args));
     if (parent == null) {
-        //trace("LFCNode construct parent == null, args=", 
lzutils.objAsString(args));
+        //trace("LFCNode construct parent == null, args=", 
lzcoreutils.objAsString(args));
     }
 
   var lp = parent; // lp == lexical parent
@@ -1943,7 +1945,7 @@
 /**
   * @access private
   */
-function deleteNode( recursiveCall ){
+function deleteNode( recursiveCall = null ){
     if ( $debug ){
       Debug.deprecated(this, arguments.callee, this.destroy);
     }

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/dummyclasses.js
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/dummyclasses.js   
2008-03-03 15:46:09 UTC (rev 8153)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/core/dummyclasses.js   
2008-03-03 16:07:34 UTC (rev 8154)
@@ -28,6 +28,7 @@
 
 */
 
+/*
 public class LzParsedPath {
     public static function trim(rp:String):String { return rp; }
 }
@@ -35,9 +36,11 @@
 public class LzDataset {
     public static var slashPat = "/";
 }
+*/
 
 
 
+/*
 public class LzDataAttrBind {
     public function LzDataAttrBind(a:*,b:*,c:*) { }
 }
@@ -45,16 +48,9 @@
 public class LzDatapath {
     public function LzDatapath (...rest) { }
 }
+*/
 
-public class LzDataNode {
-    public function LzDataNode (...rest) { }
-
-    public static function trim (val) {
-        return val;
-    }
-
-}
-
+/*
 class LzDataElement  extends LzDataNode {
     public var children = [];
     public function  LzDataElement (name , cattrs) {
@@ -66,13 +62,16 @@
     }
 
 }
+*/
 
+/*
 class LzDataText  extends LzDataNode {
     public function LzDataText (nv) {
         
     }
 
 }
+*/
 
 public class LzCSSStyle {
 
@@ -89,7 +88,7 @@
         return null;
     }
 
-    public static function getBaseURL( ) {
+    public static function getBaseURL(secure=null, port=null) {
         return null;
     }
 

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LZHTTPDataProvider.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LZHTTPDataProvider.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/Library.lzs
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/Library.lzs       
2008-03-03 15:46:09 UTC (rev 8153)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/Library.lzs       
2008-03-03 16:07:34 UTC (rev 8154)
@@ -8,7 +8,27 @@
   */
 
 if ($swf9) {
+#include "data/LzDataNode.js"
+#include "data/LzMiniNode.js"
+#include "data/LzDataElement.js"
+#include "data/LzDataText.js"
 
+#include "data/LzDataRequest.js"
+#include "data/LzDataProvider.js"
+#include "data/LzHTTPDataProvider.js"
+
+#include "data/LzDataset.js"
+#include "data/LzDatapointer.js"
+#include "data/LzParam.js"
+#include "data/LzParsedPath.js"
+#include "data/LzDatapath.js"
+#include "data/LzReplicationManager.js"
+#include "data/LzDatasource.js"
+#include "data/LzHTTPDatasource.js"
+#include "data/LzDataAttrBind.js"
+
+#include "data/LzLazyReplicationManager.js"
+#include "data/LzResizeReplicationManager.js"
 } else {
 #include "data/LzDataNode.lzs"
 #include "data/LzMiniNode.lzs"

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataAttrBind.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataAttrBind.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataElement.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataElement.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataNode.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataNode.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataProvider.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataProvider.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataRequest.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataRequest.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataText.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataText.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatapath.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatapath.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatapointer.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatapointer.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataset.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDataset.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatasource.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzDatasource.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzHTTPDataSource.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzHTTPDataSource.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzLazyReplicationManager.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzLazyReplicationManager.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzMiniNode.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzMiniNode.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzParam.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzParam.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzParsedPath.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzParsedPath.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzReplicationManager.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzReplicationManager.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzResizeReplicationManager.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/data/LzResizeReplicationManager.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/Library.lzs
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/Library.lzs     
2008-03-03 15:46:09 UTC (rev 8153)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/Library.lzs     
2008-03-03 16:07:34 UTC (rev 8154)
@@ -8,6 +8,8 @@
   */
 
 if ($swf9) {
+    #include "kernel/LzUtils.js"
+
     #include "kernel/swf9/Library.lzs"
     // TODO [hqm 01 2008] Note: we should be able to merge
     // the LzIdleKernel swf9 version with the default version

Added: openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/LzUtils.js


Property changes on: 
openlaszlo/branches/devildog/WEB-INF/lps/lfc/kernel/LzUtils.js
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LaszloView.js
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LaszloView.js    
2008-03-03 15:46:09 UTC (rev 8153)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LaszloView.js    
2008-03-03 16:07:34 UTC (rev 8154)
@@ -609,7 +609,7 @@
 /** @access private */
  var __LZvizO = true;
 /** @access private */
- var __LZvizDat = true;
+// var __LZvizDat = true;  // Moved to Node
 /** @access private */
  var __LZvizLoad= true;
 
@@ -900,7 +900,8 @@
   * @type Object
   * @lzxtype css
   */
- var layouts = null;
+// Moved to LzNode
+// var layouts = null;
 
 
 /**

Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LzText.js
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LzText.js        
2008-03-03 15:46:09 UTC (rev 8153)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/views/LzText.js        
2008-03-03 16:07:34 UTC (rev 8154)
@@ -260,7 +260,7 @@
     args.fontsize = this.fontsize;
     args.fontstyle = this.fontstyle;
     this.tsprite.__initTextProperties(args);
-    //trace("__initTextProperties", lzutils.objAsString(args));
+    //trace("__initTextProperties", lzcoreutils.objAsString(args));
 
     args.font      = LFCNode._ignoreAttribute;
     args.fontsize  = LFCNode._ignoreAttribute;


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

Reply via email to