Re: NextGenAS tutorials on Royale website

2018-10-03 Thread Harbs
Agree. Remove the section about “This tutorial was made possible”, and link to Josh’s site in the top box. > On Oct 3, 2018, at 2:24 AM, Alex Harui wrote: > > Personally, I don't have a problem, but I think Apache doesn't like anything > that implies that Apache pays for code. > IMO, the wordi

Re: [royale-compiler] 01/03: fix bracket access of XML/XMLList

2018-10-03 Thread Harbs
tand the logic in the compiler well enough to really know how to go about fixing these. Numbers in brackets need to be handled differently that strings and left hand of assignment should be different than right-hand. I hope this info is helpful… Harbs > On Oct 2, 2018, at 9:25 PM, Alex Harui

Re: NextGenAS tutorials on Royale website

2018-10-03 Thread Harbs
ctionscript-for-node-js/ > > about Royale 0.8 to 0.9.4 change, I 'm not sure is what we want, since the > node support was from 0.8 and we still didn't release 0.9.4...is right? > > Thanks > > Carlos > > > > > > El mié., 3 oct. 2018 a las

Re: NextGenAS tutorials on Royale website

2018-10-03 Thread Harbs
I’m done. I think it’s good to go. Harbs > On Oct 3, 2018, at 11:37 AM, Harbs wrote: > > I’m making a few small changes/corrections. I’ll be done in a few minutes. > >> On Oct 3, 2018, at 11:24 AM, Carlos Rovira wrote: >> >> Hi, I think a catch with all revisio

Re: Migrating Enterprise Flex Application

2018-10-03 Thread Harbs
Without seeing your source, I’d guess the problem is related to the locale you are feeding into the compiler. > On Oct 3, 2018, at 11:47 AM, chembali wrote: > > I am trying to compile a simple mxml file to js using mxmlc. Here is the mxml > fie. > > > xmlns:fx="ht

Re: NextGenAS tutorials on Royale website

2018-10-03 Thread Harbs
have Typescript definition files. 2b) Linking is done using require(). This “just works” as long as the node modules are installed. Some tooling for debugging and releasing would probably be helpful though. HTH, Harbs [1]https://blog.npmjs.org/post/178027064160/next-generation-package-management

Re: ***UNCHECKED*** Re: [Discuss] Start release process 0.9.3

2018-10-04 Thread Harbs
Can I ask a dumb question? Why are we using Maven for release? The argument I’ve always heard is that Maven is easier. This doesn’t seem easy… ;-) Harbs > On Oct 4, 2018, at 11:09 AM, Piotr Zarzycki wrote: > > Neverending story ;) What's your internet connection actually? >

Re: Check is something is Class or instance in Royale

2018-10-07 Thread Harbs
know how much something like that is used in the wild…) HTH, Harbs > On Oct 7, 2018, at 9:28 AM, Alex Harui wrote: > > Ah yes, Class is currently in missing.js in typedefs because so far nobody > needed it at runtime. > > I kind of wish we could avoid creating a dummy Class an

Re: [royale-compiler] 01/03: fix bracket access of XML/XMLList

2018-10-07 Thread Harbs
current tests now pass… Harbs > On Oct 3, 2018, at 11:10 AM, Harbs wrote: > > OK. > > I added some test cases for XMLList indexed access and assignment. One of > those tests passed before your change and is now failing. > > I think this is a summary of the cases we n

Re: [royale-compiler] 01/03: fix bracket access of XML/XMLList

