AW: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Christofer Dutz
Well if this would be the case I know exactly where one in Frankfurt could be hosted ;-) My company would be willing and happy to do so. Actually they are encouraging me to do so. But till I'll tackle that, we still need a little more progress toward maturity. Chris

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Alex Harui
On 1/5/16, 7:49 AM, "Harbs" wrote: >BTW, I’m not sure what we said about myXML.@foo = “baz” or myXML.@ba:foo >= “baz”. > >Are we mapping that to myXML.setChild(“@foo”,”baz”) and >myXML.setChild(“@ba:foo”,”baz”), or are we creating a separate function >for attributes? I

Re: Bug in mxmlc script

2016-01-05 Thread Harbs
On Jan 5, 2016, at 7:05 PM, OmPrakash Muppirala wrote: > > I don't understand. If you customize your index.html.template, how does > it matter if the app.html file gets destroyed and recreated each time? > This is how I have it setup. I don’t remember. Possibly I did

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Harbs
Is there a schedule yet for ApacheCon Europe? There was no way I was able to go this year with the timing coinciding with the Jewish holidays. I hope the timing next year is better… On Jan 5, 2016, at 6:04 PM, Alex Harui wrote: > I'm still hoping to get to ApacheCon EU in

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Alex Harui
On 1/5/16, 7:07 AM, "Harbs" wrote: >Yes. I’m using DOMParser.parseFromString() to parse the XML. After the >XML is parsed into DOM elements, I’m walking that to create the XML >structure. > >Although, I’m beginning to wonder if it makes more sense to just write my >own

Re: Bug in mxmlc script

2016-01-05 Thread OmPrakash Muppirala
On Jan 5, 2016 3:03 AM, "Harbs" wrote: > > It’s not just for instant gratification. (and I do agree that first impressions are really important) > > In the ideal world, the template HTML file can be modified. The primary reason I have not historically modified the HTML

Re: AW: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Alex Harui
I'm still hoping to get to ApacheCon EU in 2016 and tour in Europe for a couple of weeks. It might be possible to have a Frankfurt event while I'm there. -Alex On 1/5/16, 12:49 AM, "Christofer Dutz" wrote: >Well if this would be the case I know exactly where one in

Re: AW: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Alex Harui
On 1/4/16, 11:06 PM, "Christofer Dutz" wrote: >I would live to come, but it would have to be before/after apache con in >May ... Could it be an option to do this in May instead? My boss will not >pay two intercontinental flights within one month :-) > >if it was one

Re: AW: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Jason Guild
Hi Alex: I would be interested in attending. Thanks, Jason So far, nobody has said they are interested in attending, although I did send this after west coast business hours. ;)

Re: Bug in mxmlc script

2016-01-05 Thread Josh Tynjala
asjsc still generates all of the addDependency() calls required for a debug build. No hand crafting needed. It generates them in a JS file named ProjectName-dependencies.js. Not coincidentally, that is the only JS file that you need to reference in a script tag in your HTML when running the debug

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Harbs
Yes. I’m using DOMParser.parseFromString() to parse the XML. After the XML is parsed into DOM elements, I’m walking that to create the XML structure. Although, I’m beginning to wonder if it makes more sense to just write my own state machine to walk the XML and build the structure on my own.

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Andy Dufilie
On Tue, Jan 5, 2016 at 7:10 AM, Harbs wrote: > I cannot find a recommended way to handle CDATA in the DOM4 spec.[3] > > Does anyone have a recommendation o how to handle this? > In place of a CDATA text section you can just escape the text using xml escaping.

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Harbs
That’s not going to work if you need to implement toXMLString(). Imagine an mxml file where all the CDATA becomes escaped text. It’s not going to work very well… ;-) The same goes for lots of other XML file uses. Apparently this recommendation for DOM4 is not gonna happen, so we’re good.[1]

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Andy Dufilie
On Tue, Jan 5, 2016 at 9:37 AM, Harbs wrote: > That’s not going to work if you need to implement toXMLString(). > > Imagine an mxml file where all the CDATA becomes escaped text. It’s not > going to work very well… ;-) The same goes for lots of other XML file uses. > >

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Harbs
BTW, I’m not sure what we said about myXML.@foo = “baz” or myXML.@ba:foo = “baz”. Are we mapping that to myXML.setChild(“@foo”,”baz”) and myXML.setChild(“@ba:foo”,”baz”), or are we creating a separate function for attributes? On Jan 5, 2016, at 5:07 PM, Harbs wrote: >

