Re: Moonshine 1.3.0 Release

2016-12-13 Thread Alex Harui
Congratulations Moonshine Team! I can report that I was able to install it on my Windows machine and set up, build and run Hello World. Some minor feedback at then end of this post. Thanks for working on a FlexJS IDE. -Alex PS: The only "glitch" I saw was, because I didn't already have Apache

Re: [FlexJS] Compilation error - difficult to debug

2016-12-13 Thread Alex Harui
File a bug with a test case. On 12/13/16, 5:23 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >> > >> >Could not find file for class: >> >org.apache.flex.html.beads.models.ToggleButtonModel >> >File not found: org.apache.flex.html.beads.models.ToggleButtonModel >> >> This file i

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Alex Harui
What problem are you trying to solve? What are some usage scenarios? -Alex On 12/13/16, 4:53 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >> The issue may be that there are multiple ways to specify and operate on >> innerHTML. If you want to set it directly, then you should

Re: [FlexJS] Compilation error - difficult to debug

2016-12-13 Thread Carlos Rovira
> > > >Could not find file for class: > >org.apache.flex.html.beads.models.ToggleButtonModel > >File not found: org.apache.flex.html.beads.models.ToggleButtonModel > > This file in not in one of the SWCs in the project, but some code needs it. But that's not the problem Alex. The change I introd

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Carlos Rovira
> The issue may be that there are multiple ways to specify and operate on > innerHTML. If you want to set it directly, then you shouldn't be able to > specify any other children. Hence my earlier suggestion to have a > DivWithInnerHTML component that doesn't subclass Container and only has an > i

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Carlos Rovira
After search a way to do this I only found this (not tested) that people says works http://stackoverflow.com/questions/15553280/replace-a-textnode-with-html-text-in-javascript but this depends on linking js script. * What do you think about this? * License is MIT what is seems to conform to apac

Re: [FlexJS] Compilation error - difficult to debug

2016-12-13 Thread Alex Harui
On 12/13/16, 4:32 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: Do you mean this part? > >Could not find file for class: >org.apache.flex.html.beads.models.ToggleButtonModel >File not found: org.apache.flex.html.beads.models.ToggleButtonModel This file in not in one of the S

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Alex Harui
On 12/13/16, 4:15 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >I remember I tried this approach some time ago and it didn't work, maybe >it >was since I was returning Text and not a WrappedHTMLElement. >Now it compiles and work in example but I have a new problem

[FlexJS] Compilation error - difficult to debug

2016-12-13 Thread Carlos Rovira
Hi, sometimes I change something in some SWC library, and although is a valid change a SWC compiles normaly the exception of that codes is wrong. That use to translate to the main project where SWC is attached and compilation fails with a trace that didn't give any clue about what is happening. On

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-13 Thread OmPrakash Muppirala
On Tue, Dec 13, 2016 at 11:31 AM, Justin Mclean wrote: > Hi, > > > > > > > > >

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Carlos Rovira
Hi Alex, I remember I tried this approach some time ago and it didn't work, maybe it was since I was returning Text and not a WrappedHTMLElement. Now it compiles and work in example but I have a new problem. It seems a TextNode is always a leaf and can't have html tags for that reason the text in

Re: [FlexJS] Update Closure compiler?

2016-12-13 Thread Alex Harui
On 12/13/16, 3:50 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >I'll try as well a "mvn clean install" so maven continue working :) I think there is a pom.xml that needs updating to pull in a later Closure Compiler. -Alex

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Alex Harui
On 12/13/16, 3:43 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >So better to remove the InnerHTML bead in favor of a TextNode component >right? No need to remove it. Maybe someone will find a use for it. It is up to you. -Alex

Re: [FlexJS] Update Closure compiler?

2016-12-13 Thread Carlos Rovira
I'll try as well a "mvn clean install" so maven continue working :) 2016-12-14 0:46 GMT+01:00 Alex Harui : > > > On 12/13/16, 3:34 PM, "Josh Tynjala" wrote: > > >Hey all, > > > >I notice that the default Closure compiler version is 20151015. Can we > >update to a newer build? > > Sure, give it a

Moonshine 1.3.0 Release

2016-12-13 Thread JoelProminic
Today we released Moonshine 1.3.0. The source code is available for download here: http://moonshine-ide.com/ We will be uploading the source to GitHub soon. For the binaries, see the links below. New features: - Support for FlexJS 0.7.0 - Basic implementation of code completion based on https:

Re: [FlexJS] Update Closure compiler?

2016-12-13 Thread Alex Harui
On 12/13/16, 3:34 PM, "Josh Tynjala" wrote: >Hey all, > >I notice that the default Closure compiler version is 20151015. Can we >update to a newer build? Sure, give it a try. First, before making any changes, I suggest you verify you can do the following: In flex-falcon, run "ant wipe-all",

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Carlos Rovira
2016-12-14 0:23 GMT+01:00 Alex Harui : > > IMO, if you had a TextNode component, it would be a child just like any > other child and you would define its order the way it should appear in the > DOM. > > > This is some text > > This is more text > > > Would product the DOM > This is some t

