[GitHub] [royale-asjs] yishayw commented on issue #1218: multi line commnets under throws error

2023-01-19 Thread GitBox


yishayw commented on issue #1218:
URL: https://github.com/apache/royale-asjs/issues/1218#issuecomment-1396712449

   I think this guy had a [similar 
issue](https://stackoverflow.com/questions/11962787/antlr-error-recovery-causing-a-nullpointerexception-in-java),
 but I am not sure how to implement his solution in our case.
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw closed issue #1218: multi line commnets under throws error

2023-01-19 Thread GitBox


yishayw closed issue #1218: multi line commnets under  throws error
URL: https://github.com/apache/royale-asjs/issues/1218


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1218: multi line commnets under throws error

2023-01-11 Thread GitBox


yishayw commented on issue #1218:
URL: https://github.com/apache/royale-asjs/issues/1218#issuecomment-1378789829

   Yes, I was able to reproduce it too. This is the stack trace
   
   ```
   [mxmlc] 
C:\dev\full_royale_sdk\royale-asjs\examples\royale\HelloWorld\src\main\royale\HelloWorld.mxml
 Error: Internal error in ABC generator subsystem, when generating code for: 
C:\dev\full_royale_sdk\royale-asjs\examples\royale\HelloWorld\src\main\royale\HelloWorld.mxml:
 java.lang.NullPointerException
   [mxmlc] at 
org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:73)
   [mxmlc] at 
org.antlr.runtime.tree.CommonTreeNodeStream.nextElement(CommonTreeNodeStream.java:104)
   [mxmlc] at 
org.antlr.runtime.misc.LookaheadStream.fill(LookaheadStream.java:113)
   [mxmlc] at 
org.antlr.runtime.misc.LookaheadStream.syncAhead(LookaheadStream.java:107)
   [mxmlc] at 
org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:129)
   [mxmlc] at 
org.apache.royale.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:204)
   [mxmlc] at 
org.apache.royale.compiler.internal.css.CSSDocument.parse(CSSDocument.java:81)
   [mxmlc] at 
org.apache.royale.compiler.internal.tree.mxml.MXMLStyleNode.getCSSDocument(MXMLStyleNode.java:94)
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLStyle(MXMLClassDirectiveProcessor.java:4332)
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:990)
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:864)
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:834)
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:656)
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:551)
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:236)
 
   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:192)

   [mxmlc] at 
org.apache.royale.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:126)
   [mxmlc] at 
org.apache.royale.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:202)
   [mxmlc] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:876)
   [mxmlc] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:109)2.078204
 seconds
   [mxmlc]
   [mxmlc] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:313)
   
   [mxmlc] at 
org.apache.royale.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
   
   [mxmlc] at 
org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
   [mxmlc] at 
org.apache.royale.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
   [mxmlc] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   [mxmlc] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   [mxmlc] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   [mxmlc] at java.lang.Thread.run(Thread.java:748)
   [mxmlc]
   [mxmlc]
   [mxmlc]
   [mxmlc] Error: Unexpected exception 'java.lang.NullPointerException' at 
org.antlr.runtime.tree.BaseTreeAdaptor.isNil:73   
   [mxmlc]
   ```


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] sanjeev-rajput commented on issue #1218: multi line commnets under throws error

2023-01-10 Thread GitBox


sanjeev-rajput commented on issue #1218:
URL: https://github.com/apache/royale-asjs/issues/1218#issuecomment-1378290507

   I can still see the error.
   something is wrong while reading the comments inside script tag. Few or the 
use case are
   1. I am with "" not "
   2.  it happens only with Main.mxml which uses  tag 
   3. it doesn't happens while using such comments inside other mxml component/ 
file
   
   attaching my screenshot 
   
   
![issue](https://user-images.githubusercontent.com/69131457/211732288-ac53f441-9263-4840-b2a5-6f15892dc3d9.png)
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1218: multi line commnets under throws error

2023-01-09 Thread GitBox


yishayw commented on issue #1218:
URL: https://github.com/apache/royale-asjs/issues/1218#issuecomment-1375652317

   I tried replacing HelloWorld.mxml with
   
   ```
   http://ns.adobe.com/mxml/2009;
  xmlns:js="library://ns.apache.org/royale/basic" >
   
   
   
   
   

   
   

/*.TitleBar{
border:solid 1px grey;
}*/
/*.DataContainer{
border:solid 1px grey;
}*/


   
   
   ```
   
   And it is compiling correctly for me. Can you please do the same and report?


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] sanjeev-rajput opened a new issue, #1218: multi line commnets under throws error

2023-01-04 Thread GitBox


sanjeev-rajput opened a new issue, #1218:
URL: https://github.com/apache/royale-asjs/issues/1218

   compiler throws "java.lang.NullPointerException" error
   this is because of comments under  
   http://ns.adobe.com/mxml/2009;
xmlns:js="library://ns.apache.org/royale/basic"
xmlns:j="library://ns.apache.org/royale/jewel">

/*.TitleBar{
border:solid 1px grey;
}*/
/*.DataContainer{
border:solid 1px grey;
}*/


   


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] Harbs commented on issue #1217: js-debug vs js-release

2022-12-22 Thread GitBox


Harbs commented on issue #1217:
URL: https://github.com/apache/royale-asjs/issues/1217#issuecomment-1362553502

   It does probably make sense to not add the `min.` to the name for release. 
It doesn't really add anything.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] sanjeev-rajput commented on issue #1217: js-debug vs js-release

2022-12-21 Thread GitBox


sanjeev-rajput commented on issue #1217:
URL: https://github.com/apache/royale-asjs/issues/1217#issuecomment-1362435833

   @Harbs - it does works
   
   the main confusion is - you won't find "Main.min.css" in debug mode but it 
appears in "js-release"
   
   **this is what my index-template.html**
   
   
   

   


   Learning Module

   ${head}
   
   
   ${body}
   
   
   
   **asconfig.json**
   {
   "config": "royale",
   "compilerOptions": {
   "debug": true,
   "targets": ["JSRoyale"],
   "source-map": true,
   "html-template": "src/assets/config/resources/index-template.html",
   "theme": 
"${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
   },
   "copySourcePathAssets": true,
   "additionalOptions": "-remove-circulars 
-js-output-optimization=skipAsCoercions",
   "files":
   [
   "src/Main.mxml"
   ]
   }
   
   
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] Harbs commented on issue #1217: js-debug vs js-release

2022-12-21 Thread GitBox


Harbs commented on issue #1217:
URL: https://github.com/apache/royale-asjs/issues/1217#issuecomment-1361256086

   Actually, here's what I have in my template file:
   ``
   
   `${application}.css` becomes MyApp.css in debug and MyApp.min.css in 
release. I have a build script which appends the build number for cache-busting.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] Harbs commented on issue #1217: js-debug vs js-release

2022-12-21 Thread GitBox


Harbs commented on issue #1217:
URL: https://github.com/apache/royale-asjs/issues/1217#issuecomment-1361251065

   Regarding your first point: What does your template html file look like? 
Make sure you have the `${head}` token. Your minified css file should be 
correctly linked.
   
   Regarding your second point, please read this page: 
https://apache.github.io/royale-docs/create-an-application/optimizations/minification


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] sanjeev-rajput opened a new issue, #1217: js-debug vs js-release

2022-12-21 Thread GitBox


