Change 20080714-hqm-i by [EMAIL PROTECTED] on 2008-07-14 11:48:42 EDT
    in /Users/hqm/openlaszlo/trunk4
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: get lzunit running in swf9

New Features:

Bugs Fixed:

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

Documentation:

Release Notes:

Details:

+ NOTE: the $debug flag is currently set to false unconditionally by
the script compiler when compiling for swf9.

+ modified lzunit to use ...args instead of "arguments" for varargs

+ updated lzunit to not mess with toString method (comment in code said this
was a swf6 workaround)

+ made stub versions of LzMessage, LzSourceMessage, etc, for swf9,
just enough to print out properly in the lzunit display area. These
live in debugger/swf9stubs, which is always loaded for swf9
compilation (regardless of $debug flag)


+ made LzHTTPLoader have a load/error/timeout handlers, so it doesn't
get a runtime error if the handlers aren't set.


+ moved debugger to load AFTER the class system has loaded. This
doesn't really change anything now, but this will support future work to
declare the debugger as a real base class (LzDebugServiceCommon) with
platform-specific subclasses.

Tests:

smokecheck still works in swf8,dhtml
test/lfc/data/alldata.lzx compiles and runs in swf9 (but has test failures)

ant runlzunit

Files:
M      test/lfc/data/datanode.lzx
M      WEB-INF/lps/lfc/kernel/swf9/LzHTTPLoader.as
M      WEB-INF/lps/lfc/debugger/swf9stubs.lzs
M      WEB-INF/lps/lfc/LaszloLibrary.lzs
M      WEB-INF/lps/lfc/compiler/LzFormatter.lzs
A      WEB-INF/lps/lfc/compiler/LzMessage.lzs
M      WEB-INF/lps/lfc/compiler/Library.lzs
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/DebugCompiler.java
M      lps/components/lzunit/lzunit.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080714-hqm-i.tar

Reply via email to