Re: Software Bill of Materials

2022-08-02 Thread Edward Stangler
The dependencies of the output of Royale are a concern, for licensing and security reasons. Angular automatically produces 3rdpartylicenses.txt to list dependencies, which is helpful. On 8/2/2022 11:50 AM, Tom DuBuisson wrote: > Andrew, > > You're right, SBOMs have gotten a lot of attention

Re: Apache Royale: Emulated Components (Other components are missing)

2022-07-04 Thread Edward Stangler
There's mx.dummy.ContextMenuItem: frameworks/projects/MXRoyale/src/main/royale/mx/dummy/ContextMenuItem.as Which others are you looking for? If you're on Windows, you can find things like this: dir /s/b ContextMenuItem.as findstr /s /m /c:"class ContextMenuItem" *.as On 7/4/2022

Re: Proposal for labelField with expression support

2022-06-07 Thread Edward Stangler
Just to clarify: you mean in MXML or ActionScript? On 6/7/2022 2:58 PM, Hugo Ferreira wrote: > Hi, > > In Flex "world" one can use labelField and labelFunction. > Here in Royale we have only labelField (at least I didn't see so far > support for labelFunction), however I'm not a big fan of

Re: Displaying text in MXML

2022-05-18 Thread Edward Stangler
Yes, CDATA should work. The following works in Flex: http://ns.adobe.com/mxml/2009; xmlns:mx="library://ns.adobe.com/flex/mx"> The only thing you have to escape in CDATA is "]]>". (You would replace it with

Re: New --watch compiler option

2022-04-01 Thread Edward Stangler
It's magical. It would be nice if it could continue to watch after a compile error on the first (initial) compile (or provide an option for that behavior). On a larger project, simple changes (multiple files at once) looking good so far. Would also be nice if at least one compile (fatal) error

Re: Flash API's compiled but got Error on launch

2022-02-24 Thread Edward Stangler
I would imagine File System Access API might have some of this covered: https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API On 2/24/2022 2:42 PM, Josh Tynjala wrote: > You won't be able to emulate most of these Adobe AIR APIs using JavaScript > in a web browser because

Re: Inline ItemRenderer

2022-02-11 Thread Edward Stangler
Well, in Flex it would have been: ... On 2/11/2022 7:09 PM, Hugo Ferreira wrote: Hi, How to do a inline ItemRenderer (without external mxml) I tried this, however data is not recognized. I'm using Royale and not MX

Re: Test error

2022-01-20 Thread Edward Stangler
> dest="${ROYALE_HOME}/js/lib/google/closure-library"> > > > value="${ROYALE_HOME}/js/lib/google/closure-library" /> > > > > From: Edward Stangler > Sent: Thursday, Ja

Test error

2022-01-19 Thread Edward Stangler
I'm pretty sure I have everything up-to-date, but when I do: ant -Dskip-tests=1 all (which is successful), and then do: ant It works well until the following error. Am I doing something wrong? I thought it worked before. (If I do "ant mxtests" or other tests, instead, those work.)

Re: Build failed in Jenkins: royale-asjs_jsonly #3995

2022-01-13 Thread Edward Stangler
Most definitely Java 8. That's the lowest LTS version available from AdoptOpenJDK / Adoptium: https://adoptopenjdk.net/releases.html https://adoptium.net/releases.html https://adoptium.net/migration.html https://adoptopenjdk.net/icedtea-web.html Java 8 is also available from

Re: Fresh build failing

2022-01-04 Thread Edward Stangler
older and building again? >> >>> On Jan 5, 2022, at 2:18 AM, Edward Stangler wrote: >>> >>> >>> c:\somewhere\royale-asjs>cd js\lib >>> c:\somewhere\royale-asjs\js\lib>findstr /s SafeHtml * >>> (nothing; same thing for Sanitizer) >>&g

Re: Fresh build failing

2022-01-04 Thread Edward Stangler
te: > > Did you wipe and build everything? > > It needs to re-download and extract the goog libraries. > > > On Jan 5, 2022, at 1:22 AM, Edward Stangler > wrote: > > > > I haven't been following the latest, so perhaps this is a known issue >

Re: Fresh build failing

2022-01-04 Thread Edward Stangler
, Harbs wrote: > Did you wipe and build everything? > > It needs to re-download and extract the goog libraries. > >> On Jan 5, 2022, at 1:22 AM, Edward Stangler wrote: >> >> I haven't been following the latest, so perhaps this is a known issue at the >> moment. &g

Fresh build failing

2022-01-04 Thread Edward Stangler
I haven't been following the latest, so perhaps this is a known issue at the moment. A brand new directory with latest royale-asjs copied in is failing with the following (just running "ant"): compile: [echo] Cross-compiling CoreJS.swc [echo] ROYALE_COMPILER_HOME:

Re: Compiler options for reducing release build size of Royale projects (Part 2)

2021-12-29 Thread Edward Stangler
[I wrote this several weeks ago but didn't send it out. The gist of it is that I don't think it's worth removing class names.] Which tools are you using to direct your investigation into reducing sizes? For your test case below: 87,824 regular release mode 65,727 optimized (with your

Re: FormItem preferredWidth error

2021-12-22 Thread Edward Stangler
If you could provide a small test case, that would be helpful. I would think there are two commit pulls to try to narrow down what changed: 1. Before spark-dynamic-layout-jan-2021 and greg-dove deferred changes (December 2021): c256c4342e1d2e16a938ab08ef9049c94489685c 2. Before ChildResize

Re: Build failed in Jenkins: royale-asjs_MXTests #2215

2021-12-17 Thread Edward Stangler
>> Thanks Edward, I will keep that in mind for the future. Meanwhile I made >> changes today that got it to pass. >> >> >> On Thu, Dec 16, 2021 at 4:21 PM Edward Stangler >> wrote: >> >>> If you have Windows and Firefox installed, then just download an

Re: Build failed in Jenkins: royale-asjs_MXTests #2215

2021-12-15 Thread Edward Stangler
If you have Windows and Firefox installed, then just download and extract geckodriver-v0.30.0-win64.zip: https://github.com/mozilla/geckodriver/releases and do this (in your build+test environment): set GECKODRIVER_HOME=c:\geckodriver-v0.30.0-win64\geckodriver.exe ant mxtests-run-js (ant

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Edward Stangler
t is safe. (Although textContent > usually makes more sense.) > >> On Dec 12, 2021, at 12:02 PM, Edward Stangler wrote: >> >> >> OK, that make sense. >> >> If you use innerHTML / innerText inside Royale, then you need to sanitize. >> >> (And whatever equivalent for "src" / "url" and other such areas.)

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Edward Stangler
xtButton > Flat DropDownList > Jewel SnackbarView > Spark ButtonBase > Spark DropDownListButton > > >> On Dec 12, 2021, at 10:44 AM, Edward Stangler wrote: >> >> >> I guess I'm confused. >> >> If I set a string variable (i.e. title of a

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-12 Thread Edward Stangler
dressed similarly. > > This should make it very straight-forward to audit an app to see if there’s > potential XSS dangers and not penalize the performance of the vast majority > of apps that don’t have these issues. I cannot figure out how unsafe html can > possibly get into any of my apps. I’d

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-11 Thread Edward Stangler
For final use, should the API perhaps be something that accepts Element / HTMLElement and a string, to be compatible with a future HTML Sanitizer API? (And it would somehow internally keep track of a Sanitizer object.) https://developer.mozilla.org/en-US/docs/Web/API/HTML_Sanitizer_API For

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Edward Stangler
, but you could insist that they always call the sanitizer hook. On 12/10/2021 4:27 AM, Harbs wrote: > Sanitizing what? And why? > > What is the use case which is “dangerous”? > >> On Dec 10, 2021, at 11:49 AM, Edward Stangler wrote: >> >> >> My mistake. &

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Edward Stangler
My mistake. Definitely should be sanitizing. If you want PAYG, then make it default (some global function) and something that can be overridden by those who want to live dangerously. On 12/10/2021 3:07 AM, Harbs wrote: >> It looks to me that most uses of innerHTML in Royale are assigning text

Re: 0.9.9

2021-12-09 Thread Edward Stangler
Closure's sanitizer was originally based on Google Caja sanitizer. It looks like Angular DomSanitizer was also based on Caja's or Closure's. All of them are whitelist-style sanitizers. It looks to me that most uses of innerHTML in Royale are assigning text to various labels (like Button). Is

Re: Dictionary

2021-11-13 Thread Edward Stangler
ange the code in future support (the compiler will expand the [] > access to get/set calls and delete operator to delete call), and also to > get iteration over weak keys working, but it will very likely be slower > than ObjectMap or using native Map. > > > > > > > On

Re: Dictionary

2021-11-13 Thread Edward Stangler
smarts and > internal use of WeakRef in js implementation in the case of weak keys. > Something for later... > > > > > > On Sun, Nov 14, 2021 at 12:57 PM Edward Stangler > wrote: > >> Why not use org.apache.royale.utils.ObjectMap? >> >> >>

Re: Dictionary

2021-11-13 Thread Edward Stangler
Why not use org.apache.royale.utils.ObjectMap? On 11/13/2021 3:24 PM, Greg Dove wrote: > Sure, if you want, Andrew. This is the way I do it currently, and in some > cases this has been done within the current framework code (e.g. in Crux > code there is some use of Map to replace Dictionary in

Re: Language.string behavior (was Re: null values in XML)

2021-11-13 Thread Edward Stangler
might have an initial value of undefined. In >> that case, I don’t think you’d usually want to be using “undefined”. You >> probably want “” instead. >> >> I don’t remember all the discussions we had around this in the past. >> >> If anyone remembers better, please

Re: Language.string behavior (was Re: null values in XML)

2021-11-13 Thread Edward Stangler
think you’d usually want to be using “undefined”. You probably want “” > instead. > > I don’t remember all the discussions we had around this in the past. > > If anyone remembers better, please jog my memory… > > Harbs > >> On Nov 12, 2021, at 8:08 PM, Edward Stangler wr

Re: mxtests failing

2021-11-12 Thread Edward Stangler
> >> This rings familiar, so if anyone has a recollection, please share. >> Otherwise, I'll continue to search the offending commit. >> >> On 2021/11/02 12:42:51, Yishay Weiss wrote: >>> Could be the ChildResize merge (CI shows it started failing after that). >&

Re: null values in XML

2021-11-12 Thread Edward Stangler
, rather than having original XML vs. XML.copy() behave differently. At least, it makes it harder to code and test for both cases. Perhaps someone could add a test for this case, if there isn't one already. On 11/12/2021 12:19 PM, Edward Stangler wrote: > > Why is XML.copy() not setting

Re: null values in XML

2021-11-12 Thread Edward Stangler
Why is XML.copy() not setting ""? On 11/12/2021 4:05 AM, Harbs wrote: > xml.toXMLString() is correct. > > > > I believe there’s two problems: > > 1. XML.toString() blindly returns _value for attributes even though they can > be undefined. Leaving them undefined saves memory. > 2.

Re: null values in XML

2021-11-12 Thread Edward Stangler
In Flex, both String(null) == "null" and ""+null == "null" (the string "null", not the null value). Don't know if that's the equivalent of Language.string(). On 11/12/2021 4:05 AM, Harbs wrote: > I wonder if Language.string() should return “” for undefined. It currently > returns null. I

Re: null values in XML

2021-11-11 Thread Edward Stangler
have a child.) Doing "" also works fine. On 11/11/2021 10:31 AM, Harbs wrote: > I have XML which had and after reading it into an XML object > and writing it back I get > > I have not yet investigated at which point it becomes “null”. > >> On Nov 11, 2021, at 5:1

Re: null values in XML

2021-11-11 Thread Edward Stangler
In what context? Like an example. On 11/11/2021 3:40 AM, Harbs wrote: > At some point (not sure when), it seems like when writing xml, empty string > attributes became “null” instead of “”. > > Any ideas when/how that happened?

mxtests failing

2021-11-01 Thread Edward Stangler
Anyone else having problems with: ant mxtests Flash Debug Player comes up, but nothing happens. It's a recent change; it was working not too long ago. Other tests run fine. flashlog.txt: TestCase Start: ComboBoxTestScript$SetupComboBoxTest RESULT:

Re: Two-way databinding

2021-10-31 Thread Edward Stangler
In Flex, two-way binding can be done in several ways: 1. 2. 3. value="@{comp.A}" As you said, Royale does not support #3 (in fact, it breaks one-way binding; see Issue #1162). And, there are various bugs (see Issues #1159, #1160, #1161, and probably more). But two-way binding does

Re: AsyncTasks

2021-10-26 Thread Edward Stangler
s: > https://rxjs.dev/operator-decision-tree > > FWIW, I’ve entertained the idea of creating an Observable implementation for > Royale, but it was too much for me to undertake considering the chances of me > wanting to use it personally is slim. > >> On Oct 25, 2021, at 3:

Re: AsyncTasks

2021-10-24 Thread Edward Stangler
I assume you're describing Promises without async / await, below. How does your stuff compare to Observables? On 10/24/2021 5:28 AM, Harbs wrote: > I just made a commit and I want to give some background: > > I personally strongly dislike Promises. Promises address a need (namely > callback

Re: Get the browser address

2021-10-17 Thread Edward Stangler
MXRoyale and SparkRoyale use document.URL (for JS; loaderInfo.url for SWF) to set their Application.url properties. document.URL is a read-only version of window.location.href. On 10/17/2021 5:46 PM, Maria Jose Esteve wrote: > Hi Hugo, have you tried "window.location.href"? > Hiedra > >

Re: MXRoyale splitting to two libs - please provide your feedback.

2021-10-13 Thread Edward Stangler
y problems. This is the exit: ... Hiedra. -Mensaje original- De: Edward Stangler Enviado el: mi?rcoles, 13 de octubre de 2021 21:19 Para: dev@royale.apache.org<mailto:dev@royale.apache.org> Asunto: Re: MXRoyale splitting to two libs - please provide your feedback. Maria, I

Re: MXRoyale splitting to two libs - please provide your feedback.

2021-10-13 Thread Edward Stangler
Maria, If you don't have a MXRoyaleBase.swc file, there must be some errors during the MXRoyaleBase part of the compile. What are those errors? (Or is that section of the compile missing?) On 10/13/2021 11:07 AM, Maria Jose Esteve wrote: > Hi Edward, > > I have the same error with your

Re: MXRoyale splitting to two libs - please provide your feedback.

2021-10-13 Thread Edward Stangler
ant -Dskip-tests=1 all works for me, and it generates MXRoyaleBase.swc. I've tried various tests and compiles, and so far it hasn't broke. On 10/13/2021 3:07 AM, Maria Jose Esteve wrote: > I keep getting errors when compiling, the MXRoyaleBase.swc file is not > generated, is this not

Re: Error in SWF mxtests

2021-09-20 Thread Edward Stangler
how to debug this you can simply rollback to various commits since 458422fda1652198b03a4e03ae39117ba519e7df , run mxtests, and see which commit is responsible for the failure. To run mxtests, simply run ‘ant mxtests’ from royale-asjs Let us know if you need guidance. Thanks. From: Edward Stangler Se

Re: [apache/royale-asjs] Various small fixes and changes (#1127)

2021-09-19 Thread Edward Stangler
rray.sortOn really needs to be XML aware at > all. It seems like a component which accepts XML data can just call a > specialized XML sort method instead. > > Thoughts? > Harbs > >> On Sep 17, 2021, at 2:00 PM, Edward Stangler wrote: >> >> >> Every

Re: [apache/royale-asjs] Various small fixes and changes (#1127)

2021-09-17 Thread Edward Stangler
at’s not the case here, I’m going to ask some more questions. > > 1. Where/why is this code needed? You made a comment about XML not being > available. Why would that be an issue? > 2. Is there another way to achieve the same result that’s more PAYG? > > Thanks, > Harbs >

Re: [apache/royale-asjs] Various small fixes and changes (#1127)

2021-09-16 Thread Edward Stangler
204 bytes (~0.03% of small program) in JS release (presumably mostly due to the one new static function) (develop vs. develop + just these Language changes) (no difference between full rebuild or just Language rebuild) TestSetClipboard.swf release - before: 87,634 release - after: 87,634 debug

Re: Some tests require manual intervention in Flash Player?

2021-09-16 Thread Edward Stangler
. Original message From: Edward Stangler Date: Sat, 10 Jul 2021, 04:36 To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Some tests require manual intervention in Flash Player? Sometimes, while running "ant" to do a full build, and during a project

Error in SWF mxtests

2021-09-15 Thread Edward Stangler
With latest everything, fresh everything, getting an error in SWF side of mxtests: ant mxtests TypeError: Error #1009: Cannot access a property or method of a null object reference. at UnitTester$/init()[c:\somewhere\royale-asjs\mustella\src\main\royale\UnitTester.as:321] at

Re: Mustella Tests

2021-08-13 Thread Edward Stangler
PR #1146 fixes this. On 8/13/2021 4:10 AM, Yishay Weiss wrote: MX integration tests are still failing with a similar message. Note that his time it’s SetupListAndDataGridTest (not button test which passes). Edward, do you think you can take a look? I got the below message in my flash log

Re: Mustella Tests

2021-07-20 Thread Edward Stangler
PR #1134 fixes the issue. On 7/9/2021 7:37 AM, Edward Stangler wrote: Yes, I've reproduced with a stand-alone test case based on the tests. I know what the problem is, now. The fix is easy, and I've tested it, but I need a little more time with it. On 7/9/2021 6:53 AM, ‪Yishay Weiss‬

SkinPart

2021-07-13 Thread Edward Stangler
Does [SkinPart(...)] work? I'm not seeing any in the metadata search in SkinnableComponent.get skinParts().

Re: Using Royale in non-browser environments

2021-07-11 Thread Edward Stangler
I can't comment to the items below, but if you're asking about goog in general, Royale also uses goog.events heavily, and based on my experience, I don't think that's going to be easy to replace. On 7/11/2021 6:13 AM, Harbs wrote: > To express this another way: > > I’m trying to figure out

Re: Using Royale in non-browser environments

2021-07-11 Thread Edward Stangler
oConsole_( > 'Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, ' > + > 'or setting CLOSURE_NO_DEPS to true.'); > controller.loaded(); > } else { > controller.pause(); > } > return; > } > > goog.inHtmlD

Re: Using Royale in non-browser environments

2021-07-11 Thread Edward Stangler
How about this? ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING https://github.com/google/closure-library/issues/844#issuecomment-331235307 Looks like it's used in UIModuleUtils.as for its purpose, too. On 7/11/2021 4:08 AM, Harbs wrote: > We’ve been working on migrating a Royale project to

Some tests require manual intervention in Flash Player?

2021-07-09 Thread Edward Stangler
Sometimes, while running "ant" to do a full build, and during a project test (especially Basic), it will open Adobe Flash Player 32 and wait for me to manually open the given FlexUnitRoyaleApplication.swf before the test runs. Is this normal, or a race condition? It gets old quickly when doing a

Re: Mustella Tests

2021-07-09 Thread Edward Stangler
? If not, it may be enough to run an app with an includeIn and a state change. As you can see up thread contanerviiew.addviewport is what's failing. My CLT-L09. On O2. Original message From: Edward Stangler <mailto:estang...@bradmark.com> Date: Fri, 9 Jul 2021, 05:07 To:

Re: Mustella Tests

2021-07-08 Thread Edward Stangler
for the delay in addressing this. I'm working on it right now (trying to get the tests running on my PC). On 7/8/2021 7:52 AM, Yishay Weiss wrote: Looks like reverting 6d1c020577cec69b6207a5b46356b6a2b74f308c fixes it @Edward Stangler<mailto:estang...@bradmark.com> , do you think you ca

Re: Getting to 1.0

2021-04-20 Thread Edward Stangler
I've had many problems in the past on Firefox (latest), where it just never finishes loading (just says "Loading..." in big letters under the class name, for example). Seems to happen on some pages but not others. It's so bad that I basically don't look at the API docs anymore. On 4/20/2021

Re: mx:DataGrid "change" event behavior

2021-04-02 Thread Edward Stangler
f this was a design choice by Royale and how should I go about > getting the properties of colIndex, rowIndex and ItemRenderer. > On Thu, Apr 1, 2021 at 3:33 PM Edward Stangler > wrote: > >> It does generate a ListEvent.ITEM_CLICK event. >> >> >> >> On 4/1/202

Re: mx:DataGrid "change" event behavior

2021-04-01 Thread Edward Stangler
It does generate a ListEvent.ITEM_CLICK event. On 4/1/2021 5:27 PM, gbarbosa wrote: > Hi Royale Team, > > When I click on a row in my dataGrid the "change" event is dispatched. My > question is why is this a ListEvent and furthermore why doesn't it have the > properties of itemRenderer,

Re: profiler result on royale application performance

2021-01-12 Thread Edward Stangler
Which version of Royale are you using? At least some of this has been more optimized (i.e. checkInterface, grid scrolling, XML parsing, etc.) over the past few weeks. So it would be in the nightly build. I'm running with similar use of MX AdvancedDataGrid (under Spark), some with more columns.

Re: drag and drop is nor working in mxroyale

2021-01-04 Thread Edward Stangler
Drag-and-drop does not seem to be implemented in MX AdvancedDataGrid, currently, from what I see in the code. On 1/4/2021 4:45 AM, Nallathambi, Varunkumar wrote: > Hi, > Drag and drop is not working on mxroyale advanced datagrid. Do > we have the feature available? Kindly do

Re: Error extending bead Disabled

2021-01-04 Thread Edward Stangler
ne 2021 a las 9:49, Maria Jose Esteve > escribió: > >> Hi Edward, >> Thanks for answering. If this is so ... how can I do it then? >> Has the same situation been given to you? Could you give me an example of >> how I should continue? >> >> Thx. >> Hiedra. >&g

Re: Error extending bead Disabled

2021-01-03 Thread Edward Stangler
Jewel Disabled (the parent class) needs to extend DispatcherBead (instead of Bead) or EventDispatcher. My guess is that it's the "[Bindable]" part in Disabled causing the requirement. Only happens if Disabled is in a library. On 1/3/2021 9:50 PM, Maria Jose Esteve wrote: > Hello, > I'm

Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-03 Thread Edward Stangler
https://web.archive.org/web/20210102180106/https://www.adobe.com/support/flashplayer/debug_downloads.html On 1/3/2021 9:00 AM, Harbs wrote: > There’s no license agreement when downloading playerglobal or the content > debugger. > > I’m willing to take the risk to personally host these files

Style propagation implementation

2021-01-02 Thread Edward Stangler
What is the motivation of why style propagation is implemented differently in Royale vs. Flex? In Flex, UIComponent.getStyle() can look at materialized versions of the inherited and non-inherited style values. It's quick. Propagation is done through notifyStyleChangeInChildren(). (And that can

Re: XMLJS.test RoyaleUnit Release build tests: FAILED

2021-01-02 Thread Edward Stangler
Looks like the compiler is fixed; XML tests in release mode pass, now. Thanks! On 1/1/2021 3:10 PM, Greg Dove wrote: > Hi Edward, I just pushed a change that should solve this via the compiler. > > In reference to your comments about the tests, that is correct. Originally > the tests were

Re: XMLJS.test RoyaleUnit Release build tests: FAILED

2021-01-01 Thread Edward Stangler
Looks like you're getting a problem in the XML.getQName() changes. The localName values (from the XML in the tests) are getting errors like "Cannot read property 'size' of undefined". Looking at the JS code of release vs debug, it appears that the compiler is not initializing these static

Re: Flash Player EOL and Royale

2020-12-04 Thread Edward Stangler
They will remove all downloads after 2020: https://www.adobe.com/products/flashplayer/end-of-life.html There is a way for enterprise users and developers to enable Flash Player (in browser) beyond 2020 (it's just unsupported):

Re: Spark StackLayout

2020-12-03 Thread Edward Stangler
here, as I understand > it, is for people to work on the things they find useful. > > > > > From: Edward Stangler > Sent: Thursday, December 3, 2020 6:16 AM > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > Subject: Spark StackLayout > > It's been very u

Spark StackLayout

2020-12-02 Thread Edward Stangler
It's been very useful to have a version of mx:ViewStack for Spark that has a dataProvider. It's just a SkinnableDataContainer (or such) + StackLayout. Would Royale want a Spark StackLayout? Apache Flex has an experimental StackLayout, but it's unbelievably complicated with lots of flash

Re: Source of build.xml files

2020-11-30 Thread Edward Stangler
d" have a configuration that just uses the non-jS swcs but you'd probably have to use a different -config.xml file. HTH, -Alex On 11/30/20, 1:13 PM, "Edward Stangler" wrote: As I mentioned earlier (especially in the step-by-step that I posted), setting ROYALE_COMPILER

Re: Source of build.xml files

2020-11-30 Thread Edward Stangler
gt; the transpilation is required to be in that SWC. > > HTH, > -Alex > > On 11/30/20, 12:43 AM, "Edward Stangler" wrote: > > > I actually do want to generate the SWF SWCs. My point was that during > the SWF SWC build, there's no reason to build J

Re: Source of build.xml files

2020-11-30 Thread Edward Stangler
le writing > (in the royale-asjs folders and subfolders) can speed up the build. > > HTH, > -Alex > > On 11/29/20, 5:09 PM, "Edward Stangler" wrote: > > > I can understand generating the SWF target for the xJS.swc (JS) build. > The SWF targets

Re: Re: Source of build.xml files

2020-11-29 Thread Edward Stangler
member > exactly the difference. > > JS SWCs always require a SWF target because that generates the actual SWC > which the JS files are then added to. It would be great to be able to avoid > that piece, but that’s not something that we’ve done yet. > >> On Nov 29, 2020, at 1

Re: RE: RE: Resource bundles and locales

2020-11-29 Thread Edward Stangler
JS side. So I have no idea where to start. On 11/29/2020 1:35 AM, Yishay Weiss wrote: > I haven’t tried dynamically loading locales. We are using the compiler > option, which is the same as in Flex. > > > > From: Edward Stangler > Sent: Friday, November 27, 2020 4:

Re: Re: Source of build.xml files

2020-11-29 Thread Edward Stangler
>> >> Why are you using the jars in the compiler repo? >> >>> On Nov 27, 2020, at 4:34 AM, Edward Stangler wrote: >>> >>> >>> If you use a custom ROYALE_COMPILER_HOME, like I do (on Windows), then >>> very few of the build.xml files hand

Re: Re: Source of build.xml files

2020-11-26 Thread Edward Stangler
lder as royale-asjs. > > You need the Flash ones only if you’re compiling the SWF swcs (which is > advisable). > > HTH, > Harbs > >> On Nov 26, 2020, at 11:18 AM, Edward Stangler wrote: >> >> Are the build.xml files automatically generated from some other

Re: RE: Resource bundles and locales

2020-11-26 Thread Edward Stangler
syntax in mxml and are using instead things like > > > > > > From: Edward Stangler > Sent: Thursday, November 26, 2020 12:31 AM > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > Subject: Resource bundles and locales > > What is the current way to do resource bundles and locales? > > >

Source of build.xml files

2020-11-26 Thread Edward Stangler
Are the build.xml files automatically generated from some other files? Many of them are not seeing the ROYALE_COMPILER_HOME environment variable, so I have to manually adjust this: to this: And there are a lot of files to modify each time I do

Resource bundles and locales

2020-11-25 Thread Edward Stangler
What is the current way to do resource bundles and locales?