sanjeev-rajput opened a new issue, #1217:
URL: https://github.com/apache/royale-asjs/issues/1217

   **1. CSS file** 
   Build works with "js-debug" but in "js-release" compiler change file name 
Main.css to Main.min.css but entry of css file doesn't reflects in "index.html"
   
   
   **2. Reading JSON file**
   
in "js-debug" 
   
   _data is a JSON object
   
   for each(var i:Object in _data){ 
   trace(i.topic); 
   }
   this works perfectly file in "js-debug" but doesn't works in "js-release" it 
has to be change as below
   
   for each(var i:Object in _data){
   trace(i['topic']);
   }


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] Harbs commented on issue #1167: Add bdd style testing

2022-12-15 Thread GitBox


Harbs commented on issue #1167:
URL: https://github.com/apache/royale-asjs/issues/1167#issuecomment-135467

   OK. Thanks.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] joshtynjala commented on issue #1167: Add bdd style testing

2022-12-15 Thread GitBox


joshtynjala commented on issue #1167:
URL: https://github.com/apache/royale-asjs/issues/1167#issuecomment-1353291691

   @Harbs So far, I've simply exposed the current assertions that we already 
had available. I have plans to add more, but I figured that this was a good 
starting point for now.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] Harbs commented on issue #1167: Add bdd style testing

2022-12-15 Thread GitBox


Harbs commented on issue #1167:
URL: https://github.com/apache/royale-asjs/issues/1167#issuecomment-1353283201

   Am I missing something? I don't see flags and many of the behaviors 
mentioned here: 
http://man.hubwiz.com/docset/Chai.docset/Contents/Resources/Documents/chaijs.com/api/bdd/index.html


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] Harbs commented on issue #1167: Add bdd style testing

2022-12-15 Thread GitBox


Harbs commented on issue #1167:
URL: https://github.com/apache/royale-asjs/issues/1167#issuecomment-1353272383

    


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] joshtynjala closed issue #1167: Add bdd style testing

2022-12-14 Thread GitBox


joshtynjala closed issue #1167: Add bdd style testing
URL: https://github.com/apache/royale-asjs/issues/1167


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #212: Issue on setting Date

2022-12-12 Thread GitBox


joshtynjala closed issue #212: Issue on setting Date
URL: https://github.com/apache/royale-compiler/issues/212


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1216: his.generateMXMLAttributes using NumberFormatter and CurrencyFormatter

2022-12-12 Thread GitBox


yishayw commented on issue #1216:
URL: https://github.com/apache/royale-asjs/issues/1216#issuecomment-1346112765

   The following works for me:
   
   ```
   
   
   http://ns.adobe.com/mxml/2009;
xmlns:custom="*"
xmlns:mx="library://ns.apache.org/royale/mx">
   
   
   
   
   
   
   < id="usdFormatter" precision="2" 
   currencySymbol="$" decimalSeparatorFrom="."
   decimalSeparatorTo="." useNegativeSign="true" 
   useThousandsSeparator="true" alignSymbol="left"/>
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   ```
   
   Where custom:CustomFormatter  is
   
   ```
   
   
   
   
   ```


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] javeiga commented on issue #1216: his.generateMXMLAttributes using NumberFormatter and CurrencyFormatter

2022-12-11 Thread GitBox


javeiga commented on issue #1216:
URL: https://github.com/apache/royale-asjs/issues/1216#issuecomment-1345620980

   Using CurrencyFormatter as a custom Component
   
   http://ns.adobe.com/mxml/2009;
xmlns:mx="library://ns.apache.org/royale/mx">
   
   
   Then im using it from the view like that:
   
   
   The error is displayed when initializing the view that uses it generating 
failure and not displaying the view.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] Harbs commented on issue #1216: his.generateMXMLAttributes using NumberFormatter and CurrencyFormatter

2022-12-11 Thread GitBox


Harbs commented on issue #1216:
URL: https://github.com/apache/royale-asjs/issues/1216#issuecomment-1345592939

   How are you using it?


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] javeiga opened a new issue, #1216: his.generateMXMLAttributes using NumberFormatter and CurrencyFormatter

2022-12-11 Thread GitBox


javeiga opened a new issue, #1216:
URL: https://github.com/apache/royale-asjs/issues/1216

   When we use NumberFormatter and CurrencyFormatter, we get the 
"this.generateMXMLAttributes is not a function" error at run time


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #213: CDATA literal text error due to Data Binding, and newlines lost

2022-12-07 Thread GitBox


joshtynjala closed issue #213: CDATA literal text error due to Data Binding, 
and newlines lost
URL: https://github.com/apache/royale-compiler/issues/213


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala commented on issue #213: CDATA literal text error due to Data Binding, and newlines lost

2022-12-07 Thread GitBox


joshtynjala commented on issue #213:
URL: 
https://github.com/apache/royale-compiler/issues/213#issuecomment-1341586279

   Hmmm... actually, MX `TextArea` in the Flex SDK also has 
`[CollapseWhiteSpace]`.
   
   
https://github.com/apache/flex-sdk/blob/apache-flex-sdk-4.16.1/frameworks/projects/mx/src/mx/controls/TextArea.as#L1733
   
   So it looks like whitespace is collapsed _except_ when it is contained 
within CData.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #213: CDATA literal text error due to Data Binding, and newlines lost

2022-12-07 Thread GitBox


joshtynjala closed issue #213: CDATA literal text error due to Data Binding, 
and newlines lost
URL: https://github.com/apache/royale-compiler/issues/213


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala commented on issue #213: CDATA literal text error due to Data Binding, and newlines lost

2022-12-07 Thread GitBox


joshtynjala commented on issue #213:
URL: 
https://github.com/apache/royale-compiler/issues/213#issuecomment-1341578137

   I fixed the compiler issue where it incorrectly detected `{` and `}` as data 
binding inside CDATA. The missing new lines are because the MX `TextArea` 
component in Royale has `[CollapseWhiteSpace]` metadata on the `text` property. 
If you think that's wrong, it'll need to be handled on the royale-asjs side. 
The compiler is handling `[CollapseWhiteSpace]` correctly.
   
   
https://github.com/apache/royale-asjs/blob/apache-royale-0.9.9/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextArea.as#L1697


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #216: Compile error when passing function generator to labelField

2022-12-07 Thread GitBox


joshtynjala closed issue #216: Compile error when passing function generator to 
labelField
URL: https://github.com/apache/royale-compiler/issues/216


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] joshtynjala closed issue #1211: Can't build project Framework: Libs: Graphics

2022-12-07 Thread GitBox


joshtynjala closed issue #1211: Can't build project Framework: Libs: Graphics
URL: https://github.com/apache/royale-asjs/issues/1211


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] joshtynjala commented on issue #1211: Can't build project Framework: Libs: Graphics

2022-12-07 Thread GitBox


joshtynjala commented on issue #1211:
URL: https://github.com/apache/royale-asjs/issues/1211#issuecomment-1341266279

   I confirm that the URL is working for me too. Perhaps it was just a hiccup 
in the Apache mirroring system.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] joshtynjala closed issue #1180: As3 / JS error in date properties

2022-12-07 Thread GitBox


joshtynjala closed issue #1180: As3 / JS error in date properties
URL: https://github.com/apache/royale-asjs/issues/1180


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala commented on issue #219: Support for new AIR 50 SDK AS3 language features

2022-11-29 Thread GitBox


