Re: [DISCUSS] How do we want to handle Whiteboard?

2013-04-09 Thread Dave Fisher
On Apr 8, 2013, at 10:17 PM, Om wrote: On Mon, Apr 8, 2013 at 9:31 PM, Dave Fisher w...@apache.org wrote: This discussion seems familiar. Justin has the ASF viewpoint for the most part. Talk to infra and David Nalley about the issues in expanding out to github. Regards, Dave

[FalconJX][FlexJS] Too self-centered?

2013-04-09 Thread Alex Harui
Erik, I noticed that the FlexJS output has a lot of methods with “var self=this” in it, and source has a comment implying that you wish it didn’t. FalconJS currently adds “var self=this” only if there are nested functions inside. What is the history behind the “self” in FlexJS output? --

Re: [DISCUSS] How do we want to handle Whiteboard?

2013-04-09 Thread Frédéric THOMAS
1) Any contributors who have a made a large contribution have signed a ICLA and agree to this code being donated. Just having an ICLA signed may not be enough as it may not been clear that the intent was to move the code to Apache Flex. So in git hub are all contributors easily identified and

Re: [DISCUSS] How do we want to handle Whiteboard?

2013-04-09 Thread Justin Mclean
Hi, I would like to remind you the technical problem to do it If the whiteboard is in SVN, Git or Github we have the same issue - the white board area doesn't have to mirror the current SDK structure. Answer is basically patch files in JIRA or branch existing SDK copy files over and see if

Re: [DISCUSS] How do we want to handle Whiteboard?

2013-04-09 Thread Frédéric THOMAS
copy files over and see if you can merge and commit/push What would mean deleting the current tree and copy the new one over and not only copy over the existing tree as it would be a problem if parts of the tree have been renamed or moved, right ? The main difference is it easier to check

Re: [FalconJX][FlexJS] Too self-centered?

2013-04-09 Thread Erik de Bruin
The self = this needs to be more clever, you are correct. At one point in my race to understand all things ASJS it was probably convenient to add this to each function body and use self instead of this. JS does require a lot more this than AS, so adding one reference or another didn't seem like a

Re: [FalconJX][FlexJS] Dependency calculations

