Commit Graph

106 Commits

Author SHA1 Message Date
Aaron Seigo
aad3d107b4 get rid of the big lock -> nothing uses it and it's just asking for a crash-due-to-deletion 2011-11-14 10:34:01 +01:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
35898d57f1 get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat; 2011-07-19 22:04:22 +02:00
Aaron Seigo
776fe21b83 adapt to Package merge: return a Package by reference rather than a pointer 2011-07-15 12:58:33 +02:00
Aaron Seigo
acbe5b960e const consistency in setupScript 2011-05-31 00:12:57 +02:00
Aaron Seigo
1ba57eb84c remove PackageMetadata usage 2011-05-31 00:07:13 +02:00
Aaron Seigo
be8b64f95c don't use PackageMetadata 2011-05-31 00:03:39 +02:00
Aaron Seigo
ef5e0a8884 get rid of deprecated methods 2011-05-26 23:02:15 +02:00
Aaron Seigo
983bacb8b7 pass by reference instead of a pointer 2011-05-20 09:01:12 +02:00
Aaron Seigo
48fa4d1db7 virtuals! 2011-05-20 08:57:33 +02:00
Aaron Seigo
8a41ab7051 comment not accurate afaict 2011-05-06 12:02:46 +02:00
Aaron Seigo
b35a4dd02c use the id() to build the config off of
this falls back to objectName but uses the pluginName first. more sensible.
2011-04-30 13:29:25 +02:00
Aaron J. Seigo
99b57b9c65 allow runners to signal that matching should be suspended for them
svn path=/trunk/KDE/kdelibs/; revision=1171157
2010-09-02 22:18:03 +00:00
Jaime Torres Amate
57bbfe755c delete some uneeded if (pointer not null)
http://reviewboard.kde.org/r/5021/

svn path=/trunk/KDE/kdelibs/; revision=1167869
2010-08-25 14:48:41 +00:00
Aaron J. Seigo
70fd5a6ae4 give init() a nicer default implmementation by calling reloadConfiguration
svn path=/trunk/KDE/kdelibs/; revision=1167529
2010-08-24 20:38:35 +00:00
Aaron J. Seigo
fb209051f2 inverted
svn path=/trunk/KDE/kdelibs/; revision=1106793
2010-03-23 22:54:01 +00:00
Aaron J. Seigo
b16960c73b allow loading of individual runners, including from packages
svn path=/trunk/KDE/kdelibs/; revision=1106782
2010-03-23 22:43:34 +00:00
Ivan Čukić
2e5064ca2f Changed method name
svn path=/trunk/KDE/kdelibs/; revision=1093946
2010-02-21 19:30:11 +00:00
Ivan Čukić
da3fcc1b67 Mime ddata support in runners
svn path=/trunk/KDE/kdelibs/; revision=1093881
2010-02-21 17:06:10 +00:00
Jacopo De Simoi
132b963dbe Single runner mode in libplasma
svn path=/trunk/KDE/kdelibs/; revision=1053993
2009-11-25 09:37:47 +00:00
Aaron J. Seigo
94da57f819 put dataEngine() support into AbstractRunner, joining the ranks of Applet, ContainmentActions, Wallpaper and the private PlasmoidService
svn path=/trunk/KDE/kdelibs/; revision=1051212
2009-11-19 00:19:11 +00:00
Petri Damstén
c80e22969c Implement missing actionsForMatch.
Review: http://reviewboard.kde.org/r/2180/

svn path=/trunk/KDE/kdelibs/; revision=1049917
2009-11-16 07:24:39 +00:00
Petri Damstén
5b2b221562 * Add translation support for runner and dataengine packages
* Use pladmoid package for runners too.

svn path=/trunk/KDE/kdelibs/; revision=1047782
2009-11-12 06:38:16 +00:00
Aaron J. Seigo
b9ea759162 split out the private class into its own file
svn path=/trunk/KDE/kdelibs/; revision=1047325
2009-11-11 00:25:27 +00:00
Petri Damstén
0244d72222 Add missing functions to RunnerScript.
Review: http://reviewboard.kde.org/r/2054/

