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
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
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
3c87cf49a8
some runners were incorrectly using this, but i figured out (dur!) what it is actualy for; so add the macro back, along with a comment on its purpose.
...
svn path=/trunk/KDE/kdelibs/; revision=949669
2009-04-05 17:40:04 +00:00
Aaron J. Seigo
d56700790f
this never really made sense
...
svn path=/trunk/KDE/kdelibs/; revision=949390
2009-04-05 08:31:34 +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
Aaron J. Seigo
366a44bf0e
deprecate this method as it's superfluous now
...
svn path=/trunk/KDE/kdelibs/; revision=935388
2009-03-04 23:16:01 +00:00
Alex Merry
9c1570f13e
apidocs fixes.
...
Remember to document ALL parameters to methods. They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.
*waves stick of EBN-ness*
svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +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
Sebastian Trueg
dc773ab3f4
Major documentation improvement/cleanup/fix
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877767
2008-10-30 09:58:10 +00:00
Allen Winter
492fe0e8aa
fixup include guards
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870291
2008-10-12 10:48:53 +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
Frederik Schwarzer
ee8d547da8
let me introduce: typo of the year "the the"
...
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)
svn path=/trunk/KDE/kdelibs/; revision=864814
2008-09-25 15:05:22 +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
Alex Merry
4e1a2de897
Fix memory leak.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851434
2008-08-23 16:37:04 +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
Dirk Mueller
5a2b46c73e
- coding style
...
- more plugins to version
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833560
2008-07-17 01:27:43 +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
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
6ea602b848
make RunnerManager a friend so we can do the happy-scripting-dance again
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804739
2008-05-06 20:48:44 +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
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
Davide Bettio
c32f8a4511
Replacing exec() with run(): this change wasn't discussed during the tokamak meeting.
...
run() method is more obvious than exec() (don't forget that a runner run :) ).
Anyway during the meeting we have decided to replace createMatchOptions() with createRunOptions()
and (set)hasMatchOptions() with (set)hasRunOptions(), now with this commit we have a more coherent naming.
CCMAIL: panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802143
2008-04-28 17:11:12 +00:00
Davide Bettio
5ad0e12cdd
API REVIEW: load() -> loadAll()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801377
2008-04-26 13:10:37 +00:00
Davide Bettio
444c2f6b49
API REVIEW: createMatchOptions() -> createRunOptions()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801372
2008-04-26 12:54:25 +00:00
Davide Bettio
e576ed397b
API REVIEW: (set)hasMatchOptions -> (set)hasRunOptions()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801367
2008-04-26 12:41:16 +00:00
Davide Bettio
451dc3b8cd
API REVIEW: runnerName() -> name()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801360
2008-04-26 12:20:29 +00:00
Davide Bettio
a36939ee2c
API REVIEW: config() -> protected
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801342
2008-04-26 11:59:23 +00:00
Davide Bettio
6b0b1e0dc4
API REVIEW: ctors -> protected
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801340
2008-04-26 11:55:02 +00:00
Davide Bettio
b976255bf3
API REVIEW: http://techbase.kde.org/index.php?title=Projects/Plasma/Tokamak1
...
SlowSpeed before NormalSpeed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801339
2008-04-26 11:49:59 +00:00
Aaron J. Seigo
871b7fe9e6
SVN_SILENT api fixaboo
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796424
2008-04-13 15:02:02 +00:00
Aaron J. Seigo
637515f2a9
changes that were lost in the merge
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796407
2008-04-13 14:37:10 +00:00
Alexis Ménard
4467261c95
Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
...
applets,
please update to another revision to use the version that works
green flag from aaron
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Aaron J. Seigo
40866fc443
implement package support
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796112
2008-04-12 16:00:43 +00:00
Pino Toscano
fd0adac258
slots -> Q_SLOTS
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781228
2008-03-02 11:05:54 +00:00
Aaron J. Seigo
7cf7109266
load* -> load .. simpler, less verbose API
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779407
2008-02-26 01:58:55 +00:00
Aaron J. Seigo
b6767e1e39
we need a non-const object to lock, may as well make it a pointer as well since that's the common usage
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776952
2008-02-19 06:27:31 +00:00
Aaron J. Seigo
2954087e8d
* eliminate the three search lists and have just one
...
* remove add*Match since they broke the pattern of usage (who owns the match? do you have to add it again? etc..)
* add addMatch to compliment addMatches for those runners that just ever have one match
* make the default SearchMatch type Possible rather than Exact (making Exact and Informational the exceptions, which matches usage patterns)
* const'ify the API a bit better
generally more performant, lower memory usage and clearer API having seen what is beign done in the runners. also makes it a bit easier to turn the Matches into a qt model
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776931
2008-02-19 03:59:21 +00:00
Aaron J. Seigo
9244e126f2
seems that priority has taken over what tier was intended for; easy to add back if necessary / desired, but i think that the idea of chaining really needs more expresivity than that
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771458
2008-02-06 02:51:21 +00:00
Aaron J. Seigo
e3c3b847f6
provide a bigLock() for runners to use whenever accessing common but non-reentrant api (e.g. most everything in kdelibs ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770952
2008-02-04 20:28:09 +00:00