Commit graph

5087 commits

Author SHA1 Message Date
c22aca008a Merge pull request #1033 from matthiasbeyer/nix-mozilla-overlay
Use overlay from Mozilla for build env, to have current rust compiler
2017-08-31 19:01:30 +02:00
bdc08a5a12 Use overlay from Mozilla for build env, to have current rust compiler 2017-08-31 13:07:13 +02:00
186c9a3060 Fix documentation version number for next release 2017-08-31 13:07:06 +02:00
24bcc53087 Merge pull request #1032 from matthiasbeyer/libimagstore/remove-unused
Remove unused imports, etc
2017-08-31 12:51:29 +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
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
4c4de294b5 Merge pull request #1008 from matthiasbeyer/subdirs
Reorganize code in subdirs
2017-08-27 20:07:06 +02:00
9081a2d58d Fix libimag(entry)ref name 2017-08-27 18:57:59 +02:00
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
e386e86474 Add todo: Rewrite libimagerror with chain-error crate 2017-08-27 17:49:18 +02:00
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
59a3662ac4 Reorganize code in subdirs 2017-08-27 15:12:09 +02:00
31254071e5 Merge pull request #1024 from matthiasbeyer/libimagrt/config-loading-fix
Libimagrt/config loading fix
2017-08-27 14:57:31 +02:00
47ce383715 Name the searchpath variable properly 2017-08-27 14:14:28 +02:00
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
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
a4c2c04c61 Use cargo feature to specify both version and path
Thanks to reddit user /u/TimNN for suggesting this.
2017-08-27 11:25:43 +02:00
4475e09457 Merge pull request #1020 from matthiasbeyer/rewrite-imag-bin
Rewrite imag binary without parallelization stuff
2017-08-27 09:53:14 +02:00
09fbf08747 Rewrite imag binary without parallelization stuff 2017-08-26 23:04:26 +02:00
6ef03cda08 Merge pull request #1015 from matthiasbeyer/libimagtodo/refactor-errors
Libimagtodo/refactor errors
2017-08-26 21:46:26 +02:00
10faab6ef0 Cleanup codebase to be more readable 2017-08-26 20:48:43 +02:00
befff96220 Merge pull request #1006 from matthiasbeyer/remove-makefile
Remove Makefile, as cargo can be used now to build all the things
2017-08-26 19:30:23 +02:00
89ceafaab5 Remove Makefile, as cargo can be used now to build all the things 2017-08-26 17:57:39 +02:00