Change 20071204-ptw-z by [EMAIL PROTECTED] on 2007-12-04 17:04:11 EST
    in /Users/ptw/OpenLaszlo/ringding-2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Implement scriptlimits for SWF runtime

New Features: The canvas tag has a new attribute, swflimits which is
of type css, which can be used to override the default recursion (256)
and timeout (15s) limits.  To do so you say:
  <canvas scriptlimits="timeout: 30">
or to override both limits
  <canvas scriptlimits="recursion: 300; timeout: 30">

Bugs Fixed:

Technical Reviewer: [EMAIL PROTECTED] (pending)
QA Reviewer: [EMAIL PROTECTED] (pending)
Doc Reviewer: [EMAIL PROTECTED] (pending)

Documentation:
See "New Features".  For complete example demonstration, see the test
case attached to the bug.

Details:
    schema/lfc: add scriptlimits attribute to canvas

    CanvasCompiler: parse scriptlimits and store in environment

    SWFWriter: Don't try to write scriptlimits immediately.  When
    closing the file, if the limits have been set (are non-zero) add
    them.

ScriptLimits: Correct defaults. If called with a 0 value, use the default.

Tests:
    smokecheck, test case from Jira

Files:
M      WEB-INF/lps/schema/lfc.lzx
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ CanvasCompiler.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java
M WEB-INF/lps/server/jgenerator-2.2/src/org/openlaszlo/iv/flash/ api/ScriptLimits.java


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071204-ptw-z.tar

Reply via email to