Re: Bug in mxmlc script

2016-01-05 Thread Josh Tynjala
I should add that a "main" class shouldn't necessarily be required to have a static method as its entry point. A developer might prefer to instantiate it with the constructor instead. A FlexJS framework app can (and should!) be opinionated, but asjsc needs to be flexible, as a more generic

Re: Bug in mxmlc script

2016-01-05 Thread Alex Harui
On 1/5/16, 9:49 AM, "Harbs" wrote: > >On Jan 5, 2016, at 7:05 PM, OmPrakash Muppirala >wrote: > >> >> I don't understand. If you customize your index.html.template, how >>does >> it matter if the app.html file gets destroyed and recreated each

Re: [FLEXJS] generating js output from swc without source code

2016-01-05 Thread Alex Harui
On 1/5/16, 9:53 AM, "Jason Guild" wrote: >Will it be possible for flexjs to process ABC from a SWC and generate js >without the source code? Possible? Well maybe, but that's essentially the same problem as disassembly, so I have no plans to work on such a thing right

Re: AW: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Dave Fisher
Hi Alex, I would drive down from Sonoma County for this. Regards, Dave Sent from my iPhone > On Jan 5, 2016, at 9:49 AM, Jason Guild wrote: > > Hi Alex: > > I would be interested in attending. > > Thanks, > Jason > >> So far, nobody has said they are interested in

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Alex Harui
AFAIK, the Linux Foundation has not published a date for ApacheCon EU. -Alex On 1/5/16, 8:08 AM, "Harbs" wrote: >Is there a schedule yet for ApacheCon Europe? There was no way I was able >to go this year with the timing coinciding with the Jewish holidays. I >hope the

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
GitHub user adufilie opened a pull request: https://github.com/apache/flex-falcon/pull/5 Compiler fixes related to js.swc You can merge this pull request into a Git repository by running: $ git pull https://github.com/adufilie/flex-falcon patch-4 Alternatively you can review

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169096483 Where was the toString() missing? That change seems to be breaking the CreateJS externs build. The classes generated from the externs generally don't include

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169106519 Wasn't toString() on Object? Then it doesn't need to exist on most other objects. But we do need to allow Number, int and uint to have their own toString() with

[FLEXJS] generating js output from swc without source code

2016-01-05 Thread Jason Guild
Will it be possible for flexjs to process ABC from a SWC and generate js without the source code? I seem to remember there might have been some discussion of this from a year or two ago now. I am asking because I'm wondering about using FlexJS to recompile some applications which use the ESRI

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
Github user adufilie commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169102408 toString() was missing in every class except Number, int, uint. I've found the problem and will add another commit here shortly. Sorry about that. --- If your

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169119427 I'm pretty sure it is that way so your subclasses of Object can override toString() although they can't add parameters to toString(). --- If your project is set up

Re: [DISCUSSION] Apache Flex SDK 4.15 release candidate 1

