Commit Graph

4094 Commits

Author SHA1 Message Date
Matthias Beyer 21c15ca207 Adapt imag-diary to compile with the new libimagdiary API 2017-09-01 11:04:07 +02:00
Matthias Beyer 31fa07d43a Add another small helper 2017-09-01 11:04:07 +02:00
Matthias Beyer 95b7da1ed2 Impl Entry (now DiaryEntry) as trait 2017-09-01 11:04:06 +02:00
Matthias Beyer 9c69645b69 Implement Diary as trait 2017-09-01 11:04:06 +02:00
Matthias Beyer 22de22e6e5 Merge pull request #1034 from matthiasbeyer/integrate-remove-unused
Integrate remove unused
2017-08-31 21:38:02 +02:00
Matthias Beyer 7e4275c420 Remove unused crate import 2017-08-31 20:56:13 +02:00
Matthias Beyer 6a8af5ef01 Remove unused imports 2017-08-31 20:56:13 +02:00
Matthias Beyer ec639be3e1 Fix artifacts from libimagstore::toml_ext times 2017-08-31 20:56:13 +02:00
Matthias Beyer 74ec12d5c2 Remove artifacts
I don't even know how this could re-appear in the codebase as we removed
the toml_ext thing a while ago... strange!
2017-08-31 20:56:13 +02:00
Matthias Beyer e338fef98e Remove duplicated key 2017-08-31 20:56:12 +02:00
Matthias Beyer 9a9a3f2f43 Merge branch 'libimagstore/remove-unused' into integrate-remove-unused
The merge conflicts which were resolved may roll back some changes from
the merged branch (unknowingly).

These will be fixed in the next commits
2017-08-31 20:56:08 +02:00
Matthias Beyer 9094c22abf Fix test helper function 2017-08-31 10:57:19 +02:00
Matthias Beyer a710a5b72b Remove unused variable 2017-08-31 10:57:19 +02:00
Matthias Beyer 1c079c9501 Import libimagutil properly 2017-08-31 10:57:19 +02:00
Matthias Beyer 0732962b59 Fix unused macro_use import 2017-08-31 10:57:19 +02:00
Matthias Beyer bc74ea7e41 Fix copy-paste bug 2017-08-31 10:57:19 +02:00
Matthias Beyer 00b8d5192c Remove unused variables 2017-08-31 10:57:19 +02:00
Matthias Beyer fabb990336 Remove unused imports 2017-08-31 10:57:19 +02:00
Matthias Beyer 991fd7c3d4 Remove unused variable 2017-08-31 10:57:19 +02:00
Matthias Beyer ac804bd839 Remove unused keyword "mut" where not needed 2017-08-31 10:57:11 +02:00
Matthias Beyer ae5255c7c7 Remove unused crate imports
This patch removes unused crate imports reported by newer rust versions.

