The incremental checkbox should display now without any error in DHTML mode,
and the checkbox value will correctly track
the value in the lzoptions query arg.
When you recompile the app via the "Compile" button old-style query arg values
('lzr', 'debug', etc) will be stripped out when generating the new URL
I didn't take Tucker's suggestion to make 'incremental' default to true in
debug mode, because I wanted to let people test this a little bit
before forcing the option on. If it works without trouble for a little while,
we can make it the default.
Change hqm-20110103-jjl by [email protected] on 2011-01-03 00:00:08 EST
in /Users/hqm/openlaszlo/trunk-diamond
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for swf10 incremental compilation mode
New Features:
Bugs Fixed:
Technical Reviewer: ptw
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
The flex incremental compiler mode only works if the app.swf remains from the
last compile. We were deleting
it on each compile, to incremental mode had no effect.
SWF9External.java: preserve old app.swf if compiling in incremental mode
Tests:
+ from lzc:
1. compile an app from lzc, with the "--incremental" flag
2. touch or modify an lzx file, and call lzc again with the --incremental
flag. recompile should be significantly faster (25% or more)
+ via server:
compile an app via the server , check the "incremental" box in the dev
console
(or add "lzoptions=incremental" or "lzoptions=incremental(true)" to URL
query args)
touch or modify an lzx source file
reload app, recompile should be noticably faster (25% or more)
Files:
M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java
M
WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/ResponderCompile.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/CanvasCompiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java
M lps/admin/dev-console.lzx.swf
M lps/admin/dev-console.lzx
M lps/admin/lps/includes/lfc/LFCdhtml.js
M lps/admin/dev-console.lzx.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20110103-jjl.tar