Commit graph

3188 commits

Author SHA1 Message Date
c229bb1575 Fix usages of get_external_links() 2016-10-19 13:03:17 +02:00
db17b4f858 Rewrite ExternalLinker::get_external_links() to return iterator 2016-10-19 13:03:17 +02:00
3aa05c3ecc Add warning on type names 2016-10-19 13:03:17 +02:00
4ca501c03e Add SelectExternal LinkIter extension trait 2016-10-19 13:03:17 +02:00
647f25a904 Add module documentation 2016-10-19 13:03:17 +02:00
378951a16b Add module external::iter 2016-10-19 13:03:17 +02:00
3567606008 Merge pull request #816 from matthiasbeyer/libimagstore/test-storeid-name-fix
Fix test StoreId name
2016-10-18 20:52:42 +02:00
fc464446a9 Fix test StoreId name
The name of the storeid was duplicated, which caused the tests to fail
from time to time.

This patch fixes the name of the entry which is used to test.
2016-10-18 15:41:01 +02:00
2679d0d254 Merge pull request #809 from matthiasbeyer/libimagstorestdhook/deny-delete-of-linked-entries
libimagstorestdhook: deny delete of linked entries
2016-10-17 21:58:22 +02:00
dd4f0c7586 Raise error when reading links failed, rather than assuming 1 2016-10-17 17:48:22 +02:00
6de6d20dc0 Merge pull request #808 from matthiasbeyer/fix-nix-markup
Fix default.nix syntax
2016-10-17 09:19:07 +02:00
38f0951df7 Merge pull request #800 from matthiasbeyer/libimagstore/reduce-unwraps
libimagstore: reduce unwraps
2016-10-17 09:18:53 +02:00
44f78ae50a Remove unused imports 2016-10-15 16:12:11 +02:00
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