Re: Purpose as a KDE Framework

2015-12-14 Thread Aleix Pol
On Mon, Dec 7, 2015 at 12:49 PM, Marco Martin wrote: > On Thursday 03 December 2015, Aleix Pol wrote: >> > but i don't think scripted plugins can be added as an aftertought as the >> > structure of the framework may be influenced by that (yeah, i know, >> > dependencies, but my wet dream is to hav

Re: Purpose as a KDE Framework

2015-12-09 Thread Aleix Pol
On Tue, Dec 8, 2015 at 8:07 PM, Alex Merry wrote: > On 2015-12-03 18:29, Aleix Pol wrote: >> >> On Wed, Dec 2, 2015 at 11:56 PM, Mark Gaiser wrote: >>> >>> I'm trying to understand what Purpose is doing exactly. >>> I've read the readme file, but i still can't quite figure out what it's >>> doing

Re: Purpose as a KDE Framework

2015-12-08 Thread Alex Merry
On 2015-12-03 18:29, Aleix Pol wrote: On Wed, Dec 2, 2015 at 11:56 PM, Mark Gaiser wrote: I'm trying to understand what Purpose is doing exactly. I've read the readme file, but i still can't quite figure out what it's doing or where i might be able to use it. Could you give a short summary w

Re: Purpose as a KDE Framework

2015-12-07 Thread Marco Martin
On Thursday 03 December 2015, Aleix Pol wrote: > > but i don't think scripted plugins can be added as an aftertought as the > > structure of the framework may be influenced by that (yeah, i know, > > dependencies, but my wet dream is to have those sharing scripts findable > > of ghns/kdelook and in

Re: Purpose as a KDE Framework

2015-12-04 Thread Aleix Pol
On Fri, Dec 4, 2015 at 11:26 PM, Mark Gaiser wrote: > On Thu, Dec 3, 2015 at 7:29 PM, Aleix Pol wrote: >> >> On Wed, Dec 2, 2015 at 11:56 PM, Mark Gaiser wrote: >> > On Tue, Dec 1, 2015 at 3:01 PM, Aleix Pol wrote: >> >> >> >> Hi, >> >> I've been working on Purpose since some months now, with t

Re: Purpose as a KDE Framework

2015-12-04 Thread Mark Gaiser
On Thu, Dec 3, 2015 at 7:29 PM, Aleix Pol wrote: > On Wed, Dec 2, 2015 at 11:56 PM, Mark Gaiser wrote: > > On Tue, Dec 1, 2015 at 3:01 PM, Aleix Pol wrote: > >> > >> Hi, > >> I've been working on Purpose since some months now, with the intention > >> of becoming a framework some day. Some infor

Re: Purpose as a KDE Framework

2015-12-03 Thread Aleix Pol
On Thu, Dec 3, 2015 at 8:15 PM, David Edmundson wrote: > > > On Thu, Dec 3, 2015 at 6:16 PM, Aleix Pol wrote: >> >> On Tue, Dec 1, 2015 at 4:37 PM, David Edmundson >> wrote: >> > AlternativesModel doesn't seem like a good name. Alternate to what? >> > >> > - >> > >> > /** @returns the jo

Re: Purpose as a KDE Framework

2015-12-03 Thread David Edmundson
On Thu, Dec 3, 2015 at 6:16 PM, Aleix Pol wrote: > On Tue, Dec 1, 2015 at 4:37 PM, David Edmundson > wrote: > > AlternativesModel doesn't seem like a good name. Alternate to what? > > > > - > > > > /** @returns the job that will perform the share of the specified @p > data.*/ > > > > wha

Re: Purpose as a KDE Framework

2015-12-03 Thread Boudhayan Gupta
Hi Aleix, On 3 December 2015 at 23:51, Aleix Pol wrote: > On Tue, Dec 1, 2015 at 5:10 PM, Boudhayan Gupta wrote: >> On 1 December 2015 at 20:42, Aleix Pol wrote: 1. I'd like to be able to load the list of plugins available per mimetype a priori before the filename to share becomes ava