joshtynjala commented on issue #219:
URL: 
https://github.com/apache/royale-compiler/issues/219#issuecomment-1331478173

   New AIR 50 AS3 language features are now implemented in the Royale compiler.
   
   There is currently one intentional difference from AIR 50 in the nullish 
coalescing operator, and I opened a discussion here: 
airsdk/Adobe-Runtime-Support#2327


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #219: Support for new AIR 50 SDK AS3 language features

2022-11-29 Thread GitBox


joshtynjala closed issue #219: Support for new AIR 50 SDK AS3 language features
URL: https://github.com/apache/royale-compiler/issues/219


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed pull request #222: Add support for AIR SDK 50 language features

2022-11-29 Thread GitBox


joshtynjala closed pull request #222: Add support for AIR SDK 50 language 
features
URL: https://github.com/apache/royale-compiler/pull/222


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala commented on pull request #222: Add support for AIR SDK 50 language features

2022-11-29 Thread GitBox


joshtynjala commented on PR #222:
URL: https://github.com/apache/royale-compiler/pull/222#issuecomment-1331475525

   New language features are committed. I included the verbatim string 
implementation from this PR, with some additional commits to fix some bugs.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] greg-dove commented on issue #219: Support for new AIR 50 SDK AS3 language features

2022-11-23 Thread GitBox


greg-dove commented on issue #219:
URL: 
https://github.com/apache/royale-compiler/issues/219#issuecomment-1325616175

   
   > 
   > I have been working on my own implementation the new AS3 language features 
that will work in both SWF and JS. I may not merge this PR as-is, but I'll 
certainly look it over and borrow any ideas that may improve my final commits.
   > 
   > I want to write a good set of tests too, before I merge anything.
   
   For some reason I had a premonition you might also have been looking into 
this, hence my check on that... no evidence, just a "feeling" :). I look 
forward to what eventuates from that, @joshtynjala. Once again, thanks also to 
@piepie62.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala commented on issue #219: Support for new AIR 50 SDK AS3 language features

2022-11-23 Thread GitBox


joshtynjala commented on issue #219:
URL: 
https://github.com/apache/royale-compiler/issues/219#issuecomment-1325595680

   > If someone else could review and approve the PR for swf then, assuming 
@joshtynjala is not already looking into the JS side, I could take a look at 
that this coming weekend.
   
   I have been working on my own implementation the new AS3 language features 
that will work in both SWF and JS. I may not merge this PR as-is, but I'll 
certainly look it over and borrow any ideas that may improve my final commits.
   
   I want to write a good set of tests too, before I merge anything.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala commented on pull request #222: Add support for AIR SDK 50 language features

2022-11-23 Thread GitBox


joshtynjala commented on PR #222:
URL: https://github.com/apache/royale-compiler/pull/222#issuecomment-1325585756

   I have null conditional and nullish coalescing implemented locally (working 
in both SWF and JS), which I was planning to push soon, after I write some 
tests. I'll keep this PR in mind as I proceed.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] ajwfrost commented on issue #219: Support for new AIR 50 SDK AS3 language features

2022-11-22 Thread GitBox


ajwfrost commented on issue #219:
URL: 
https://github.com/apache/royale-compiler/issues/219#issuecomment-1324607925

   Hi @Harbs - yes, @joshtynjala had thought this would be a good idea too, and 
Adobe are fine with it. There are some technical things we'd had to do but my 
hope is that AIR would be able to adopt (or adapt) the Royale compiler i.e. we 
would have Royale as the primary source code for the compiler that ends up in 
the AIR SDK.
   
   I'm meant to be having a call with one of our lawyers to confirm that (a) we 
would be able to take the Royale compiler, adapt it slightly and then 
distribute it with AIR SDK (which I think is fine, reading the licenses) - and 
(b) whether we can then contribute back our own updates into the Royale 
compiler (which is where I think I may have to escalate internally to try to 
get approvals...).
   
   There have been loads of interesting suggestions in the thread that you just 
posted to (thanks for that hint re abstract classes!) so it's then a case of 
trying to work out which are highest priority and relatively straightforward to 
do. Some of the "compile-time only" ones are fairly straightforward (e.g. 
verbatim strings) but some of them are going to need changes also in the 
runtime. For example we added support in the compiler for operator overloading, 
but we've not published it yet because it is a bit of a workaround that needs 
the AIR runtime interpreter and JIT code to be updated in order for it to work. 
I hadn't even considered how that sort of thing might then need to work from 
the JS perspective...!
   
   thanks


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] Harbs commented on pull request #222: Add support for AIR SDK 50 language features

2022-11-22 Thread GitBox


Harbs commented on PR #222:
URL: https://github.com/apache/royale-compiler/pull/222#issuecomment-1324580426

   No worries. Thanks for this!
   
   @joshtynjala Do you have time to review this PR? You're probably the best 
one to do it.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] piepie62 commented on pull request #222: Add support for AIR SDK 50 language features

2022-11-22 Thread GitBox


piepie62 commented on PR #222:
URL: https://github.com/apache/royale-compiler/pull/222#issuecomment-1324360393

   Having just looked at that portion of the code, I honestly don't think I 
know enough JavaScript to do this in a way that's not subtly incorrect. There 
are so many exceptions there that I have no idea what their purpose is that I 
think it would be best for someone that actually uses the language to build 
that part, instead of me


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] greg-dove commented on issue #219: Support for new AIR 50 SDK AS3 language features

2022-11-22 Thread GitBox


greg-dove commented on issue #219:
URL: 
https://github.com/apache/royale-compiler/issues/219#issuecomment-1324349016

   Thanks heaps @piepie62. If someone else could review and approve the PR for 
swf then, assuming @joshtynjala is not already looking into the JS side, I 
could take a look at that this coming weekend.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] Harbs commented on issue #219: Support for new AIR 50 SDK AS3 language features

2022-11-22 Thread GitBox


Harbs commented on issue #219:
URL: 
https://github.com/apache/royale-compiler/issues/219#issuecomment-1324341778

   @ajwfrost Maybe we should coordinate plans for language features to ensure a 
consistent roadmap?
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] Harbs commented on pull request #222: Add support for AIR SDK 50 language features

2022-11-22 Thread GitBox


Harbs commented on PR #222:
URL: https://github.com/apache/royale-compiler/pull/222#issuecomment-1324328202

   Does this implement JS output? Is there tests for that?
   
   (A quick browse at the code changes does not seem like it.)


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] piepie62 opened a new pull request, #222: Add support for AIR SDK 50 language features

2022-11-22 Thread GitBox


piepie62 opened a new pull request, #222:
URL: https://github.com/apache/royale-compiler/pull/222

   Fixes #219 by adding the requested features


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] greg-dove commented on issue #1214: Emulation - ColorPicker layout issues

2022-11-07 Thread GitBox


