Personal tools

SWF9Tasks

From OpenLaszlo

Contents

SWF9 Kernel Tasks

This is a fine grain working list of swf9 conversion tasks

For the roadmap and overview, see SWF9 Project Roadmap


 - make sure that LzSprite depth-changing APIs are working (send-to-back, bring-to-front)
 - implement multiline  behavior in text sprite

 - debug LzInputTextSprite 
   LzInputText is working basically, but things like focus and selection need to be
   finished and looked at more carefully, since APIs are different in swf9. 
 - LzText optimization: there is a new TextField.appendText Flash API, can we use this
   or add it to the LzText API, to make for more efficient appending of text?
 - debug keyboard kernel service
   I just ported the swf8 version, but the APIs are probably different enough in swf9
   that this code should be thoroughly revisited
 - implement media-player service
 - implement library loader service
 - finish mouse kernel support
 - implement context menu kernel
 - clean up LzTextSprite, in conjunction with LzText task below, to prevent
   multiple calls to setFormat during LzText instantiation
 - make sure LzSprite resize/stretches behavior is correct

LzView

  - Finish porting some LzView methods; some methods are still stubbed out in the
    swf9 code when trying to get things to compile.
    These are mostly the methods to compute bounding box, and the depth modifying methods
   (bringToFront, etc)

LzNode

  - implement deterministic setters on LzNode, LzView, LzText
    Probably actually want to do this in SWF8 LFC code simultaneously, to
    take advantage of regression tests that work there

LzState

There are some issues with making states work. Dynamically adding and removing attributes may be alright, but the dynamic removal and addition of methods is going to have to be modified for swf9 classes.


The Debugger

We need to port as much of the debugger substrate as we can.

We also really really want to link the flex compiler Java libraries into the LPS so that we don't have to 'exec' the flex compiler for each statement that we want to compile for the debugger.

LFC classes which need to be ported or modified to compile in swf9

These classes need to be verified to compile in swf9, or modified to do so.

- "helpers/LzSelectionManager.lzs"
- "helpers/LzDataSelectionManager.lzs"
- "helpers/LzCommand.lzs"


- All of the classes in data/*.lzs

"data/LzDataNode.lzs"
"data/LzDataElement.lzs"
"data/LzDataText.lzs"
"data/LzDataRequest.lzs"
"data/LzDataProvider.lzs"
"data/LzHTTPDataProvider.lzs"
"data/LzDataset.lzs"
"data/LzDatapointer.lzs"
"data/LzParam.lzs"
"data/LzParsedPath.lzs"
"data/LzDatapath.lzs"
"data/LzReplicationManager.lzs"
"data/LzDatasource.lzs"
"data/LzHTTPDatasource.lzs"
"data/LzDataAttrBind.lzs"
"data/LzLazyReplicationManager.lzs"
"data/LzResizeReplicationManager.lzs"
 - #include "services/LzCursor.lzs"
 -    #include "services/platform/swf/LzModeManager.as"
 -    #include "services/platform/swf/LzBrowser.as"
 -    #include "services/platform/swf/LzHistory.as"
"services/LzCSSStyle.js"
"services/LzStyleSheet.js"
"services/LzCSSStyleSheet.js"
"services/LzTrack.lzs"
"services/LzFocus.lzs"