Re: plasmate 0.1alpha1

2010-02-10 Thread Patrick Aljord
On Tue, Feb 9, 2010 at 6:21 PM, Aaron J. Seigo wrote: >        http://plasma.kde.org/plasmate-0.1alpha1.tar.bz2 > > please test the tarball and report any failures. > 404 not found for the tarball. ___ Plasma-devel mailing list Plasma-devel@kde.org http

need help on my javascript plasmoid

2009-07-21 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: http://amarok.kde.org/forum/

Re: need help on my javascript plasmoid

2009-07-22 Thread Patrick Aljord
On Wed, Jul 22, 2009 at 3:03 AM, Marco Martin 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 thanks for the

Re: need help on my javascript plasmoid

2009-07-22 Thread Patrick Aljord
Ok, thanks all, I guess I'll go for ruby then. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: need help on my javascript plasmoid

2009-07-23 Thread Patrick Aljord
On Wed, Jul 22, 2009 at 11:24 PM, Aaron J. Seigo 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 fetc

Re: need help on my javascript plasmoid

2009-07-23 Thread Patrick Aljord
On Thu, Jul 23, 2009 at 2:28 AM, Aaron J. Seigo 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 x

Re: need help on my javascript plasmoid

2009-07-23 Thread Patrick Aljord
On Thu, Jul 23, 2009 at 12:36 PM, Aaron J. Seigo 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 the fo

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 "update_

Re: Prospective costs of the 3rd Plasma meeting (Tokamak3) - part 2

2009-07-23 Thread Patrick Aljord
On Thu, Jul 23, 2009 at 9:32 PM, Chani wrote: > it seems the costs for zurich and geneva are the same. is there any reason to > pick one airport over the other, or should I flip a coin? ;) > Geneva seems to be closer http://maps.google.com/maps?f=d&source=s_d&saddr=gen%C3%A8ve+suisse&daddr=randa+s

[PATCH] Adds posting private picture to imagebin.ca from the pastebin plasmoid

2009-08-08 Thread Patrick Aljord
Hey all, This is my first patch, it just adds "posting private picture to imagebin.ca from the pastebin plasmoid" as the title says, it needs to be applied from kdeplasma-addons, hope it works for you. Cheers, Pat Index: applets/pastebin/pastebin.cpp =

Re: [PATCH] Adds posting private picture to imagebin.ca from the pastebin plasmoid

2009-08-08 Thread Patrick Aljord
Thanks to all for your comments. I haven't coded anything in C++ for at least 3 years so I guess it shows :) I'll send the patch with your suggestions tomorrow, in the meantime here is the screenshot http://imagebin.ca/view/fyaoR7T.html ___ Plasma-devel

Re: [PATCH] Adds posting private picture to imagebin.ca from the pastebin plasmoid

2009-08-08 Thread Patrick Aljord
I was thinking with time we could add more options for alll the different servers, then a new page would make sense, for now it's true that it looks empty. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-dev

Re: [PATCH] Adds posting private picture to imagebin.ca from the pastebin plasmoid

2009-08-09 Thread Patrick Aljord
On Sat, Aug 8, 2009 at 1:56 PM, Chani wrote: > > kompare won't load the diff for some reason... I used the techbase tutorial here http://techbase.kde.org/Contribute/Send_Patches#Creating_a_Simple_File_Patch and used that command: svn diff --diff-cmd diff --extensions "-u -p"

Re: [PATCH] Adds posting private picture to imagebin.ca from the pastebin plasmoid

2009-08-09 Thread Patrick Aljord
http://reviewboard.kde.org/r/1248/ here is the diff with the imagebinPrivacy always as int. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: [PATCH] Adds posting private picture to imagebin.ca from the pastebin plasmoid

2009-08-09 Thread Patrick Aljord
oops, forgot to hit the publish button, should be up now http://reviewboard.kde.org/r/1248/ On Sun, Aug 9, 2009 at 3:00 PM, Patrick Aljord wrote: > http://reviewboard.kde.org/r/1248/ here is the diff with the > imagebinPrivacy always

Re: Review Request: Simplest Image Hosting support for pastebin applet