2018-10-07 Thread Harbs
been trying to fix the > compile to get TDF to work. > > IExpressionNode.resolveType() should return the type of a function. See the > Javadoc for it. > > -Alex > > On 10/7/18, 4:59 AM, "Harbs" <mailto:harbs.li...@gmail.com>> wrote: > >I just

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Harbs
You might need a EasyDataProviderChangeNotifier bead on your ComboBox. HTH, Harbs > On Oct 8, 2018, at 9:17 PM, Carlos Rovira wrote: > > Hi, > > I'm retrieving a collection of VOs and storing in a class > > something like this > > someClass.collectionOfVO

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Harbs
I just ran your example and it changes the data. I’m not following you here. > On Oct 8, 2018, at 11:15 PM, Carlos Rovira wrote: > > Hi, > > just uploaded a example that works, I mean, it seems the component is ok, > but something is making it to fail. What scares me is that I'm doing mostly >

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Harbs
; } elsewhere in code where I actually get the data asynchronously: ProductUtils.suites.source = myArray; That causes a dynamic update. HTH, Harbs > On Oct 8, 2018, at 11:17 PM, Carlos Rovira wrote: > > Just to be sure: someClass is Bindable at level class, and collectionOfVOs > is not marked

Re: Proxy method calls with RemoteObject

2018-10-09 Thread Harbs
Yes. Temporarily using a branch as a shim to keep working until a permanent solution is available is something I’ve done more than once. That’s the cost of working with bleeding edge… ;-) Harbs > On Oct 9, 2018, at 1:39 PM, Piotr Zarzycki wrote: > > Carlos, > > You can al

Re: Royale Compiler Brings Wrong Dependencies

2018-10-14 Thread Harbs
That’s problematic. I look at it that it’s a limitation that you have to declare the dependencies in Maven. I’d rather that everything should just be available. What about subclassing the basic classes in MXRoyale so we don’t need to declare new CSS dependencies for Basic components there? > O

Re: Welcome Pushmina Kazi as Apache Royale Committer

2018-10-15 Thread Harbs
Welcome! :-) > On Oct 15, 2018, at 9:55 AM, Pushmina Kazi wrote: > > Thanks Piotr and Yishay > > -Pushmina kazi > > -Original Message- > From: Yishay Weiss [mailto:yishayj...@hotmail.com] > Sent: Monday, October 15, 2018 12:04 PM > To: dev@royale.apache.org > Subject: RE: Welcome Push

Re: Potential gotcha

2018-10-21 Thread Harbs
is that compiling to an Application differs to > compile to library in some way. > I suppose we always want "org.apache.royale.events.Event" right? > > If this doesn't sound strange I can fill an issue in GitHub > > Thanks > > Carlos > > > > El

Odd Error

2018-10-22 Thread Harbs
Recently I started getting this error when compiling my app: Oct 22, 2018 11:25:06 AM com.google.javascript.jscomp.LoggerErrorManager println SEVERE: /Users/harbs/Documents/git/PrintUI/printui-flexjs/PortedPrintUI/bin/js-debug/org/apache/royale/collections/ArrayList.js:14: ERROR - required

Re: Odd Error

2018-10-23 Thread Harbs
ms on the next build. > > What does ArrayList.js look like after it compiles on a clean build? > > -Alex > > On 10/22/18, 1:30 AM, "Harbs" wrote: > >Recently I started getting this error when compiling my app: > >Oct 22, 2018 11:25:06 A

Re: Odd Error

2018-10-23 Thread Harbs
('org.apache.royale.core.IBead'); The Royale Dependency List is empty. Any clues why that would be? > On Oct 23, 2018, at 1:11 PM, Harbs wrote: > > The file is identical in both cases. > >> On Oct 22, 2018, at 8:16 PM, Alex Harui wrote: >> >> GoogDepsWrit

Re: [royale-typedefs] branch develop updated: make sure certain consts are true constants. Volunteers welcome to add more config entries for other constants

2018-10-29 Thread Harbs
I’m getting an error when I try to compile with this commit: true-constant not recognized. Suggestions? > On Oct 19, 2018, at 9:41 AM, aha...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > aharui pushed a commit to branch develop > in repository h

Re: [royale-typedefs] branch develop updated: make sure certain consts are true constants. Volunteers welcome to add more config entries for other constants

2018-10-29 Thread Harbs
Never mind. I didn’t clean my repos well enough. > On Oct 29, 2018, at 2:16 PM, Harbs wrote: > > I’m getting an error when I try to compile with this commit: true-constant > not recognized. > > Suggestions? > >> On Oct 19, 2018, at 9:41 AM, aha...@apache.or

