summaryrefslogtreecommitdiffstats
path: root/common/modelresult.cpp
Commit message (Collapse)AuthorAge
* Fixed removal of entityChristian Mollekopf2017-12-29
|
* Avoid hiding the index() functionChristian Mollekopf2017-09-02
|
* We can run into this on empty modelsChristian Mollekopf2017-06-21
|
* Emit dataChanged without rolesChristian Mollekopf2017-03-29
|
* Fixed notification queringChristian Mollekopf2017-03-26
|
* Implemented notification support in the model.Christian Mollekopf2017-03-24
| | | | | | | | This will allow us to fold things like progress and sync status directly into the model. Usecases are mail download progress and folder sync progress. Ideally we would also solve the resource/account state through this.
* Resolved potential deadlockChristian Mollekopf2017-03-07
| | | | | | When trying to reply to a mail from kube we ran into a deadlock. The initial result callback is called from the main thread, and that can thus directly lead to destruction of the emitter.
* Don't emit superfluous remove signals.Christian Mollekopf2017-02-13
| | | | | We often let removal updates through and expect the model to deal with superfluous updates, this now actually implements that.
* Don't call into the model after the model has been destroyed.Christian Mollekopf2017-01-31
|
* Debug outputChristian Mollekopf2017-01-07
|
* Avoid fetching again if a fetch is already in progress.Christian Mollekopf2016-12-23
|
* More Log::ContextChristian Mollekopf2016-12-22
|
* Report when we don't have any more to fetch.Christian Mollekopf2016-12-20
| | | | ... so we can use that information in fetchMore.
* Return false once we cannot fetch moreChristian Mollekopf2016-12-20
|
* Let the preprocessor repeat the types.Christian Mollekopf2016-12-08
|
* Hide Query::parentPropertyChristian Mollekopf2016-11-14
|
* Header cleanupChristian Mollekopf2016-10-27
|
* Avoid fetching repeatedly to check for children.Christian Mollekopf2016-10-27
| | | | | | canFetchMore returns true once the fetch is complete to allow the incremental fetch behaviour. When we check for children we really only want to fetch once though, otherwise we risk fetching over and over.
* The threading reduction is working.Christian Mollekopf2016-09-26
|
* A new query systemChristian Mollekopf2016-09-23
|
* A new debug system.Christian Mollekopf2016-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.
* Don't use a static for the threadboundaryChristian Mollekopf2016-06-19
| | | | Otherwise we risk calling into already destroyed models.
* Automatically fetch children if necessary.Christian Mollekopf2016-06-15
| | | | | Otherwise a treeview doesn't show the expander until you click on the item (which triggers fetchMore).
* Avoid crashing.Christian Mollekopf2016-06-15
| | | | ...that was a bit too optimistic, sill happening when running kube.
* Moved thread-boundary crossing to the model.Christian Mollekopf2016-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.
* Register the Identity typeChristian Mollekopf2016-04-13
|
* Fixed accounts supportChristian Mollekopf2016-03-15
|
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* Fetch more data on demandChristian Mollekopf2016-02-20
| | | | | | | | We skip values we've already seen and only retrieve the new ones. This currently only properly works in a non-live query and we don't give the model any feedback when we can't fetch more data anymore. However, it generally works and we get the desired effect.
* Prepared sort indexesChristian Mollekopf2016-02-16
|
* Introduced debug areas and prettified output.Christian Mollekopf2016-02-04
|
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* Debug outputChristian Mollekopf2015-12-17
|
* Load entities from multiple resourcesChristian Mollekopf2015-12-13
|
* Deal with no available resourcesChristian Mollekopf2015-12-10
|
* ModelResult header data, and support listing various types in theChristian Mollekopf2015-12-04
| | | | dummyclient
* Provide a way to get to the ApplicationDomainType base classChristian Mollekopf2015-12-04
| | | | QVariant doesn't support polymorphism for non-QObject classes.
* Less debug outputChristian Mollekopf2015-11-30
|
* ModelResult: return an invalid QModelIndex for the toplevel parentChristian Mollekopf2015-11-30
|
* Provide status information about children fetch stateChristian Mollekopf2015-11-30
| | | | The fetch state is per parent.
* ModelResult hasChildren, cleanupChristian 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.
* Only use the parent index when it's availableChristian Mollekopf2015-11-25
|
* Less noiseChristian Mollekopf2015-11-25
|
* Don't try to fetch more once the parent is fetched.Christian Mollekopf2015-11-21
| | | | We're not doing partial fetches yet
* 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...