greg-dove commented on issue #1214:
URL: https://github.com/apache/royale-asjs/issues/1214#issuecomment-1306703732

   ![Flex_ColorPicker_Example_Screenshot 2022-11-08 
193024](https://user-images.githubusercontent.com/4569046/200491698-dc9867c5-846c-44ca-ad52-151fab6f22f9.png)
   
   Adding a screenshot example of Flex Color Picker for reference


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1212: Emulation - Drag needs to support multi-selection

2022-11-03 Thread GitBox


yishayw commented on issue #1212:
URL: https://github.com/apache/royale-asjs/issues/1212#issuecomment-1302108231

   Tree multi-selection cases solved in 
17045f6170070b9f287a4f55723bd8dca6166576 pending merge of d_and_d_improvemets 
branch to dev
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1211: Can't build project Framework: Libs: Graphics

2022-10-26 Thread GitBox


yishayw commented on issue #1211:
URL: https://github.com/apache/royale-asjs/issues/1211#issuecomment-1291827519

   Hi Rileran, I just clicked on the link you posted above, and it looks active 
to me. Is the build still failing for you?
   
   Also, I don't know if you are outputting to swf at all, but I seem to recall 
pixelbender was only required for swf. If you are only interested in JS output 
then you can configure your (maven?) build to output to JS only and that lib 
should not be a requirment.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #218: Hello, we found a vulnerable dependency in your project

2022-10-18 Thread GitBox


joshtynjala closed issue #218: Hello, we found a vulnerable dependency in your 
project
URL: https://github.com/apache/royale-compiler/issues/218


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #221: Compiler: Test fail on non english system

2022-10-18 Thread GitBox


joshtynjala closed issue #221: Compiler: Test fail on non english system
URL: https://github.com/apache/royale-compiler/issues/221


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1210: Make mx:Tree drag

2022-10-12 Thread GitBox


yishayw commented on issue #1210:
URL: https://github.com/apache/royale-asjs/issues/1210#issuecomment-1276318812

   56fecab4634dade30e29959966947f7f9f38d982 fixes this particular example.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw closed issue #1210: Make mx:Tree drag

2022-10-12 Thread GitBox


yishayw closed issue #1210: Make mx:Tree drag
URL: https://github.com/apache/royale-asjs/issues/1210


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on pull request #1147: Jewel: Cancel spinner auto increment/decrement when mousing away from buttons

2022-10-11 Thread GitBox


yishayw commented on PR #1147:
URL: https://github.com/apache/royale-asjs/pull/1147#issuecomment-1274227379

   I think this is breaking the build
   
   > [java] 
:
 col: 11 Error: Call to a possibly undefined method removeAllListeners through 
a reference with static type Timer.
[java]
[java]  timer.removeAllListeners();
[java]^
   
   From: ***@***.***>
   Sent: Thursday, April 7, 2022 10:44 AM
   To: ***@***.***>
   Cc: ***@***.***>
   Subject: Re: [apache/royale-asjs] Jewel: Cancel spinner auto 
increment/decrement when mousing away from buttons (#1147)
   
   
   Merged #1147 into develop.
   
   —
   Reply to this email directly, view it on 
GitHub, or 
unsubscribe.
   You are receiving this because you are subscribed to this thread.Message ID: 
***@***.***>
   
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] Rileran opened a new issue, #221: Compiler: Test fail on non english system

2022-10-05 Thread GitBox


Rileran opened a new issue, #221:
URL: https://github.com/apache/royale-compiler/issues/221

   I am using a french system (LANG FR_fr) and I got into trouble trying to run 
tests on the Compiler project. The test messages are compared against localized 
message, therefore making test case fail.
   
   Example in `ASPrrivateConstructorTests`, test 
`testConstructorMustBePublicProblem_withInternalConstructor_andAllowPrivateConstructorsDisabled`
   
   ```
   [ERROR]   
ASPrivateConstructorTests.testConstructorMustBePublicProblem_withInternalConstructor_andAllowPrivateConstructorsDisabled:110->ASFeatureTestsBase.compileAndExpectErrors:175
 
   Expected: is "A constructor can only be declared public\n"
got: "Un constructeur ne peut être déclaré que public.\n"
   ```
   
   This can be easily fix by setting this variable to EN_us, but maybe this 
should be a default in the test configuration.
   
   I have tried adding configuration to the `maven-surefire-plugin` without 
success. What I have tried so far (in `compiler/pom.xml`) :
   
   ```xml
   
 org.apache.maven.plugins
   maven-surefire-plugin
   
 
   en_US
 
 ...
   
   ```
   
   and 
   
   ```xml
   
 org.apache.maven.plugins
   maven-surefire-plugin
   
 
   en
   US
 
 ...
   
   ```
   
   and 
   
   ```xml
   
 org.apache.maven.plugins
   maven-surefire-plugin
   
 -Duser.language=en -Duser.country=US
 ...
   
   ```
   
   Maybe there is something that I am missing here.


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] Rileran opened a new issue, #1211: Can't build project Framework: Libs: Graphics

2022-10-05 Thread GitBox


Rileran opened a new issue, #1211:
URL: https://github.com/apache/royale-asjs/issues/1211

   One of the dependencies of project Framework: Libs: Graphics is 
`apache.royale-sdk-pixel-bender-1.0.0-bin.zip`, which is supposed to be 
downloaded from 
https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/flex/pixelbender/1.0/binaries/apache-flex-sdk-pixel-bender-1.0.0-bin.zip
 (see `pixelbender.download-url` in `frameworks/projects/Graphics/pom.xml`).
   
   However the site doesn't seem to be up anymore, thus making it impossible to 
build the project. It would be great if somebody could update the link or 
provide another way to get this library.
   
   Maybe @yishayw could have an idea on how to do this, as you left a TODO a 
few month ago about migrating the file to maven.
   
   Let me know if I can provide anymore information, or help to resolve the 
matter.


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-compiler] Harbs commented on pull request #220: [SECURITY] Fix Zip Slip Vulnerability

2022-09-23 Thread GitBox


Harbs commented on PR #220:
URL: https://github.com/apache/royale-compiler/pull/220#issuecomment-1255873459

   PR looks good to me. Any reasons not to merge?


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] JLLeitschuh opened a new pull request, #220: [SECURITY] Fix Zip Slip Vulnerability

2022-09-22 Thread GitBox


JLLeitschuh opened a new pull request, #220:
URL: https://github.com/apache/royale-compiler/pull/220

   # Security Vulnerability Fix
   
   This pull request fixes a Zip Slip vulnerability either due to an 
insufficient, or missing guard when unzipping zip files.
   
   Even if you deem, as the maintainer of this project, this is not necessarily 
fixing a security vulnerability, it is still, most likely, a valid security 
hardening.
   
   ## Preamble
   
   ### Impact
   
   This issue allows a malicious zip file to potentially break out of the 
expected destination directory, writing contents into arbitrary locations on 
the file system.
   Overwriting certain files/directories could allow an attacker to achieve 
remote code execution on a target system by exploiting this vulnerability.
   
   ### Why?
   
   The best description of Zip-Slip can be found in the white paper published 