Some crates were only required for tests, some only for tests with
macro_import - these things were fixed with feature gates.
2017-08-31 10:56:15 +02:00
Matthias Beyer cee0287ee2 Merge pull request #1026 from matthiasbeyer/libimagentryref/extension-as-trait
libimagentryref: Extensions as Traits
2017-08-28 21:27:32 +02:00
Matthias Beyer 0e6599f192 Fix imag-ref 2017-08-28 14:55:33 +02:00
Matthias Beyer 7ff3985eaf Fix imag-mail to use new Ref interface 2017-08-28 14:32:50 +02:00
Matthias Beyer 6d40797a07 Fix libimagmail to use new libimagentryref interface 2017-08-28 14:32:50 +02:00
Matthias Beyer d58b97fdf1 Light refactoring
Use .map_err_into() instead of manual wrapping,
some boilerplate minimized.
2017-08-28 14:32:50 +02:00
Matthias Beyer cf19e0563c Reorganize functionality in traits 2017-08-28 14:32:50 +02:00
Matthias Beyer c987130cc1 Merge pull request #1018 from matthiasbeyer/remove-toml-ext
Remove toml ext
2017-08-28 14:10:40 +02:00
Matthias Beyer c0c62bd1b5 Change crates to use toml-query crate 2017-08-28 12:22:37 +02:00
Matthias Beyer 3024fefcb9 Remove toml_ext module 2017-08-28 12:22:13 +02:00
Matthias Beyer 43ca0b43b1 Move "Header" trait for toml::Value to store module 2017-08-28 12:22:13 +02:00
Matthias Beyer 1f340a3e17 Merge pull request #1027 from matthiasbeyer/libimagentrylink/extension-as-trait
libimagentrylink: Extensions as traits
2017-08-28 12:21:31 +02:00
Matthias Beyer 4b42b3328d Rewrite libimagentrylink::external::Link to be a trait 2017-08-28 10:31:13 +02:00
Matthias Beyer b2d6a881b0 Merge pull request #1019 from matthiasbeyer/fix-warnings
Fix warnings by not allowing them anymore
2017-08-27 21:14:00 +02:00
Matthias Beyer 75e42d2f0b Fix errors (former warnings) in several crates
This fixes errors (former warnings) in several locations.
2017-08-27 20:08:03 +02:00
Matthias Beyer 286de656df Handle UTF-8 Errors by returning 2017-08-27 20:08:03 +02:00
Matthias Beyer 7a7ea5c211 Add debug messages 2017-08-27 20:08:03 +02:00
Matthias Beyer d0f8002682 Ensure deny() for warnings is in all crates 2017-08-27 20:08:03 +02:00
Matthias Beyer 29d93a73f0 Merge pull request #1025 from matthiasbeyer/todo/libimagerror
Add todo: Rewrite libimagerror with chain-error crate
2017-08-27 20:07:22 +02:00
Matthias Beyer 4c4de294b5 Merge pull request #1008 from matthiasbeyer/subdirs
Reorganize code in subdirs
2017-08-27 20:07:06 +02:00
Matthias Beyer 9081a2d58d Fix libimag(entry)ref name 2017-08-27 18:57:59 +02:00
Matthias Beyer ef93cf0243 libimagentrytimetrack -> libimagtimetrack
This is actually a domain library and thus should be put into the
lib/domain/ folder.
2017-08-27 18:23:47 +02:00
Matthias Beyer e386e86474 Add todo: Rewrite libimagerror with chain-error crate 2017-08-27 17:49:18 +02:00
Matthias Beyer 2fcead5f53 Fix broken README symlinks
Along: Add files in documentation for modules that not yet had one.
2017-08-27 15:13:25 +02:00
Mario Krehl 8a63815854 Fix package name of libimagentryannotation
Fix: run `sed -i 's,libimagref,libimagentryref,g' (rg -l 'libimagref')`
Fix: run `sed -i 's,libimagannotation,libimagentryannotation,g' (rg -l 'libimagannotation')`
2017-08-27 15:13:25 +02:00
Matthias Beyer 59a3662ac4 Reorganize code in subdirs 2017-08-27 15:12:09 +02:00
Matthias Beyer 31254071e5 Merge pull request #1024 from matthiasbeyer/libimagrt/config-loading-fix
Libimagrt/config loading fix
2017-08-27 14:57:31 +02:00
Matthias Beyer 47ce383715 Name the searchpath variable properly 2017-08-27 14:14:28 +02:00
Matthias Beyer 9193d50f96 Fix error while loading
The type inference got our back here into trouble, actually.

Because I assumed the type inference would do the thing, I didn't
specify the return type for the `::toml:🇩🇪:from_str` function. Turned
out that I assumed it to return a `Option<BTReeMap>` or something like
this (which was unintensional, of course).

This patch fixes this by specifying the proper return type (plus some
more embellishments).
2017-08-27 14:14:28 +02:00
Matthias Beyer 7b3bf3e31e Merge pull request #1021 from matthiasbeyer/bi-version-dependencies
Use cargo feature to specify both version and path
2017-08-27 13:16:54 +02:00