[Laszlo-dev] For Review: Change 20071026-Philip-8. Summary: Convert swf kernel to lfc class system (swf9 kernel)
Max Carlson
max at openlaszlo.org
Wed Oct 31 11:25:16 PDT 2007
Approved! I wonder if we should hook this up to lzr=swf9 and add a
button to the developer's console? Can you file a bug to make sure this
happens if it's not already in the works? Thanks!
Philip Romanik wrote:
> Change 20071026-Philip-8 by Philip at Philip-DC on 2007-10-26 15:32:12 EDT
> in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Convert swf kernel to lfc class system (swf9 kernel)
>
> New Features:
>
> Bugs Fixed:
>
> Technical Reviewer: ptw
> QA Reviewer: max
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
> Convert the *.as files to *.lzs files by converting each file to the lfc
> class system. No functionality changes have been made. No indentation
> changes have been
> made to minimize the changes.
>
> Note, any changes to the kernel/swf files (beyond r6975) will have to be
> merged to the /swf9 directory.
>
> Some files contained singleton objects. These were converted to classes
> with a single instance. For example, LzScreenKernel becomes
> LzScreenKernelClass which is
> instantiated at the end of the file,
> var LzScreenKernel = new LzScreenKernelClass;
>
> There are some commented labeled //TODO or //PBR TODO which highlight
> some items I need to verify or modify. They don't seem to prevent the
> swf9 kernel from running.
>
> The two most interesting files to review are LzScreenKernel.lzs and
> LzMouseKernel.lzs. Another interesting change is with
> LzTextSprite.set{Width,Height}.
>
> I did not convert the dojo directories. I don't know if there is a
> flash9 version of these files. The file kernel/swf9/Library.lzs
> references the /swf/dojo files for now.
>
>
> Tests:
>
> Modify /kernel/Library.lzs to call
> #include "kernel/swf9/Library.lzs"
> instead of
> #include "kernel/swf/Library.lzs"
>
> Rebuild and applications continue to work. I tested with lzpix,
> calendar, component sampler, and tree.
>
>
>
> Files:
> M WEB-INF/lps/lfc/kernel/swf9/LzMakeLoadSprite.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzMediaLoader.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzHTTPLoader.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzSprite.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzSoundMC.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzFunctions.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzXMLTranslator.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzXMLParser.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzScreenKernel.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzLoadQueue.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzMouseKernel.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.lzs
> M WEB-INF/lps/lfc/kernel/swf9/Library.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzRequires.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzAudio.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzFontManager.lzs
> M WEB-INF/lps/lfc/kernel/swf9/LzKeyboardKernel.lzs
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20071026-Philip-8.tar
>
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list