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
Ryan P. Bitanga
60e3019818
Introduce a new queue policy for normal speed runners
...
svn path=/trunk/KDE/kdelibs/; revision=915163
2009-01-22 14:23:34 +00:00
Aaron J. Seigo
ee776a8367
better use of value and contains; thanks Hermier! =)
...
svn path=/trunk/KDE/kdelibs/; revision=895572
2008-12-11 02:50:06 +00:00
Aaron J. Seigo
2d6431cafa
don't crash when a runner that doesn't exist is requested
...
BUGS:170989,177162
svn path=/trunk/KDE/kdelibs/; revision=894424
2008-12-08 15:59:05 +00:00
Aaron J. Seigo
df73771a1b
++compile
...
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +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
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
Aaron J. Seigo
443a3b3352
* support TryExec
...
* fix include order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866331
2008-09-30 15:41:21 +00:00
Dario Freddi
9556863db5
Fixing a typo that caused segfault, added a comment for reviewing config loading
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864775
2008-09-25 12:40:13 +00:00
Aaron J. Seigo
e2b8fa258a
use the config defined in the constructor for runner settings as well
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864402
2008-09-24 18:13:21 +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
Aaron J. Seigo
483e30d6b9
now that we re-use visual items as much as possible, update the matches more agressively (makes it feel less laggy now that the UI is doing the right thing)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839872
2008-07-31 00:23:57 +00:00
Dirk Mueller
754b000b42
also implement the plugin version checks for the other plugin types
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833940
2008-07-17 16:26: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
Pino Toscano
9c0bfd3e6f
initialize in the correct order
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822748
2008-06-21 10:39:03 +00:00
Frederik Gladhorn
b74e3dd632
at least initialize the mutex counter
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814434
2008-05-30 10:08:45 +00:00
Ryan P. Bitanga
8fd721a8c4
Correctly read configuration for plugin selector.
...
The selector stores configuration in [Plugins] in KGlobal::config() while the
code checked [PlasmaRunnerManager][Plugins]
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813544
2008-05-28 03:54:34 +00:00
Aaron J. Seigo
3f3b74e48b
these two slots were swapped around, making for a lot more GUI updates than intended
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811013
2008-05-22 01:13:50 +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
Jordi Polo
a709955f14
Load runners when asked to match directly, not only when launching matches
...
Optimally we should load only that runner...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807162
2008-05-13 05:18:51 +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
3aa75e775b
delay loading of runners until they are actually used
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806088
2008-05-09 23:46:46 +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
Laurent Montel
09fb90b051
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805683
2008-05-09 07:04:36 +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
276b012adf
that one little change removes 90% of updates.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804801
2008-05-06 22:42:01 +00:00
Aaron J. Seigo
498a59f479
* re-enable the scripting support
...
* pepper with (commented out) debug that was useful in figuring out what wasn't working with all these changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804740
2008-05-06 20:49:24 +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
e2ec9b03db
* get rid of Plasma-RunnerName; use Name and KPluginInfo's pluginName instead
...
* add AbstractRunner::id()
* add QueryMatch::id()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804670
2008-05-06 18:43:55 +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
a8647e4ecc
SearchTerm -> Query
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803374
2008-05-02 18:17:09 +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
fa598a779a
oops, wrong include file.
...
Deleted unused variable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802919
2008-05-01 09:01:49 +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