Commit graph

4095 commits

Author SHA1 Message Date
4b4b0b0804 libimagentryedit: Rewrite error handling 2017-09-03 21:33:54 +02:00
ca0dd5906d libimagentrylink: Rewrite error handling 2017-09-03 21:33:54 +02:00
ac34b4ee66 libimaginteraction: Rewrite error handling 2017-09-03 21:33:54 +02:00
b6909a2c86 libimagrt: Rewrite error handling 2017-09-03 21:33:54 +02:00
2df99524e7 libimagstore: rewrite error handling code 2017-09-03 21:33:54 +02:00
603808a9fa Impl IntoError for error kinds 2017-09-03 15:42:06 +02:00
9713a4632c Remove error_gen module entirely 2017-09-03 15:42:06 +02:00
a309fdb280 Add recursion limits to crates 2017-09-03 15:42:06 +02:00
11d881d3a9 Add dependency to crates: error_chain = 0.10 2017-09-03 15:42:06 +02:00
e77d353c52 Rewrite macros to do error-chain behind the scenes 2017-09-03 15:42:03 +02:00
279afd1972 Merge pull request #1038 from matthiasbeyer/changelog
Changelog
2017-09-01 20:34:58 +02:00
3a0603e793 Merge pull request #1039 from matthiasbeyer/cargo-toml-fix-readme
Fix readme links in cargo metadata
2017-09-01 20:30:44 +02:00
048517a3c2 Fix readme links in cargo metadata 2017-09-01 18:48:02 +02:00
f71065c24d Add changelog for 0.3.0..master 2017-09-01 14:40:30 +02:00
a5e836fecb Add changelog 2017-09-01 14:25:00 +02:00
f653354e73 Merge pull request #1036 from matthiasbeyer/imag-documentation/fix-version
Fix documentation version number for next release
2017-09-01 08:55:39 +02:00
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
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
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