Aaron Seigo
055f35cba1
--compilerWarnings;
2011-04-29 11:17:28 +02:00
Aaron J. Seigo
1e0f44a312
FEATURE: on debug builds, make it easy to get a full dump of the state of the DataEngines
...
svn path=/trunk/KDE/kdelibs/; revision=1178739
2010-09-23 19:17:00 +00:00
Aaron J. Seigo
6a09a6bb63
use PluginLoader
...
svn path=/trunk/KDE/kdelibs/; revision=1156225
2010-07-28 18:18:13 +00:00
Aaron J. Seigo
a6155e5659
move all plugin loading to the PluginLoader class.
...
svn path=/trunk/KDE/kdelibs/; revision=1150409
2010-07-15 21:38:56 +00:00
Aaron J. Seigo
fd71ff404b
* loadEngine -> loadDataEngine
...
* ws clean up
* add to the apidox a bit
* add a ctor
svn path=/trunk/KDE/kdelibs/; revision=1150391
2010-07-15 21:11:20 +00:00
Ryan James Rix
e00a7b2422
Adds ability for applications which embed plasma to specify a class which
...
plasma will query for Applet, DataEngine, and Service creation, giving them
the chance to create these objects internally.
http://reviewboard.kde.org/r/4554/
svn path=/trunk/KDE/kdelibs/; revision=1150389
2010-07-15 21:06:21 +00:00
Aaron J. Seigo
acc4b9ce1f
it's ok if the X-KDE-ParentApp line exists but is empty
...
svn path=/trunk/KDE/kdelibs/; revision=1094363
2010-02-22 16:32:05 +00:00
Aaron J. Seigo
47993d39b3
return the null engine when a QString() engine() is requested
...
svn path=/trunk/KDE/kdelibs/; revision=1051211
2009-11-19 00:17:29 +00:00
Eduardo Robles Elvira
e67ce92792
Adding DataEngineManager::listEngineInfoByCategory, which returns a list of all known DataEngines filtering by category.
...
svn path=/trunk/KDE/kdelibs/; revision=967120
2009-05-12 16:13:51 +00:00
Aaron J. Seigo
2b579e6d48
also support listing info (this one won't be backported because it is a BC addition)
...
svn path=/trunk/KDE/kdelibs/; revision=911625
2009-01-15 19:41:11 +00:00
Aaron J. Seigo
ced5cec1a2
bring into line with Applet::list*; source compat, binary incompat. few users of this, though, and only applications, so impact is nominal. could do it in a BC way by poluting the API with another method that just takes a QString, but we stil have that sliver of a window open before 4.2.0, so use it to keep the API pristine. we can make it ugly after ;)
...
svn path=/trunk/KDE/kdelibs/; revision=911552
2009-01-15 16:31:23 +00:00
Laurent Montel
eebb6178a5
Fix iterator
...
svn path=/trunk/KDE/kdelibs/; revision=906617
2009-01-06 13:09:05 +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
416090f5da
help out the translators a bit
...
CCMAIL:aacid@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878807
2008-11-01 20:37:59 +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
Aaron J. Seigo
28a014d6fe
use the standard KPluginInfo stuff for this
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858758
2008-09-08 16:55:05 +00:00
Alex Merry
61c4bc59b5
SVN_SILENT: looks neater
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851463
2008-08-23 17:44:14 +00:00
Aaron J. Seigo
63bce9d1b4
move all the prive code into private/; makes it much clearer with the division lines are
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +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
Aaron J. Seigo
9165b11235
at tokamak i said i regretted using the term "Language" to describe what is really "API". i meant it.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802486
2008-04-29 16:24:14 +00:00
Aaron J. Seigo
13fcca652e
move dataengine private details into the pimpl
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802279
2008-04-29 01:17:12 +00:00
Albert Astals Cid
4068f45cf9
const & in foreach
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801430
2008-04-26 16:19:00 +00:00
Chani Armitage
afc9290365
dataenginemanager api review: (un)load()->(un)loadEngine()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800275
2008-04-23 20:04:53 +00:00
Chani Armitage
7d0f4af161
dataenginemanager api review: knownEngines()->listAllEngines()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800266
2008-04-23 19:37:42 +00:00
Chani Armitage
931d7b0d6c
dataenginemanager api review: get()->engine()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800256
2008-04-23 19:05:47 +00:00
Aaron J. Seigo
a234d1b6c3
move the call to init() out of ctor and call it immediately after construction; that way the vtable can be set up and we'll get the virtual called in the subclass
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782820
2008-03-06 05:18:36 +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
507a6f02a0
rearrange the initialization code of the engines a bit, moving more out of the manager class, and calling init immediately. applets shouldn't be connecting to them in their ctor, so this should have minimal (or even zero) effect on start up while ensuring that init gets called first no matter what
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779042
2008-02-25 11:24:37 +00:00
Zack Rusin
bc5accafd2
Fix a crash on loading of not existing engines.
...
r=aseigo (r/207/)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778956
2008-02-25 01:19:07 +00:00
Petri Damstén
8a15088888
Scripting update.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770587
2008-02-04 04:41:40 +00:00
Aaron J. Seigo
ee32d3c996
remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb
use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Aaron J. Seigo
8bcd5a7a04
use X-Plasma-EngineName isntead
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743045
2007-11-29 18:52:26 +00:00
Aaron J. Seigo
06465f6cb1
more deprecated api removal; kservice seems almost OO now ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717491
2007-09-26 23:06:17 +00:00
Aaron J. Seigo
bf30d19c41
improve error reporting when a plugin fails to load
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705985
2007-08-29 03:06:48 +00:00
Aaron J. Seigo
b34983f356
remove an unecessary include and a compile warning
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705980
2007-08-29 02:55:49 +00:00
Aaron J. Seigo
db4a7ebe61
copyright cleanups:
...
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +00:00
Aaron J. Seigo
ac918ad4bf
kdebug fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695587
2007-08-02 13:12:59 +00:00
Juan González Aguilera
45f1406a2b
Extend QObject so a QDbusAdaptor can be built for it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691122
2007-07-22 23:20:50 +00:00
Laurent Montel
95ebda9f32
Fix compile enable final
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690626
2007-07-21 15:58:44 +00:00
Aaron J. Seigo
1e5cdae3ea
- ensure we always return something from loadDataEngines
...
- m_engines -> engines since it is in the d ptr
- don't bother with the null engine in the engine dict and fix unloadEngine with that in mind
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686321
2007-07-11 03:08:57 +00:00
Aaron J. Seigo
58277a7608
plug a bunch of memory leaks
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672687
2007-06-07 20:57:18 +00:00
Aaron J. Seigo
452816cec8
don't re-use dataEngine in loadDataEngine so as to keep the api simple.
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670910
2007-06-02 22:57:55 +00:00
Aaron J. Seigo
591025b736
whoops; returning things is Good(tm)
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670906
2007-06-02 22:39:23 +00:00
Aaron J. Seigo
2638b6031b
* introduce a NullEngine
...
* return an instance of the NullEngine on engine loading failure; this way applets don't have to test for engine existence and can just assume something gets returned
* DataEngine::isValid() in case someone really cares to know whether they have a non-functional engine (e.g. the NullEngine)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670900
2007-06-02 22:23:26 +00:00
Aaron J. Seigo
3d51733018
* more api documentation
...
* changes to reflect api movement
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668671
2007-05-27 08:01:31 +00:00
Aaron J. Seigo
14a1013a16
* we don't need our own Dict typedef here
...
* errorCode is no longer used
* get the debug output in line with similar msgs in plasma
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668017
2007-05-24 19:57:31 +00:00