Re: Purpose as a KDE Framework

2015-12-03 Thread Aleix Pol
On Thu, Dec 3, 2015 at 11:37 AM, Marco Martin wrote: > On Tuesday 01 December 2015, Aleix Pol wrote: >> Hi, >> I've been working on Purpose since some months now, with the intention >> of becoming a framework some day. Some information about it can be >> read here: >> https://projects.kde.org/proj

Re: Purpose as a KDE Framework

2015-12-03 Thread Aleix Pol
On Wed, Dec 2, 2015 at 11:56 PM, Mark Gaiser wrote: > On Tue, Dec 1, 2015 at 3:01 PM, Aleix Pol wrote: >> >> Hi, >> I've been working on Purpose since some months now, with the intention >> of becoming a framework some day. Some information about it can be >> read here: >> >> https://projects.kde

Re: Purpose as a KDE Framework

2015-12-03 Thread Aleix Pol
On Tue, Dec 1, 2015 at 5:39 PM, Emmanuel Pescosta wrote: > On Dienstag, 1. Dezember 2015 15:01:10 CET Aleix Pol wrote: > > Hi, > looks really interesting! > >> I'd like to see it used in other cases than sharing as well as in other > applications > > Would you accept a plugin which can be used to

Re: Purpose as a KDE Framework

2015-12-03 Thread Aleix Pol
On Tue, Dec 1, 2015 at 5:10 PM, Boudhayan Gupta wrote: > On 1 December 2015 at 20:42, Aleix Pol wrote: >>> 1. I'd like to be able to load the list of plugins available per >>> mimetype a priori before the filename to share becomes available. >> You can pass { "mimetype": "image/png", "urls": [] }

Re: Purpose as a KDE Framework

2015-12-03 Thread Aleix Pol
On Tue, Dec 1, 2015 at 4:37 PM, David Edmundson wrote: > AlternativesModel doesn't seem like a good name. Alternate to what? > > - > > /** @returns the job that will perform the share of the specified @p data.*/ > > what data? Eh... right. I'll also change the method name. > > -- > >

Re: Purpose as a KDE Framework

2015-12-03 Thread Marco Martin
On Tuesday 01 December 2015, Aleix Pol wrote: > Hi, > I've been working on Purpose since some months now, with the intention > of becoming a framework some day. Some information about it can be > read here: > https://projects.kde.org/projects/playground/libs/purpose/repository/revisi > ons/master/e

Re: Purpose as a KDE Framework

2015-12-03 Thread Marco Martin
On Tuesday 01 December 2015, Martin Graesslin wrote: > > As it is right now it's a tier 2 framework (kcoreaddons and ki18n) > > plus the plugins. Plugins raise the tier to 3 because of KIO which is > > used by some plugins. > > do plugins have to be inside the framework? Otherwise an option might

Re: Purpose as a KDE Framework

2015-12-02 Thread Mark Gaiser
On Tue, Dec 1, 2015 at 3:01 PM, Aleix Pol wrote: > Hi, > I've been working on Purpose since some months now, with the intention > of becoming a framework some day. Some information about it can be > read here: > > https://projects.kde.org/projects/playground/libs/purpose/repository/revisions/mast

Re: Purpose as a KDE Framework

2015-12-01 Thread Emmanuel Pescosta
On Dienstag, 1. Dezember 2015 15:01:10 CET Aleix Pol wrote: Hi, looks really interesting! > I'd like to see it used in other cases than sharing as well as in other applications Would you accept a plugin which can be used to compare selected files? - e.g. by starting kompare This would replace

Re: Purpose as a KDE Framework

