Commit graph

3475 commits

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