Author: max
Date: 2007-06-18 16:33:14 -0700 (Mon, 18 Jun 2007)
New Revision: 5464

Added:
   openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/LzLibraryCleanup.lzs
Removed:
   openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/swf/LzLibraryCleanup.lzs
Modified:
   openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/Library.lzs
   openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzLibrary.js
   openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/swf/Library.lzs
Log:
Change 20070618-maxcarlson-K by [EMAIL PROTECTED] on 2007-06-18 15:12:31 PDT
    in /Users/maxcarlson/openlaszlo/legals-clean
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Fix instantiation of LzLoader objects

New Features:

Bugs Fixed: LPP-4162 - Implement <library/> support in DHTML

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

Documentation:

Release Notes:

Details: Moved LzLibraryCleanup.lzs from swf kernel to general kernel.  Fixed 
up library includes.

LzLibrary.js - __LZsnippetLoaded() delegates onload event sending to the 
LzLibraryCleanup instance for the library.
    

Tests: 
http://localhost:8080/legals-clean/test/snippets/import-view.lzx?lzr=dhtml&lzt=html
 and 
http://localhost:8080/legals-clean/test/snippets/import-view.lzx?lzr=swf7&lzt=html
 show the text 'loaded'



Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/Library.lzs
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/Library.lzs       
2007-06-18 22:27:55 UTC (rev 5463)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/Library.lzs       
2007-06-18 23:33:14 UTC (rev 5464)
@@ -9,6 +9,7 @@
 
 #include "kernel/LzIdleKernel.lzs"
 #include "kernel/LzUtils.lzs"
+#include "kernel/LzLibraryCleanup.lzs"
 //#include "kernel/LzRequires.lzs"
 if ($dhtml) {
     #include "kernel/dhtml/Library.lzs"

Copied: openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/LzLibraryCleanup.lzs 
(from rev 5461, 
openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/swf/LzLibraryCleanup.lzs)

Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzLibrary.js
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzLibrary.js        
2007-06-18 22:27:55 UTC (rev 5463)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzLibrary.js        
2007-06-18 23:33:14 UTC (rev 5464)
@@ -27,7 +27,6 @@
     super.construct.apply(this, arguments);
     this.sprite = new LzSprite(this, false, args);
     LzLibrary.libraries[args.name] = this;
-    LzLibrary.__libraryurls[args.href] = this;
 }
 
 /**
@@ -46,11 +45,6 @@
 /**
   * @access private
   */
-static var __libraryurls = [];
-
-/**
-  * @access private
-  */
 static function findLibrary (libname){
     return LzLibrary.libraries[libname];
 }
@@ -75,7 +69,8 @@
   * @access private
   */
 static function __LZsnippetLoaded (url){
-    LzLibrary.__libraryurls[url].onload.sendEvent();
+    // Run the queue to instantiate all pending LzInstantiateView calls.
+    canvas.initDone();
 }
 
 }; // End of LzLibrary

Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/swf/Library.lzs
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/swf/Library.lzs   
2007-06-18 22:27:55 UTC (rev 5463)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/swf/Library.lzs   
2007-06-18 23:33:14 UTC (rev 5464)
@@ -21,7 +21,6 @@
 #include "kernel/swf/LzFunctions.as"
 #include "kernel/swf/LzSoundMC.as"
 #include "kernel/swf/LzLibrary.lzs"
-#include "kernel/swf/LzLibraryCleanup.lzs"
 #include "kernel/swf/LzXMLParser.as"
 #include "kernel/swf/LzXMLTranslator.as"
 #include "kernel/swf/LzHTTPLoader.as"

Deleted: 
openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/swf/LzLibraryCleanup.lzs


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

Reply via email to