Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Avoid building tests that link to the resource on windows. | Christian Mollekopf | 2018-05-28 | |
| | | | | | Because we'd have to properly export the symbols for the linking on windows to work. | |||
* | -DQT_PLUGIN seems to be a remnant of the past. | Christian Mollekopf | 2018-05-28 | |
| | | | | Or at least I don't know what it is supposed to do. | |||
* | Cleaned up some unnecessary dependencies. | Christian Mollekopf | 2018-05-28 | |
| | ||||
* | Fixed build with extra warnings. | Christian Mollekopf | 2018-05-28 | |
| | ||||
* | Implement ranged queries | Rémi Nicole | 2018-05-28 | |
| | | | | | | | | | | | | | | | Summary: Notes: - For now, only for QDateTime indexes - Invalid QDateTimes are stored in the index (subject to change) - Should be a drop-in replacement from ValueIndexes (except for `In` and `Contains` queries) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D13105 | |||
* | Document why we might be creating a db several times. | Christian Mollekopf | 2018-05-27 | |
| | ||||
* | A wrapper for linenoise | Christian Mollekopf | 2018-05-27 | |
| | | | | | Because global variables in header files don't work if included from multiple places. | |||
* | Don't store references to temporarily valid data. | Christian Mollekopf | 2018-05-25 | |
| | ||||
* | We can't recover from not being able to open the database. | Christian Mollekopf | 2018-05-24 | |
| | | | | | We'll only end up with defunctional processes that may or may not do anything useful. | |||
* | Get the mapsize from a separate function and check the error when | Christian Mollekopf | 2018-05-24 | |
| | | | | setting it. | |||
* | Fixed linenoise warnings | Christian Mollekopf | 2018-05-24 | |
| | ||||
* | Fixed a bunch of warnings | Christian Mollekopf | 2018-05-24 | |
| | ||||
* | Return number of retrieved values. | Christian Mollekopf | 2018-05-24 | |
| | ||||
* | Add findAllInRange function in the storage layer | Rémi Nicole | 2018-05-24 | |
| | | | | | | | | | | | | | | | | | Summary: In preparation of the support for ranged queries. Notes: Since they are pretty similar, it could be nice to refactor `scan` and `findAllInRange` to use common 3rd function Test Plan: This is tested in storagetest.cpp Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D13066 | |||
* | We were off by a factor of 10 | Christian Mollekopf | 2018-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 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 | |
| |