Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use imported targets instead of qt5_use_modules | Heiko Becker | 2017-07-29 |
| | | | | | | | | | | | | | | | | | | | From Qt's documentation: "This macro is obsolete. Use target_link_libraries with IMPORTED targets instead." It's only recommended with cmake >=2.8.9 & < 2.8.12. Sink already requires cmake 3.0. One advantage of using the imported targets is, that cmake complains if a target isn't found before it's used, like Qt5Concurrent missing from the find_package_call here. Reviewers: #sink, cmollekopf Reviewed By: #sink, cmollekopf Subscribers: #sink Tags: #sink Differential Revision: https://phabricator.kde.org/D6361 | ||
* | Adjusted docs and test. | Christian Mollekopf | 2017-07-27 |
| | |||
* | Empty resource id's are valid when we search for resources. | Christian Mollekopf | 2017-07-27 |
| | |||
* | Skip modifications that do nothing. | Christian Mollekopf | 2017-07-27 |
| | | | | | | This allows us to i.e. blindly mark mails as read in kube, with the modification automatically being dropped if it doesn't do anything useful. | ||
* | Only print modified properties if we have any. | Christian Mollekopf | 2017-07-27 |
| | |||
* | Sanity check queries | Christian Mollekopf | 2017-07-16 |
| | |||
* | Simplified code | Christian Mollekopf | 2017-07-16 |
| | | | | The while loop is executed at least once, so advanced is always true. | ||
* | Better error messages | Christian Mollekopf | 2017-07-16 |
| | |||
* | No return value needed here. | Christian Mollekopf | 2017-07-16 |
| | |||
* | Filter resources for syncing by type. | Christian Mollekopf | 2017-07-16 |
| | | | | | Otherwise we end up sending sync requests for contacts to imap resources. | ||
* | Avoid regenerating the messageId on every modfication | Christian Mollekopf | 2017-07-06 |
| | |||
* | Keep notifier alive for notifications of new resources. | Christian Mollekopf | 2017-07-05 |
| | | | | Necessary to get notifications for newly created resources. | ||
* | Notification printing | Christian Mollekopf | 2017-07-05 |
| | |||
* | Ensure we have the right facade | Christian Mollekopf | 2017-06-27 |
| | |||
* | Ensure we can deal with non-null terminated strings. | Christian Mollekopf | 2017-06-27 |
| | |||
* | Photo support | Christian Mollekopf | 2017-06-27 |
| | |||
* | Ensure revision updates are instantaneous. | Christian Mollekopf | 2017-06-23 |
| | | | | | | | We could do some event compression with a timer if necessary, but for the time being we'll just flush after every notification. This is necessary so i.e. a mail in the outbox appears immediately as it is created in the resource. | ||
* | Build with flatbuffers 1.7 | Christian Mollekopf | 2017-06-23 |
| | | | | | | There's a new template version that expects methods that QByteArray doesn't have but breaks the implicit conversion to const char *, std::string is safer anyways (doesn't require a null terminated string). | ||
* | We can run into this on empty models | Christian Mollekopf | 2017-06-21 |
| | |||
* | Added threading index cleanup | Christian Mollekopf | 2017-06-15 |
| | |||
* | No more threading by subject | Christian Mollekopf | 2017-06-15 |
| | | | | | It seems to do more harm than good, creating huge threads, and the webclient doesn't do it either. | ||
* | Fixed incremental queries | Christian Mollekopf | 2017-06-10 |
| | | | | | | The incremental querying broke as soon as a revision update came in since it would nuke the base-set. This fixes it, but it's definitely not pretty. | ||
* | A stab at the undefined reference to QMap<QByteArray, int>::QMap() error | Christian Mollekopf | 2017-06-06 |
| | | | | ...that I only get on copr and nowhere else. | ||
* | no need to hardcode this | Christian Mollekopf | 2017-05-20 |
| | |||
* | Ensure change-replay errors make it through to the correct error | Christian Mollekopf | 2017-05-20 |
| | | | | handling and are appropriately dealt with. | ||
* | We don't need the layout just to check for existence | Christian Mollekopf | 2017-05-20 |
| | |||
* | Reread the location if we enable the test mode | Christian Mollekopf | 2017-05-20 |
| | |||
* | Avoid notifcations for requests that do nothing, progress with folderid | Christian Mollekopf | 2017-05-20 |
| | |||
* | Don't commit after every replayed revision | Christian Mollekopf | 2017-05-12 |
| | | | | | | If we didn't actually do anything we just carry on. Failing to commit is harmless in that case and committing for every revision is rather expensive. | ||
* | Completely shortcut the stream evaluation if we're not going to use the | Christian Mollekopf | 2017-05-12 |
| | | | | | | | | | output Serializing the data is the expensive part, so we want to completely avoid that for the noisier part if we're not going to use it. Additionally we're now using a stringbuilder for the debugarea to try to further improve the situation with temporary memory allocations. | ||
* | Avoid redoing stuff over and over that we can easily avoid. | Christian Mollekopf | 2017-05-12 |
| | |||
* | QDateTime::toString is really slow | Christian Mollekopf | 2017-05-12 |
| | |||
* | We run into this when trying to index a property that is not set. | Christian Mollekopf | 2017-05-12 |
| | | | | i.e. in tests. | ||
* | Don't add resources that don't match the query during a livequery | Christian Mollekopf | 2017-05-12 |
| | |||
* | Added draft property index. | Christian Mollekopf | 2017-05-12 |
| | | | | | | We need this for the composer to efficiently query. Since we don't have any migration code this will require all data to be refetched (sinksh upgrade). | ||
* | Allow substring matches on the trace identifier | Christian Mollekopf | 2017-05-12 |
| | |||
* | Only use the filename as area, not the full path. | Christian Mollekopf | 2017-05-12 |
| | |||
* | Avoid copying | Christian Mollekopf | 2017-05-12 |
| | |||
* | Fixed build | Christian Mollekopf | 2017-05-12 |
| | |||
* | No more SINK_DEBUG_AREA | Christian Mollekopf | 2017-05-12 |
| | |||
* | Upgrade job that we can eventually use to upgrade the storage | Christian Mollekopf | 2017-05-11 |
| | |||
* | initEnvironment with double-checked locking | Christian Mollekopf | 2017-05-11 |
| | |||
* | Starting to get rid of the SINK_DEBUG_AREA | Christian Mollekopf | 2017-05-11 |
| | |||
* | Don't store blobs in directories. | Christian Mollekopf | 2017-05-11 |
| | | | | | Creating the directories is way more expensive than searching through the files on removal. | ||
* | Centralized Sink::Log::debugStream call | Christian Mollekopf | 2017-05-11 |
| | |||
* | Calling mkpath once is enough | Christian Mollekopf | 2017-05-11 |
| | |||
* | Avoid recreating the settings object on every log call | Christian Mollekopf | 2017-05-11 |
| | |||
* | Make the offline status higher priority | Christian Mollekopf | 2017-05-10 |
| | | | | | Some resources always claim to be online, so the ones offline are relevant. | ||
* | Removed unused headers | Christian Mollekopf | 2017-05-09 |
| | |||
* | Set the resource offline on no server | Christian Mollekopf | 2017-05-09 |
| | | | | host not found is pretty much the same as offline for our purpose. |