Approved.

On 2007-01-11, at 16:01 PST, Henry Minsky wrote:

Change 20070111-hqm-0 by [EMAIL PROTECTED] on 2007-01-11 18:50:08 EST
   in /cygdrive/c/users/hqm/openlaszlo/branches/legals

Summary: implement when=immediate feature for script element

New Features:

Bugs Fixed:LPP-2688 class definitions in script tag cause compiler error

Technical Reviewer: ptw
QA Reviewer: ben
Doc Reviewer: sundman

Documentation:

<script> tag accepts when="immediate" (or "normal" for default behavior). With this arg, body of the script is executed immediately as it is lexically
encountered, it is not queued up into the instantiator.

Release Notes:

Details:


This fixes the bug, and also allows arbitrary amounts of code instead
of the 64Kbyte limit of Flash functions. (No function in the script block
can indiviudally be longer
than 64k of compiled byte code though)


Tests:

test case is in the bug report LPP-2688

Files:
M      WEB-INF/lps/schema/lzx.rnc
M
WEB-INF/lps/server/src/org/openlaszlo/compiler/ ScriptElementCompiler.java Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070111- hqm-0.tar

--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to