Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Hide Query::parentProperty | Christian Mollekopf | 2016-11-14 |
| | |||
* | Don't expose the live query flag directly. | Christian Mollekopf | 2016-11-04 |
| | |||
* | Refactor how the storage is used. | Christian Mollekopf | 2016-10-21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial refactoring to improve how we deal with the storage. It does a couple of things: * Rename Sink::Storage to Sink::Storage::DataStore to free up the Sink::Storage namespace * Introduce a Sink::ResourceContext to have a single object that can be passed around containing everything that is necessary to operate on a resource. This is a lot better than the multiple separate parameters that we used to pass around all over the place, while still allowing for dependency injection for tests. * Tie storage access together using the new EntityStore that directly works with ApplicationDomainTypes. This gives us a central place where main storage, indexes and buffer adaptors are tied together, which will also give us a place to implement external indexes, such as a fulltextindex using xapian. * Use ApplicationDomainTypes as the default way to pass around entities. Instead of using various ways to pass around entities (buffers, buffer adaptors, ApplicationDomainTypes), only use a single way. The old approach was confusing, and was only done as: * optimization; really shouldn't be necessary and otherwise I'm sure we can find better ways to optimize ApplicationDomainType itself. * a way to account for entities that have multiple buffers, a concept that I no longer deem relevant. While this commit does the bulk of the work to get there, the following commits will refactor more stuff to get things back to normal. | ||
* | A better resource filter api | Christian Mollekopf | 2016-10-05 |
| | |||
* | Use the Query::filter api. | Christian Mollekopf | 2016-09-27 |
| | |||
* | Ported to the kasync revamp | Christian Mollekopf | 2016-09-15 |
| | |||
* | Isolate tests | Christian Mollekopf | 2016-07-11 |
| | |||
* | Control debugoutput during tests with sinksh. | Christian Mollekopf | 2016-07-08 |
| | |||
* | A new debug system. | Christian Mollekopf | 2016-07-07 |
| | | | | | | | | | | | | | | | Instead of a single #define as debug area the new system allows for an identifier for each debug message with the structure component.area. The component is a dot separated identifier of the runtime component, such as the process or the plugin. The area is the code component, and can be as such defined at compiletime. The idea of this system is that it becomes possible to i.e. look at the output of all messages in the query subsystem of a specific resource (something that happens in the client process, but in the resource-specific subcomponent). The new macros are supposed to be less likely to clash with other names, hence the new names. | ||
* | Moved thread-boundary crossing to the model. | Christian Mollekopf | 2016-06-15 |
| | | | | | That way we avoid any unnecessary queuing for the sync API, and enable fine-tuning in the model code at a later stage. | ||
* | Fixed build. | Christian Mollekopf | 2016-06-14 |
| | | | | | We already exported that symbol as a non-template class in the dummy resource code. | ||
* | Fixed resource property filtering | Christian Mollekopf | 2016-05-10 |
| | |||
* | Account filter for resources and contains comparator in query | Christian Mollekopf | 2016-05-01 |
| | |||
* | Fromatted the whole codebase with clang-format. | Christian Mollekopf | 2016-03-03 |
| | | | | clang-format -i */**{.cpp,.h} | ||
* | Use slots/signals instead of Q_SLOTS/Q_SIGNALS for clang-format compatibility | Christian Mollekopf | 2016-02-17 |
| | |||
* | Stop using clientapi.h | Christian Mollekopf | 2016-02-10 |
| | |||
* | Renamed Akonadi2 to Sink | Christian Mollekopf | 2016-01-20 |
| | | | | (except for documentation). | ||
* | Fixed build. | Christian Mollekopf | 2016-01-19 |
| | |||
* | Working resource inspection | Christian Mollekopf | 2016-01-18 |
| | |||
* | An imperative query API | Christian Mollekopf | 2016-01-14 |
| | |||
* | Ensure that we only emit ChildrenFetched once. | Christian Mollekopf | 2016-01-14 |
| | | | | ...Once all resource are done, and not only one. | ||
* | Fixed clientapitest | Christian Mollekopf | 2015-12-19 |
| | |||
* | Ensure we process the query also if no resource is available. | Christian Mollekopf | 2015-12-13 |
| | |||
* | Load entities from multiple resources | Christian Mollekopf | 2015-12-13 |
| | |||
* | Test modifications | Christian Mollekopf | 2015-11-30 |
| | |||
* | Use the ChildrenFetchedRole | Christian Mollekopf | 2015-11-30 |
| | |||
* | Test model signals | Christian Mollekopf | 2015-11-30 |
| | |||
* | Removed most uses of SyncListResult and brought back the | Christian Mollekopf | 2015-11-28 |
| | | | | dummyresourcetest | ||
* | Introduced a QueryRunner object | Christian Mollekopf | 2015-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. | ||
* | Fixed build | Christian Mollekopf | 2015-11-21 |
| | |||
* | The parent is always an object, so we might as well make that explicit | Christian Mollekopf | 2015-11-19 |
| | |||
* | Don't use a smart pointer for the result provider | Christian Mollekopf | 2015-11-18 |
| | | | | We're not doing any lifetime management anyways. | ||
* | Fixed clientapitest | Christian Mollekopf | 2015-11-15 |
| | |||
* | It's starting to work | Christian Mollekopf | 2015-11-13 |
| | |||
* | A result model | Christian Mollekopf | 2015-11-10 |
| | | | | | The result model drives the data retrieval and provides the interace for consumers | ||
* | Documentation on what tests are supposed to test. | Christian Mollekopf | 2015-10-24 |
| | |||
* | Avoid hardcoding a made-up resource type for config that doesn't belong | Christian Mollekopf | 2015-10-21 |
| | | | | to a resource | ||
* | ClientAPI: Don't require an explicit instance identifier | Christian Mollekopf | 2015-10-21 |
| | |||
* | Adapt tests to exposed jobs in api | Christian Mollekopf | 2015-08-10 |
| | |||
* | Test life queries in the generic facade | Christian Mollekopf | 2015-07-28 |
| | |||
* | Filter queries by available resources, and filter resources by | Christian Mollekopf | 2015-07-08 |
| | | | | resource-types | ||
* | Extracted resource config | Christian Mollekopf | 2015-07-08 |
| | |||
* | We can add resources. | Christian Mollekopf | 2015-07-08 |
| | |||
* | Pass instanceIdentifier to facade | Christian Mollekopf | 2015-07-07 |
| | |||
* | Remove externallyManaged hack now that we use std::shared_ptr | Christian Mollekopf | 2015-07-07 |
| | |||
* | Fix test after resource instance adjustments | Christian Mollekopf | 2015-06-17 |
| | |||
* | Adapt to KAsync namespace change | Dan Vrátil | 2015-05-15 |
| | |||
* | Fixed lifetime management of resultSet. | Christian Mollekopf | 2015-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 Mollekopf | 2015-04-24 |
| | |||
* | Moved clientapitest to tests | Christian Mollekopf | 2015-04-15 |