Commit Graph

3423 Commits

Author SHA1 Message Date
Matthias Beyer ff4a96ff59 Add missing "use" 2016-10-15 15:49:01 +02:00
Matthias Beyer da408f60fd Refactor iflet into and_then().or_else() 2016-10-15 15:49:01 +02:00
Matthias Beyer 3fe8ec5d33 Simplify line 2016-10-15 15:49:00 +02:00
Matthias Beyer 3d572dda0f Reimplement StoreId::to_str() to remove unwrap() 2016-10-15 15:49:00 +02:00
Matthias Beyer 52367edc83 Remove unwrap()s in file abstraction code 2016-10-15 15:49:00 +02:00
Matthias Beyer c0eb329abf Simplify hashmap fetching and error construction 2016-10-15 15:49:00 +02:00
Matthias Beyer 2363d6ba30 Use try!() instead of unwrapping errors 2016-10-15 15:49:00 +02:00
Matthias Beyer 956cf56b1a Fix default.nix syntax 2016-10-15 15:46:27 +02:00
Matthias Beyer a796de322a Fix bug: Links were swapped 2016-10-15 11:36:25 +02:00
Matthias Beyer b64eae9654 Add multi-link test 2016-10-15 11:35:01 +02:00
Matthias Beyer 6d31913321 Fix bug: We have to compare StoreId objects without their base 2016-10-15 11:24:42 +02:00
Matthias Beyer 9c29bf19da Add debugging output 2016-10-15 11:24:14 +02:00
Matthias Beyer 4e2bcf7d58 Add env-logger for test logging 2016-10-15 11:23:31 +02:00
Matthias Beyer 36b77f4e38 Add test for linking+unlinking 2016-10-15 11:23:30 +02:00
Matthias Beyer d27c8ced34 Add first internal-linking test 2016-10-15 11:23:30 +02:00
Matthias Beyer 924692d7cb Merge pull request #803 from matthiasbeyer/libimagentrylink/iter-interface
libimagentrylink: iter interface
2016-10-14 17:46:41 +02:00
Matthias Beyer 02a2034d8b Fix usage of libimagentrylink interface 2016-10-14 13:27:06 +02:00
Matthias Beyer b70564f2ce Change InternalLinker to return iterator objects 2016-10-14 13:27:06 +02:00
Matthias Beyer 1d3666eef4 Merge pull request #657 from matthiasbeyer/libimagmail/init
Libimagmail/init
2016-10-14 11:00:44 +02:00
Matthias Beyer ad4456921d Merge pull request #799 from matthiasbeyer/doc-libs
Doc libs
2016-10-13 14:21:27 +02:00
Matthias Beyer 3a18655a7f Increment header levels in the README.md I missed in the first run 2016-10-13 12:07:54 +02:00
Matthias Beyer e8ae4c0da7 Create symlinks to documentation files in libimag*/README.md 2016-10-13 12:04:36 +02:00
Matthias Beyer e30d774670 Move all libimag*/README.md to doc/src/05100-* 2016-10-13 12:04:36 +02:00
Matthias Beyer fbd6e790c7 Increment header levels in the README.md files of the libraries 2016-10-13 12:04:36 +02:00
Matthias Beyer a2e2fc93b1 Add library documentation subchapter 2016-10-13 12:04:36 +02:00
Matthias Beyer 0250a2c662 Add MailIter 2016-10-12 19:17:41 +02:00
Matthias Beyer af54e621a8 Add Mail::from_ref() 2016-10-12 19:17:41 +02:00
Matthias Beyer 80010f6043 Impl get_{from,to,subject,message_id,in_reply_to} 2016-10-12 19:17:41 +02:00
Matthias Beyer 5825022e5d Impl Mail::get_field() 2016-10-12 19:17:41 +02:00
Matthias Beyer 953f537670 Create internal file buffer when storing/loading 2016-10-12 19:17:41 +02:00
Matthias Beyer c7f890d0d4 Add error kind for ref handling errors 2016-10-12 19:17:40 +02:00
Matthias Beyer 662af88eb5 Impl Mail::open() 2016-10-12 19:17:40 +02:00
Matthias Beyer 042f286c34 Add fetch-error kinds 2016-10-12 19:17:40 +02:00
Matthias Beyer 3136060ecf Remove Mail::import_from_string() 2016-10-12 19:17:40 +02:00
Matthias Beyer d4be497d41 Add dep: libimagref 2016-10-12 19:17:40 +02:00
Matthias Beyer 5b8239e45e Impl Mail::import_from_path() 2016-10-12 19:17:40 +02:00
Matthias Beyer 03ae714970 Add MailHasher 2016-10-12 19:17:40 +02:00
Matthias Beyer 4d83ce8b6e Add error kind if ref could not be created 2016-10-12 19:17:40 +02:00
Matthias Beyer 3e63d65689 Add dependency: filters = 0.1.0 2016-10-12 19:17:40 +02:00
Matthias Beyer eec6ef0652 Add agnostic "RefHashingError"
to be used by implementors of Hasher.
2016-10-12 19:17:40 +02:00
Matthias Beyer 80a320d769 Add intermediate buffer type for abstracting away lifetime foo from mailparse 2016-10-12 19:17:40 +02:00
Matthias Beyer 50fbc38984 Initial import of codebase 2016-10-12 19:17:40 +02:00
Matthias Beyer b53f12c0a6 Add dependencies 2016-10-12 19:17:40 +02:00
Matthias Beyer 726a74e41c Initial import 2016-10-12 19:17:40 +02:00
Matthias Beyer 56c5b8c443 Merge pull request #698 from matthiasbeyer/libimagstore/store-tests
libimagstore: Add Store testing
2016-10-12 14:48:43 +02:00
Matthias Beyer bbdb86b1d0 Merge pull request #793 from matthiasbeyer/libimagstore/store-tests-integration
libimagstore/store-tests: integration
2016-10-12 12:30:04 +02:00
Matthias Beyer 7abf6cb44c Merge pull request #795 from matthiasbeyer/update-nix-deps
Add dep for pure nix build: which
2016-10-12 11:14:33 +02:00
Matthias Beyer 10b920a149 Merge branch 'libimagstore/store-tests' into libimagstore/store-tests-integration 2016-10-12 11:13:38 +02:00
Matthias Beyer 47bd71accb Merge pull request #794 from matthiasbeyer/libimagstore/store-tests-fix-poisonerror-panic
libimagstore/store-tests: fix poisonerror panic
2016-10-12 11:12:32 +02:00
Matthias Beyer 2cbcfa946c Merge branch 'master' into libimagstore/store-tests-integration
On master, we changed the Store::update() function to do nothing more
than calling Store::_update() and wrapping an error.

On the libimagstore/store-tests branch, we modified the
Store::_update() function to contain an additional flag in the
parameters, whether the File-Lock-Entry internal `precense`-value should
be updated.

This merge commit resolves that conflict.
2016-10-12 08:53:11 +02:00