[Laszlo-dev] For Review: Change 20080425-dda-f Summary: -S and --script options now redirect to a .lzs file

Donald Anderson dda at ddanderson.com
Fri Apr 25 07:55:52 PDT 2008


Change 20080425-dda-f by dda at lester.local on 2008-04-25 10:44:15 EDT
     in /Users/dda/laszlo/src/svn/openlaszlo/trunk-a
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: -S and --script options now redirect to a .lzs file

New Features:

Bugs Fixed: LPP-5754

Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
     lzc -S foo.lzx now writes to foo.lzs.  This used to be
     achieved by lzc -S foo.lzx > foo.lzs .  There are some oddities
     (that were present before) which make the file need to be editted  
if it is to be used as
     input for the script compiler.  For example, a simple test case  
might end its
     script output with:

canvas.resourcetable["scrollDragDimples_rsc"]={ width : 5, height :11};
canvas.resourcetable["scrollDragTop_rsc"]={ width : 13, height :2};
canvas.resourcetable["scrollDrag_rsc"]={ width : 13, height :1};
__LzDebug.makeDebugWindow()canvas.initDone()

      It appears that __LzDebug.makeDebugWindow() and  
convas.initDone() are separate statements
      that should have semicolon separators.

Tests:
    smokecheck x (swf8,dhtml) + swf9 hello

Files:
M      WEB-INF/lps/server/src/org/openlaszlo/sc/ScriptCompiler.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/Main.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080425-dda-f.tar



--

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

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






More information about the Laszlo-dev mailing list