Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Arne Babenhauserheide
Am Dienstag 26 August 2008 23:02:02 schrieb Aaron J. Seigo: > other than "because i prefer to write in python" i'm not overly sure what > real world compelling benefits there are to other languages. i think it's > great they are there, if only because people can and should work on > whatever they w

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Dan Meltzer wrote: > trouble with the video player plasmoid than you would expect. Phonon > cannot render video on a qgraphicsitem, or even on a > qgraphicsproxywidget, due to some of the trickery it involves. In this is being resolved with phonon/experimental/abstract

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Wednesday 27 August 2008 01:52:17 Dan Meltzer wrote: > One sort-of related note, you will likely run into a whole lot more > trouble with the video player plasmoid than you would expect. Phonon > cannot render video on a qgraphicsitem, or even on a > qgraphicsproxywidget, due to some of the tri

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Dan Meltzer
On Tue, Aug 26, 2008 at 6:18 PM, Paul B <[EMAIL PROTECTED]> wrote: > On Tuesday 26 August 2008 23:01:37 Aaron J. Seigo wrote: >> On Tuesday 26 August 2008, Paul B wrote: >> > >> > I was considering rewriting the binary clock in Python anyway, since last >> > time I checked it didn't support true bi

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Alex Merry
On Tuesday 26 August 2008 23:18:53 Paul B wrote: > I might take a crack at it, but not too sure about my ecmascript skills, > right now I'm gonna try make a C++ Video Player plasmoid to practise, > incidentally where can I find the API docs for plasma? api.kde.org says to > find them at plasma.kde.

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Tuesday 26 August 2008 23:01:37 Aaron J. Seigo wrote: > On Tuesday 26 August 2008, Paul B wrote: > > > > I was considering rewriting the binary clock in Python anyway, since last > > time I checked it didn't support true binary, only binary-coded decimal, > > and it'd be good practise for making

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Paul B wrote: > On Tuesday 26 August 2008 20:45:21 Alex Merry wrote: > > scripted plasmoids. If I was proficient in a scripted language, I'd make > > nowplaying into just such an example. > > I was considering rewriting the binary clock in Python anyway, since last > tim

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Paul B wrote: > On Tuesday 26 August 2008 22:02:02 Aaron J. Seigo wrote: > > not quite accurate; they do run in the pasma process but as they aren't > > running native code errors in them won't bring down the entire desktop. > > instead, these errors, or "crashes", are ca

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Alex Merry
On Tuesday 26 August 2008 21:07:15 Paul B wrote: > I was considering rewriting the binary clock in Python anyway, since last > time I checked it didn't support true binary, only binary-coded decimal, > and it'd be good practise for making plasmoids, but right now the Python > bindings don't seem to

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Tuesday 26 August 2008 22:02:02 Aaron J. Seigo wrote: > not quite accurate; they do run in the pasma process but as they aren't > running native code errors in them won't bring down the entire desktop. > instead, these errors, or "crashes", are caught by the > runtime/interpreter/vm and handled

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Tuesday 26 August 2008 20:45:21 Alex Merry wrote: > However, kdeplasma-addons is probably a very good place to introduce more > scripted plasmoids. If I was proficient in a scripted language, I'd make > nowplaying into just such an example. I was considering rewriting the binary clock in Pyth

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Paul B wrote: > I've read before on several occassions that plasmoids should be written in > Python(when the bindings are finished :P), Ruby, JS, etc. because that way > they don't run in the plasma process, and a crash will not bring down the > entire desktop. not quite

Re: Review Request: Be more conservative about emitting dataUpdated() signal

2008-08-26 Thread Aaron Seigo
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/147/#review141 --- yes, some visualizations require updates all the time. engines re

Re: Review Request: some tweaks to the panel controller

2008-08-26 Thread Aaron Seigo
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/146/#review139 --- Ship it! looks like a nice incremental improvement. i wonder if

Re: Dataengnies

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Petri Damstén wrote: > That means that in my example updateSourceEvent is called twice at start > when using the last method. This is bad especially when doing some async > calls in updateSourceEvent. Of course there could be some extra code to > prevent his, but is the u

Re: Review Request: PopupApplet iconify patch

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Alessandro Diaferia wrote: > This patch makes easier setting the PopupApplet always "iconified" so that > we can avoid regressions. For example kickoff's is always shown when put in > the desktop while it would be nicer to have it "iconified" as it happens in > the panel.

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Alex Merry
On Tuesday 26 August 2008 19:58:52 Paul B wrote: > Have you thought about switching over the core plasmoids to a scripting > language? Is there any language that could be used without adding > additional dependencies to plasma (QtScript?), or if not, do you think it > would be worthwhile to pick on

Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
I've read before on several occassions that plasmoids should be written in Python(when the bindings are finished :P), Ruby, JS, etc. because that way they don't run in the plasma process, and a crash will not bring down the entire desktop. Yet all the plasmoids I see are written in C++, does thi

Re: [patch] PlasmaApp::adjustSize with multiple monitors