2016-01-05 Thread Maxime
Hi, https://issues.apache.org/jira/browse/FLEX-34769 pretends to be fixed in 4.15 but doesn't appear in the RELEASE_NOTES of the rc1... Is this fix really in the future 4.15 release ? Thanks, Maxime On 04/01/2016 22:13, Justin Mclean wrote: Hi, Please place discussion here and not in the

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread joshtynjala
Github user joshtynjala commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169117059 Hmmm... strangely, toString() is not marked with the AS3 namespace in the API reference. However, if I recall correctly, it is AS3 instead of public in the

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169114711 Also, with the getStaticField/getInstanceField changes, 5 files of unit tests have compile errors. They are: TestAnnotationEnum, TestConstructor, TestExternChrome,

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread joshtynjala
Github user joshtynjala commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169118912 Okay, it appears that Number and other classes with custom toString() methods put it in the AS3 namespace. You can see that with [Number.toString() in the API

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169259473 I think the github integration scripts didn't quite work. Can you manually close the pull request? --- If your project is set up for it, you can reply to this email

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
Github user adufilie commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169221139 Ok, I've reworked and updated the patch. I managed to move all the toString-related special-case code into a single if statement. Please try again. --- If your

Re: Circular dependency detected

2016-01-05 Thread Alex Harui
On 1/5/16, 9:39 PM, "lizhi" wrote: >use the > >https://github.com/kmdjs/kmdjs . > >the google lib,not the best.have the circular dependency bug. IMO, even in one file, you have to pick an order. It might be that we are putting unnecessary goog.require statements in the output.

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169258856 Yes, there some subtle things to the extern compiler. Thanks for sticking with it. Everything passes for me and I pushed it to the repo. --- If your project is set

Re: [GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread OmPrakash Muppirala
Have you tried making a commit with this magic line in the git comment? *This closes #5* This has worked for me in the past. Thanks, Om On Tue, Jan 5, 2016 at 11:44 PM, aharui wrote: > Github user aharui commented on the pull request: > >

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
Github user adufilie commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169212882 At one point I had it working, but you're right, it currently isn't. I must've been modifying the wrong set of files when I was testing overriding toString().

Circular dependency detected

2016-01-05 Thread lizhi
use the https://github.com/kmdjs/kmdjs . the google lib,not the best.have the circular dependency bug. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Circular-dependency-detected-tp51042.html Sent from the Apache Flex Development mailing list archive at

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
Github user adufilie commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169223531 The one piece I didn't realize before was that since these classes are serving the purpose of an external interface, subclasses need not include override methods

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
Github user adufilie commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169160089 Flash Builder does not show toString() in its content assist for Object, and there is no error in the editor. =) --- If your project is set up for it, you can

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread joshtynjala
Github user joshtynjala commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169158834 I guess, since Object is dynamic, calling toString() should still compile if you try to call it on something typed as Object (even if it's not defined). That

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread joshtynjala
Github user joshtynjala commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169116121 > The other issue was that there was a hard-coded thing in MethodReference.java to output an "AS3" namespace for a toString() override. Using the AS3

Re: Bug in mxmlc script

2016-01-05 Thread Josh Tynjala
asjsc does not generate an index.html file, so you must be looking at the output of mxmlc. Today, asjsc outputs a JS file that lists the dependencies, as I described. They're the exact same addDependency() calls that you'd see in mxmlc's index.html. - Josh On Tue, Jan 5, 2016 at 1:06 PM,

Re: [DISCUSSION] Apache Flex SDK 4.15 release candidate 1

2016-01-05 Thread Justin Mclean
Hi, > https://issues.apache.org/jira/browse/FLEX-34769 pretends to be fixed in 4.15 > but doesn't appear in the RELEASE_NOTES of the rc1... > Is this fix really in the future 4.15 release ? Yes this fix is in the 4.15 release and is missing from the RELEASE_NOTES. Why do you say “pretends to

[GitHub] flex-sdk pull request: Update CONTRIBUTORS

2016-01-05 Thread ok-at-github
Github user ok-at-github commented on the pull request: https://github.com/apache/flex-sdk/pull/41#issuecomment-169134911 Ok, don't know this but it makes sense ;-) Sorry for wasted time! Olaf --- If your project is set up for it, you can reply to this email and have

Re: Bug in mxmlc script

2016-01-05 Thread OmPrakash Muppirala
On Jan 5, 2016 9:36 AM, "Josh Tynjala" wrote: > > asjsc still generates all of the addDependency() calls required for a debug > build. No hand crafting needed. It generates them in a JS file named > ProjectName-dependencies.js. Not coincidentally, that is the only JS file >

Re: Bug in mxmlc script

2016-01-05 Thread OmPrakash Muppirala
On Tue, Jan 5, 2016 at 10:12 AM, Alex Harui wrote: > > > On 1/5/16, 9:49 AM, "Harbs" wrote: > > > > >On Jan 5, 2016, at 7:05 PM, OmPrakash Muppirala > >wrote: > > > >> > >> I don't understand. If you customize your

[GitHub] flex-sdk pull request: Update CONTRIBUTORS

2016-01-05 Thread ok-at-github
Github user ok-at-github closed the pull request at: https://github.com/apache/flex-sdk/pull/41 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-05 Thread OmPrakash Muppirala
On Tue, Jan 5, 2016 at 12:45 PM, OK wrote: > I've tried asjsc and mxmlc: > > Here're my observations: > - I have to provide the full path to asjsc/mxmlc although I've used -g. > (I've used an already installed node.js version 5.2.0, windows 7, 64bit) > Are you using the

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
Github user adufilie commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169140272 I believe the patched code does the right thing. From the AS3 language reference: >Note: Methods of the Object class are dynamically created on Object's

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread teotigraphix
Github user teotigraphix commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169141901 On a side note; When i wrote this externc, I had the same opinion as @adufilie. It was about getting the javascript out of valid AS, that was it. The

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-05 Thread OK
I've tried asjsc and mxmlc: Here're my observations: - I have to provide the full path to asjsc/mxmlc although I've used -g. (I've used an already installed node.js version 5.2.0, windows 7, 64bit) -asjsc works, it successfully creates \bin\js-release\USStatesMap.js, but the log contains 8

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Alex Harui
On 1/5/16, 4:41 PM, "Michael Schmalle" wrote: >To bad you can't have a portion streaming with some chat. I'm open to ideas on how to do that. I don't know this conference room at all, it was built since I was last based in SF and in a building "down the road" from