by Snyk: [Zip Slip 
Vulnerability](https://snyk.io/research/zip-slip-vulnerability)
   
    But I had a guard in place, why wasn't it sufficient?
   
   If the changes you see are a change to the guard, not the addition of a new 
guard, this is probably because this code contains a Zip-Slip vulnerability due 
to a partial path traversal vulnerability.
   
   To demonstrate this vulnerability, consider 
`"/usr/outnot".startsWith("/usr/out")`.
   The check is bypassed although `/outnot` is not under the `/out` directory.
   It's important to understand that the terminating slash may be removed when 
using various `String` representations of the `File` object.
   For example, on Linux, `println(new File("/var"))` will print `/var`, but 
`println(new File("/var", "/")` will print `/var/`;
   however, `println(new File("/var", "/").getCanonicalPath())` will print 
`/var`.
   
   ### The Fix
   
   Implementing a guard comparing paths with the method 
`java.nio.files.Path#startsWith` will adequately protect against this 
vulnerability.
   
   For example: `file.getCanonicalFile().toPath().startsWith(BASE_DIRECTORY)` 
or 
`file.getCanonicalFile().toPath().startsWith(BASE_DIRECTORY_FILE.getCanonicalFile().toPath())`
   
   ### Other Examples
   
- 
[CVE-2018-1002201](https://snyk.io/vuln/SNYK-JAVA-ORGZEROTURNAROUND-31681) - 
zeroturnaround/zt-zip
- [CVE-2018-1002202](https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679) 
- srikanth-lingala/zip4j
- [CVE-2018-8009](https://nvd.nist.gov/vuln/detail/CVE-2018-8009) - 
apache/hadoop
   
   # :arrow_right: Vulnerability Disclosure :arrow_left:
   
   :wave: Vulnerability disclosure is a super important part of the 
vulnerability handling process and should not be skipped! This may be 
completely new to you, and that's okay, I'm here to assist!
   
   First question, do we need to perform vulnerability disclosure? It depends!
   
1. Is the vulnerable code only in tests or example code? No disclosure 
required!
2. Is the vulnerable code in code shipped to your end users? Vulnerability 
disclosure is probably required!
   
   For partial path traversal, consider if user-supplied input could ever flow 
to this logic. If user-supplied input could reach this conditional, it's  
insufficient and, as such, most likely a vulnerability.
   
   ## Vulnerability Disclosure How-To
   
   You have a few options options to perform vulnerability disclosure. However, 
I'd like to suggest the following 2 options:
   
1. Request a CVE number from GitHub by creating a repository-level [GitHub 
Security 
Advisory](https://docs.github.com/en/code-security/repository-security-advisories/creating-a-repository-security-advisory).
 This has the advantage that, if you provide sufficient information, GitHub 
will automatically generate Dependabot alerts for your downstream consumers, 
resolving this vulnerability more quickly.
2. Reach out to the team at Snyk to assist with CVE issuance. They can be 
reached at the [Snyk's Disclosure Email](mailto:rep...@snyk.io). Note: Please 
include `JLLeitschuh Disclosure` in the subject of your email so it is not 
missed.
   
   ## Detecting this and Future Vulnerabilities
   
   You can automatically detect future vulnerabilities like this by enabling 
the free (for open-source) [GitHub 
Action](https://github.com/github/codeql-action).
   
   I'm not an employee of GitHub, I'm simply an open-source security researcher.
   
   ## Source
   
   This contribution was automatically generated with an 
[OpenRewrite](https://github.com/openrewrite/rewrite) [refactoring 
recipe](https://docs.openrewrite.org/), which was lovingly handcrafted to bring 
this security fix to your repository.
   
   The source code that generated this PR can be found here:
   [Zip 
Slip](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/ZipSlip.java)
   
   ## Why didn't you disclose privately (ie. coordinated disclosure)?
   
   This PR was automatically generated, in-bulk, and sent to this project as 
well as 

[GitHub] [royale-asjs] yishayw opened a new issue, #1210: Make mx:Tree drag

2022-09-21 Thread GitBox


yishayw opened a new issue, #1210:
URL: https://github.com/apache/royale-asjs/issues/1210

   This example should be drag
   
   ```
   
   
   http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.apache.org/royale/spark"
xmlns:js="library://ns.apache.org/royale/basic"
xmlns:mx="library://ns.apache.org/royale/mx">




















   
   ```


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-compiler] esidegallery opened a new issue, #219: Support for new AIR 50 SDK AS3 language features

2022-09-15 Thread GitBox


esidegallery opened a new issue, #219:
URL: https://github.com/apache/royale-compiler/issues/219

   The new AIR 50 Beta SDK introduces support for null-conditional operators, 
nullish coalescing and verbatim strings, outlined here 
https://github.com/airsdk/Adobe-Runtime-Support/discussions/1699#discussioncomment-3653584
 


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] jgomer2001 closed issue #1199: question: drag and drop in Royale

2022-09-14 Thread GitBox


jgomer2001 closed issue #1199: question: drag and drop in Royale
URL: https://github.com/apache/royale-asjs/issues/1199


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1209: Converting AS3 to JS, with some flaws?

2022-09-11 Thread GitBox


yishayw commented on issue #1209:
URL: https://github.com/apache/royale-asjs/issues/1209#issuecomment-1242899041

   Or, to create emulation components you might want to start here
   
   https://github.com/apache/royale-asjs/wiki/emulation-components


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1209: Converting AS3 to JS, with some flaws?

2022-09-11 Thread GitBox


yishayw commented on issue #1209:
URL: https://github.com/apache/royale-asjs/issues/1209#issuecomment-1242898703

   Are you looking for something like this?
   
   
https://apache.github.io/royale-docs/migrate-an-existing-app/migrate-from-flex


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1206: Emulation - percentHeight behaves differently

2022-09-11 Thread GitBox


yishayw commented on issue #1206:
URL: https://github.com/apache/royale-asjs/issues/1206#issuecomment-1242897576

   It's been a while for me as well since I got into the docs relating to 
Flex's layout.
   
   This excerpt from 
[Flex_4.6_help.pdf](https://help.adobe.com/archive/en_US/flex/using/flex_4.6_help.pdf)
 may provide a clue
   
   Determining container size
   Flex uses the following basic rules, in addition to the basic component 
sizing rules, to determine the size of a container:
   •
   A percentage-based container size is advisory. Flex makes the container 
large enough to fit its children at their minimum sizes. For more information 
on percentage-based sizing, see
   “Using percentage-based sizing” on
   page
   373
   .


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] KiaWeb opened a new issue, #1209: Converting AS3 to JS, with some flaws?

2022-09-10 Thread GitBox


KiaWeb opened a new issue, #1209:
URL: https://github.com/apache/royale-asjs/issues/1209

   Is it possible to convert AS3 to JS?
   If so, please tell me the command line command to build the AS3 from src.
   I'm also confused if we can convert AS3 to JS about how we can use flashvars.
   I can't seem to find a way to make an emulation component, so I need a full 
tutorial on 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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] greg-dove commented on issue #1206: Emulation - percentHeight behaves differently

2022-09-05 Thread GitBox


greg-dove commented on issue #1206:
URL: https://github.com/apache/royale-asjs/issues/1206#issuecomment-1237618039

   I looked into this. 
   I must say this Flex behavior does not make intuitive sense to me, and the 
Royale behavior seems more correct IMO. There are only top-down Container 
percent-based Container constraints that request "percentage of space in the 
parent". There is nothing here as a container that says to me: "size to 
content", so I would intuitively expect to see scrollbars on the Box containing 
the oversized Canvas. I'd be keen to see something somewhere that describes the 
intended behavior in Flex in this case. Maybe I just got used to how things are 
in Royale, but I don't recall dealing with this in Flex in the past (although, 
it has been a while...).
   
   The reason that the Flex version of the BoxLayout 'breaks' out of the 
percent-based sizing is because of measuredMinHeight being 1800 at the HBox 
level and downwards during layout phase (similar to the issue we saw with 
measuredMinHeight in the PanelInternalContainer).
   
   If you swap the mx:Box items to mx:Canvas items then the behavior in Flex is 
as it is currently in Royale with mx:Box. I don't really understand why a 
mx:Box with a single child is behaving so differently to a mx:Canvas with a 
single child in Flex (with the same percent-based sizing)... and whether this 
is intentional or is a bug. 
   
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1208: Emulation - Panel's internal container does not default to Panel's size

2022-09-05 Thread GitBox


yishayw commented on issue #1208:
URL: https://github.com/apache/royale-asjs/issues/1208#issuecomment-1236976838

   This problem may have been introduced in 
8af26f74e1e567ac47b936937a4072f2c2b19a53 by @aharui 
   
   Specifically, this line
   ```
   
   if (!isNaN(percentHeight))
   _measuredMinHeight = mh;
   ```
   in UIComponent.get__measuredHeight() sets measured min height of panel's 
internal container to its content measured height. This essentially overrides 
BoxLayout's flexing algorithm for percentHeight children. 
   
   As mentioned above layout is ok with other components, so I did not want to 
change BoxLayout without understanding this better.
   
   I solved this by creating a custom Panel layout for mx, same as there exists 
one for spark. Panel is essentially just a titlebar and an internal content 
container (ignoring unimplemented control bar for now), so a simpler layout 
makes more sense to me.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw closed issue #1208: Emulation - Panel's internal container does not default to Panel's size

2022-09-05 Thread GitBox


yishayw closed issue #1208: Emulation - Panel's internal container does not 
default to Panel's size
URL: https://github.com/apache/royale-asjs/issues/1208


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1208: Emulation - Panel's internal container does not default to Panel's size

2022-09-05 Thread GitBox


yishayw commented on issue #1208:
URL: https://github.com/apache/royale-asjs/issues/1208#issuecomment-1236765599

   This is in contrast to the following scenario, which works as expected:
   
   ```
   
   http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.apache.org/royale/spark"
xmlns:mx="library://ns.apache.org/royale/mx"
   width="100%" height="100%"
backgroundColor="white">
   
   

   
   
   
   
   
   
   
   
   ```
   
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] greg-dove commented on issue #1208: Emulation - Panel's internal container does not default to Panel's size

2022-09-04 Thread GitBox


greg-dove commented on issue #1208:
URL: https://github.com/apache/royale-asjs/issues/1208#issuecomment-1236527950

   The problem here is the minHeight getter on PanelInternalContainer which is 
defaulting to measuredMinHeight.
   Simply setting 
   this.minHeight = 0;
   in the PanelInternalContainer constructor might be one option to fix this. 
The way this is set up is quite different to how flex manages the content pane 
I think, so we might just have to apply some changes to get the behavior to be 
the same or at least similar. I did not check this in Flex.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw opened a new issue, #1208: Emulaytion - Panel's internal container does not default to Panel's size

2022-09-04 Thread GitBox


yishayw opened a new issue, #1208:
URL: https://github.com/apache/royale-asjs/issues/1208

   In below example you can see in Royale the content expanding beyond the 
panel's height, whereas in Flex there's a scrollbar in the Panel.
   
   ```
   
   
   http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.apache.org/royale/spark"
xmlns:mx="library://ns.apache.org/royale/mx"
   width="100%" height="100%"
backgroundColor="white">
   
   

   
   
   
   
   
   ```


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] yishayw opened a new issue, #1207: Emulation - DragManager not showing drop icon

2022-09-04 Thread GitBox


yishayw opened a new issue, #1207:
URL: https://github.com/apache/royale-asjs/issues/1207

   In the following example there should be an example with an 'X' unless the 
drop target is moved over
   
   ```
   
   
   http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.apache.org/royale/spark"
xmlns:mx="library://ns.apache.org/royale/mx"
backgroundColor="white">
   

   
   

   
   
   


   
   

   
   
   
   ```


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] greg-dove commented on issue #1206: Emulation - percentHeight behaves differently

