Dirk-Jan C. Binnema
98abcf8e84
store: support in-memory database
...
For testing, this is faster / and doesn't pollute the file system.
2021-02-16 19:32:15 +02:00
Dirk-Jan C. Binnema
a3c6e74869
lib: replace some #define with constexpr
...
minor cleanup.
2021-02-11 18:54:25 +02:00
Dirk-Jan C. Binnema
98744c66f7
remove some dead code
2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema
e282d80bc0
lib: Update for new querying machinery
...
Port to c++ and use new APIs.
2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema
ed4a640c39
lib/query: refactor & rework
...
- Move the lib/query/ stuff up a level into lib/
- Associate directly with the Query object
- Rework the Query object to be C++ rather than mixed with C
- Update all dependencies, tests
2020-11-04 23:35:30 +02:00
Dirk-Jan C. Binnema
dbff5671dd
lib: support 'personal' regexp, move to mu-contacts
...
Move the determination of "personal" to MuContacts; add support for
regexps (POSIX-basic, in //)
2020-10-17 10:36:25 +03:00
Jonas Bernoulli
b711ad9151
Fix typos
2020-07-25 16:46:47 +02:00
Dirk-Jan C. Binnema
4617935d80
store: Update for the new indexer
...
Update some APIs so we can use it with the new indexer.
Remove some now-obsolete C APIs.
2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
fe6582c6d6
lib: implement mu_store_update
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
49883806f6
store: remove unused code, use batchsize
2020-03-02 23:19:34 +02:00
Dirk-Jan C. Binnema
f50360f94e
mu-store: implement Store::find_message
2020-02-10 01:00:42 +02:00
Dirk-Jan C. Binnema
aa10da0a63
store: rework to allow for 'init'
...
Rework the error handling / exception for read-only / writable and new
database.
2020-02-08 14:28:55 +02:00
Dirk-Jan C. Binnema
38779cfade
mu: no need to pass 'maildir' when we can deduce it
...
Only needed when setting up the database.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema
e51240f43f
mu: lib: update store API. update some dependents
...
Implement add_message / remove_message.
Rename path_tstamp -> dirstamp.
Rename maildir -> root_maildir
Update dependents.
2020-01-31 00:20:34 +02:00
Dirk-Jan C. Binnema
b55e191421
update for lib/utils split
...
Update sources with the new paths
2019-12-22 15:26:45 +02:00
Jonas Bernoulli
f31d1b065d
Fix typos
2019-11-06 16:13:39 +01:00
Dirk-Jan C. Binnema
a8752e28c3
mu-store.hh: add it; it was missing
2019-07-31 17:19:23 +03:00