You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/07/13 04:39:39 UTC

[GitHub] [royale-asjs] estanglerbm opened a new pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

estanglerbm opened a new pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129


   Several Container fixes for SWF target (not related to PR 1041).  These are for issues that predate PR 1041.
   
   That is, after the fix for PR 1041, this is a different set of fixes that are needed to run Containers under SWF.
   
   NOTE:  This may expose (legitimate) problems in some Containers outside of Spark that are using Core LayoutBase but not marked as implementing ILayoutParent.  In that case, there will be an exception in LayoutBase.performLayout(), in either JS or SWF, for the host (Container).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] yishayw commented on pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
yishayw commented on pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#issuecomment-882322282


   Looks good to me. @Harbs , I just noticed you were the official reviewer to this. I felt @estanglerbm 's reasoning for removing the ignore coercion statement was sound, but feel free to revert the merge if you want to take a deeper look if you haven't finished the review.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] estanglerbm commented on a change in pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
estanglerbm commented on a change in pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#discussion_r669544683



##########
File path: frameworks/projects/Core/src/main/royale/org/apache/royale/core/LayoutBase.as
##########
@@ -310,7 +310,6 @@ package org.apache.royale.core
 		 *  @playerversion Flash 10.2
 		 *  @playerversion AIR 2.6
 		 *  @productversion Royale 0.8
-		 * @royaleignorecoercion org.apache.royale.core.ILayoutParent

Review comment:
       It wasn't strictly necessary.  I could put it back in, if that's better.  I took it out because there were hosts not implementing ILayoutParent (but were implementing getLayoutHost()), and this wasn't being caught anywhere on the JS side (only SWF side).  I thought it would be helpful if somewhere in LayoutBase it caught that, and this seemed the best place.  Since casting is a much cheaper operation now, I didn't think it would be bad for performance, but I haven't measured that.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] estanglerbm commented on pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
estanglerbm commented on pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#issuecomment-879804501


   (Not technically just for Containers) Updated with change needed to use skinClass style in skin MXML with SWF target.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] Harbs commented on a change in pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
Harbs commented on a change in pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#discussion_r669516816



##########
File path: frameworks/projects/Core/src/main/royale/org/apache/royale/core/LayoutBase.as
##########
@@ -310,7 +310,6 @@ package org.apache.royale.core
 		 *  @playerversion Flash 10.2
 		 *  @playerversion AIR 2.6
 		 *  @productversion Royale 0.8
-		 * @royaleignorecoercion org.apache.royale.core.ILayoutParent

Review comment:
       Why was it necessary to remove this?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] Harbs commented on pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
Harbs commented on pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#issuecomment-882611445


   It's fine I guess. I spent a lot of time declaring whether coercions are needed or not.
   
   It feels to me like we should have "debug coercions" which disappear in release mode...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] Harbs commented on pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
Harbs commented on pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#issuecomment-882611445


   It's fine I guess. I spent a lot of time declaring whether coercions are needed or not.
   
   It feels to me like we should have "debug coercions" which disappear in release mode...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] yishayw commented on pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
yishayw commented on pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#issuecomment-882292609


   Do these address the issues found by Josh?
   
   https://github.com/apache/royale-asjs/pull/1041#issuecomment-877182238


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] estanglerbm commented on pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
estanglerbm commented on pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#issuecomment-882308414


   @yishayw No, that's why I wrote "(not related to PR 1041)".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] yishayw merged pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
yishayw merged pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] Harbs commented on pull request #1129: Several Container fixes for SWF target (not related to PR 1041)

Posted by GitBox <gi...@apache.org>.
Harbs commented on pull request #1129:
URL: https://github.com/apache/royale-asjs/pull/1129#issuecomment-882611445


   It's fine I guess. I spent a lot of time declaring whether coercions are needed or not.
   
   It feels to me like we should have "debug coercions" which disappear in release mode...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org