2015-12-01 Thread Boudhayan Gupta
On 1 December 2015 at 20:42, Aleix Pol wrote: >> 1. I'd like to be able to load the list of plugins available per >> mimetype a priori before the filename to share becomes available. > You can pass { "mimetype": "image/png", "urls": [] }. > > That should work. > I'm not sure why you'd want to list

Re: Purpose as a KDE Framework

2015-12-01 Thread David Edmundson
AlternativesModel doesn't seem like a good name. Alternate to what? - /** @returns the job that will perform the share of the specified @p data.*/ what data? -- Does the JSON blob in Job::setData() match the X-Purpose-OutboundArguments of that plugin? I don't seem to be able to ac

Re: Purpose as a KDE Framework

2015-12-01 Thread Aleix Pol
On Tue, Dec 1, 2015 at 4:24 PM, Kai Uwe Broulik wrote: >> you can build any view you want on top of it and the API is > public and (should be) stable. > > Yes but some services require additional information and provide a QML UI for > that.‎ And that one will look out of place if using Plasma Com

AW: Purpose as a KDE Framework

2015-12-01 Thread Kai Uwe Broulik
> you can build any view you want on top of it and the API is public and (should be) stable. Yes but some services require additional information and provide a QML UI for that.‎ And that one will look out of place if using Plasma Components and used in a widget environment, or limited to basic s

Re: Purpose as a KDE Framework

2015-12-01 Thread Aleix Pol
On Tue, Dec 1, 2015 at 4:01 PM, Boudhayan Gupta wrote: > On 1 December 2015 at 19:31, Aleix Pol wrote: >> Hi, >> I've been working on Purpose since some months now, with the intention >> of becoming a framework some day. > > +1. I intend to port Spectacle to use it instead of KIPI for uploading >

Re: Purpose as a KDE Framework

2015-12-01 Thread Aleix Pol
On Tue, Dec 1, 2015 at 4:05 PM, Kai Uwe Broulik wrote: > Yes please! > > I recently discovered Quick Share and was surprised that we didn't market > this stuff more :) > > One thing I wasn't sure is where the share assistant UIs are going to be > used, ie. if they're Plasma exclusive or can be u

Re: Purpose as a KDE Framework

2015-12-01 Thread Boudhayan Gupta
On 1 December 2015 at 19:31, Aleix Pol wrote: > Hi, > I've been working on Purpose since some months now, with the intention > of becoming a framework some day. +1. I intend to port Spectacle to use it instead of KIPI for uploading images to online sites, and I love the API's simplicity. I only

Re: Purpose as a KDE Framework

2015-12-01 Thread Kai Uwe Broulik
Yes please!  I recently discovered Quick Share and was surprised that we didn't market this stuff more :) One thing I wasn't sure is where the share assistant UIs are going to be used, ie. if they're Plasma exclusive or can be used from (widget) applications, too. The latter limits us to bare

Re: Purpose as a KDE Framework

2015-12-01 Thread Aleix Pol
On Tue, Dec 1, 2015 at 3:31 PM, Martin Graesslin wrote: > On Tuesday, December 1, 2015 3:01:10 PM CET Aleix Pol wrote: >> Hi, >> I've been working on Purpose since some months now, with the intention >> of becoming a framework some day. Some information about it can be >> read here: >> https://pro

Re: Purpose as a KDE Framework

2015-12-01 Thread Martin Graesslin
On Tuesday, December 1, 2015 3:01:10 PM CET Aleix Pol wrote: > Hi, > I've been working on Purpose since some months now, with the intention > of becoming a framework some day. Some information about it can be > read here: > https://projects.kde.org/projects/playground/libs/purpose/repository/revisi

Purpose as a KDE Framework

2015-12-01 Thread Aleix Pol
Hi, I've been working on Purpose since some months now, with the intention of becoming a framework some day. Some information about it can be read here: https://projects.kde.org/projects/playground/libs/purpose/repository/revisions/master/entry/README.md As it is right now it's a tier 2 framework