Commit graph

4106 commits

Author SHA1 Message Date
51650bf043 Small embellishments
Fix false documentation, make warn!() into error!() and provide more
information in the logged message.
2017-09-04 16:24:50 +02:00
mario-kr
cb9aa19894 Merge pull request #19 from matthiasbeyer/all-extensions-as-traits_imag-todo
All extensions as traits imag todo
2017-09-04 09:48:27 +02:00
39dd9e8d7c Add Task trait for getting UUID from task 2017-09-04 09:20:14 +02:00
72ea21ee1f Rename module task -> taskstore 2017-09-04 09:20:14 +02:00
Mario Krehl
0f317858e2 Refactor imag-todo to work with the TaskStore trait instead of Task 2017-09-02 16:12:12 +02:00
Mario Krehl
58a2729da0 Changed Task trait to TaskStore trait, implemented for the Store instead of the FileLockEntry 2017-09-02 14:30:27 +02:00
Mario Krehl
ef92acb1b0 Refactor imag-todo to work with the changes in libimagtodo 2017-09-02 13:29:49 +02:00
Mario Krehl
f3bb6d02d0 Change the Task(FileLockEntry) type to a trait 2017-09-02 12:23:29 +02:00
1fe5a23331 Merge pull request #1031 from matthiasbeyer/libimagdiary/extension-as-trait
libimagdiary: extension as trait
2017-09-01 13:15:58 +02:00
8071c4c721 Refactor, minify edit() impl 2017-09-01 11:04:07 +02:00
356c86fd51 Refactor, minify create() impl 2017-09-01 11:04:07 +02:00
7e7cf8ecf8 Refactor, minify delete() impl 2017-09-01 11:04:07 +02:00
21c15ca207 Adapt imag-diary to compile with the new libimagdiary API 2017-09-01 11:04:07 +02:00
31fa07d43a Add another small helper 2017-09-01 11:04:07 +02:00
95b7da1ed2 Impl Entry (now DiaryEntry) as trait 2017-09-01 11:04:06 +02:00
9c69645b69 Implement Diary as trait 2017-09-01 11:04:06 +02:00
22de22e6e5 Merge pull request #1034 from matthiasbeyer/integrate-remove-unused
Integrate remove unused
2017-08-31 21:38:02 +02:00
7e4275c420 Remove unused crate import 2017-08-31 20:56:13 +02:00
6a8af5ef01 Remove unused imports 2017-08-31 20:56:13 +02:00
ec639be3e1 Fix artifacts from libimagstore::toml_ext times 2017-08-31 20:56:13 +02:00
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
e338fef98e Remove duplicated key 2017-08-31 20:56:12 +02:00
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
9094c22abf Fix test helper function 2017-08-31 10:57:19 +02:00
a710a5b72b Remove unused variable 2017-08-31 10:57:19 +02:00
1c079c9501 Import libimagutil properly 2017-08-31 10:57:19 +02:00
0732962b59 Fix unused macro_use import 2017-08-31 10:57:19 +02:00
bc74ea7e41 Fix copy-paste bug 2017-08-31 10:57:19 +02:00
00b8d5192c Remove unused variables 2017-08-31 10:57:19 +02:00
fabb990336 Remove unused imports 2017-08-31 10:57:19 +02:00
991fd7c3d4 Remove unused variable 2017-08-31 10:57:19 +02:00
ac804bd839 Remove unused keyword "mut" where not needed 2017-08-31 10:57:11 +02:00
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
cee0287ee2 Merge pull request #1026 from matthiasbeyer/libimagentryref/extension-as-trait
libimagentryref: Extensions as Traits
2017-08-28 21:27:32 +02:00
0e6599f192 Fix imag-ref 2017-08-28 14:55:33 +02:00
7ff3985eaf Fix imag-mail to use new Ref interface 2017-08-28 14:32:50 +02:00
6d40797a07 Fix libimagmail to use new libimagentryref interface 2017-08-28 14:32:50 +02:00
d58b97fdf1 Light refactoring
Use .map_err_into() instead of manual wrapping,
some boilerplate minimized.
2017-08-28 14:32:50 +02:00
cf19e0563c Reorganize functionality in traits 2017-08-28 14:32:50 +02:00
c987130cc1 Merge pull request #1018 from matthiasbeyer/remove-toml-ext
Remove toml ext
2017-08-28 14:10:40 +02:00
c0c62bd1b5 Change crates to use toml-query crate 2017-08-28 12:22:37 +02:00
3024fefcb9 Remove toml_ext module 2017-08-28 12:22:13 +02:00
43ca0b43b1 Move "Header" trait for toml::Value to store module 2017-08-28 12:22:13 +02:00
1f340a3e17 Merge pull request #1027 from matthiasbeyer/libimagentrylink/extension-as-trait
libimagentrylink: Extensions as traits
2017-08-28 12:21:31 +02:00
4b42b3328d Rewrite libimagentrylink::external::Link to be a trait 2017-08-28 10:31:13 +02:00
b2d6a881b0 Merge pull request #1019 from matthiasbeyer/fix-warnings
Fix warnings by not allowing them anymore
2017-08-27 21:14:00 +02:00
75e42d2f0b Fix errors (former warnings) in several crates
This fixes errors (former warnings) in several locations.
2017-08-27 20:08:03 +02:00
286de656df Handle UTF-8 Errors by returning 2017-08-27 20:08:03 +02:00
7a7ea5c211 Add debug messages 2017-08-27 20:08:03 +02:00
d0f8002682 Ensure deny() for warnings is in all crates 2017-08-27 20:08:03 +02:00