Commit Graph

24 Commits

Author SHA1 Message Date
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