RE: [Royale-ASJS] flexTasks

2017-11-07 Thread Yishay Weiss
Looks like I was the only one doing ant clean all on royale-asjs. Pushed the fix. From: Yishay Weiss Sent: Wednesday, November 8, 2017 9:18:26 AM To: dev@royale.apache.org Subject: RE: [Royale-ASJS] flexTasks After doing that I ran into a problem where the com

RE: Source path in framework SWCs

2017-11-07 Thread Yishay Weiss
Let’s hope FDT provides Royale support. We need a presence in Eclipse. New versions of Eclipse support generic editors that support language servers so maybe Josh’s work can be reused… From: Alex Harui Sent: Tuesday, November 7, 2017 7:41:24 PM To: dev@royale.

RE: [Royale-ASJS] flexTasks

2017-11-07 Thread Yishay Weiss
After doing that I ran into a problem where the compiler’s main task wasn’t found. This change seems to fix it though… C:\dev\flexjs\royale-asjs>git diff diff --git a/build.xml b/build.xml index e9da17a77..0a9573b66 100644 --- a/build.xml +++ b/build.xml @@ -1596,7 +1596,7 @@

Re: [Royale-ASJS] flexTasks

2017-11-07 Thread Alex Harui
Sync all 3 repos, start with royale-compiler, then royale-typedefs, then royale-asjs. I'd recommend running "ant wipe-all" in royale-compiler before running just "ant" (which now builds everything in royale-compiler). And in royale-asjs, run "ant super-clean" before running "ant". HTH, -Alex On

[Royale-ASJS] flexTasks

2017-11-07 Thread Peter Ent
I sync'd the repo (develop branch) and rebuilt asjs. I'm seeing this notice: Could not load definitions from resource flexTasks.tasks. It could not be found. Wouldn't "flexTasks.tasks" get renamed to "royaleTasks.tasks" ? —peter

Re: [Royale-ASJS] flexTasks

2017-11-07 Thread Alex Harui
I'm not seeing this in the latest builds, now that things are synced up. We are keeping "flexTasks" to make it easier for folks migrating. Not sure if new users who aren't migrating are going to be using Ant anyway. -Alex On 11/7/17, 4:42 PM, "Alex Harui" wrote: >I've noticed that too, but the

Re: [Royale-ASJS] flexTasks

2017-11-07 Thread Alex Harui
I've noticed that too, but the build seems to work for me. I will look into it. -Alex On 11/7/17, 3:58 PM, "Peter Ent" wrote: >I sent this earlier but I haven’t seen it in my feed. Apologies if this >is a duplicate. > >I sync'd the repo (develop branch) and rebuilt asjs. I'm seeing this >notic

[Royale-ASJS] flexTasks

2017-11-07 Thread Peter Ent
I sent this earlier but I haven’t seen it in my feed. Apologies if this is a duplicate. I sync'd the repo (develop branch) and rebuilt asjs. I'm seeing this notice: Could not load definitions from resource flexTasks.tasks. It could not be found. Wouldn't "flexTasks.tasks" get renamed to "royale

Re: RE: Source path in framework SWCs

2017-11-07 Thread Josh Tynjala
The VSCode extension attempts to use the source path from the SWC, if possible. Basically, it checks the path for "/frameworks/projects/", and then, it tries to swap in the local path to the SDK on your computer. - Josh On 2017-11-07 13:12, "Idylog - Nicolas Granon" wrote: > I am not an exper

RE: source-map compiler argument : path to source

2017-11-07 Thread Idylog - Nicolas Granon
Sorry for my ignorance. I thought that it had to match the "main source" file extension. Thank you for this information. Regarding the source path in the .map file, I personally do not know what the TS compiler produces. If I understand correctly, it means that, depending where the output is sent,

RE: Resources (I18N, globalization, localization)

2017-11-07 Thread Idylog - Nicolas Granon
I forgot to say (it was probably obvious, but...) that we rely *heavily* on locale for dates and number formatting. For dates, it means not only the typical MM, DD, order, but also the separator between them, and the "text form" (short or long) for days of week, and/or months. For numbers,

RE: Source path in framework SWCs

2017-11-07 Thread Idylog - Nicolas Granon
I am not an expert there, but I see in the SWCs that ship from Adobe that the source path (to the /projects/ folder) is in fact coded "inside" the SWCs. When I open the SWCs from the Royale binaries, the source path points to some absolute Jenkins source folder that is not part of the distributio