Re: Revisiting the old debate: 'localId vs. id'

2018-11-02 Thread Harbs
for the id. My $0.02, Harbs > On Nov 2, 2018, at 11:01 AM, Piotr Zarzycki wrote: > > Hi Greg, > > I'm really happy that you are helping Carlos with that! He may move forward > much faster. I just have question to following: > > "-My understanding is that

Re: feature/FocusEvents branch

2018-11-11 Thread Harbs
+1 > On Nov 12, 2018, at 2:20 AM, Alex Harui wrote: > > I don't think FocusEventConverter should be baked into HTMLElementWrapper.

Re: Private API names

2018-11-12 Thread Harbs
I’m seeing private vars that are not subclassed also with qualified names. It seems to me that top-level private vars have no reason to be qualified.My $0.02, Harbs > On Nov 6, 2018, at 11:03 PM, Alex Harui wrote: > > It would probably work, but why chase the inheritance chain at all

Re: feature/FocusEvents branch

2018-11-12 Thread Harbs
I have not been following the whole thread well enough. I was commenting on the bead bit. Thanks, Harbs > On Nov 12, 2018, at 12:54 PM, Carlos Rovira wrote: > > Hi Alex, > > I put the COMPILE::SWF in the imports due to all the warnings in VS Code > (and suppose that w

Re: Private API names

2018-11-12 Thread Harbs
I like this suggestion a lot. (Not surprising considering it was mine…) ;-) > On Nov 13, 2018, at 2:56 AM, Alex Harui wrote: > > FWIW, a while ago there was another discussion about output size and the > number of long strings related to package names. One option is to introduce > an "alias"

UIBase.addedToParent()

2018-11-13 Thread Harbs
. Thoughts? Harbs

Re: UIBase.addedToParent()

2018-11-13 Thread Harbs
ented can have a > flag and override of the "first-time-only" method. > > I thought every bead that comes from a ValuesManager lookup is supposed to > check the strand first. > > My 2 cents, > -Alex > > On 11/13/18, 12:05 AM, "Harbs" wrote: &g

Re: [royale-asjs] branch feature/modal created (now 1633099)

2018-11-13 Thread Harbs
other thread, beads are re-added. I added some just-in-case code for now to work around the issue. Any suggestions in general are welcome… Harbs > On Nov 13, 2018, at 11:01 AM, ha...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > >

Re: UIBase.addedToParent()

2018-11-13 Thread Harbs
ith states, pretty much anything can be > re-parented, so I adding a flag is ok for now, although I have been thinking > about pulling all states-related overhead out into a bead. > > My 2 cents, > -Alex > > On 11/13/18, 12:54 AM, "Harbs" wrote: > >M

Re: feature/FocusEvents branch

2018-11-13 Thread Harbs
apart >from the starting pieces a committed to the branch? something in the > compiler or in typedefs?. IOW, if you tell me there's no more pieces, I can >focus on make the converter a bead and look why my tries are not working >right now. > >@Harbs yo

Re: Royale Compiler Brings Wrong Dependencies

2018-11-13 Thread Harbs
I hit this issue with another app. This is going to be a problem for lots of folks, I think we need some solution to this problem before our next release. Should we just subclass MXRoyale components for now and deal with the bigger problem later? Harbs > On Oct 14, 2018, at 8:55 PM, A

Re: Build failed in Jenkins: royale-compiler #561

2018-11-13 Thread Harbs
I tried rerunning the build manually and it ran out of memory. Does the server need to be restarted? > On Nov 13, 2018, at 4:46 PM, apacheroyal...@gmail.com wrote: > > See > > > ---

Re: Royale Compiler Brings Wrong Dependencies

2018-11-13 Thread Harbs
k-around. Another (which I’m using) is to copy the CSS from Basic into the CSS for your app. That overrides the CSS in MXRoyale. Hopefully, we’ll have a much shorter time period between the next releases and get this resolved before the next one… Harbs > On Nov 13, 2018, at 7:11 PM, Alex H

