summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAge
* Nitpicksrange-query/storageMinijackson2018-05-24
|
* findAllInRange: Remove finding closest key to uppe bound ahead of timeMinijackson2018-05-24
|
* Add and test findAllInRange for ranged lookupsMinijackson2018-05-23
|
* DbLayout support for indexesChristian Mollekopf2018-05-23
|
* Fixed use of mdb_dbi_openChristian Mollekopf2018-05-23
| | | | | | | | | | | | | | | | | | | | There can only ever be one transaction using mdb_dbi_open running, and that transaction must commit or abort before any other transaction attempts to use mdb_dbi_open. Use delayed dbi merging with write transactions and a temporary transaction for read transactions. We now protect dbi initialization with a mutex and immediately update the sDbis hash. This assumes that the created dbis are indeed We can still violate the only one transaction may use mdb_dbi_open rule if we start a read-only transaction after the write transaction, before the write transaction commits. It does not seem to be something we actually do though. Opening dbis on environment init is further separated out, so we don't end up in the regular openDatabase codepath at all.
* Assert that we have a QGuiApplication if we crash otherwise.Christian Mollekopf2018-05-20
|
* Flush before closing to make sure all data is written.Christian Mollekopf2018-05-20
| | | | Required on windows in resourceconfigtest.
* Read all remaining data before closing down the socket.Christian Mollekopf2018-05-20
| | | | We run into this on windows with the resourceconfigtest.
* Actually close the lmdb environment before removing from disk.Christian Mollekopf2018-05-20
| | | | Otherwise removal doesn't work on windows due to open file handles.
* Fixed debug output printing on windowsChristian Mollekopf2018-05-19
|
* Exports for windowsChristian Mollekopf2018-05-19
|
* Debug message for how we start the resource process.Christian Mollekopf2018-05-18
|
* sDebugStream now supports debug messages on windows.Christian Mollekopf2018-05-18
|
* Don't use color on windows was the idea.Christian Mollekopf2018-05-18
|
* Log to OutputDebugString on windowsChristian Mollekopf2018-05-18
|
* Skip change-replay for already removed entites.Christian Mollekopf2018-05-18
| | | | | This is required to be able to resolve change-replay failures by removing the entity.
* Improved error messagesChristian Mollekopf2018-05-18
|
* A lot less namespace typing.Christian Mollekopf2018-05-17
|
* Copy the entity when we return it.Christian Mollekopf2018-05-17
| | | | | Otherwise we easily end up copying it and then have an entity that points into nowhere. Callback -> no copy, no callback -> copy.
* Fixed last commitChristian Mollekopf2018-05-17
|
* Avoid printing megabytes of data to the console.Christian Mollekopf2018-05-17
|
* Caught another case of empty uid in readEntityChristian Mollekopf2018-05-17
|
* Fixed a readEntity call with empty uidChristian Mollekopf2018-05-17
| | | | | | Filtered entites are still passed through as removal, but if there is no other value for the reduction, the reduction result is empty.
* Better debug messages if the command is too smallChristian Mollekopf2018-05-16
|
* Print to QDebug on windowsChristian Mollekopf2018-05-16
|
* mdb_env_set_mapsize should be called after create but before openChristian Mollekopf2018-05-15
| | | | according to the docs.
* Try a bit harder to ensure that env always has a sane value.Christian Mollekopf2018-05-15
|
* Apparently that export was one to much for windowsChristian Mollekopf2018-05-15
|
* More debug output when failing to load resource plugins.Christian Mollekopf2018-05-15
|
* Build on windowsChristian Mollekopf2018-05-15
|
* Using findLatest with an empty uid is an error.Christian Mollekopf2018-05-14
| | | | | Seems to be happening sometimes, so that needs to be fixed once we find the cause.
* Add the "allDay" property to EventRémi Nicole2018-05-14
| | | | | | | | | | | | | | Summary: Fixes T8698 Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Maniphest Tasks: T8698 Differential Revision: https://phabricator.kde.org/D12869
* Avoid creating unnecessary rid mappingsChristian Mollekopf2018-05-14
|
* Fix CalDAV test in Docker + add Calendar and Todo in the database layoutRémi Nicole2018-05-14
| | | | | | | | | | | | | Summary: Like the title says. Also removed a "/" that got doubled between the collection URI and the item path, because it made Cyrus freak out (returning unauthorized errors) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12755
* Filter by senderChristian Mollekopf2018-05-07
|
* Implement Todo entity typeRémi Nicole2018-05-06
| | | | | | | | | | | | | | | Summary: Some notes: - Needed to specialize some flatbuffers related functions for serializing QStringList and int - Removed useless qWarnings in caldav test - Rename EventSynchronizer -> CalDAVSynchronizer since it also synchronizes Calendars and Todos (and more to come!) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12695
* Avoid setting compiler options directlyChristian Mollekopf2018-05-03
|
* Implement replaying CalDAV events and calendarsRémi Nicole2018-05-03
| | | | | | | | | | | | | | | | Summary: Notes: - For calendars, only removal is implemented because: - There is no DavCollectionCreateJob, possibly because there can't be an empty DAV collection - DavCollectionModifyJob only allows modifying "properties", which we don't use (except for the name, if the name is considered a property) - Currently, modifying an item with Sink overrides the one on the server, even if the store is not up-to-date Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12611
* More weird exports for windowsChristian Mollekopf2018-04-20
|
* CleanupChristian Mollekopf2018-04-20
|
* More exportsChristian Mollekopf2018-04-20
|
* Fixed a bunch of exportsChristian Mollekopf2018-04-20
|
* Can't export/import definitionsChristian Mollekopf2018-04-19
|
* Windows compatChristian Mollekopf2018-04-19
|
* Change most of Event's properties to extracted propertiesRémi Nicole2018-04-13
| | | | | | | | | | | | | | Summary: Fix T8485 Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Maniphest Tasks: T8485 Differential Revision: https://phabricator.kde.org/D12106
* Add EndTime and Ical attributes to EventRémi Nicole2018-04-11
| | | | | | | | | | | | | | | | | | | | Summary: EndTime is necessary for the implementation of the calendar UI in Kube. Fixes T8482 Ical to mimic Mail's MimeMessage attribute. (Sorry for the wait, there was a good number of merge conflicts when rebasing on develop) Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Maniphest Tasks: T8482 Differential Revision: https://phabricator.kde.org/D12085
* Use the Dummy instead of Event in the benchmark to restore theChristian Mollekopf2018-04-10
| | | | attachment.
* Make use of generalized lambda capturesChristian Mollekopf2018-04-01
|
* Avoid missing revision updates while a query is running.Christian Mollekopf2018-04-01
| | | | | Instead we have to remember that something has changed and rerun an incremental query.
* Migrate from sink.dav to sink.carddavChristian Mollekopf2018-03-29
|