summaryrefslogtreecommitdiffstats
path: root/common/clientapi.cpp
Commit message (Collapse)AuthorAge
* Listen for notifications from specific resources.Christian Mollekopf2016-02-08
|
* Trace some timings.Christian Mollekopf2016-02-08
|
* Introduced debug areas and prettified output.Christian Mollekopf2016-02-04
|
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* ResourceNotification -> NotificationChristian Mollekopf2016-01-19
|
* Disambiguate between what we want to flushChristian Mollekopf2016-01-19
| | | | Even though the implementation is still exactly the same
* Working resource inspectionChristian Mollekopf2016-01-18
|
* Draft of inspection APIChristian Mollekopf2016-01-18
|
* Got rid of all uses of Query::syncOnDemand and Query::processAllChristian Mollekopf2016-01-14
|
* Introduced flushMessageQueueChristian Mollekopf2016-01-14
| | | | to get rid of the processAll/sync flags in the query object
* An imperative query APIChristian Mollekopf2016-01-14
|
* Query log output formattingChristian Mollekopf2015-12-28
|
* CleanupChristian Mollekopf2015-12-19
|
* Debug outputChristian Mollekopf2015-12-17
|
* Ensure we process the query also if no resource is available.Christian Mollekopf2015-12-13
|
* Load entities from multiple resourcesChristian Mollekopf2015-12-13
|
* Deal with no available resourcesChristian Mollekopf2015-12-10
|
* Remove all databases from diskChristian Mollekopf2015-12-10
|
* Use a list instead of a set for requested propertiesChristian Mollekopf2015-12-08
| | | | We want to maintain the order since we use the list in the model result
* Improved resource access cachingChristian Mollekopf2015-12-03
| | | | | | | | * Smarter caching. ResourceAccess instances close after a timeout, if not reused. * Introduced a start command to avoid race condition when sending commands to a resource that is currently shutting down. * We resend pending commands after we lost access to the resource * unexpectedly.
* Fixed some warningsChristian Mollekopf2015-11-30
|
* CleanupChristian Mollekopf2015-11-28
|
* Introduced a QueryRunner objectChristian Mollekopf2015-11-27
| | | | | | | | The QueryRunner object lives for the duration of the query (so just for the initial query for non-live queries, and for the lifetime of the result model for live queries). It's supposed to handle all the threading internally and decouple the lifetime of the facade.
* Move implementations to the cpp file.Christian Mollekopf2015-11-19
| | | | | | | | I finally figured out how to do that with cpp files. It requires instantiating the code with all expected classes, but that's not a big problem since we know all types. This will hopefully greatly reduce the compiletimes...
* DummyResourceTest and QueryTest are passingChristian Mollekopf2015-11-13
| | | | sync has been removed from the query code and is now a separate step
* Fixed shutdown and synchronize commandsChristian Mollekopf2015-10-31
|
* We need to return instance identifiers and not resource typesChristian Mollekopf2015-10-23
|
* Made headers installable and install headersChristian Mollekopf2015-10-23
|
* Untangled the include dependencies a bit.Christian Mollekopf2015-08-13
| | | | We no longer depend on clientapi.h from everywhere.
* Fixed possible race conditions.Christian Mollekopf2015-07-31
| | | | | | | | | | | * Ensure we always create the thread-local event loop before any objects in the thread are created, and guarantee the done handler is immediately registered before the query can execute. * Call the callback on emitter destruction in the worker thread, where the eventloop lives, instead of the main thread. With this I can no longer reproduce any deadlocks or memory corruptions that I used to get occasionally before.
* Mode FacadeFactory to separate file, mutex protected it, and loadedChristian Mollekopf2015-07-27
| | | | | | | | resource The factory is potentially used from several queries simultaneously, so it's now mutex protected. Additionally we try to load the plugins directly in the factory.
* An easy way to switch between threaded and non-threaded query executionChristian Mollekopf2015-07-23
|
* Filter queries by available resources, and filter resources byChristian Mollekopf2015-07-08
| | | | resource-types
* We can add resources.Christian Mollekopf2015-07-08
|
* Moved remaining parts of applicationdomaintypeChristian Mollekopf2015-05-25
|
* Adapt to KAsync namespace changeDan Vrátil2015-05-15
|
* Synchronize API callChristian Mollekopf2015-05-01
|
* Moved resultprovider to separate file.Christian Mollekopf2015-04-30
|
* Avoid starting the resource for shutdown.Christian Mollekopf2015-04-29
|
* Stub for akonadi configuration.Christian Mollekopf2015-04-19
| | | | | | | | Instead of dealing with dedicated configuration facades, we'll integrate that directly into the domain interface. That way it should be rather natural for applications to i.e. query for available resources, and then configure them in the same way some other domain object would be modified.
* Renamed Akonadi::Domain to Akonadi::ApplicationDomainChristian Mollekopf2015-04-09
| | | | Because it's really the application domain and not the akonadi domain.
* Use QByteArray instead of QStringChristian Mollekopf2015-04-09
| | | | | All identifiers should be latin1 and we make this explicit by using QByteArray. QString is reserved for strings that can be UTF-8 or alike.
* async simplificationsChristian Mollekopf2015-04-02
|
* Minor cleanup, less warnings.Christian Mollekopf2015-03-31
|
* clenupChristian Mollekopf2015-01-30
|
* Shutdown command for synchronizers, used by the dummyresourcetest.Christian Mollekopf2015-01-30
| | | | | Otherwise the synchronizer keeps a Storage object alive, while the tests deletes the db. This causes subsequent writes to fail in the next test.
* split out functions that get inlined into a separate fileAaron Seigo2014-12-16
| | | | allowed including the header more than once ;)
* split out the resource bits into their own fileAaron Seigo2014-12-16
|
* move client classes into akonadi2common and add the base class for resource ↵Aaron Seigo2014-12-16
plugins we can divide up libakonadi2common later once we have a full collection of classes this makes writing code a bit simpler now as we don't have to figuer out which libraries to link against or how class dependencies should look. when we have more infrastructure in place this will mostly become self-evident