[FlexJS] Update Closure compiler?

2016-12-13 Thread Josh Tynjala
Hey all, I notice that the default Closure compiler version is 20151015. Can we update to a newer build? I think their externs have been updated, and it's good to be more up-to-date with those. I also discovered an interesting change related to how Closure compiler generates source maps. Right now

Re: [FlexJS] About Component Cycle and Events

2016-12-13 Thread Alex Harui
On 12/13/16, 1:14 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >I'm trying to get a mental picture of the overall structure, events and >when to expect to have data. >As you see, my problem with data was in item renderers. I see I have >available in set data metho

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Alex Harui
On 12/13/16, 1:21 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >2016-12-12 6:24 GMT+01:00 Alex Harui : > >> Would it be useful to have a component that generates a TextNode? Then >> you could interleave them between other child components. >> > >Right, I was trying that and

Re: Avoiding goog renaming

2016-12-13 Thread Alex Harui
As an ASDoc tag, so /** @externs */ On 12/13/16, 1:23 PM, "Harbs" wrote: >Do you mean /*@externs*/ or @externs (which is currently not valid code)? > >On Dec 13, 2016, at 6:19 PM, Alex Harui wrote: > >> >> >> On 12/13/16, 12:48 AM, "Harbs" wrote: >> >>> What I’d really like to do would be t

Re: Avoiding goog renaming

2016-12-13 Thread Harbs
Do you mean /*@externs*/ or @externs (which is currently not valid code)? On Dec 13, 2016, at 6:19 PM, Alex Harui wrote: > > > On 12/13/16, 12:48 AM, "Harbs" wrote: > >> What I’d really like to do would be to define a class like this: >> >> package >> { >> import stream.Stream; >> >>

Re: [FlexJS] InnerHTML new bead

2016-12-13 Thread Carlos Rovira
2016-12-12 6:24 GMT+01:00 Alex Harui : > On 12/11/16, 1:11 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > wrote: > > > That's clever (adding new properties as beads). For this particular > implementation, are you concerned about collisions in other scenarios? > For Div/Container (pro

Re: [FlexJS] About Component Cycle and Events

2016-12-13 Thread Carlos Rovira
Hi Alex, I'm trying to get a mental picture of the overall structure, events and when to expect to have data. As you see, my problem with data was in item renderers. I see I have available in set data method (overriding it). Maybe in others components I don't have problem right now. Another scena

Re: [DISCUSS] Apache Flex SDK 4.16 RC1 release

2016-12-13 Thread Justin Mclean
Hi, > > > >

Re: Avoiding goog renaming

2016-12-13 Thread Alex Harui
On 12/13/16, 10:41 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >(Possible unrelated to the current discussion) > >For what it's worth, Typescript is pushing the metadata (decorators) >concept forward [1] >Angular2 is fully utilizing this concept in the form of annotations [2

Re: Avoiding goog renaming

2016-12-13 Thread OmPrakash Muppirala
(Possible unrelated to the current discussion) For what it's worth, Typescript is pushing the metadata (decorators) concept forward [1] Angular2 is fully utilizing this concept in the form of annotations [2] There is also a proposal to add metadata/decorators in Javascript directly [3] Looks lik

Re: Avoiding goog renaming

2016-12-13 Thread Alex Harui
On 12/13/16, 12:48 AM, "Harbs" wrote: >What I’d really like to do would be to define a class like this: > >package >{ > import stream.Stream; > >[Extern] >public class JSZip > { > public function generateNodeStream(nsp:NodeStreamParam):Stream{ >

Re: Avoiding goog renaming

2016-12-13 Thread Alex Harui
On 12/13/16, 12:44 AM, "Harbs" wrote: >I’m in the same boat. > >I think metadata tags feel much better as well. Well, IMO, metadata is additional byte code or JS output. There is no reason for @externs or @flexjsignorecoercion to be in the output. In fact, if we used metadata for these direc

Re: Avoiding goog renaming

2016-12-13 Thread Harbs
What I’d really like to do would be to define a class like this: package { import stream.Stream; [Extern] public class JSZip { public function generateNodeStream(nsp:NodeStreamParam):Stream{ return null; } }

Re: Avoiding goog renaming

2016-12-13 Thread Harbs
I’m in the same boat. I think metadata tags feel much better as well. If tools can help with validating metadata tags it would be even better. On Dec 12, 2016, at 7:13 PM, Josh Tynjala wrote: > I notice that you seem to have a preference for custom ASDoc tags, like > @externs or @flexjsignorec