Re: [royale-compiler] branch wast created (now e336021)

2017-11-07 Thread Piotr Zarzycki
I know Erik, that's why I'm trying to keep my hands on that. Thanks for moving it! :) Piotr 2017-11-07 19:43 GMT+01:00 Erik de Bruin : > I moved it. > > I know nothing about Maven, and I won't be investing time in writing code > to support it: that'll have to be another volunteer's challenge ;-)

Re: Apache Royale website legal approval

2017-11-07 Thread Harbs
Yay! So excited about being able to move on with this! :-D Harbs > On Nov 7, 2017, at 8:45 PM, Carlos Rovira wrote: > > Hi, > > as Chris marked the ticket solved (although it will remain open until > Friday), I just buyed the license now to avoid a price increase in the > following days. > It

Re: Apache Royale website legal approval

2017-11-07 Thread Carlos Rovira
btw, to share the envato credentials to the "apacheroyale" account, I think it's ok to share it in private list 2017-11-07 19:45 GMT+01:00 Carlos Rovira : > Hi, > > as Chris marked the ticket solved (although it will remain open until > Friday), I just buyed the license now to avoid a price incr

Re: Apache Royale website legal approval

2017-11-07 Thread Carlos Rovira
Hi, as Chris marked the ticket solved (although it will remain open until Friday), I just buyed the license now to avoid a price increase in the following days. It cost me 41$ and that better than 61$ in few days ;) So I think we at last get the website requerimients. Right now is just a matter

Re: [royale-compiler] branch wast created (now e336021)

2017-11-07 Thread Erik de Bruin
I moved it. I know nothing about Maven, and I won't be investing time in writing code to support it: that'll have to be another volunteer's challenge ;-) EdB On Tue, Nov 7, 2017 at 5:24 PM, Piotr Zarzycki wrote: > Hi Erik, > > Could you please create that branch under "feature/" folder - > "

Re: source-map compiler argument : path to source

2017-11-07 Thread Josh Tynjala
The .js.map extension is the correct behavior. The name of a source map file is based on extension of the output file rather then the input file. Both .as and .mxml files will produce .js output, so the source map's extension should be .js.map for both. Every tool that I've seen produce source m

Re: Unit Tests et. al.

2017-11-07 Thread Josh Tynjala
Sorry for the late response. Yes, go ahead! - Josh On 2017-11-04 11:30, Harbs wrote: > Awesome! > > I assume that this means I can code the code to the Royale repo under Apache > 2. Right? > > Harbs > > > On Nov 3, 2017, at 5:37 PM, Josh Tynjala wrote: > > > > Please feel free to use my t

Re: Apache Royale website legal approval

2017-11-07 Thread Carlos Rovira
Right Harbs, I think what Shane demands is ok, I expect they could give us that concrete wording for us to add to the footer. Thanks 2017-11-07 18:26 GMT+01:00 Harbs : > It looks that way, but I’d wait a bit longer to give some more folks a > chance to weigh in. > > Shane wants very clear wordi

Re: Test Beads (was Re: Unit Tests et. al.)

2017-11-07 Thread Harbs
> I guess we are not understanding each other. Probably not. The best way to discuss this is likely a POC. > If the testing language is > AS or JS, test authors have to know how to deal with the runtime > differences. It depends on the tests. If the code is platform agnostic, the tests should b

Re: Test Beads (was Re: Unit Tests et. al.)

2017-11-07 Thread Alex Harui
I guess we are not understanding each other. If the testing language is AS or JS, test authors have to know how to deal with the runtime differences. That's why Mustella uses MXML. Automated test code generation could also abstract those differences from the test authors. If you want to build u

Re: Resources (I18N, globalization, localization)

2017-11-07 Thread Alex Harui
Thanks Nicolas. So some questions for you (and other users) 1) does your Flex app currently use the "fall-through" where not every locale has every key? 2) does your Flex app use @resource directive in MXML? Thanks, -Alex On 11/7/17, 9:29 AM, "Idylog - Nicolas Granon" wrote: >Great ! > >That

Re: Currency formatter instanciation issue (was RE: ApplicationComplete event not firing)

