[Laszlo-dev] [UPDATED] For Review: Change 20080327-ptw-U Summary: Temporary work-around for binder methods in instances

P T Withington ptw at pobox.com
Mon Mar 31 14:57:54 PDT 2008


[UPDATED:

This is where I am now.  Setter overrides should be working now, and  
instances should be able to declare constraints without getting an  
error trying to assign to a method at runtime.  Also fixes the issue  
with optional arguments losing implicit this in as2 and dhtml.]

Change 20080327-ptw-U by ptw at dueling-banjos.local on 2008-03-27  
18:20:14 EDT
     in /Users/ptw/OpenLaszlo/ringding-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Temporary work-around for binder methods in instances

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

Details:
     JavascriptGenerator, CodeGenerator: process pragmas anywhere in
     function bodies

     CommonGenerator: keep function body statemets at the same level
     even after inserting formals processing

     NodeModel: Make binder and dependencies methods have unique names
     so instances can add them at run time.  Make binders ignore the
     argument sent by LzDelegate#execute.  Share method adding code
     for methods and setters (so setters will be properly overridden).

     ClassModel: Compute merged attributes and merged methods to
     support subclassing with proper override and/or declaration.

Files:
M      WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
M      WEB-INF/lps/server/src/org/openlaszlo/sc/CommonGenerator.java
M      WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080327-ptw-U.tar


More information about the Laszlo-dev mailing list