2022-08-29 Thread GitBox


greg-dove commented on issue #1206:
URL: https://github.com/apache/royale-asjs/issues/1206#issuecomment-1230832682

   I will look into this, I have spent a great deal of time working on 
improving the emulation layouts (and will create a new branch for review soon). 
IIRC the Box layouts have a branch for handling a 'single' child situation 
(presumably optimized compared to the multiple children scenario) and I suspect 
the issue is in this code.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw opened a new issue, #1206: Emulation - percentHeight behaves differently

2022-08-29 Thread GitBox


yishayw opened a new issue, #1206:
URL: https://github.com/apache/royale-asjs/issues/1206

   In Flex, setting height of 100% on object A does not necessarily mean it 
stretches to the size of its container B, whereas in Royale this is always the 
case.
   
   In this example
   
   ```
   
   http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.apache.org/royale/spark"
xmlns:mx="library://ns.apache.org/royale/mx"
width="100%" height="100%">
   
   
   
   











   
   ```
   The Flex example will show all canvases (red, green, and blue) stretching to 
a height of 1800 pixels, but in Royale, only the green canvas is sized to 1800 
pixels, whereas the rest remain the size of the screen.


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-compiler] JavaEcosystemResearch opened a new issue, #218: Hello, we found a vulnerable dependency in your project

2022-08-22 Thread GitBox


JavaEcosystemResearch opened a new issue, #218:
URL: https://github.com/apache/royale-compiler/issues/218

   Hi! We spot a vulnerable dependency in your project, which might threaten 
your software. 
   And we found that the vulnerable function of this CVE can be easily accessed 
from your software, there is no constraint along the invocation path to the 
vulnerable function.
   
   + CVE_ID: **CVE-2021-29425**
   + Vulnerable dependency: **commons-io:commons-io**
   + Vulnerable function: **getPrefixLength(java.lang.String)**
   + Invocation path to the vulnerable method:
   ```java
   
org.apache.royale.compiler.internal.tree.mxml.MXMLNodeBase:resolveSourceAttributePath(org.apache.royale.compiler.internal.tree.mxml.MXMLTreeBuilder,org.apache.royale.compiler.mxml.IMXMLTagAttributeData,org.apache.royale.compiler.internal.tree.mxml.MXMLNodeBase$MXMLNodeInfo)
   ⬇️
   org.apache.commons.io.FilenameUtils:concat(java.lang.String,java.lang.String)
   ⬇️
   org.apache.commons.io.FilenameUtils:getPrefixLength(java.lang.String)
   ```
   
   Therefore, maybe you need to upgrade this dependency. Hope this can help 
you! 
   
   


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] greg-dove closed issue #860: Default mx HRule does not show

2022-07-28 Thread GitBox


greg-dove closed issue #860: Default mx HRule does not show
URL: https://github.com/apache/royale-asjs/issues/860


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala commented on issue #216: Compile error when passing function generator to labelField

2022-07-28 Thread GitBox


joshtynjala commented on issue #216:
URL: 
https://github.com/apache/royale-compiler/issues/216#issuecomment-1198422415

   Some investigation:
   
   It seems to be failing on this line, so I guess `fdef` is null:
   
   ```java
   String fnName = fdef.getBaseName();
   ```
   
   Interestingly, `fnName` doesn't actually seem to be used, so we can probably 
just remove it entirely.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] joshtynjala closed issue #168: RoyaleUnit - "command" doesn't support additional arguments

2022-07-14 Thread GitBox


