Re: need help on my javascript plasmoid

2009-07-24 Thread Richard Dale
On Thu, Jul 23, 2009 at 6:37 PM, Aaron J. Seigoase...@kde.org wrote: On Thursday 23 July 2009, Richard Dale wrote: Not specifically, but Arno Rehn is doing a GSOC project working on a bindings generator that uses one of Roberto Raggi's parsers. He said that the parser used for the QtScript

Re: need help on my javascript plasmoid

2009-07-24 Thread Aaron J. Seigo
On Friday 24 July 2009, Richard Dale wrote: think upgrading the parser would be the best first step. I don't mind helping if it is something that would be popular, as opposed to 'just for completeness'. i'd like to see JavaScript be _the_ recommended method for writing plasmoids. it's nice to

Re: need help on my javascript plasmoid

2009-07-24 Thread Aaron J. Seigo
On Thursday 23 July 2009, Patrick Aljord wrote: Another feature that would be cool for JS plasmoids (and all scripted plasmoids in general), the possibility for plasmoids to update automatically like firefox and chrome extensions

Re: need help on my javascript plasmoid

2009-07-23 Thread Patrick Aljord
On Wed, Jul 22, 2009 at 11:24 PM, Aaron J. Seigoase...@kde.org wrote: On Wednesday 22 July 2009, Patrick Aljord wrote: xmlUrl = new QUrl( http://ws.audioscrobbler.com; ); http   = new QHttp; * do not use QHttp * the JS bindings do not have support for fetching things via KIO; note that

Re: need help on my javascript plasmoid

2009-07-23 Thread Aaron J. Seigo
On Thursday 23 July 2009, Patrick Aljord wrote: Thanks for your answer. I'm trying to fetch an xml file from a website that has an xml api and display the results in my plasmoid. will you be parsing the xml before displaying it in some custom manner? (just wondering what all would be needed

Re: need help on my javascript plasmoid

2009-07-23 Thread Patrick Aljord
On Thu, Jul 23, 2009 at 2:28 AM, Aaron J. Seigoase...@kde.org wrote: On Thursday 23 July 2009, Patrick Aljord wrote: Thanks for your answer. I'm trying to fetch an xml file from a website that has an xml api and display the results in my plasmoid. will you be parsing the xml before displaying

Re: need help on my javascript plasmoid

2009-07-23 Thread Richard Dale
On Thu, Jul 23, 2009 at 5:24 AM, Aaron J. Seigoase...@kde.org wrote: * a full set should hopefully appear in qt 4.4 (richard, did you ever find time to fiddle with that while at GCDS?) Not specifically, but Arno Rehn is doing a GSOC project working on a bindings generator that uses one of

Re: need help on my javascript plasmoid

2009-07-23 Thread Aaron J. Seigo
On Thursday 23 July 2009, Patrick Aljord wrote: On Thu, Jul 23, 2009 at 2:28 AM, Aaron J. Seigoase...@kde.org wrote: On Thursday 23 July 2009, Patrick Aljord wrote: Thanks for your answer. I'm trying to fetch an xml file from a website that has an xml api and display the results in my

Re: need help on my javascript plasmoid

2009-07-23 Thread Aaron J. Seigo
On Thursday 23 July 2009, Richard Dale wrote: Not specifically, but Arno Rehn is doing a GSOC project working on a bindings generator that uses one of Roberto Raggi's parsers. He said that the parser used for the QtScript bindings was about the oldest of the lot (the one on gitorious - is that

Re: need help on my javascript plasmoid

2009-07-23 Thread Patrick Aljord
On Thu, Jul 23, 2009 at 12:36 PM, Aaron J. Seigoase...@kde.org wrote: I think right now I could write a ruby script  that execute File.rm_f('~'), upload it on kde-apps and people would be able to install that directly from the desktop, no? yes. not great, i know. Maybe we could do one of

Re: need help on my javascript plasmoid

2009-07-23 Thread Aaron J. Seigo
On Thursday 23 July 2009, Patrick Aljord wrote: b) put a system on kde-apps.org where people could flag the plasmoids s,people,plasma dev team, some of these things will become a lot easier with Rob's work on remote widgets -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209

Re: need help on my javascript plasmoid

2009-07-23 Thread Patrick Aljord
Another feature that would be cool for JS plasmoids (and all scripted plasmoids in general), the possibility for plasmoids to update automatically like firefox and chrome extensions (http://dev.chromium.org/developers/design-documents/extensions/autoupdate), that could be done by adding an

need help on my javascript plasmoid

2009-07-22 Thread Patrick Aljord
Hey all, I've been following the Getting Started tutorial on techbase and it works great. Since then, I've been trying to use QHttp and other Qt classes in my main.js file but the plasmoid fails. I'm trying to download an xml file such as in this amarok script example:

Re: need help on my javascript plasmoid

2009-07-22 Thread Patrick Aljord
On Wed, Jul 22, 2009 at 3:03 AM, Marco Martinnotm...@gmail.com wrote: in amarok js bindings are complete and autogenerated. for now in plasma hey are just a tiny subset and you can call only stuff explicitly exported by libplasma probably in the future we will have complete bindings too Ok

Re: need help on my javascript plasmoid

2009-07-22 Thread Marco Martin
On Wednesday 22 July 2009, Patrick Aljord wrote: On Wed, Jul 22, 2009 at 3:03 AM, Marco Martinnotm...@gmail.com wrote: in amarok js bindings are complete and autogenerated. for now in plasma hey are just a tiny subset and you can call only stuff explicitly exported by libplasma probably

Re: need help on my javascript plasmoid

2009-07-22 Thread Aaron J. Seigo
On Wednesday 22 July 2009, Patrick Aljord wrote: xmlUrl = new QUrl( http://ws.audioscrobbler.com; ); http = new QHttp; * do not use QHttp * the JS bindings do not have support for fetching things via KIO; note that this represents a security issue that would need to be address _FIRST_