Hi Alina,

Why are these changes being made?  I don't see rawChildren in the API report, 
and UIComponent probably won't be allowed in SystemManager.  Did the API-report 
miss these APIs?

Thanks,
-Alex

On 7/20/18, 4:42 AM, "alinak...@apache.org" <alinak...@apache.org> wrote:

    This is an automated email from the ASF dual-hosted git repository.
    
    alinakazi pushed a commit to branch feature/MXRoyale
    in repository 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&amp;data=02%7C01%7Caharui%40adobe.com%7C878ea8494fe74d48e8f108d5ee35edb8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636676837742598979&amp;sdata=cF4%2BAwHXXZFLulvRadx%2BjxsCDgnviWyKjTf%2BfGd2bIc%3D&amp;reserved=0
    
    
    The following commit(s) were added to refs/heads/feature/MXRoyale by this 
push:
         new bfaf72d  Update SystemManager.as
    bfaf72d is described below
    
    commit bfaf72d42f0f7976f876491f4c47105a70d942e4
    Author: alinakazi <alinakazi1...@gmail.com>
    AuthorDate: Fri Jul 20 16:42:50 2018 +0500
    
        Update SystemManager.as
    ---
     .../src/main/royale/mx/managers/SystemManager.as      | 19 
++++++++++---------
     1 file changed, 10 insertions(+), 9 deletions(-)
    
    diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
    index 2277071..46cf4d1 100644
    --- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
    +++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
    @@ -94,9 +94,9 @@ use namespace mx_internal;
     import mx.core.IChildList;
     import mx.core.IFlexDisplayObject;
     import mx.core.IUIComponent;
    -
    +import mx.core.UIComponent;
     import org.apache.royale.core.IUIBase;
    -import org.apache.royale.events.IEventDispatcher;
    +import org.apache.royale.events.IEventDispatcher;
     
     //--------------------------------------
     //  Events
    @@ -1286,7 +1286,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
          *  Storage for the rawChildren property.
          */
         // private var _rawChildren:SystemRawChildrenList;
    -
    +   private var _rawChildren:IChildList;
         /**
          *  @inheritDoc
          *  
    @@ -1295,18 +1295,18 @@ public class SystemManager extends 
SystemManagerBase implements ISystemManager,
          *  @playerversion AIR 1.1
          *  @productversion Royale 0.9.4
          */
    -    /*
    +   
          public function get rawChildren():IChildList
         {
             //if (!topLevel)
             //  return _topLevelSystemManager.rawChildren;
     
    -       if (!_rawChildren)
    -            _rawChildren = new SystemRawChildrenList(this);
    +      /*  if (!_rawChildren)
    +            _rawChildren = new SystemRawChildrenList(this); */
     
             return _rawChildren;
         } 
    -    */
    +    
     
         
//--------------------------------------------------------------------------
         //  screen
    @@ -3336,9 +3336,10 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
          *  @playerversion AIR 1.1
          *  @productversion Royale 0.9.4
          */
    -    public function getSandboxRoot():Object
    +    public function getSandboxRoot():UIComponent
         {
    -           return this;
    +    var temp:UIComponent;
    +           return temp;
             // work our say up the parent chain to the root. This way we
             // don't have to rely on this object being added to the stage.
             /* var sm:ISystemManager = this;
    
    

Reply via email to