Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Opening dbis may fail in read-only mode | Christian Mollekopf | 2018-05-24 | |
| | ||||
* | I think those variables should just be static | Christian Mollekopf | 2018-05-24 | |
| | ||||
* | We need an extern declaration for non-static variables. | Christian Mollekopf | 2018-05-23 | |
| | | | | Or so says the compiler. | |||
* | linenoise: Use inline instead of static | Christian Mollekopf | 2018-05-23 | |
| | ||||
* | Replaced readline with cpp-linenoise | Christian Mollekopf | 2018-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 Mollekopf | 2018-05-23 | |
| | ||||
* | Cleanup | Christian Mollekopf | 2018-05-23 | |
| | ||||
* | DbLayout support for indexes | Christian Mollekopf | 2018-05-23 | |
| | ||||
* | Fixed use of mdb_dbi_open | Christian Mollekopf | 2018-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 Mollekopf | 2018-05-20 | |
| | ||||
* | Flush before closing to make sure all data is written. | Christian Mollekopf | 2018-05-20 | |
| | | | | Required on windows in resourceconfigtest. | |||
* | Read all remaining data before closing down the socket. | Christian Mollekopf | 2018-05-20 | |
| | | | | We run into this on windows with the resourceconfigtest. | |||
* | Use VERIFYEXEC | Christian Mollekopf | 2018-05-20 | |
| | ||||
* | Actually close the lmdb environment before removing from disk. | Christian Mollekopf | 2018-05-20 | |
| | | | | Otherwise removal doesn't work on windows due to open file handles. | |||
* | Fixed debug output printing on windows | Christian Mollekopf | 2018-05-19 | |
| | ||||
* | Get ctest to find the executable on windows | Christian Mollekopf | 2018-05-19 | |
| | ||||
* | Exports for windows | Christian Mollekopf | 2018-05-19 | |
| | ||||
* | the right target for generate_export_header. | Christian Mollekopf | 2018-05-19 | |
| | ||||
* | Check if ssl support is available on resource start. | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | Debug message for how we start the resource process. | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | sDebugStream now supports debug messages on windows. | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | Don't use color on windows was the idea. | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | Log to OutputDebugString on windows | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | Moved the bogus message test to the imap test. | Christian Mollekopf | 2018-05-18 | |
| | | | | Maildir will happly store anything. | |||
* | Skip change-replay for already removed entites. | Christian Mollekopf | 2018-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 Mollekopf | 2018-05-18 | |
| | | | | This test currently fails because we fail to recover. | |||
* | Validate content before replay. | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | Improved error messages | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | We're setting the content, not only the head. | Christian Mollekopf | 2018-05-18 | |
| | ||||
* | A lot less namespace typing. | Christian Mollekopf | 2018-05-17 | |
| | ||||
* | Print the full property if we print individual properties. | Christian Mollekopf | 2018-05-17 | |
| | ||||
* | Copy the entity when we return it. | Christian Mollekopf | 2018-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 commit | Christian Mollekopf | 2018-05-17 | |
| | ||||
* | Avoid printing megabytes of data to the console. | Christian Mollekopf | 2018-05-17 | |
| | ||||
* | Caught another case of empty uid in readEntity | Christian Mollekopf | 2018-05-17 | |
| | ||||
* | Fixed a readEntity call with empty uid | Christian Mollekopf | 2018-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 small | Christian Mollekopf | 2018-05-16 | |
| | ||||
* | Print to QDebug on windows | Christian Mollekopf | 2018-05-16 | |
| | ||||
* | mdb_env_set_mapsize should be called after create but before open | Christian Mollekopf | 2018-05-15 | |
| | | | | according to the docs. | |||
* | Try a bit harder to ensure that env always has a sane value. | Christian Mollekopf | 2018-05-15 | |
| | ||||
* | Apparently that export was one to much for windows | Christian Mollekopf | 2018-05-15 | |
| | ||||
* | More debug output when failing to load resource plugins. | Christian Mollekopf | 2018-05-15 | |
| | ||||
* | Build on windows | Christian Mollekopf | 2018-05-15 | |
| | ||||
* | Add build dependency on kf5-kcalendarcore-devel | Christian Mollekopf | 2018-05-14 | |
| | | | | | | Differential Revision: https://phabricator.kde.org/D12817 Patch by knambiar | |||
* | Using findLatest with an empty uid is an error. | Christian Mollekopf | 2018-05-14 | |
| | | | | | Seems to be happening sometimes, so that needs to be fixed once we find the cause. | |||
* | Add the "allDay" property to Event | Rémi Nicole | 2018-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 resource | Christian Mollekopf | 2018-05-14 | |
| | ||||
* | Avoid creating unnecessary rid mappings | Christian Mollekopf | 2018-05-14 | |
| | ||||
* | Fix CalDAV test in Docker + add Calendar and Todo in the database layout | Rémi Nicole | 2018-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 | |||
* | Honor visibility for all targets | Christian Mollekopf | 2018-05-14 | |
| |