svn path=/trunk/KDE/kdelibs/; revision=1045443
2009-11-06 06:33:24 +00:00
Aaron J. Seigo
3e7c2125a8 call init() in runner manager so all runners get it called
svn path=/trunk/KDE/kdelibs/; revision=1041873
2009-10-28 18:15:23 +00:00
Andreas Hartmetz
191256f279 don't forget to unlock that lock; hopefully fixes krunner hangs.
svn path=/trunk/KDE/kdelibs/; revision=1036628
2009-10-17 13:55:18 +00:00
Aaron J. Seigo
d8d346822e some light weight locking around the speed member
svn path=/trunk/KDE/kdelibs/; revision=1032959
2009-10-08 23:32:25 +00:00
Aaron J. Seigo
fad3e0814b move the elapsed time object into the performMatch method; this prevents access by multiple threads by putting a unique QTime object in each thread. thanks Hellgrind (and maelcum for running it)
svn path=/trunk/KDE/kdelibs/; revision=1032955
2009-10-08 23:23:52 +00:00
Aaron J. Seigo
b32e268e15 meh; can't move these files into a subdir as-is; need to think of a more clever strategy
svn path=/trunk/KDE/kdelibs/; revision=1019657
2009-09-04 08:58:34 +00:00
Aaron J. Seigo
b711b96ee0 runner infra into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019561
2009-09-03 21:21:27 +00:00
Ryan P. Bitanga
ef32813846 Move actionsFromMenu from AbstractRunner to plasma.h
svn path=/trunk/KDE/kdelibs/; revision=1002462
2009-07-26 02:51:21 +00:00
Ryan P. Bitanga
139c3abdc4 Ensure a menu pointer is passed to actionsFromMenu
svn path=/trunk/KDE/kdelibs/; revision=1002154
2009-07-25 08:09:26 +00:00
Ryan P. Bitanga
284bac4310 Add the convenience method for extracting actions from QMenus to AbstractRunner
svn path=/trunk/KDE/kdelibs/; revision=1002128
2009-07-25 04:42:52 +00:00
Aaron J. Seigo
88b5064525 remove an unused variable and initialize hasRunOptions
BUG:193017

svn path=/trunk/KDE/kdelibs/; revision=969403
2009-05-18 09:39:43 +00:00
Aaron J. Seigo
d7fdb6deb1 constification
svn path=/trunk/KDE/kdelibs/; revision=944561
2009-03-25 18:33:41 +00:00
Aaron J. Seigo
b2bb1b569c API review: clearSyntaxes gone; setSyntaxes in; small apidox fix
svn path=/trunk/KDE/kdelibs/; revision=944548
2009-03-25 17:41:15 +00:00
Aaron J. Seigo
acaa4108df provide a way for runners to define their syntax; may experience some small api shifts yet, but nothing major and it works.
svn path=/trunk/KDE/kdelibs/; revision=944088
2009-03-25 01:08:08 +00:00
Jacopo De Simoi
25a80b322c Create local copy of runnerContext in the runnerjob ctor
svn path=/trunk/KDE/kdelibs/; revision=938690
2009-03-12 17:25:13 +00:00
Jacopo De Simoi
0d12d6b3b8 Uff, I guess we will live with duplicates for some more time. My previous commit breaks krunner as it *only* runs stuff which is autocompleted. Will backrevert -
svn path=/trunk/KDE/kdelibs/; revision=935428
2009-03-05 06:02:11 +00:00
Aaron J. Seigo
dd4eeb685c dfaure is my hero for making sycoca stuff thread safe :)))
svn path=/trunk/KDE/kdelibs/; revision=935383
2009-03-04 23:09:16 +00:00
Jacopo De Simoi
8aa4045953 "...and they lived happily ever after with no more duplicate matches =)"
A local copy of the context is now created in the FindMatchesJob ctor, not anymore in AbstractRunner, this prevents old queries to be run with a valid dptr 

svn path=/trunk/KDE/kdelibs/; revision=935342
2009-03-04 21:03:33 +00:00
Aaron J. Seigo
93fc8cef68 don't count fast matches against short strings as a sign of being fast; will prevent pulling slow runners in and out of the pool too much
svn path=/trunk/KDE/kdelibs/; revision=934733
2009-03-03 17:37:22 +00:00
Aaron J. Seigo
dbce22540c make the bigLock publicly accessible; BIC, so thankfully caught before release!
svn path=/trunk/KDE/kdelibs/; revision=896193
2008-12-12 20:10:50 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Aaron J. Seigo
7c7f8b098a actions for runners
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879704
2008-11-03 20:56:43 +00:00
Allen Winter
a7aebfa60a a bunch more coding style fixes. still some lines longer than 100 chars.
this is definitely helping me find false positives in the Krazy style checker.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +00:00
Aaron J. Seigo
02ba0e68a1 delete the script before the package!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864836
2008-09-25 16:27:49 +00:00