[Laszlo-dev] [UPDATED^3] For Review: Change 20090130-ptw-t Summary: Implement LFC end of kernel scrolling API

P T Withington ptw at pobox.com
Mon Feb 2 17:07:03 PST 2009


[UPDATED^3: Seems to be passing smokecheck, and the debugger is  
working as before in swf8 and 9. Once Henry finishes the swf9  
callbacks (I did the swf8), that _might_ make scrolledittext 'just  
work' in swf9. And, with this change, I can update the DHTML runtime  
and make the component debugger work in DHTML too, I think.]

Change 20090130-ptw-t by ptw at dueling-banjos.home on 2009-01-30  
18:08:40 EST
     in /Users/ptw/OpenLaszlo/trunk-4
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Implement LFC end of kernel scrolling API

Bugs Fixed: LPP-6580  scrolledittext doesn't work in 4.1 (partial)

Technical Reviewer: max (pending)
QA Reviewer: hminsky (pending)

Details:
     LzSprite.*, LaszloView, LaszloCanvas: Add linescrolling
     capability, unify capabilities as a sprite instance var.

     swf/LzTextSprite.as: Turn on warnUndefinedReferences so we can
     debug this.  Stop making all sorts of undefined references.
     Actually compute `lineheight`.  Use that to implement the
     pixel/line kernel API.  Convert __updatefieldsize to use the new
     scrollevent kernel API.

     swf9/LzTextSprite: Add primitive version of setX/YScroll

     LzInputText: Set tsprite in __makeSprite

     LzText: Implement new kernel scrolling API.  Cache tsprite for
     efficiency.

     newcontent: Silence warnings.

Tests:
     Compiles in swf9, smokecheck in 3 runtimes, component debugger in
     swf8/9, component sampler in 3 runtimes.

Files:
M      WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
M      WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
M      WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M      WEB-INF/lps/lfc/views/LzInputText.lzs
M      WEB-INF/lps/lfc/views/LzText.lzs
M      WEB-INF/lps/lfc/views/LaszloView.lzs
M      WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M      WEB-INF/lps/config/lps.properties
M      lps/components/debugger/newcontent.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090130-ptw-t.tar


More information about the Laszlo-dev mailing list