Change maxcarlson-20100824-5nv by maxcarl...@friendly on 2010-08-24 15:48:48 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add basic type declaration support to the compiler
Bugs Fixed: LPP-7354 - Presentation Types (partial)
Technical Reviewer: ptw
QA Reviewer: hminsky
Details: lfc-undeclared - Allow type tags.
LzNode - Use this.acceptAttribute() for style values. Prevent lookup of
presentationtype when not needed by acceptTypeValue().
TypeCompiler - For now, only add new types to the schema.
NodeModel - Always encode user types as a string for LzNode.acceptAttribute().
Compiler - Make the compiler understand TypeCompilers.
ClassModel - Add optional type arg to LZXTag2JSClass, for use later.
Tests: Smokecheck, test/style/metasuite.lzx passes across all runtimes.
Files:
M WEB-INF/lps/schema/lfc-undeclared.lzx
M WEB-INF/lps/lfc/core/LzNode.lzs
M WEB-INF/lps/server/src/org/openlaszlo/compiler/TypeCompiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20100824-5nv.tar