summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* We were off by a factor of 10Christian Mollekopf2018-05-24
| | | | | It's possible that we therefore went over the virtual address space limit on windows which is 128GB.
* Opening dbis may fail in read-only modeChristian Mollekopf2018-05-24
|
* I think those variables should just be staticChristian Mollekopf2018-05-24
|
* We need an extern declaration for non-static variables.Christian Mollekopf2018-05-23
| | | | Or so says the compiler.
* linenoise: Use inline instead of staticChristian Mollekopf2018-05-23
|
* Replaced readline with cpp-linenoiseChristian Mollekopf2018-05-23
| | | | | | | | | ... a single header readline replacement that works on all linux, osx and windows (or so they claim). Besides cleaning up the code considerably, it should help us build sinksh on windows where readline is not really (there are some ancient broken readline ports) available. cpp-readline comes from here: https://github.com/yhirose/cpp-linenoise
* Skip revisions that we can't replay.Christian Mollekopf2018-05-23
|
* CleanupChristian Mollekopf2018-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.
* Use VERIFYEXECChristian Mollekopf2018-05-20
|
* 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
|
* Get ctest to find the executable on windowsChristian Mollekopf2018-05-19
|
* Exports for windowsChristian Mollekopf2018-05-19
|
* the right target for generate_export_header.Christian Mollekopf2018-05-19
|
* Check if ssl support is available on resource start.Christian Mollekopf2018-05-18
|
* 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
|
* Moved the bogus message test to the imap test.Christian Mollekopf2018-05-18
| | | | Maildir will happly store anything.
* 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.
* Test what happens if we add a bogus message to the imap resource.Christian Mollekopf2018-05-18
| | | | This test currently fails because we fail to recover.
* Validate content before replay.Christian Mollekopf2018-05-18
|
* Improved error messagesChristian Mollekopf2018-05-18
|
* We're setting the content, not only the head.Christian Mollekopf2018-05-18
|
* A lot less namespace typing.Christian Mollekopf2018-05-17
|
* Print the full property if we print individual properties.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
|
* Add build dependency on kf5-kcalendarcore-develChristian Mollekopf2018-05-14
| | | | | | Differential Revision: https://phabricator.kde.org/D12817 Patch by knambiar
* 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
* Restrict the query to the relevant resourceChristian Mollekopf2018-05-14
|
* 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