clientside / amplesdk

Ample SDK - JavaScript UI Framework
Other
170 stars 29 forks source link

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

Open h6w opened 13 years ago

h6w commented 13 years ago

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 commented 13 years ago

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.

ilinsky commented 13 years ago

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

h6w commented 13 years ago

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

ilyakharlamov commented 12 years ago

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

h6w commented 12 years ago

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 commented 12 years ago

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

h6w commented 12 years ago

@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 commented 12 years ago

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