[Laszlo-dev] For Review: Change 20080402-ptw-I Summary: Implement node id binders

P T Withington ptw at pobox.com
Mon Apr 14 05:00:54 PDT 2008


Change 20080402-ptw-I by ptw at dueling-banjos.local on 2008-04-02  
15:21:17 EDT
     in /Users/ptw/OpenLaszlo/ringding/
     for http://svn.openlaszlo.org/openlaszlo/trunk/

Summary: Implement node id binders

Bugs Fixed:
Henry, do you have a bug filed for this?

Technical Reviewer: hqm (pending)
QA Reviewer: dda (pending)

Details:
     Gobal names need to be bound using closures.

     regression.lzl: Update test to work in swf9

     schema/lfc.lzx: Add $lzc$bind_* attributes

     LzNode, LzReplicationManager: Process binding of id's and global
     names early on.  Remove id setter (you are not allowed to change
     your id dynamically!)  Update destroy to work with id/global name
     binders.

     LzCommand: add missing super call

     LzAnimatorGroup, LzDatapointer: Make toString, _dbg_name safe

     LzParsedPath: improve debug warnings

     LzDataset: No longer define datasets globally

     LzDatapath: You can't smash a method

     Method, ScriptCompiler, ScriptClass, NodeModel, ClassModel,
     CompilerUtils: Distinguish between methods and function-valued
     vars.

Tests:
     Henry's global test no longer complains, ant lztest, ant runlzunit

Files:
M      test/smoke/regression.lzl
M      WEB-INF/lps/schema/lfc.lzx
M      WEB-INF/lps/lfc/core/LzNode.lzs
M      WEB-INF/lps/lfc/helpers/LzCommand.lzs
M      WEB-INF/lps/lfc/controllers/LzAnimatorGroup.lzs
M      WEB-INF/lps/lfc/data/LzReplicationManager.lzs
M      WEB-INF/lps/lfc/data/LzDatapointer.lzs
M      WEB-INF/lps/lfc/data/LzParsedPath.lzs
M      WEB-INF/lps/lfc/data/LzDataset.lzs
M      WEB-INF/lps/lfc/data/LzDatapath.lzs
A      WEB-INF/lps/server/src/org/openlaszlo/sc/Method.java
M      WEB-INF/lps/server/src/org/openlaszlo/sc/ScriptCompiler.java
M      WEB-INF/lps/server/src/org/openlaszlo/sc/ScriptClass.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilerUtils.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080402-ptw-I.tar


More information about the Laszlo-dev mailing list