2017-11-07 Thread Alex Harui
Unfortunately, FB does not call our code in a useful fashion during a "clean". That's something that may also be a limitation of FB. We'll see if I find time to dig into FB more and find a workaround. The workaround may be to always clean the bin folder when running in FB. -Alex On 11/7/17, 5:

Re: Source path in framework SWCs

2017-11-07 Thread Alex Harui
AFAIK, there is no way to link the source-path "out-of-the-box". It is a limitation of Flash Builder. We might provide a script that injects the links into a project's files. That's about the best we can do, short of monkey-patching FB. Long-term, the newer IDEs (VSCode, Moonshine) and older ID

Re: Test Beads (was Re: Unit Tests et. al.)

2017-11-07 Thread Harbs
Right. I’m proposing a totally different architecture. In the architecture I’m proposing, the runner is a passive observer. The tests would be run by *the beads themselves* and *push* the results out to the runner. The runner would have a count of the number of tests that are supposed to be run

Re: Test Beads (was Re: Unit Tests et. al.)

2017-11-07 Thread Alex Harui
Snip... On 11/7/17, 12:33 AM, "Harbs" wrote: >>To me the "Later" problem is about how to sequential lines of >> ActionScript/JavaScript don't get run sequentially in order for the >> runtime to do some processing. I don't understand how a bead can do >>that >> if the tests are written in a non-

RE: Resources (I18N, globalization, localization)

2017-11-07 Thread Idylog - Nicolas Granon
Great ! That is one the features we cannot afford to miss... Nicolas Granon > -Message d'origine- > De : Alex Harui [mailto:aha...@adobe.com.INVALID] > Envoyé : mardi 7 novembre 2017 18:24 > À : dev@royale.apache.org > Objet : Resources (I18N, globalization, localization) > > Hi, >

Re: Apache Royale website legal approval

2017-11-07 Thread Harbs
It looks that way, but I’d wait a bit longer to give some more folks a chance to weigh in. Shane wants very clear wording and a page that explains the licensing. Makes sense to me. Harbs > On Nov 7, 2017, at 7:00 PM, Carlos Rovira wrote: > > Hi, > > just let you know that we have legal revi

Resources (I18N, globalization, localization)

2017-11-07 Thread Alex Harui
Hi, I just pushed a simple way of handling different locales in a Royale app. I purposefully did not call it ResourceManager for now since I don't think it will be 100% compatible. I just wanted to get something out there to get a discussion going. It looks like there is PAYG features for what w

Apache Royale website legal approval

2017-11-07 Thread Carlos Rovira
Hi, just let you know that we have legal review the website situation and seems ok. Please check the following legal ticket: https://issues.apache.org/jira/browse/LEGAL-341 If you are ok, I'll be buying the license of movedo for Apache Royale website Price is 39$ + 2$ of handling = 41$ Then I'

Re: Working on UI Controls styling

2017-11-07 Thread Piotr Zarzycki
Hi Harbs, That looks like good starting point, but this last approach where we for example generate UIDs for every component. This UID at the end will have to end up as an id in HTML or compiler will have to bind together css with that uid. The first approach where you have created couple of css

Re: [royale-compiler] branch wast created (now e336021)

2017-11-07 Thread Piotr Zarzycki
Hi Erik, Could you please create that branch under "feature/" folder - "feature/wast" - Thanks to that Maven build automatically pickup all your changes if we create branches for other repository as well. Thanks, Piotr 2017-11-07 15:13 GMT+01:00 : > This is an automated email from the ASF dual

RE: Source path in framework SWCs

2017-11-07 Thread Idylog - Nicolas Granon
We know that VSCode + Josh's extension is a very good setup. We were just beginning to use it when the whole rename story came up... That's why we went back to FB (plus we also had some maintenance going on and felt it would be quicker) But as soon as VSCode allows code-assist + source debuggin

Re: Currency formatter instanciation issue (was RE: ApplicationComplete event not firing)

2017-11-07 Thread Harbs
FB should probably delete the bin folder when performing clean, but it could be that it only removes the swf bin-debug folder and not the js bin folder. > On Nov 7, 2017, at 3:56 PM, Harbs wrote: > > Glad you figured it out! > > “It’s a feature — not a bug”. ;-) > > The compiler does not rep

Re: Currency formatter instanciation issue (was RE: ApplicationComplete event not firing)

