Commit Graph

38 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
4a2f04564b offer info listing as a feature of the manager, use PluginLoader a bit here (needs work to be fully disentangled)
svn path=/trunk/KDE/kdelibs/; revision=1156226
2010-07-28 18:19:00 +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ć
da3fcc1b67 Mime ddata support in runners
svn path=/trunk/KDE/kdelibs/; revision=1093881
2010-02-21 17:06:10 +00:00
Igor Trindade Oliveira
7c1ce3f4ec RunnerManager: emit signal queryFinished when the search finished, it can be useful when creating animations
svn path=/trunk/KDE/kdelibs/; revision=1075406
2010-01-16 01:20:35 +00:00
Marco Martin
f38e7f4faf enabledSingleModeRunnerIds() becomes singleModeAdvertisedRunnerIds()
because all runners can be lanched alone, but only a few are accessible like that with global shortcuts 

svn path=/trunk/KDE/kdelibs/; revision=1062006
2009-12-13 14:57:06 +00:00
Aaron J. Seigo
4d9892e0a3 the API is more complex, but it's a lot less "modal". it preserves state nicely and obeys "principle of least surprise"; now we just need to decide whether or not the "enabled single runners thing" makes sense
svn path=/trunk/KDE/kdelibs/; revision=1054446
2009-11-26 01:52:23 +00:00
Jacopo De Simoi
7eb365fac2 Load single runners on the fly
svn path=/trunk/KDE/kdelibs/; revision=1054351
2009-11-25 22:31:56 +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
a7336dc119 * if no config group is provided, use the app global one (compat with krunner, allows comfortable usage with e.g. plasmoids)
* allow setting the applet whitelist programmaticaly vs touching the config file directly

svn path=/trunk/KDE/kdelibs/; revision=1021048
2009-09-07 22:36:04 +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
Aaron J. Seigo
000d79016b new setup/teardown api for runners so we don't hang onto tons of data and live connections when not matching
svn path=/trunk/KDE/kdelibs/; revision=1003355
2009-07-28 03:36:06 +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
Ryan P. Bitanga
2da5f905d3 Change the queue policy for slow speed runners. They will now
wait 400ms before being executed by KRunner

svn path=/trunk/KDE/kdelibs/; revision=924670
2009-02-11 11:16:09 +00:00
Beat Wolf
50e22d6d09 revert last change, binary incompatible. need to find another way to solve the bug
svn path=/trunk/KDE/kdelibs/; revision=919638
2009-02-01 13:59:09 +00:00
Beat Wolf
2b43959d6b allow krunner to launch applications that have been launched before.
BUG:175176

svn path=/trunk/KDE/kdelibs/; revision=919611
2009-02-01 13:25:46 +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
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Ryan P. Bitanga
d0863e43e8 Remove cruft and fix style in RunnerManager
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859706
2008-09-11 06:37:09 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Richard Dale
dc878d9033 * Make the multiple inclusion header guard macros all start with PLASMA_
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842922
2008-08-06 09:19:29 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
fb80125034 changes to allow integration with kpluginselector; based on patch by Ryan Bitanga
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809860
2008-05-19 17:02:15 +00:00
Aaron J. Seigo
2ec2a2b346 allow finding and running matches by id
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806697
2008-05-12 04:53:42 +00:00
Aaron J. Seigo
98c7ed7097 more signalf friendly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806084
2008-05-09 23:14:00 +00:00
Aaron J. Seigo
c0279bc3e2 * factor having a runner into QueryMatch::isEnabled
* only run a match when the job is actually done, in case people write runners that don't like to have both match and run entered simultaneously (high likliehood of that happening); lets them write runners with fewer threading concerns

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805919
2008-05-09 17:19:27 +00:00
Dan Meltzer
f57cc1c623 Lotsa little ebn fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805672
2008-05-09 05:32:15 +00:00
Aaron J. Seigo
6019dc7b27 huge patch, but it's needed to avoid crashes and i can't wait on other people's pending work forever. so...
QueryMatch by value! shared dptr == no copy of data either! so (nearly) all the speed love of pointers with none of the crash hate. woo!

RunnerContext also by value! die pointers die!

also get rid of tons of locking that just doesn't make sense anymore; get rid of data priority enum as well since it's completely meaningless.

speed, glory, stability! ftw!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805661
2008-05-09 03:49:11 +00:00
Aaron J. Seigo
c85cac84df needed to resolve conflicts before committing =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805123
2008-05-07 16:33:10 +00:00
André Wöbbeking
307e1bdb59 -pedantic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804755
2008-05-06 21:25:51 +00:00
Aaron J. Seigo
0d0fe7770d * get rid of the matchesCompleted signal for now; no one is actually using it.
* include the match list with the matchesUpdated signal
* fix some apidox

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804701
2008-05-06 19:52:50 +00:00
Aaron J. Seigo
f3188fb672 SearchMatch -> QueryMatch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803385
2008-05-02 18:46:05 +00:00
Aaron J. Seigo
f55bbb73f9 SearchContext -> RunnerContext
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803041
2008-05-01 18:40:10 +00:00
Aaron J. Seigo
da4f6c6e72 ws, style fixes, use booleans rather than ints when returning a boolean
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803034
2008-05-01 17:42:34 +00:00
Jordi Polo
95157e20c4 Big patch with several internal changes to krunner:
-New RunnerManager class, it manages runners at high level 
and gives a simple API for interfaces to use. 
- AbstractRunners gains description, setIgnoredTypes, ignoredTypes methods. 
Now runners can specify what SearchContext::Types they are not going to process.
- SearchContext tries shared data between the original context and any local context.
It doesn't have its own completer no more.
- SearchMatch has a new type of match, CompleterMatch. Instead of using a hard coded 
completer in SearchContext
- Interface class on krunner has its own completer and other changes
done to accomodate the above changes in libplasma.
-A new configuration option blacklist for runnermanager and krunner 
instead of the whitelist of krunner. 


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802903
2008-05-01 07:51:59 +00:00