Re: Build failed in Jenkins: royale-compiler #561

2018-11-13 Thread Harbs
> What do you mean manually ? From the Jenkins interface. > On Nov 13, 2018, at 5:50 PM, Piotr Zarzycki wrote: > > Hi Harbs, > > What do you mean manually ? I just connect with PC remotely and saw a lot > of Flash Player window opened. I did close them and maybe now

Re: Build failed in Jenkins: royale-compiler #561

2018-11-13 Thread Harbs
lt;https://aka.ms/ghei36>> > > ____ > From: Harbs mailto:harbs.li...@gmail.com>> > Sent: Tuesday, November 13, 2018 9:47:28 AM > To: dev@royale.apache.org <mailto:dev@royale.apache.org> > Subject: Re: Build failed in Jenkins: royale-compiler #561 > >> W

Re: Build failed in Jenkins: royale-compiler #561

2018-11-13 Thread Harbs
Thanks. I got it. I successfully restarted the server and the compiler built successfully. It’s building js-only now. When that’s done I’ll build asjs. After everything builds, it looks like Windows and Jenkins both need updates applied. Thanks, Harbs > On Nov 13, 2018, at 9:09 PM, A

Re: What is royale-asjs.code-workspace?

2018-11-13 Thread Harbs
I think Carlos added it. VS Code supports multi-root workspaces.[1] It’s sort of the equivalent of dependent projects in Eclipse. Should it be in the repo? Dunno.It could be useful, but it probably should be more complete if we keep it. [1]https://code.visualstudio.com/docs/editor/multi-root-

Re: Build failed in Jenkins: royale-compiler #561

2018-11-13 Thread Harbs
I just updated Windows and now I can’t log in through RDP… :-( Can you get in? > On Nov 13, 2018, at 9:41 PM, Harbs wrote: > > Thanks. I got it. > > I successfully restarted the server and the compiler built successfully. > > It’s building js-only now. When that’s

Re: Build failed in Jenkins: royale-compiler #561

2018-11-13 Thread Harbs
It was getting part of the way through and then dropped out. I just tried again and it worked. Jenkins is running again, although it’s complaining that some of the plugins should be updated. I’m leaving that alone for now. Harbs > On Nov 14, 2018, at 12:44 AM, Alex Harui wrote: > >

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-15 Thread Harbs
Why is that? I have 3.5.2 installed. Is that why Maven never works for me? Harbs > On Nov 16, 2018, at 12:17 AM, Alex Harui wrote: > > Dave, > > What version of Maven are you running? I think it has to be 3.3.x. > > -Alex

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-15 Thread Harbs
It’s been a while and I don’t remember off-hand. I’ll probably take a stab at being RM in a few weeks and I imagine I’ll need to figure it out then… ;-) Harbs > On Nov 16, 2018, at 12:32 AM, Alex Harui wrote: > > What errors do you get with Maven?

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-15 Thread Harbs
ome > early info. > > -Alex > > On 11/15/18, 2:44 PM, "Harbs" wrote: > >It’s been a while and I don’t remember off-hand. > >I’ll probably take a stab at being RM in a few weeks and I imagine I’ll > need to figure it out then… ;-) > >Harbs >

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-15 Thread Harbs
https://paste.apache.org/yBNf > On Nov 16, 2018, at 2:27 AM, Alex Harui wrote: > > Look in compiler/target/failsafe-reports and see what tests failed. I have > to step away from my computer for about 3 hours. > > -Alex > > On 11/15/18, 4:18 PM, "Harbs" w

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-15 Thread Harbs
on my end… ;-) Harbs > On Nov 16, 2018, at 6:21 AM, Alex Harui wrote: > > It appears that there is something mixed up with your environment variables. > > The tests check for PLAYERGLOBAL_HOME, AIR_HOME, and FLASHPLAYER_DEBUGGER. I > think all 3 have to be set or none h

Re: [VOTE] Release Apache Royale 0.9.4 RC2

