Author: ptw
Date: 2007-12-17 17:08:07 -0800 (Mon, 17 Dec 2007)
New Revision: 7574
Added:
openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/platform/
openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/platform/js2/
openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/platform/js2/Instance.js
Modified:
openlaszlo/branches/devildog/WEB-INF/lps/lfc/LaszloLibrary.lzs
openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/Library.lzs
Log:
Change 20071217-ptw-6 by [EMAIL PROTECTED] on 2007-12-17 17:31:35 EST
in /Users/ptw/OpenLaszlo/devildog
for http://svn.openlaszlo.org/openlaszlo/branches/devildog
Summary: Class support for swf9
Technical Reviewer: [EMAIL PROTECTED] (message://<[EMAIL PROTECTED]>)
QA Reviewer: [EMAIL PROTECTED] (pending)
Details:
Move the part of Class.lzs that is needed for swf9 into
platform/js2/Instance
Tests:
The file compiles for me.
Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/LaszloLibrary.lzs
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/LaszloLibrary.lzs
2007-12-17 22:41:55 UTC (rev 7573)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/LaszloLibrary.lzs
2007-12-18 01:08:07 UTC (rev 7574)
@@ -12,15 +12,15 @@
/** @access private */
var _Copyright = "Portions of this file are copyright (c) 2001-2007 by Laszlo
Systems, Inc. All rights reserved.";
+// Compiler runtime support first
+#include "compiler/Library.lzs"
+
if ($swf9) {
#include "core/LibrarySWF9.lzs"
} else {
-// Compiler runtime support first
-#include "compiler/Library.lzs"
-
if ($debug) {
// Must be loaded second
#include "debugger/Library.lzs"
Modified: openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/Library.lzs
===================================================================
--- openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/Library.lzs
2007-12-17 22:41:55 UTC (rev 7573)
+++ openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/Library.lzs
2007-12-18 01:08:07 UTC (rev 7574)
@@ -14,9 +14,19 @@
* you understand why they are the way they are.
*/
+if ($swf9) {
+
+// Class runtime for js2 runtimes
+#include compiler/platform/js2/Instance.js
+
+} else {
+
// Basic runtime and stubs
#include "compiler/LzRuntime.lzs"
-// Class runtime
+// Class runtime for js1 runtimes
+// TODO [2007-12-17 ptw] Move to platform/js1
#include "compiler/Class.lzs"
// Debugger requires this, so must be loaded very early
#include "compiler/LzFormatter.lzs"
+
+}
Added:
openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/platform/js2/Instance.js
Property changes on:
openlaszlo/branches/devildog/WEB-INF/lps/lfc/compiler/platform/js2/Instance.js
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins