Commit Graph

4075 Commits

Author SHA1 Message Date
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 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 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
Matthias Beyer 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
Matthias Beyer 4475e09457 Merge pull request #1020 from matthiasbeyer/rewrite-imag-bin
Rewrite imag binary without parallelization stuff
2017-08-27 09:53:14 +02:00
Matthias Beyer 09fbf08747 Rewrite imag binary without parallelization stuff 2017-08-26 23:04:26 +02:00
Matthias Beyer 6ef03cda08 Merge pull request #1015 from matthiasbeyer/libimagtodo/refactor-errors
Libimagtodo/refactor errors
2017-08-26 21:46:26 +02:00
Matthias Beyer 10faab6ef0 Cleanup codebase to be more readable 2017-08-26 20:48:43 +02:00
Matthias Beyer 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
Matthias Beyer 89ceafaab5 Remove Makefile, as cargo can be used now to build all the things 2017-08-26 17:57:39 +02:00
Matthias Beyer b6917fc582 Merge pull request #1002 from matthiasbeyer/libimagentrylink/testing
libimagentrylink/testing
2017-08-26 17:35:16 +02:00
Matthias Beyer 513fc6b8d4 Merge pull request #1014 from matthiasbeyer/libimagstore/is-in-collection
Add StoreId::is_in_collection()
2017-08-26 17:11:35 +02:00
Matthias Beyer 8b402a0305 Add StoreId::is_in_collection() 2017-08-26 16:03:04 +02:00
Matthias Beyer bca55de069 Merge pull request #1017 from matthiasbeyer/update-version-strings
Update version strings for next release: 0.3.0 -> 0.4.0
2017-08-26 15:29:12 +02:00
Matthias Beyer 96e5672fb3 Merge pull request #1016 from matthiasbeyer/update-rustc
Include rustc 1.18.0 in the CI process
2017-08-26 15:29:05 +02:00
Matthias Beyer 56e2f1263f Include rustc 1.18.0 in the CI process 2017-08-26 13:28:03 +02:00
Matthias Beyer 1c37703c32 Update version strings for next release: 0.3.0 -> 0.4.0 2017-08-26 13:27:32 +02:00
Matthias Beyer 3b6b74a0ee Merge pull request #1013 from matthiasbeyer/imag-documentation-update
Update documentation with new dependencies
2017-08-26 13:06:38 +02:00
Matthias Beyer 84fa51d4fe Revert "Add quickcheck-based test for link removal"
This reverts commit 0215817262.

The quickcheck tests push the build times up very much, so we revert
this patch to keep the idea of the test in the history, but not having
it in the source.

Maybe we can reuse this patch someday.
2017-08-26 12:29:42 +02:00
Matthias Beyer 0215817262 Add quickcheck-based test for link removal 2017-08-26 12:29:06 +02:00
Matthias Beyer 4d67726af9 Add test for multi-linking checks 2017-08-26 12:29:06 +02:00
Matthias Beyer 5d8024db29 Add test whether link removal works 2017-08-26 12:29:06 +02:00