2017-11-07 Thread Harbs
Glad you figured it out! “It’s a feature — not a bug”. ;-) The compiler does not replace files from swcs when doing subsequent compiles. This has two advantages: 1. Subsequent compiles are faster. 2. It allows you to manually change the js files included in swcs and recompile your apps. I’ve u

Re: Source path in framework SWCs

2017-11-07 Thread Harbs
I know you’re trying to get FB working but: FWIW, Josh’s VS Code extension offers “go to definition”. I’m hoping we’ll get the functionality back really soon when it supports Royale. > On Nov 7, 2017, at 3:37 PM, Idylog - Nicolas Granon > wrote: > > Is it possible to have the framework's SWCs

RE: Currency formatter instanciation issue (was RE: ApplicationComplete event not firing)

2017-11-07 Thread Idylog - Nicolas Granon
I have finally fixed the instantiation issue. It turns out that the compiler (when invoked from FB) does *not* systematically replace "lib" files (js dependencies in the org.apache... subfolders) even if performing a "clean build". For some unknown reason the CurrencyFormatter js file was empty an

Source path in framework SWCs

2017-11-07 Thread Idylog - Nicolas Granon
Is it possible to have the framework's SWCs compiled in such a way that the "source path" is automatically attached (/projects folder and subfolder) ? Or maybe it is rather something to specify in a config file (and not when compiling the SWCs) ? It would really help to have the "go to definition"

RE: Working on UI Controls styling

2017-11-07 Thread Idylog - Nicolas Granon
Are we talking about styling, theming or skinning ? As application developers, we are mainly interested in "styling", based on an available theme. Usually, it is a minor task. Most of the apps follow the chosen theme and styles affect mostly font size/weight, borders width/color, alphas ... We

Re: Working on UI Controls styling

2017-11-07 Thread Harbs
AFAIK, generating should not be any slower than any other DOM node. Here’s some data on applying CSS (although I’m not sure how useful the info actually is): https://benfrain.com/css-performance-revisited-selectors-bloat-expensive-styles/

Re: Working on UI Controls styling

2017-11-07 Thread Peter Ent
A couple of questions: How expensive is generating and applying CSS on the client? How do developers that use CSS regularly feel about having to declare that many styles for all the buttons? Maybe tools like Dreamweaver make it simpler and we just need IDEs that could provide assistance. Peter

Re: Working on UI Controls styling

2017-11-07 Thread Harbs
Some food for thought: I created a custom component for “buttons” which allow simple skinning using image files. It works like this: https://paste.apache.org/tc8f Specifying different states can be done using the following css: .bug { background-image: url

Re: Compiler projects setup and tests

2017-11-07 Thread Carlos Rovira
That sounds very interesting journey Erik! :) Hope you have good time on the way! ;) C. 2017-11-06 22:59 GMT+01:00 Piotr Zarzycki : > Erik! > > Sweet! :) > > Good Luck! > > On Mon, Nov 6, 2017, 22:29 Harbs wrote: > > > Sounds awesome! :-) > > > > Harbs > > > > > On Nov 6, 2017, at 11:12 PM, Eri

Re: Renaming Next Steps

2017-11-07 Thread Carlos Rovira
+1 2017-11-07 9:57 GMT+01:00 Erik de Bruin : > Go for it. > > EdB > > > > On Tue, Nov 7, 2017 at 8:12 AM, Harbs wrote: > > > +1 > > > > > On Nov 7, 2017, at 7:25 AM, Alex Harui > wrote: > > > > > > Hi, > > > > > > It looks like the feature/rename branches are building. I think it is > > > time

Re: Renaming Next Steps

2017-11-07 Thread Erik de Bruin
Go for it. EdB On Tue, Nov 7, 2017 at 8:12 AM, Harbs wrote: > +1 > > > On Nov 7, 2017, at 7:25 AM, Alex Harui wrote: > > > > Hi, > > > > It looks like the feature/rename branches are building. I think it is > > time to merge it into develop before moving on to restructuring the > builds > >

Re: Test Beads (was Re: Unit Tests et. al.)

2017-11-07 Thread Harbs
Comments inline. > Each Mixin brings in one class, but that class can drag in tons of stuff. > The key question for our users is how they want to determine what gets > tested. From prior Adobe Flex users, they didn't want to add testing > overhead to every MXML component, only certain ones, and o