amplesdk icon indicating copy to clipboard operation
amplesdk copied to clipboard

XUL: We should port XUL Gear as add-on feature

Open h6w opened this issue 14 years ago • 8 comments

XUL Gear is a great tool for manipulating XUL when manipulating UIs.

https://addons.mozilla.org/en-US/firefox/addon/xul-gear/

It would be great if we could port this to ample. It would be a good demo for XUL completeness.

It could also be used to extend their own UIs using custom widgets all in the UI that ample already provides!

h6w avatar Oct 25 '11 20:10 h6w

ilinsky, would there be any conflict between Mozilla Public License, version 1.1 and ample's MIT or GPL licenses?

If the licensing is OK, I'd be happy to port it. Shouldn't take too long.

h6w avatar Oct 25 '11 20:10 h6w

Tudor, please connect with Mozilla and see what we can do.

ilinsky avatar Oct 30 '11 19:10 ilinsky

I have contacted Ilya Kharlamov for permission to fork his code under a GPL/MIT license and am awaiting his reply.

h6w avatar Oct 31 '11 05:10 h6w

Please use it if you like. You can obtain the code using hg clone https://code.google.com/p/xulgear/

ilyakharlamov avatar Nov 25 '11 17:11 ilyakharlamov

Just to confirm, Ilya has given permission both here (see message above) and by email.

A copy of the text of his email follows.

Hi Tudor Answering your question about XUL gear lincense Sorry for long reply. Sure, go ahead if you want to use xul gear code in Ample SDL Unfortunately neither Mozilla Website nor google code does not allow specifying more than one license on it, but consider the permission given.

Best regards Ilya Kharlamov

h6w avatar Nov 26 '11 07:11 h6w

Pull request of hg clone (minus mercurial files) accepted by ilinsky yesterday. Now working on integration with ample.

h6w avatar Dec 11 '11 18:12 h6w

@ilyakharlamov There's a file referenced in your extension called 'json2.js' and you reference a function called stringifyAll(). The file doesn't exist in your repository, and the standard json2.js from json.org does not contain this function. I can't find a json2.js in firefox, either. Do you know where to get this file from?

h6w avatar Jan 24 '12 03:01 h6w

Actually, I ran the extension in firefox itself and the error console reported "JSON.stringifyAll is not a function" so I have reported the error here: https://code.google.com/p/xulgear/issues/detail?id=12

h6w avatar Jan 24 '12 04:01 h6w