2018-11-16 Thread Harbs
: y Harbs

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-16 Thread Harbs
Replacing my adobe folder did the trick. I’m not sure which were the files which did it though. I’ll send you my original folder privately. Maybe that’ll help pinpoint the problem… Harbs > On Nov 16, 2018, at 9:30 AM, Alex Harui wrote: > > I looked at MavenTestAdapter. It looks lik

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-16 Thread Harbs
terms bringing down Adobe bits for >>> Ant or Flex. If users need to get around this then we'll spend more time >>> figuring out why it isn't working for some folks. I seem to recall that >>> some more recent version of Maven was needed to launch the Mavenizer

Re: [DISCUSS] Discuss Release Apache Royale 0.9.4 RC2

2018-11-16 Thread Harbs
> Do you mean trust folder for Flash Player ? Yes. I’m able to compile a project using the ant build locally. I have no idea how to build using the Maven artifacts, so I can’t test that… > On Nov 16, 2018, at 2:18 PM, Piotr Zarzycki wrote: > > Hi Harbs, > > Do you mea

XML methods

2018-11-18 Thread Harbs
of the arrays, but I’m thinking that it should really return the original array to prevent extra garbage collection if the purpose of these methods are for optimization. Any objections to me making this change? Harbs

NPM (was Re: [VOTE] Release Apache Royale 0.9.4 RC2)

2018-11-19 Thread Harbs
Ouch. Am I correct in assuming that there’s no way to “unpublish” 0.9.5? Why did this happen again? Harbs > On Nov 19, 2018, at 2:54 AM, Alex Harui wrote: > > Artifacts have been pushed, but it looks like NPM again has the wrong version > number.

Re: XML methods

2018-11-19 Thread Harbs
yourself… ;-) Harbs > On Nov 18, 2018, at 11:58 PM, Alex Harui wrote: > > No objections from me if it will still work. Is there any expectation about > immutability of the array? If you are iterating it and the loop executes > some other operation on the XML, could it change the ar

Re: XML methods

2018-11-19 Thread Harbs
hen maybe you only need to clone the array when passing it > "outside of the implementation" such as the result of attributes(). > > If you want to add another custom XML Processing Flag that says Delete won't > work (or requires that delete loops always go backward) then it can

Re: XML methods

2018-11-19 Thread Harbs
Existing code doesn’t need to care. These methods are new and don’t exist in Flash. > On Nov 19, 2018, at 2:23 PM, Alex Harui wrote: > > > On 11/19/18, 11:20 AM, "Harbs" wrote: > >Trying to “delete” (or access) a specific element of the XMLList while

Re: XML methods

2018-11-19 Thread Harbs
list of attributes) If these are truly new to > Royale, the better first question probably should have been "is anybody using > these new methods?" > > -Alex > > On 11/19/18, 11:26 AM, "Harbs" wrote: > >Existing code doesn’t need to care. These

Re: +configname=flex

2018-11-27 Thread Harbs
I have not been following the list very well the last week plus. (I’ve been busy with some personal things.) I’m not following the issues here. What was changed, and what’s the issue here?

Re: +configname=flex

