Re: TypeNames vs ClassName

2018-02-27 Thread Alex Harui
Hi Piotr, I could not understand this explanation. Might be better to show actual code. For example in #3, there is a cssClass variable that I don't know about. Also you mention at the bottom setting something as empty, but I'm not sure what that is. However, IMO, this code should be in utility

Re: TypeNames vs ClassName

2018-02-27 Thread Piotr Zarzycki
Here is how I'm thinking to resolve that issue. I would take Harb's proposition and add to UIBase addClassName() and removeClassName(). Next I would add internal field _internalClassName:String. addClassName(value): 1) Will check if provided class name exits in _className and in _internalClassNam

Re: Flex Emulation SWCs

2018-02-27 Thread Alex Harui
On 2/27/18, 11:18 AM, "Harbs" wrote: >Gotcha. > >I’m not 100% convinced that it’s going to ultimately be easier like this, >but it might be interesting to have a migration set and see how useful it >actually is. Yeah, I can't guarantee it will be better, but having recently survived a huge sea

Re: Flex Emulation SWCs

2018-02-27 Thread Harbs
Gotcha. I’m not 100% convinced that it’s going to ultimately be easier like this, but it might be interesting to have a migration set and see how useful it actually is. > On Feb 27, 2018, at 9:13 PM, Alex Harui wrote: > > If we put trace statements in the API stubs, the user could get some >

Re: Flex Emulation SWCs

2018-02-27 Thread Alex Harui
If we put trace statements in the API stubs, the user could get some output that tells what is missing. Or scan the JS for some jsdoc key we leave in the code. But if it compiles, the user will know also what is missing because the App will not look right or operate correctly. Harbs, back when y

Re: Flex Emulation SWCs

2018-02-27 Thread Piotr Zarzycki
What would be the results for Alina if you will have that swc ? She simply will be able to launch application without the error - That's the idea ? 2018-02-27 19:38 GMT+01:00 Harbs : > Maybe. Not sure. > > How does the client know what needs to be implemented and how do they go > about implementi

Re: Flex Emulation SWCs

2018-02-27 Thread Harbs
Maybe. Not sure. How does the client know what needs to be implemented and how do they go about implementing that? > On Feb 27, 2018, at 8:32 PM, Alex Harui wrote: > > Hmm, maybe I'm not understanding you. If we decide to create a SWC with a > spark.components.Button and Alina needs 12 APIs a

Re: Flex Emulation SWCs

2018-02-27 Thread Alex Harui
Hmm, maybe I'm not understanding you. If we decide to create a SWC with a spark.components.Button and Alina needs 12 APIs and we only have time right now to implement 6 of them, how would you handle the missing 6? I would just implement those APIs but they wouldn't do anything. They would contai

Re: Flex Emulation SWCs

2018-02-27 Thread Harbs
If things are no-op or to-dos wouldn’t “stubs” or “dummy” classes be better? What’s the advantage of having partially functional SWCs? It seems to me like it would mask the issues? Harbs > On Feb 27, 2018, at 7:48 PM, Alex Harui wrote: > > Hi, > > On the users list, Alina has provided the AP

Flex Emulation SWCs

2018-02-27 Thread Alex Harui
Hi, On the users list, Alina has provided the API report for the main portion of her application. We are still waiting to get a report on her SWC library. She might have a pile of modules to report on as well. Based just on the main application, and her saying that she has 500 MXML files to por

Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries

2018-02-27 Thread Alex Harui
Hi Jason, Actually, I didn't know that. I'm not a compiler guy. Someone else wrote the key pieces. I could see that way back, a compiler might have written out intermediate information for the next step, like having a separate linker that links the object files. But I don't think I've seen (or

Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries

2018-02-27 Thread Jason Guild
Alex: As you probably know, compilers in the old days were implemented in a series of stages as separate processes due to memory size limitations. The output from the previous stage was fed to the next stage as compilation proceeded until object files were produced. Maybe it makes sense for t

Re: [royale-asjs] branch develop updated: fix royale typedefs as stated by Josh (https://github.com/BowlerHatLLC/vscode-nextgenas/issues/170)

2018-02-27 Thread Carlos Rovira
Ok Alex, many thanks 2018-02-27 6:36 GMT+01:00 Alex Harui : > I took care of it. > > -Alex > > On 2/26/18, 11:51 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > wrote: > > >Hi Just notified in the thread in nextgenas issues > >Could you post here the names of files to fix? I could ta

Re: TypeNames vs ClassName

2018-02-27 Thread Piotr Zarzycki
I think I have analyzed everything and have some implementation proposition. I will try to provide it later today. Thanks, Piotr 2018-02-27 13:35 GMT+01:00 Harbs : > ExpandableSearch broke too. > > > On Feb 25, 2018, at 6:15 PM, Piotr Zarzycki > wrote: > > > > Harbs, > > > > If you are using so

Re: TypeNames vs ClassName

2018-02-27 Thread Harbs
ExpandableSearch broke too. > On Feb 25, 2018, at 6:15 PM, Piotr Zarzycki wrote: > > Harbs, > > If you are using something more than MDL Dialog in your application it > would be great to get feedback whether I didn't break for you anything. :)