UPDATED: changed dev-console to write out the lzoptions string using "runtime" rather than "lzr"
Change 20100817-hqm-8 by [email protected] on 2010-08-17 11:46:24 EDT in /Users/hqm/openlaszlo/trunk-clean for http://svn.openlaszlo.org/openlaszlo/trunk Summary: add unified 'lzoptions' support New Features: Bugs Fixed: LPP-3479 Technical Reviewer: ptw QA Reviewer: max Doc Reviewer: (pending) Documentation: Release Notes: Overview: + Added "flexversion" compiler option to select between flash 10.0 and 10.1 + Added support for passing compiler options in unified "lzoptions" string + modified "lzc" command line interpreter to accept 'flexversion' arg Details: + I did not modify "lzc" command line processor to accept the new lzoptions format yet. It still requires the old style discrete flags. Tests: smokecheck in swf10 test/lfc/data in swf10 TLF bidi tests test/tlf/text-test.lzx?lzr=swf10 test/tlf/focus-input.lzx?lzr=swf10 fetching test/hello.lzx using lzoptions http://127.0.0.1:8080/trunk-clean/test/hello.lzx?lzoptions=lzr(swf10),flexversion(10.1) http://127.0.0.1:8080/trunk3/test/hello.lzx?lzoptions=runtime(swf8),debug http://127.0.0.1:8080/trunk3/test/hello.lzx?lzoptions=runtime(dhtml),debug,lzbacktrace verify that dev-console displays correct button and checkbox settings for the selected options (e.g., runtime and debug/backtrace flags) confirm by inspection of as files in compiler apache temp build directory 'lzswf9', that flex compiler is getting passed the arg "-target-player=10.1": /openlaszlo/lib/apache-tomcat-5.5.29/temp/lzswf9/Users/hqm/openlaszlo/trunk-clean/test/build/hello/build.sh Files: M WEB-INF/lps/config/lps.properties M WEB-INF/lps/server/src/org/openlaszlo/utils/LZHttpUtils.java M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java M WEB-INF/lps/server/src/org/openlaszlo/server/LPS.java M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/ResponderCompile.java M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/ResponderAPP_CONSOLE.java M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/ResponderOBJECT.java M WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java M WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java M WEB-INF/lps/server/src/org/openlaszlo/compiler/Main.java M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java A credits/tokenizer.txt M lps/includes/source/embednew.js M lps/includes/source/embed-library.lzs A lps/includes/source/tokenizer.js M lps/includes/source/build.xml 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/20100817-hqm-8.tar
