summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
Commit message (Collapse)AuthorAge
* CleanupChristian Mollekopf2015-12-19
|
* Remove all databases from diskChristian Mollekopf2015-12-10
|
* Provide a way to get to the ApplicationDomainType base classChristian Mollekopf2015-12-04
| | | | QVariant doesn't support polymorphism for non-QObject classes.
* 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.
* Provide status information about children fetch stateChristian Mollekopf2015-11-30
| | | | The fetch state is per parent.
* CleanupChristian Mollekopf2015-11-28
|
* CleanupChristian Mollekopf2015-11-28
|
* 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...
* Loading data with the new model for the test clientChristian Mollekopf2015-11-19
|
* Use the new modelresult in the dummyclientChristian Mollekopf2015-11-19
|
* Don't use a smart pointer for the result providerChristian Mollekopf2015-11-18
| | | | We're not doing any lifetime management anyways.
* It's starting to workChristian Mollekopf2015-11-13
|
* Fixed shutdown and synchronize commandsChristian Mollekopf2015-10-31
|
* Made headers installable and install headersChristian Mollekopf2015-10-23
|
* Avoid hardcoding a made-up resource type for config that doesn't belongChristian Mollekopf2015-10-21
| | | | to a resource
* ClientAPI: Don't require an explicit instance identifierChristian Mollekopf2015-10-21
|
* Replay removals.Christian Mollekopf2015-10-11
| | | | | Now we just have to avoid removing the revision too early from the resource.
* Untangled the include dependencies a bit.Christian Mollekopf2015-08-13
| | | | We no longer depend on clientapi.h from everywhere.
* Return jobs from clientapiChristian Mollekopf2015-08-07
|
* 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.
* Warning on command failure, null debugstream to ignore messagesChristian 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
|
* Pass instanceIdentifier to facadeChristian Mollekopf2015-07-07
|
* Remove externallyManaged hack now that we use std::shared_ptrChristian Mollekopf2015-07-07
|
* Differentiate between resource name and instance identifierChristian Mollekopf2015-06-08
|
* Moved ApplicationDomainType and BufferAdaptor to separate filesChristian Mollekopf2015-05-25
|
* Centralized type specific code.Christian Mollekopf2015-05-25
|
* Refactored query in facadeChristian Mollekopf2015-05-25
| | | | First prepare the result set, then retrieve it.
* Fixed build.Christian Mollekopf2015-05-24
|
* KAsync has moved to it's own kasync.git repositoryDan Vrátil2015-05-18
|
* Adapt to KAsync namespace changeDan Vrátil2015-05-15
|
* Guard against non available facades.Christian Mollekopf2015-05-01
|
* Synchronize API callChristian Mollekopf2015-05-01
|
* Moved resultprovider to separate file.Christian Mollekopf2015-04-30
|
* CleanupChristian Mollekopf2015-04-29
|
* Make use of Async::iterateChristian Mollekopf2015-04-27
|
* Use std::shared_ptr instead of QSharedPointer for facade factory.Christian Mollekopf2015-04-27
| | | | | Because it supports std::shared_ptr<void>, which is a nice alternative to make everything a QObject subclass for nothing.
* Fixed lifetime management of resultSet.Christian Mollekopf2015-04-27
| | | | | The resultSet remains valid for the duration of the thread. We keep the thread running until the ResultEmitter is deleted.
* Keep thread alive until the end of the query, and cleanup the resultSet.Christian Mollekopf2015-04-24
|
* Fixed build.Christian Mollekopf2015-04-19
|
* 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.
* Async refactoring in clientapi using each executorChristian Mollekopf2015-04-19
|
* cleanupChristian Mollekopf2015-04-18
|
* Moved generic part of load to GenericFacadeChristian Mollekopf2015-04-18
|
* Use a queryrunner to execute queries.Christian Mollekopf2015-04-15
| | | | | | | | | | | | | | The queryrunner is responsible for running queries and keeping them up to date. This is required for self-updating queries. To get this to work properly the ResultProvider/emitter had to be fixed. The emitter now only lives as long as the client holds a reference to it, allowing the provider to detect when it is no longer necessary to keep the query alive (because noone is listening). In the process various lifetime issues have been fixed, that we're caused by lambdas capturing smartpointers, that then extended the lifetime of the associated objects unpredictably.
* checkpointChristian Mollekopf2015-04-10
|
* 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.