[4.15.0] # Apache Flex SDK 4.15.0 nightly build 158: Successful

2016-01-05 Thread flex . ci . builds
flex-sdk_release-candidate - Build #158 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/158/.

RE: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Jason Taylor
I'll be there -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Monday, January 04, 2016 6:28 PM To: dev@flex.apache.org; us...@flex.apache.org Subject: [FLEXJS] FlexJS Event in San Francisco Hi, I have received permission from my managers to host an Apache FlexJS

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-05 Thread Michael Schmalle
To bad you can't have a portion streaming with some chat. On Tue, Jan 5, 2016 at 7:32 PM, Jason Taylor wrote: > I'll be there > > -Original Message- > From: Alex Harui [mailto:aha...@adobe.com] > Sent: Monday, January 04, 2016 6:28 PM > To: dev@flex.apache.org;

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169180297 No, we just want to make sure we have the same behavior that AS coders expect. I'll try to apply the correct set of your patches and see what happens. --- If your

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread joshtynjala
Github user joshtynjala commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169161037 Yes, I see that too. Weird. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

Re: [DISCUSSION] Apache Flex SDK 4.15 release candidate 1

2016-01-05 Thread OmPrakash Muppirala
On Tue, Jan 5, 2016 at 2:55 PM, Justin Mclean wrote: > Hi, > > > https://issues.apache.org/jira/browse/FLEX-34769 pretends to be fixed > in 4.15 but doesn't appear in the RELEASE_NOTES of the rc1... > > Is this fix really in the future 4.15 release ? > > Yes this fix is

[GitHub] flex-sdk pull request: Update CONTRIBUTORS

2016-01-05 Thread justinmclean
Github user justinmclean commented on the pull request: https://github.com/apache/flex-sdk/pull/41#issuecomment-169164489 Thanks for double checking - we do sometimes miss people out. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread adufilie
Github user adufilie commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169167951 ActionScript gives an error if you try to use toString() on a non-dynamic class that does not define it explicitly. Is there a reason we should make it behave

Re: Bug in mxmlc script

2016-01-05 Thread Alex Harui
On 1/5/16, 1:06 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >On Jan 5, 2016 9:36 AM, "Josh Tynjala" wrote: >> >> asjsc still generates all of the addDependency() calls required for a >debug >>

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169167331 What happens for some non-dynamic class that extends Object? Does it get a toString() even if it doesn't define a custom toString() function? Does the compiler let

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2016-01-05 Thread Harbs
Next issue: I think some people in W3C should have their heads examined. Why in the world are they removing useful features??? The only way I can find to access CDATA in Document is with CDataSections[1] and the nodeType: Node.CDATA_SECTION_NODE[2] I cannot find a recommended way to handle

[GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-05 Thread aharui
Github user aharui commented on the pull request: https://github.com/apache/flex-falcon/pull/5#issuecomment-169200272 Still not working. Maybe the patches didn't applied correctly, but createjs.Text.toString() is still being generated even though there is a