2018-11-28 Thread Harbs
d precedent to allow people to > basically call people names when they disagree about something. > > -Alex > > On 11/27/18, 4:52 PM, "Harbs" wrote: > >I have not been following the list very well the last week plus. (I’ve > been busy with some personal th

Re: Numbers assigned to int

2018-11-30 Thread Harbs
The problem is pretty common in things like binary searches as well. I’ve run into invalid indexes more than once. I do agree that we generally don’t want to add the extra code though… Harbs > On Nov 30, 2018, at 4:10 PM, Alex Harui wrote: > > Hi, > > There is some old Flex

Gotcha with private access

2018-12-03 Thread Harbs
“doPackage” is now a fully qualified so doPackage is not defined. The solution is to declare the type of that like so: var that:PackagePanel = this; I’m not sure if there’s a way to resolve this better. Harbs

Re: Gotcha with private access

2018-12-03 Thread Harbs
f. I don’t remember the details offhand. I wrote this code some time ago. I actually just tried removing “that” and it seemed to work, so I’m not sure what the issue was at the time... Harbs > On Dec 3, 2018, at 7:38 PM, Alex Harui wrote: > > I'm not sure I understand. > &g

Re: +configname=flex

2018-12-05 Thread Harbs
the problem better. My $0.02, Harbs > On Dec 1, 2018, at 9:29 PM, Carlos Rovira wrote: > > 1.- You make a commit that introduced IDEs break > 2.- I spend Saturday morning trying to find a way to fix that > 3.- Instead of revert your commit I make a change of the thing causing the

Re: +configname=flex

2018-12-06 Thread Harbs
I don’t see the branch. Are you sure you pushed it? > On Dec 6, 2018, at 12:05 PM, Carlos Rovira wrote: > > Remember to use "feature/refactor-config-name-changes" branch where my > commit is reverted and things are set up like Alex want.

Re: Binding to private variables

2018-12-06 Thread Harbs
What I’m not sure is how any of this worked in minified code. I’ve used [Bindable]private quite a lot… I’m not sure how to best fix this, but it does seem like a problem which needs fixing. > On Dec 6, 2018, at 9:59 PM, Greg Dove wrote: > > The other thing to consider is the ValueChangeEvent

js-only not working

2018-12-11 Thread Harbs
nts\Apache\royale-asjs\frameworks\royale-config.xml (line: 127) Any clues? Harbs

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
I was about to make the same suggestion. We can use “I” for interfaces, “c” for class, “k” for kind, “n” for names. etc. > On Dec 11, 2018, at 2:52 PM, Frost, Andrew wrote: > > Hi > > Not sure that I fully understand this but would a valid compromise be > something where the field name isn't

Re: js-only not working

2018-12-11 Thread Harbs
rary-path (except for one entry that points to KeepsFBFromHanging.swc). > > HTH, > -Alex > > On 12/11/18, 2:34 AM, "Harbs" wrote: > >I just built a js-only build of Royale and it seems like something is > expecting the SWF swcs to be there even thou

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
if you just have: > > Var obj:Object = { harbs: 1}; > Public static function foo() > { > Trace(obj.harbs); > } > > Use of foo() in one compile may result in harbs being renamed, and another > wouldn't. And that poses a problem when data structures are shared betwee

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
requirement. I’m already doing this for a library I wrote which has a lot of dynamic data structures which does not survive minification and the results are fine. My $0.02, Harbs > On Dec 11, 2018, at 8:47 PM, Alex Harui wrote: > > IMO, some folks will want to rely on minification

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
short name in all minifications. > But there is no way to dictate that for field names as far as I can tell. > > -Alex > > On 12/11/18, 11:32 AM, "Harbs" wrote: > >I vote for A. > >We can also do B which would require manually changing all acc

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
renamed in more than one compilation, given that there is > pre-transpiled code that allows renaming. When building modules, we already > require using Closure Compiler options that output the renaming maps of the > main app so that UIBase is given the same short name in all minificati

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
minified either (i.e. API calls and uses of JSON). I think that most of this discussion is more theoretical than practical considerations. My $0.02, Harbs > On Dec 11, 2018, at 11:26 PM, Carlos Rovira wrote: > > Hi, > > I'm still not using modules. I left that for now u

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
12, 2018, at 12:01 AM, Harbs wrote: > > Hi Carlos, > > We’re only discussing dynamic objects. How many of those do you have in your > applications? I doubt there’s much difference in performance due to > minification of dynamic objects. > > In *all* our framework

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-11 Thread Harbs
minify. I like the fact that it can minify without us having to > use shortnames. It makes our debug code more readable and doesn't waste > space in small apps. Adding a class definition for ROYALE_CLASS_INFO would > further add overhead to small apps. > > My 2 cents,

Re: ROYALE_CLASS_INFO, renaming, modules, Objects

2018-12-12 Thread Harbs
). If I’m wrong, we could always output something like this: org.apache.royale.html.supportClasses.Viewport.prototype.ROYALE_CLASS_INFO = { 'n': [{ 'n': 'Viewport', 'q': 'org.apache.royale.html.supportClasses.Viewport', 'k': 'class' }], 'i': [org.apache.royale.core.IBead, or

Re: JS output produced inside source folder

2018-12-14 Thread Harbs
I’ve never seen the bin folder created anywhere other than the project root. Is this specific to maven? > On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki > wrote: > > Hi Guys, > > I have some project where the main file of application is in folder > > myrootfolder/src/foo/view/royale/Main.mxml

Re: JS output produced inside source folder

2018-12-14 Thread Harbs
Why do you have src there? What happens if you remove it? > On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki wrote: > > Nope I'm building from IDE. Maybe this two items in source path have > something to do with it. > > > On Fri, Dec 14, 2018, 11:51 AM Harbs wrote: >

Re: JS output produced inside source folder

2018-12-14 Thread Harbs
>> >> However if you have (in my case it's puremvc) Viscose or Moonshine have >> problems with seeing classes. We were getting errors without it. >> >> >> On Fri, Dec 14, 2018, 1:31 PM Harbs wrote: >> >>> Why do you have src there? What happen

Exporting private getters

2018-12-18 Thread Harbs
I just noticed that I have over 900 qualified variable names in my release app (com_printui_model_foo_baz etc.) It seems like a significant number of them are due to private getters. Why are we @exporting private getters in the JS output? Harbs

Re: Exporting private getters

2018-12-18 Thread Harbs
[Bindable]private vars likewise end up with long qualified names. > On Dec 18, 2018, at 1:54 PM, Harbs wrote: > > I just noticed that I have over 900 qualified variable names in my release > app (com_printui_model_foo_baz etc.) > > It seems like a significant number of them

Need to clean

2018-12-18 Thread Harbs
org.apache.royale.core.ApplicationBase at visitNode (base.js:1356) Is this a known problem? Harbs

Re: Need to clean

2018-12-18 Thread Harbs
OK. I take it that the answer to my question is no. I’ll do the research and report my findings. Thanks, Harbs > On Dec 18, 2018, at 8:24 PM, Alex Harui wrote: > > Try saving the bin/js-debug folder after a clean and compare it to a build > without a clean. The cache

Re: Need to clean

2018-12-18 Thread Harbs
.apache.royale.geom.Point'); These classes are also missing from the index file. It also reordered some css. A quick look shows no other differences. I’m clueless on what’s special about these files... I’m downloading UltraCompare to see if a thorough folder compare turns up any other diff

Re: Need to clean

2018-12-18 Thread Harbs
lication, org.apache.royale.core.ApplicationBase); The require of Application is before the one for ApplicationBase. I’m assuming that might be the source of the problem. I also noticed that the index.html files are very different and the order of the addDependencies are totally different.

Re: Need to clean

2018-12-18 Thread Harbs
e.IRenderedObject'); goog.require('org.apache.royale.core.IStrand'); goog.require('org.apache.royale.events.IEventDispatcher'); Why is the list of requires not included in the dependency list? > On Dec 18, 2018, at 9:46 PM, Harbs wrote: > > Yes. > > Here’s

Re: Need to clean

2018-12-18 Thread Harbs
The working one has (in this order): goog.addDependency('../../../org/apache/royale/core/Application.js', ['org.apache.royale.core.Application'], ['org.apache.royale.core.ApplicationBase', 'org.apache.royale.core.IStrand', 'org.apache.royale.core.IParent', 'org.apache.royale.events.IEventDispatc

Re: Need to clean

2018-12-18 Thread Harbs
mentioned below and the order of some css declarations are in different orders i.e. "#albumName", function() {this["fontWeight"] = "bold"}, 0, 1, MainApp.css seems to have the same declarations, but the order is changed for some of it. That seems to be the sum of t

Re: Need to clean

2018-12-18 Thread Harbs
So where do you suggest we fix it? In GoogDepsWriter.removeRequires? I’m not completely following what’s going on there. Harbs > On Dec 19, 2018, at 12:52 AM, Alex Harui wrote: > > Yeah, that makes more sense. So somehow the information we get back from > processing the Royal

Re: Need to clean

2018-12-19 Thread Harbs
#x27;m > working on a circular dependency issue right now that might also affect > GoogDepsWriter. If you build some of our examples, do any show missing > goog.addDependencies? > > -Alex > > On 12/18/18, 11:12 PM, "Harbs" wrote: > >So where do you suggest w

Re: Need to clean

2018-12-19 Thread Harbs
> what just yet. Might be best if you can come up with a simple test case.. > I'm working on a circular dependency issue right now that might also affect > GoogDepsWriter. If you build some of our examples, do any show missing > goog.addDependencies? > >-Alex > &g

Re: Need to clean

2018-12-19 Thread Harbs
The DataBindingExample doesn’t seem to have an obvious runtime error, but there are missing requires in DataBindingExample.js and the addDependencies are different. HTH, Harbs > On Dec 19, 2018, at 10:12 AM, Harbs wrote: > > The TourDeJewel example has the problem. > > Rebui

Re: Need to clean

2018-12-20 Thread Harbs
'm > getting repeatable builds. It makes some sense in that the fix reduces the > amount of mucking with the dependency lists. Let me know if you still see > differences and we'll see if we can figure out why. > > -Alex > > On 12/19/18, 12:18 AM, "Harbs&q

Re: Need to clean

2018-12-20 Thread Harbs
I was not clear below that the ArrayList dependency was a static one. > On Dec 20, 2018, at 10:58 AM, Harbs wrote: > > Using my app: > > First blush looks good. I don’t get any compile errors. > > Second blush reveals that the files are not identical. > > Interesti

Re: Need to clean

2018-12-20 Thread Harbs
var spellingLocalesList:ArrayList = new ArrayList(); > On Dec 20, 2018, at 11:01 AM, Harbs wrote: > > I was not clear below that the ArrayList dependency was a static one. > >> On Dec 20, 2018, at 10:58 AM, Harbs wrote: >> >> Using my app: >> >> First

Re: Need to clean

2018-12-20 Thread Harbs
below was backwards. The first compile seems to have more requires (when different) than the second compile in all cases. HTH, Harbs > On Dec 20, 2018, at 11:06 AM, Harbs wrote: > > The class has these lines which likely complicate things: > > /** > *

Re: DragEvent.clientY

2018-12-20 Thread Harbs
> I think clientX/Y does depend on the target. In the link [2], there is an > example that you can play with, and clientX/Y is not global coordinates. MDN > is usually good doc, but I think the doc for clientX/Y is not well-written. It does not depend on the target. It’s global relative to the

Re: DragEvent.clientY

2018-12-20 Thread Harbs
ss MouseEvent, so whatever values a MouseEvent would have, the > DragEvent should have. > > Thanks, > -Alex > > On 12/20/18, 11:23 AM, "Harbs" wrote: > >> I think clientX/Y does depend on the target. In the link [2], there is an >> example that you can pla

Re: DragEvent.clientY

2018-12-21 Thread Harbs
IIRC, that was something I fixed. I’m pretty sure we can do away with DragEventBase and simplify DragEvent. I think that either Yishay or I will try that next week. Harbs > On Dec 21, 2018, at 9:59 AM, Alex Harui wrote: > > I think with Google Closure Library, we never actua

Re: Need to clean

2018-12-22 Thread Harbs
le? Is there a trick to get true css styling omitted? Harbs > On Dec 22, 2018, at 9:10 AM, Alex Harui wrote: > > OK, I think I've made the changes so that every build will be the same > whether you clean or not. > > Hopefully this will make it easier to optimize the build b

Re: Need to clean

2018-12-23 Thread Harbs
ight be > a better way to deal with it. > > -Alex > > On 12/22/18, 11:16 PM, "Harbs" wrote: > >Much better. > >The only difference I’m seeing right now is that a few CSS blocks are in > different locations. The main JS files have correspond

  1   2   3   4   5   6   7   8   9   10   >