Commit Graph

24 Commits

Author SHA1 Message Date
Aaron J. Seigo
75a0733210 QString is not thread-safe; since the matches get shuttled around between threads, we need to protect access to it. as writing is rare, this should hopefully not degrade performance too much. if it passes testing, then i will backport this.
CCBUG:238556
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1214926
2011-01-16 21:46:55 +00:00
Aaron J. Seigo
bea76759b9 be more careful with setting the id when the data is set
svn path=/trunk/KDE/kdelibs/; revision=1073192
2010-01-11 20:08:03 +00:00
Jacopo De Simoi
dc295eca70 Add removeMatch(es) methods
Review: http://reviewboard.kde.org/r/2260


svn path=/trunk/KDE/kdelibs/; revision=1053618
2009-11-24 12:05:46 +00:00
Aaron J. Seigo
2ce5b457e3 * avoid accessing the runner and setting the id in the ctor
* use QWeakPointer

svn path=/trunk/KDE/kdelibs/; revision=1034903
2009-10-13 21:42:22 +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
9b6304fcde Add adaptive search for KRunner
svn path=/trunk/KDE/kdelibs/; revision=967705
2009-05-13 19:18:30 +00:00
Aaron J. Seigo
73fca86390 * add convenience methods for checking if a match is configurable
* add missing apidox

svn path=/trunk/KDE/kdelibs/; revision=949361
2009-04-05 06:22:53 +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
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
6b756dc236 last resort sort: alpha!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810606
2008-05-21 05:18:30 +00:00
Aaron J. Seigo
fdef4627ab improved sorting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810114
2008-05-20 02:47:13 +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
Aaron J. Seigo
30b6b8d188 SVN_SILENT: not needed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805681
2008-05-09 06:51:09 +00:00
Aaron J. Seigo
b97d911e56 don't really need our own copy ctor here, as that was just so i could see when it was getting called; also be more careful in operator=. still getting an odd crash in there though from krunner
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805669
2008-05-09 05:06:54 +00:00
Aaron J. Seigo
57ce2ba858 be careful with d->runner
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805665
2008-05-09 04:32:54 +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
57cf4099c8 we will need a setId after all
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805235
2008-05-07 22:27:51 +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