2009-08-10 Thread Patrick Aljord
This is kind of unrelated but wouldn't it be a good thing to turn the upload backends into a plasma data engine? I can see other plasmoids making use of uploading pics and even kde apps like ksnapshot but I have no idea whether kde apps can make use of plasma engines. -Pat

Re: Review Request: make use of setClickMessage in the source textedit

2009-08-17 Thread Patrick Aljord
On Mon, Aug 17, 2009 at 8:56 AM, Sebastian Kügler wrote: > /trunk/kdereview/plasma/applets/translatoid/ktranslatoid.cpp > > >    "Your text here" sounds nicer IMO > Ok, I changed the text to that, I'm sending it here because reviewboard is down. Ch

how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-01 Thread Patrick Aljord
Hi, I just read a comment by Aaron saying that DataEngines can be accesed from JavaScript in the Web Plasmoids. I tried to figured how it can be done but couldn't so far. Any clue? :) Thanks in advance, Pat ___ Plasma-devel mailing list Plasma-devel@kd

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-01 Thread Patrick Aljord
For people reading this coming from a google search, Aaron answered me here http://identi.ca/conversation/17912580#notice-17985515 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-02 Thread Patrick Aljord
On Fri, Jan 1, 2010 at 8:56 PM, Aaron J. Seigo wrote: > > requires today's trunk for everything to work perfectly > > enjoy. > > thanks, today's trunk is what will become kde 4.4 right? Or has that moved to a branch already? ___ Plasma-devel mailing list

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-03 Thread Patrick Aljord
I saw you committed your changes, looks cool. I used to test my plasmoids in firefox with firebug but now using window.plasmoid makes the whole thing fail. It would be cool if there was a way to start the webkit web inspector from the web plasmoid. Any idea if that is possible? Thanks in advance,

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-03 Thread Patrick Aljord
On Sun, Jan 3, 2010 at 9:18 PM, Aaron J. Seigo wrote: > > anything else? > > Maybe this is not related but html5 storage doesn't seem to work, I get this error when starting the plasmoid: "Failed to open the database on disk. This is probably because the version was bad or there is not enough sp

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-03 Thread Patrick Aljord
On Sun, Jan 3, 2010 at 10:54 PM, Patrick Aljord wrote: > On Sun, Jan 3, 2010 at 9:18 PM, Aaron J. Seigo wrote: >> >> anything else? >> >> > Maybe this is not related but html5 storage doesn't seem to work, I get > this error when starting the plasmoid: &g

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-04 Thread Patrick Aljord
On Sun, Jan 3, 2010 at 11:39 PM, Aaron J. Seigo wrote: > > and probably give poor, or even incorrect, results. what exactly are you > wanting to accomplish? > > HTML5 storage would allow making apps such as todo lists, note taker, or whatever that could make use of a db without the need of writing

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-04 Thread Patrick Aljord
On Mon, Jan 4, 2010 at 3:45 PM, Chani wrote: > > > HTML5 storage would allow making apps such as todo lists, note taker, or > > whatever that could make use of a db without the need of writing or using > a > > data engine. Not perfect but nice. > > kinda sounds like data you'd want to access throu

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-04 Thread Patrick Aljord
On Mon, Jan 4, 2010 at 4:23 PM, Aaron J. Seigo wrote: > On January 4, 2010, Patrick Aljord wrote: > > Could be, but the thing would be to use web technologies only. > > if i understand it correctly, the request is for easy access to data > persistence (separate from configurat

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-04 Thread Patrick Aljord
On Mon, Jan 4, 2010 at 6:10 PM, Aaron J. Seigo wrote: > > relative to what we're doing, it is. i somehow doubt it will work at all with > remote widgets, for instance. Ok I didn't think about remote widgets. Point taken. > > in particular, it's pretty evident that html5 storage has been designed

Re: how can I access DataEngines from JavaScript in the Web Plasmoids?

2010-01-05 Thread Patrick Aljord
On Tue, Jan 5, 2010 at 4:45 AM, Sebastian Kügler wrote: > It doesn't address one important design principle in the least: Separating > content > from layout and logic. What do you mean? Many websites get their content through a REST api, rails for example has a activeresource for that. Or am I m