2013-04-09 Thread Erik de Bruin
Alex, The current 'publisher' part of FalconJx uses the vanilla 'DepsGenerator' functionality of the Closure Compiler. Do you have a minimal test case of the kind of circular dependency you are talking about? It seems like that should be something that Google should have encountered and be able

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Erik de Bruin
None of my test cases (and none of my real world code, I think they're lazy) uses wildcard imports, so I wasn't aware of this. But since they are a feature of AS, we need to be able to handle them. The compiler seems to be the proper handler for this, so I'll have a look at how FalconJS does this

Re: [DISCUSS] How do we want to handle Whiteboard?

2013-04-09 Thread Bertrand Delacretaz
On Tue, Apr 9, 2013 at 8:23 AM, Dave Fisher dave2w...@comcast.net wrote: ...The gist is that this PMC is responsible for keeping the IP in shape and doing the work in the open I'd also add that whoever commits (or pushes, in the Git model) to the Apache repository (where all releases must

[jira] [Commented] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626369#comment-13626369 ] Justin Mclean commented on FLEX-33480: -- Confirmed and it also happens for some other

[jira] [Comment Edited] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626369#comment-13626369 ] Justin Mclean edited comment on FLEX-33480 at 4/9/13 8:07 AM: --

[jira] [Comment Edited] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626378#comment-13626378 ] Justin Mclean edited comment on FLEX-33480 at 4/9/13 8:19 AM: --

[jira] [Assigned] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean reassigned FLEX-33480: Assignee: Justin Mclean Build error when locale is set to pt_PT

[jira] [Commented] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626378#comment-13626378 ] Justin Mclean commented on FLEX-33480: -- Looks like issue is that pt_PT, en_GB, en_CA,

[jira] [Updated] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean updated FLEX-33480: - Attachment: textLayout_rb.swc pt_PT textLayout compiled resources Build error

[jira] [Commented] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626407#comment-13626407 ] Justin Mclean commented on FLEX-33480: -- Fixed in Apache next. Attached is pt_PT

[jira] [Resolved] (FLEX-33480) Build error when locale is set to pt_PT

2013-04-09 Thread Justin Mclean (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean resolved FLEX-33480. -- Resolution: Fixed Fix Version/s: Apache Flex 4.10.0 Build error when locale is set

RE: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do?

2013-04-09 Thread Tigran Najaryan
Unfortunately I could not find a workaround to this. Played with the paths trying to fool DepsGenerator but it didn't work. The other approach is to copy the DepsGenerator and PathUtil classes to FalconJX code base and fix it there. Technically this approach works, I tried it. The fix to PathUtil

Re: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do?

2013-04-09 Thread Erik de Bruin
The other approach is to copy the DepsGenerator and PathUtil classes to FalconJX code base and fix it there. Technically this approach works, I tried it. The fix to PathUtil is trivial to do, only a few lines must be modified to make it handle Windows paths correctly. I did not need to touch

Re: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do?

2013-04-09 Thread Erik de Bruin
Ah, and a good way to start would be to create a JIRA ticket about the need for a better README and to attach a patch for that issue with the content of what you wrote in your original email. That should get you (and us) going on the road of coding and patching and will go some way towards getting

Re: Falcon tests fail: SecurityError: Error #2017: Only trusted local files may cause the Flash Player to exit.

2013-04-09 Thread Erik de Bruin
Ah, you are correct... This is part of the README for the SDK, but isn't part of the README for Falcon(JS/JX). Since most developers will have built the SDK before getting to the compiler(s), we got away with this ;-) Another addition to the README, via a JIRA ticket? EdB On Tue, Apr 9, 2013

RE: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do?

2013-04-09 Thread Tigran Najaryan
Forking the Google code to our project doesn't seem like the best option. Yes, that what concerns me too. We may consider donating your solution to the Closure project, which is Open Source... That may be a solution in the long term but I am not sure that helps to fix the bug in Falcon

Re: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do?

2013-04-09 Thread Erik de Bruin
Also, the current FlexJS implementation for both MXML and AS contains several giant methods that simply beg to be broken up into more manageable sets of support functions which maybe even share some common code (like the emission of JSDoc type headers)... That might also be a good way to get your

[jira] [Created] (FLEX-33481) Improve README for FalconJX compiler

2013-04-09 Thread Tigran Najaryan (JIRA)
Tigran Najaryan created FLEX-33481: -- Summary: Improve README for FalconJX compiler Key: FLEX-33481 URL: https://issues.apache.org/jira/browse/FLEX-33481 Project: Apache Flex Issue Type:

RE: Falcon tests fail: SecurityError: Error #2017: Only trusted local files may cause the Flash Player to exit.

2013-04-09 Thread Tigran Najaryan
Ah, you are correct... This is part of the README for the SDK, but isn't part of the README for Falcon(JS/JX). Since most developers will have built the SDK before getting to the compiler(s), we got away with this ;-) My mistake. Since it is in the README for the SDK and it is a pre-requisite

Re: Git commit emails

2013-04-09 Thread Erik de Bruin
I have the feeling I read an update on this somewhere in one of the INFRA messages, but I can't find it... Anyway, the git commit emails are still not formatted the way we discussed. EdB On Wed, Mar 27, 2013 at 12:44 PM, Om bigosma...@gmail.com wrote: I made this request to INFRA a while ago.

[jira] [Updated] (FLEX-33481) Improve README for FalconJX compiler

2013-04-09 Thread Erik de Bruin (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik de Bruin updated FLEX-33481: - Assignee: Erik de Bruin Improve README for FalconJX compiler

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Alex Harui
I think I have copied the Falconjs implementation to falconjx. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: None of my test cases (and none of my real world code, I think they're lazy) uses wildcard imports, so I wasn't aware of this. But

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Erik de Bruin
Locally? Or did I miss a commit? EdB On Tue, Apr 9, 2013 at 8:10 AM, Alex Harui aha...@adobe.com wrote: I think I have copied the Falconjs implementation to falconjx. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: None of my test

[jira] [Resolved] (FLEX-33481) Improve README for FalconJX compiler

2013-04-09 Thread Erik de Bruin (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik de Bruin resolved FLEX-33481. -- Resolution: Fixed Improve README for FalconJX compiler

[jira] [Commented] (FLEX-33479) Conflict between allowBrowserInvocation and captiveruntime packaging of AIR application

2013-04-09 Thread Abhishek Dwevedi (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626630#comment-13626630 ] Abhishek Dwevedi commented on FLEX-33479: - @ Frederic, Do you believe its a bug or

Re: Git commit emails

2013-04-09 Thread OmPrakash Muppirala
On Apr 9, 2013 5:42 AM, Erik de Bruin e...@ixsoftware.nl wrote: I have the feeling I read an update on this somewhere in one of the INFRA messages, but I can't find it... Anyway, the git commit emails are still not formatted the way we discussed. EdB I was told by Infra that this issue

Re: Git commit emails

2013-04-09 Thread Erik de Bruin
Well, maybe my email client is messing things up, but my commits this afternoon show up like: git commit: %(subject)s while I expected: git commit [%(repo_name)s]: %(subject)s EdB On Tue, Apr 9, 2013 at 9:23 AM, OmPrakash Muppirala bigosma...@gmail.com wrote: On Apr 9, 2013 5:42 AM, Erik

RE: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do?

2013-04-09 Thread Tigran Najaryan
Also, the current FlexJS implementation for both MXML and AS contains several giant methods that simply beg to be broken up into more manageable sets of support functions which maybe even share some common code (like the emission of JSDoc type headers)... That might also be a good way to get

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Alex Harui
Locally. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: Locally? Or did I miss a commit? EdB On Tue, Apr 9, 2013 at 8:10 AM, Alex Harui aha...@adobe.com wrote: I think I have copied the Falconjs implementation to falconjx. Sent via

[jira] [Commented] (FLEX-33482) FalconJX generates incorrect paths in deps.js

2013-04-09 Thread Alex Harui (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626754#comment-13626754 ] Alex Harui commented on FLEX-33482: --- Is all of the code on the same drive? Google

Re: [FalconJX][FlexJS] Dependency calculations

2013-04-09 Thread Alex Harui
I don't have a test case I can make public. It appears to be ClassA requires ClassB requires ClassC requires ClassA. Which is all valid because the circularity doesn't involve prototype definitions. When I was working with FalconJS, I tried the calcdeps.py and it kept complaining about circular

[jira] [Commented] (FLEX-33482) FalconJX generates incorrect paths in deps.js

2013-04-09 Thread Tigran Najaryan (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13626803#comment-13626803 ] Tigran Najaryan commented on FLEX-33482: Yes, everything is on drive D:

Re: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do?

2013-04-09 Thread Erik de Bruin
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSEmitter.java is a good place to start :-) EdB On Tue, Apr 9, 2013 at 10:13 AM, Tigran Najaryan tig...@gmail.com wrote: Also, the current FlexJS implementation for both MXML and AS contains several giant methods that simply beg

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Erik de Bruin
Ah, hard for me to review ;-) Do you plan to commit it, or do you want me to look at the current implementation and try to fix that? EdB On Tue, Apr 9, 2013 at 10:49 AM, Alex Harui aha...@adobe.com wrote: Locally. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin

Re: [DICUSS] Release InstallApacheFlex 2.5.4 - RC5 (was: Release InstallApacheFlex 2.5.3 - RC4)

2013-04-09 Thread Frédéric THOMAS
Thanks Alex, I thought about taking another Vote as example already but where can I find the list of the PMC Members to make the difference between binding and and no binding votes ? -Fred -Message d'origine- From: Alex Harui Sent: Monday, April 08, 2013 8:51 PM To:

Re: [FalconJX][FlexJS] Dependency calculations

2013-04-09 Thread Erik de Bruin
I'll try to write some tests that reproduce this. Let's not change any code until we have a way to pinpoint the issue? EdB On Tue, Apr 9, 2013 at 11:24 AM, Alex Harui aha...@adobe.com wrote: I don't have a test case I can make public. It appears to be ClassA requires ClassB requires ClassC

Re: [VOTE] Release InstallApacheFlex 2.5.4 - RC5

2013-04-09 Thread OmPrakash Muppirala
+1 binding. All my usual tests pass. Thanks, Om On Apr 8, 2013 6:15 AM, Frédéric THOMAS webdoubl...@hotmail.com wrote: +1 Thanks guys, -Fred (Win7 64, fr_FR) On 4/5/13 6:35 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: *Issues addressed in this Release Candidate:* 1. Enable

Re: [jira] [Commented] (FLEX-33482) FalconJX generates incorrect paths in deps.js

2013-04-09 Thread Erik de Bruin
Can you please copy your exact command line arguments to here (or in a comment on the JIRA ticket)? I remember that the relative paths only resolve when the inputs exactly match and all resources are correctly positioned with regard to the files being published... EdB On Tue, Apr 9, 2013 at

RE: Git commit emails

2013-04-09 Thread Gordon Smith
It didn't change at all. - Gordon -Original Message- From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of OmPrakash Muppirala Sent: Tuesday, April 09, 2013 7:24 AM To: dev@flex.apache.org Subject: Re: Git commit emails On Apr 9, 2013 5:42 AM, Erik de Bruin e...@ixsoftware.nl

Re: [DICUSS] Release InstallApacheFlex 2.5.4 - RC5 (was: Release InstallApacheFlex 2.5.3 - RC4)

2013-04-09 Thread Alex Harui
Hmm. The new website no longer shows who is committer-only. We should probably keep that around for vote counting purposes. I think you're the only one added since the last vote. Here are the PMC ids: aharui bigosmallm cframpton cherreman cmastrandrea erikdebruin espenskogen frishy fthomas

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Alex Harui
On 4/9/13 9:52 AM, Erik de Bruin e...@ixsoftware.nl wrote: Ah, hard for me to review ;-) Do you plan to commit it, or do you want me to look at the current implementation and try to fix that? If it builds the test app and my customer's app then I will check it in. It sounds like you

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Erik de Bruin
The FalconJX::MXMLFlexJSEmitter implementation keeps track of which types (instances) are actually used in the MXML and writes the goog.requires from that list. The FalconJX::JSGoogEmitter (the parent class of JSFlexJSEmitter) uses the getAllImports method on the ScopedNode representing the AS

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Alex Harui
I still think using imports is insufficient. Here's a simple example: ClassA.as package comps { public class A { public function A() { var foo = new B(); } } } ClassB.as package comps { public class B { public function B()

Re: Git commit emails

2013-04-09 Thread OmPrakash Muppirala
Sorry, I should have checked the commit emails. I have alerted Infra about this. Hopefully they will fix it soon. Thanks, Om On Tue, Apr 9, 2013 at 10:14 AM, Gordon Smith gosm...@adobe.com wrote: It didn't change at all. - Gordon -Original Message- From: omup...@gmail.com

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Erik de Bruin
I'm writing test cases for all of the issues you mentioned to see how the current code behaves (and so we can test the new code if it's needed). EdB On Tue, Apr 9, 2013 at 2:05 PM, Alex Harui aha...@adobe.com wrote: I still think using imports is insufficient. Here's a simple example:

[jira] [Commented] (FLEX-33169) Spark List selection on mobile doesn't work properly

2013-04-09 Thread JIRA
[ https://issues.apache.org/jira/browse/FLEX-33169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13627069#comment-13627069 ] Fréderic Cox commented on FLEX-33169: - This is one of those issues that causes people

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Erik de Bruin
Ok, too much effort (time) to create project like test cases right now (so we can test dependencies between files), I'll add that to my ToDo list. I did see that the getAllImports() method the compiler provides apparently doesn't resolve dependencies (like I expected it to do, since in the

Re: [FalconJX][FlexJS] imports != require?

2013-04-09 Thread Alex Harui
And then I discovered that, even with my own dependency generator, when you pass this set to the closure compiler for optimization it barfs on the circularity and there won't be any working around that. I'm testing out a change to the dependency list logic to try to detect circularities up front.

[jira] [Commented] (FLEX-33169) Spark List selection on mobile doesn't work properly

2013-04-09 Thread Matt Krokosz (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13627343#comment-13627343 ] Matt Krokosz commented on FLEX-33169: - After pulling my hair out on this one and

AIR 3.7 and Apache Flex

2013-04-09 Thread Justin Mclean
Hi, AIR 3.7 is out but no Apache Flex compatible version yet. http://labs.adobe.com/technologies/flashruntimes/air/ We are continuing to release beta updates of AIR 3.7.x, including the addition of the AIR SDK for Flex developers. A little odd that they have a release version and are

Re: AIR 3.7 and Apache Flex

2013-04-09 Thread Nicholas Kwiatkowski
Yeah... seemed pretty odd, but I'm assuming it's because the new AIR has only been tested with the new Falcon compiler, and not old compiler.. -Nick On Tue, Apr 9, 2013 at 9:51 PM, Justin Mclean jus...@classsoftware.comwrote: Hi, AIR 3.7 is out but no Apache Flex compatible version yet.

SVG button with skin states and JS

2013-04-09 Thread OmPrakash Muppirala
Hi, Here is some more experimental work based on FXG to SVG transformation. http://people.apache.org/~bigosmallm/fxg2svg/buttonskinjs/embedButtons.html This time, all the skin states are in one .svg file along with the JS:

RE: How to get a clean working tree for flex-sdk

2013-04-09 Thread Gordon Smith
Background: I'm trying to get 'git status' to report nothing after simply doing a build of the SDK (which is what you expect because you haven't changed any source files). The problem is that a copy of flex-config.xml and a replace of Version.java in our Ant scripts seem to misbehave on Cygwin

Re: SVG button with skin states and JS

2013-04-09 Thread OmPrakash Muppirala
On Apr 9, 2013 7:40 PM, OmPrakash Muppirala bigosma...@gmail.com wrote: Hi, Here is some more experimental work based on FXG to SVG transformation. http://people.apache.org/~bigosmallm/fxg2svg/buttonskinjs/embedButtons.html This time, all the skin states are in one .svg file along with the

Re: How to get a clean working tree for flex-sdk

2013-04-09 Thread Justin Mclean
Hi, JFYI I'm running into a similar issue in windows in OSX. FlexComponentKit.mxi seems to have differing permissions but not sure if it should be added to .gitignore or not. You may also need to modify build.properties depending on your setup (eg TLF path) - how do we deal with that?

Seeing what 'ant clean' isn't cleaning

2013-04-09 Thread Gordon Smith
If you do 'git status --ignored' after 'ant clean', it will reveal any (normally-ignored) build output that didn't get cleaned. - Gordon

Re: Seeing what 'ant clean' isn't cleaning

2013-04-09 Thread Justin Mclean
Hi, If you do 'git status --ignored' after 'ant clean', it will reveal any (normally-ignored) build output that didn't get cleaned. Any reason why these are ignored? # modules/compiler/src/java/flex2/compiler/mxml/ParseException.java #

Re: How to get a clean working tree for flex-sdk

2013-04-09 Thread Alex Harui
The .mxi is a source file so it shouldn't be in gitignore. The Extension Manager changes its permissions to executable for unknown reason. I thought I checked in an .mxi file with executable permissions to try to cure this problem. Maybe I put it in the wrong branch or maybe it didn't work on

Re: How to get a clean working tree for flex-sdk

2013-04-09 Thread Terry Corbet
I probably do not understand enough of the problem you are describing, and probably don't have enough smarts to provide anything of value, but, for what it is worth: A. The cygwin version of the 'cp' utility has a '-p' option which, in my experience, keeps its promise; the target file will have

Re: SVG button with skin states and JS

2013-04-09 Thread Alex Harui
Good progress. I didn't look at your implementation, but some comments inline. On 4/9/13 7:40 PM, OmPrakash Muppirala bigosma...@gmail.com wrote: Hi, Here is some more experimental work based on FXG to SVG transformation.