I don't see where you moved the publication of declaredevent and formatter _to_. Otherwise, approved.

On 2008-07-08, at 15:44 EDT, Henry Minsky wrote:

Change 20080708-hqm-m by [EMAIL PROTECTED] on 2008-07-08 15:40:44 EDT
   in /Users/hqm/openlaszlo/trunk4
   for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  allow 'debug=true' to work for swf9

New Features:

Bugs Fixed:

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

Documentation:

Release Notes:

Details:

+ tell compiler to basically ignore 'debug=true' for swf9 compilation

+ move declarations
 lz.DeclaredEventClass = LzDeclaredEventClass;
 lz.Formatter = LzFormatter;
to occur after the lz object is initialized

+ This also means that you can run fdb attached to a browser, e.g.,

fdb "http://127.0.0.1:8080/trunk4/demos/weather/weather.lzx?lzt=swf&lzr=swf9 "

Tests:

weather compiles in swf9, compiles and runs with debug=true flag

run fdb on a swf9 app URL as shown

Files:
M      WEB-INF/lps/lfc/core/LzDefs.lzs
M      WEB-INF/lps/lfc/compiler/LzFormatter.lzs
M      WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java
M      lps/components/debugger/library.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080708-hqm-m.tar

Reply via email to