[Laszlo-dev] For Review: Change 20081118-hqm-p Summary: fixes for swf9 import libraries

Donald Anderson dda at ddanderson.com
Wed Nov 19 13:49:59 PST 2008


approved!

On Nov 18, 2008, at 9:45 PM, Henry Minsky wrote:

> Change 20081118-hqm-p by hqm at badtzmaru.home on 2008-11-18 21:42:12 EST
>    in /Users/hqm/openlaszlo/trunk4
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: fixes for swf9 import libraries
>
> New Features:
>
> Bugs Fixed: LPP-7370, LPP-7639
>
> Technical Reviewer: ptw
> QA Reviewer: dda
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
>
> + When nodes with id's are declared in a <import> library, we need to
> make a reference to the var in the code so that it gets compiled in
> loaded by the flash loader.
>
> We need to declare the global both in the main app and in the library,
> because these are compiled as separate apps with separate intermediate
> .as files in difference source code directories.
>
> + resources can now be embedded and accessed in the library .swf, and
> should be compiled into the library, we don't need to do the swf7/8  
> hack
> of compiling them into the main app.
>
>
> Tests:
> test/snippets/import-globals.lzx
> test/snippets/import-resource.lzx
>
>
> Files:
> M      test/snippets/dataset-library.lzx
> M      test/snippets/import-globals-lib.lzx
> M      test/snippets/import-globals.lzx
> M      WEB-INF/lps/lfc/kernel/swf9/LzLibrary.as
> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
> CompilationEnvironment.java
> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
> DataCompiler.java
> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
> ImportCompiler.java
>
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081118-hqm-p.tar


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081119/113256ef/attachment.html


More information about the Laszlo-dev mailing list