joshtynjala closed issue #168: RoyaleUnit - "command" doesn't support 
additional arguments
URL: https://github.com/apache/royale-compiler/issues/168


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] KiaWeb commented on issue #877: Royale needs an emulation of flash.ui.ContextMenu/ContextMenuItem

2022-07-04 Thread GitBox


KiaWeb commented on issue #877:
URL: https://github.com/apache/royale-asjs/issues/877#issuecomment-1173864584

   I found in Adobe Animate that it has ContextMenu and ContextMenuItem.as.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] KiaWeb commented on issue #877: Royale needs an emulation of flash.ui.ContextMenu/ContextMenuItem

2022-07-04 Thread GitBox


KiaWeb commented on issue #877:
URL: https://github.com/apache/royale-asjs/issues/877#issuecomment-1173860217

   Have you tried getting it from Flex code? I tried it and I didn't find the 
source.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] estanglerbm commented on issue #1198: Multiple issues with mx:Tree ( during dynamic updates with XML)

2022-07-01 Thread GitBox


estanglerbm commented on issue #1198:
URL: https://github.com/apache/royale-asjs/issues/1198#issuecomment-1172799069

   I'll try to provide input.  I just noticed updates on this issue (not 
getting email about it for whatever reason).


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] dependabot[bot] opened a new pull request, #217: Bump plexus-utils from 3.0.3 to 3.0.16 in /compiler-build-tools

2022-07-01 Thread GitBox


dependabot[bot] opened a new pull request, #217:
URL: https://github.com/apache/royale-compiler/pull/217

   Bumps [plexus-utils](https://github.com/sonatype/plexus-utils) from 3.0.3 to 
3.0.16.
   
   Commits
   
   https://github.com/sonatype/plexus-utils/commit/cf317f9b4070c3c619e9ee75a3e38bea3ff621c1;>cf317f9
 [maven-release-plugin] prepare release plexus-utils-3.0.16
   https://github.com/sonatype/plexus-utils/commit/26e3ae87b56a7f389f1a1ce1fa563686b924256a;>26e3ae8
 Remove incorrect tag element
   https://github.com/sonatype/plexus-utils/commit/99639d6558620da489b7c6d1b0c88491cde75884;>99639d6
 Little test to mimic ${project.artifactMap(g:a:c)} usage
   https://github.com/sonatype/plexus-utils/commit/5d4697966d4c6161fc4bde1fd3fa27be6440eec0;>5d46979
 Needs to build with 1.7 because of some Java7 utils, but source/target needs 
...
   https://github.com/sonatype/plexus-utils/commit/18bd77d716ff73a707e09af7efc4d5ef5658ac35;>18bd77d
 We can't switch to Java7 yet while Maven still needs to run on Java6
   https://github.com/sonatype/plexus-utils/commit/3cf855c6403061ae216b0f805debbfda09be9245;>3cf855c
 Remove release cruft
   https://github.com/sonatype/plexus-utils/commit/3196d4c3c1fa42d11cfeb4e39c418c2f75c5a138;>3196d4c
 ignore .java-version
   https://github.com/sonatype/plexus-utils/commit/57b636d2c57f3c023a95be3fcb8270fb6ff6780c;>57b636d
 changed XmlUtilTest to create test output directory
   https://github.com/sonatype/plexus-utils/commit/33091f9b1e5a9abc0927bc51a1670d9d5ba85a1c;>33091f9
 Use the same method for finding the basedir as our other code.
   https://github.com/sonatype/plexus-utils/commit/a153249c24c32d3ab81850aaf7a263a78ca23f99;>a153249
 MNG-5553 reworked dotted expressions interpreter
   Additional commits viewable in https://github.com/sonatype/plexus-utils/compare/plexus-utils-3.0.3...plexus-utils-3.0.16;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.codehaus.plexus:plexus-utils=maven=3.0.3=3.0.16)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   - `@dependabot use these labels` will set the current labels as the default 
for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the 
default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the 
default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the 
default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/royale-compiler/network/alerts).
   
   


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] sebbASF opened a new issue, #1204: website requirements page doesn't mention privacy aspects of 3rd party resources

2022-06-20 Thread GitBox


sebbASF opened a new issue, #1204:
URL: https://github.com/apache/royale-asjs/issues/1204

   https://github.com/apache/royale-asjs/wiki/Royale-website-requirements
   
   does not mention not using cookies/trackers etc:
   
   https://privacy.apache.org/faq/committers.html


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] greg-dove commented on issue #1198: Multiple issues with mx:Tree ( during dynamic updates with XML)

2022-06-19 Thread GitBox


greg-dove commented on issue #1198:
URL: https://github.com/apache/royale-asjs/issues/1198#issuecomment-1159898882

   Sorry, I will need a few more days before I can follow through on this. I 
suspect it will be the next weekend now. 


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] greg-dove commented on issue #1198: Multiple issues with mx:Tree ( during dynamic updates with XML)

2022-06-15 Thread GitBox


greg-dove commented on issue #1198:
URL: https://github.com/apache/royale-asjs/issues/1198#issuecomment-1157134417

   @estanglerbm  in particular I would welcome your input on this if you are 
available/inclined to do so, as you pretty much kicked things off here... and I 
am not sure why you weren't seeing some of the issues I was seeing, because I 
assume you are using dynamic Tree stuff somewhere in your code. Hopefully you 
might have a chance to try the changes against whatever codebase you are 
working on and provide additional feedback.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] greg-dove commented on issue #1198: Multiple issues with mx:Tree ( during dynamic updates with XML)

2022-06-15 Thread GitBox


greg-dove commented on issue #1198:
URL: https://github.com/apache/royale-asjs/issues/1198#issuecomment-1157133886

   I have 'resolved' this issue locally and will work over the coming weekend 
to a) explain the issues and b) create a branch for others to test with if 
there is sufficient interest in doing that before merging. As part of the work 
on this, I figured out why there are certain cases of infinite loops in XML 
notifications, for example, and I will explain 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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] estanglerbm commented on issue #1203: Array - sortOn fails for XML data

2022-06-13 Thread GitBox


estanglerbm commented on issue #1203:
URL: https://github.com/apache/royale-asjs/issues/1203#issuecomment-1154497346

   https://github.com/apache/royale-asjs/pull/1150


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw opened a new issue, #1203: Array - sortOn fails for XML data

2022-06-13 Thread GitBox


yishayw opened a new issue, #1203:
URL: https://github.com/apache/royale-asjs/issues/1203

   In this app
   
   ```
   
   http://ns.adobe.com/mxml/2009;
   applicationComplete="init()"
   width="100%"
   height="100%"
   xmlns:s="library://ns.apache.org/royale/spark"
   xmlns:mx="library://ns.apache.org/royale/mx">
   

   
   
   
   
   ```
   
   I would expect the trace output to be 'a' (as it is in Flex), but instead it 
is 'b'.
   
   Apparently flash player knows how to parse XML and can sort an array of XML 
objects, but Language.as does assumes the objects are simple and does not read 
`@label` correctly.
   
   As, in Royale, XML is a separate library the question is whether Language.as 
where this sortOn function is location, is, or even should be, made aware of 
XML objects.


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-compiler] robo-loki commented on issue #215: AMFBinaryData compiler error 9.9.10 Royale MXRoyale/Maven

2022-06-10 Thread GitBox


robo-loki commented on issue #215:
URL: 
https://github.com/apache/royale-compiler/issues/215#issuecomment-1152131315

   hi all-
   
   I finally got this to compile. Sorry for the bug report. I hope you can 