2008-08-26 Thread Thomas Fjellstrom
On Monday 25 August 2008, Guillaume Pothier wrote: > Thanks for the info Aike, I look forward to seeing your work land in > trunk! When would that be? > g I as well, I have a dual screen XRandR setup, and have also been working on some multi monitor X support code for an open source project, so I

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Chani
On 8/26/08, Matthias Welwarsky <[EMAIL PROTECTED]> wrote: > On Tuesday, 26. August 2008, Chani wrote: > > > On 8/25/08, Benjamin Kleiner <[EMAIL PROTECTED]> wrote: > > > Am Montag 25. August 2008 21:54:53 schrieb Matthias Welwarsky: > > > > Am Montag 25 August 2008 17:50 schrieb Aaron J. Seigo: >

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Riccardo Iaconelli
On Tuesday 26 August 2008 12:39:26 Marco Martin wrote: > maybe keeping pressed for more than x time like the fake right mouse menu > in some places of maemo? > would only be needed that the menu has items big enough > (there is even already a plasma patch by Marijn that does that) > > Cheers, > Nar

Review Request: Be more conservative about emitting dataUpdated() signal

2008-08-26 Thread Alex Merry
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/147/ --- Review request for Plasma. Summary --- This prevents Plasma::DataConta

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread pinheiro
A Tuesday 26 August 2008 12:47:59, Marco Martin escreveu: > On Tuesday 26 August 2008, pinheiro wrote: > > A Tuesday 26 August 2008 11:39:26, Marco Martin escreveu: > > > On Tuesday 26 August 2008, Chani wrote: > > > > what about corner actions like in dolphin? or would that suck for > > > > thumbs

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Matthias Welwarsky
On Tuesday, 26. August 2008, Chani wrote: > On 8/25/08, Benjamin Kleiner <[EMAIL PROTECTED]> wrote: > > Am Montag 25. August 2008 21:54:53 schrieb Matthias Welwarsky: > > > Am Montag 25 August 2008 17:50 schrieb Aaron J. Seigo: > > > > these icons will be big, shiny and happy. i'd also like to offe

Re: Review Request: PopupApplet iconify patch

2008-08-26 Thread Alessandro Diaferia
> On 2008-08-26 06:03:30, Marco Martin wrote: > > trunk/KDE/kdebase/workspace/libs/plasma/popupapplet.h, line 94 > > > > > > also a > > bool alwaysIconified() > > would be good added =) - Alessandro -

Review Request: some tweaks to the panel controller

2008-08-26 Thread Marco Martin
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/146/ --- Review request for Plasma. Summary --- position and height controlled

Re: Review Request: PopupApplet iconify patch

2008-08-26 Thread Alessandro Diaferia
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/145/ --- (Updated 2008-08-26 06:10:59.325502) Review request for Plasma. Summary -

Dataengnies

2008-08-26 Thread Petri Damstén
Hi, In DataEngine it's often convenient to do something like this: bool Engine::updateSourceEvent(const QString &name) { setData(name, ...); } bool Engine::sourceRequestEvent(const QString &name) { setData(name, DataEngine::Data()); // if async updateSourceEvent(name); re

Re: Review Request: PopupApplet iconify patch

2008-08-26 Thread Marco Martin
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/145/#review137 --- Ship it! i think this is useful, don't lke managing it as vertica

Re: Review Request: Vertical text in taskbar applet

2008-08-26 Thread Marco Martin
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/144/#review136 --- Ship it! tested it, seems pretty reliable, apart from some style

Review Request: PopupApplet iconify patch

2008-08-26 Thread Alessandro Diaferia
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.vidsolbach.de/r/145/ --- Review request for Plasma. Summary --- This patch makes easier setting

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Marco Martin
On Tuesday 26 August 2008, pinheiro wrote: > A Tuesday 26 August 2008 11:39:26, Marco Martin escreveu: > > On Tuesday 26 August 2008, Chani wrote: > > > what about corner actions like in dolphin? or would that suck for > > > thumbs? ...ohh. those normally show up on hover, and touchscreens > > > do

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread pinheiro
A Tuesday 26 August 2008 11:39:26, Marco Martin escreveu: > On Tuesday 26 August 2008, Chani wrote: > > what about corner actions like in dolphin? or would that suck for > > thumbs? ...ohh. those normally show up on hover, and touchscreens > > don't really have hover > > aaron,were you suggesti

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Marco Martin
On Tuesday 26 August 2008, Chani wrote: > > what about corner actions like in dolphin? or would that suck for > thumbs? ...ohh. those normally show up on hover, and touchscreens > don't really have hover > aaron,were you suggesting they show up on mousedown and then i can > drag my pointer to o

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Chani
On 8/25/08, Benjamin Kleiner <[EMAIL PROTECTED]> wrote: > > > > Am Montag 25. August 2008 21:54:53 schrieb Matthias Welwarsky: > > > Am Montag 25 August 2008 17:50 schrieb Aaron J. Seigo: > > > > these icons will be big, shiny and happy. i'd also like to offer a hover > > > > based interface for th

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Riccardo Iaconelli
On Monday 25 August 2008 18:14:14 Aaron J. Seigo wrote: > i have some (poorly) hand drawn sketches that i could scan in, but Riccardo > actually had inkscape open and was working on mockups. maybe he can share > that if he still has it; if not, then i'll fire up skanlite =) yes, it needs a little

Re: plasma-mid (Mobile Internet Device)

2008-08-26 Thread Riccardo Iaconelli
On Monday 25 August 2008 19:14:51 Marco Martin wrote: > i think we should also pay attention to make a default layout that would > look usable both for an horizontal screen and a vertical one with > height the display or not, but is still something important i think. If you want to do it well, tha