Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Avoid trying to remove an item that we don't have in the model. | Christian Mollekopf | 2018-06-01 |
| | | | | This triggered the assert in createIndexFromId. | ||
* | We need all parents available, not only one | Christian Mollekopf | 2018-01-03 |
| | |||
* | Since we only support incremental fetching for flat lists a boolean is | Christian Mollekopf | 2018-01-03 |
| | | | | enough. | ||
* | Avoid emitting signals for children without parents | Christian Mollekopf | 2018-01-03 |
| | |||
* | Removed broken tests | Christian Mollekopf | 2018-01-03 |
| | |||
* | No parent query | Christian Mollekopf | 2018-01-02 |
| | |||
* | Fixed removal of entity | Christian Mollekopf | 2017-12-29 |
| | |||
* | Avoid hiding the index() function | Christian Mollekopf | 2017-09-02 |
| | |||
* | We can run into this on empty models | Christian Mollekopf | 2017-06-21 |
| | |||
* | Emit dataChanged without roles | Christian Mollekopf | 2017-03-29 |
| | |||
* | Fixed notification quering | Christian Mollekopf | 2017-03-26 |
| | |||
* | Implemented notification support in the model. | Christian Mollekopf | 2017-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 deadlock | Christian Mollekopf | 2017-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 Mollekopf | 2017-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 Mollekopf | 2017-01-31 |
| | |||
* | Debug output | Christian Mollekopf | 2017-01-07 |
| | |||
* | Avoid fetching again if a fetch is already in progress. | Christian Mollekopf | 2016-12-23 |
| | |||
* | More Log::Context | Christian Mollekopf | 2016-12-22 |
| | |||
* | Report when we don't have any more to fetch. | Christian Mollekopf | 2016-12-20 |
| | | | | ... so we can use that information in fetchMore. | ||
* | Return false once we cannot fetch more | Christian Mollekopf | 2016-12-20 |
| | |||
* | Let the preprocessor repeat the types. | Christian Mollekopf | 2016-12-08 |
| | |||
* | Hide Query::parentProperty | Christian Mollekopf | 2016-11-14 |
| | |||
* | Header cleanup | Christian Mollekopf | 2016-10-27 |
| | |||
* | Avoid fetching repeatedly to check for children. | Christian Mollekopf | 2016-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 Mollekopf | 2016-09-26 |
| | |||
* | A new query system | Christian Mollekopf | 2016-09-23 |
| | |||
* | 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. | ||
* | Don't use a static for the threadboundary | Christian Mollekopf | 2016-06-19 |
| | | | | Otherwise we risk calling into already destroyed models. | ||
* | Automatically fetch children if necessary. | Christian Mollekopf | 2016-06-15 |
| | | | | | Otherwise a treeview doesn't show the expander until you click on the item (which triggers fetchMore). | ||
* | Avoid crashing. | Christian Mollekopf | 2016-06-15 |
| | | | | ...that was a bit too optimistic, sill happening when running kube. | ||
* | 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. | ||
* | Register the Identity type | Christian Mollekopf | 2016-04-13 |
| | |||
* | Fixed accounts support | Christian Mollekopf | 2016-03-15 |
| | |||
* | Fromatted the whole codebase with clang-format. | Christian Mollekopf | 2016-03-03 |
| | | | | clang-format -i */**{.cpp,.h} | ||
* | Fetch more data on demand | Christian Mollekopf | 2016-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 indexes | Christian Mollekopf | 2016-02-16 |
| | |||
* | Introduced debug areas and prettified output. | Christian Mollekopf | 2016-02-04 |
| | |||
* | Renamed Akonadi2 to Sink | Christian Mollekopf | 2016-01-20 |
| | | | | (except for documentation). | ||
* | Debug output | Christian Mollekopf | 2015-12-17 |
| | |||
* | Load entities from multiple resources | Christian Mollekopf | 2015-12-13 |
| | |||
* | Deal with no available resources | Christian Mollekopf | 2015-12-10 |
| | |||
* | ModelResult header data, and support listing various types in the | Christian Mollekopf | 2015-12-04 |
| | | | | dummyclient | ||
* | Provide a way to get to the ApplicationDomainType base class | Christian Mollekopf | 2015-12-04 |
| | | | | QVariant doesn't support polymorphism for non-QObject classes. | ||
* | Less debug output | Christian Mollekopf | 2015-11-30 |
| | |||
* | ModelResult: return an invalid QModelIndex for the toplevel parent | Christian Mollekopf | 2015-11-30 |
| | |||
* | Provide status information about children fetch state | Christian Mollekopf | 2015-11-30 |
| | | | | The fetch state is per parent. | ||
* | ModelResult hasChildren, cleanup | Christian Mollekopf | 2015-11-30 |
| | |||
* | Cleanup | Christian Mollekopf | 2015-11-28 |
| | |||
* | 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. | ||
* | Only use the parent index when it's available | Christian Mollekopf | 2015-11-25 |
| |