Approved.

On 2010-11-10, at 18:52, Henry Minsky wrote:

> Change hqm-20101109-0KK by [email protected] on 2010-11-09 15:17:58 EST
>    in /Users/hqm/openlaszlo/trunk1
>    for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: add flag to lzc to control whether platform-specific libraries are 
> compiled into lzo
> 
> New Features:
> 
> Bugs Fixed: LPP-9517
> 
> Technical Reviewer: ptw
> QA Reviewer: max
> Doc Reviewer: (pending)
> 
> Documentation:
> 
> Release Notes:
> 
> Overview:
> 
> Add flag to compiler that says whether to compile platform-specific libraries 
> into an lzo file
> 
> 
> Details:
> 
> 
> Tests:
> 
> In the directory test/testlzo:
> 
> [1] compile the lzo library "libglobal.lzx", with a runtime of dhtml
> and/or swf10, without the "--add-linkable-libraries-for-runtimes" flag
> 
> 
> lzc -c --runtime=swf10,dhtml libglobal.lzx
> 
> inspect the libglobal.lzo file (it's a zip file) and verify that only
> a "lzo" (platform-independent) entry is in it.
> 
> 
> [1.1] 
> 
> Compile the app simple.lzx for runtime=swf10, and verify that it works
> Compile the app simple.lzx for runtime=dhtml, and verify that it works
> 
> 
> [2]  Compile the lzo library "libglobal.lzx", with a runtime of dhtml
> and/or swf10, WITH the "--add-linkable-libraries-for-runtimes" flag (-a for 
> short)
> 
> lzc -c --runtime=swf10,dhtml -a libglobal.lzx
> 
> inspect the libglobal.lzo file (it's a zip file) and verify that a .js and 
> .swc file
> are in it in addition to the lzo (platform-independent) file.
> 
> [2.1] 
> 
> Compile the app simple.lzx for runtime=swf10, and verify that it works
> Compile the app simple.lzx for runtime=dhtml, and verify that it works
> 
> 
> Files:
> M       WEB-INF/lps/server/src/org/openlaszlo/compiler/LibraryWriter.java
> M       
> WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java
> M       WEB-INF/lps/server/src/org/openlaszlo/compiler/IntermediateWriter.java
> M       WEB-INF/lps/server/src/org/openlaszlo/compiler/Main.java
> 
> 
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101109-0KK.tar


Reply via email to