delete this bug report.
   thanks!


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] robo-loki closed issue #215: AMFBinaryData compiler error 9.9.10 Royale MXRoyale/Maven

2022-06-10 Thread GitBox


robo-loki closed issue #215: AMFBinaryData compiler error 9.9.10 Royale 
MXRoyale/Maven
URL: https://github.com/apache/royale-compiler/issues/215


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-compiler] estanglerbm opened a new issue, #216: Compile error when passing function generator to labelField

2022-06-07 Thread GitBox


estanglerbm opened a new issue, #216:
URL: https://github.com/apache/royale-compiler/issues/216

   Attached example (labelField="bindItem(...)") throws this error:
   
   ```
   c:\somewhere\TestLabelItemBind.mxml line 16 column 31 Error: Internal error 
in ASBlockWalker subsystem, when generating code for: 
c:\somewhere\TestLabelItemBind.mxml line 16 column 31: 
java.lang.NullPointerException
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitInstance(MXMLRoyaleEmitter.java:2483)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitInstance(MXMLBlockWalker.java:265)
   at 
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:165)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitPropertySpecifier(MXMLRoyaleEmitter.java:3091)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitPropertySpecifier(MXMLBlockWalker.java:273)
   at 
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:111)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitInstance(MXMLRoyaleEmitter.java:2541)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitInstance(MXMLBlockWalker.java:265)
   at 
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:101)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitArray(MXMLRoyaleEmitter.java:3181)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitArray(MXMLBlockWalker.java:305)
   at 
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:77)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitPropertySpecifier(MXMLRoyaleEmitter.java:3091)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitPropertySpecifier(MXMLBlockWalker.java:273)
   at 
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:111)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitDocument(MXMLRoyaleEmitter.java:877)
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
   at 
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:89)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
   at 
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
   at 
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:95)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitCompilationUnit(MXMLBlockWalker.java:187)
   at 
org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MXMLWriter.java:69)
   at 
org.apache.royale.compiler.clients.MXMLJSCRoyale.writeCompilationUnit(MXMLJSCRoyale.java:538)
   at 
org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:452)
   at 
org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:273)
   at 
org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:230)
   at 
org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346)
   at 
org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:281)
   at 
org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:241)
   at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:220)
   ```
   
   Works fine in Flex.
   
   
[TestLabelItemBind.mxml.txt](https://github.com/apache/royale-compiler/files/8857132/TestLabelItemBind.mxml.txt)
   
   


-- 
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: 

[GitHub] [royale-compiler] robo-loki opened a new issue, #215: AMFBinaryData compiler error 9.9.10 Royale MXRoyale/Maven

2022-06-06 Thread GitBox


robo-loki opened a new issue, #215:
URL: https://github.com/apache/royale-compiler/issues/215

   `
   
   http://ns.adobe.com/mxml/2009;
   xmlns:mx="library://ns.apache.org/royale/mx"
   xmlns:j="library://ns.apache.org/royale/jewel"
xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:html="library://ns.apache.org/royale/html"
   width="100%" height="800" layout="vertical">
   


   
   
   
   
   


   
   

   
   
   http://127.0.0.1:8000/as_remote.php',

   function(s:String):void{{databinding_t2.text}})" x="20" y="150" width="100" 
height="50" />

   `


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] yishayw closed issue #1202: States - excludeFrom ignored

2022-06-01 Thread GitBox


yishayw closed issue #1202: States - excludeFrom ignored
URL: https://github.com/apache/royale-asjs/issues/1202


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1202: States - excludeFrom ignored

2022-06-01 Thread GitBox


yishayw commented on issue #1202:
URL: https://github.com/apache/royale-asjs/issues/1202#issuecomment-114866

   Closing this, states were referenced with the wrong case (stateB instead of 
StateB).


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] mjesteve merged pull request #1201: [jewel/InterfaceInputButton] Rename "IInputAndButtonView" by "IViewWi…

2022-06-01 Thread GitBox


mjesteve merged PR #1201:
URL: https://github.com/apache/royale-asjs/pull/1201


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] yishayw opened a new issue, #1202: States - excludeFrom ignored

2022-06-01 Thread GitBox


yishayw opened a new issue, #1202:
URL: https://github.com/apache/royale-asjs/issues/1202

   In the following app I expect the second trace statement to fail
   
   ```
   
   http://ns.adobe.com/mxml/2009;
   applicationComplete="init()"
   width="100%"
   height="100%"
   currentState="stateB"
   xmlns:s="library://ns.apache.org/royale/spark"
   xmlns:mx="library://ns.apache.org/royale/mx">
   

   
   
   
   
   
   
   
   
   
   
   ```
   


-- 
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-unsubscr...@royale.apache.org.apache.org

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



[GitHub] [royale-asjs] yishayw commented on issue #1199: question: drag and drop in Royale

2022-05-31 Thread GitBox


yishayw commented on issue #1199:
URL: https://github.com/apache/royale-asjs/issues/1199#issuecomment-1142218543

   DragAndDrop is a library that helps drag items in a list to a target list 
(including DG etc.). DragBead can be attached to controls to make them 
draggable.
   
   I agree with @mjesteve  about using 3rd party libs.


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] jgomer2001 commented on issue #1199: question: drag and drop in Royale

2022-05-31 Thread GitBox


jgomer2001 commented on issue #1199:
URL: https://github.com/apache/royale-asjs/issues/1199#issuecomment-1142073166

   I would like other contributors to comment as well, thank you all
   @joshtynjala @greg-dove @piotrzarzycki21 @yishayw @Harbs


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] mjesteve opened a new pull request, #1201: [jewel/InterfaceInputButton] Rename "IInputAndButtonView" by "IViewWi…

2022-05-31 Thread GitBox


mjesteve opened a new pull request, #1201:
URL: https://github.com/apache/royale-asjs/pull/1201

   …thTextInputAndButton".
   
   Generals beads: "Disabled", "ReadOnly", "TextPrompt" and "TruncateText".
   Change, in IViewWithTextInputAndButton" bead, "Object" by more specifique 
type: "popup" is IPopup, "button" is IStyledUIBase and "textinput" is 
TextInputBase


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] mjesteve merged pull request #1191: Adding exemple on how to use locales and setting it by URL parameter

2022-05-27 Thread GitBox


mjesteve merged PR #1191:
URL: https://github.com/apache/royale-asjs/pull/1191


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] mjesteve closed pull request #1195: Media project + audio player and video player for jewel

2022-05-27 Thread GitBox


mjesteve closed pull request #1195: Media project + audio player and video 
player for jewel
URL: https://github.com/apache/royale-asjs/pull/1195


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] mjesteve merged pull request #1200: Video and audio player based on html5 api

2022-05-27 Thread GitBox


mjesteve merged PR #1200:
URL: https://github.com/apache/royale-asjs/pull/1200


-- 
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-unsubscr...@royale.apache.org

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



[GitHub] [royale-asjs] mjesteve commented on pull request #1200: Video and audio player based on html5 api

2022-05-27 Thread GitBox


mjesteve commented on PR #1200:
URL: https://github.com/apache/royale-asjs/pull/1200#issuecomment-1140085674

   I can't get it to compile with maven. can anyone check it too?


-- 
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-unsubscr...@royale.apache.org

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



  1   2   3   4   5   6   7   8   9   10   >