Commit graph

3919 commits

Author SHA1 Message Date
e3db21b009 Use IntoError trait for less ugly code 2016-05-27 10:27:06 +02:00
70b6a4f587 Replace configuration error code with macro generator 2016-05-27 10:21:56 +02:00
3d9d5795e4 Rewrite hook error module with error macros 2016-05-27 10:15:29 +02:00
cb87b4b5d8 Remove old error code which is unused 2016-05-27 10:13:03 +02:00
183c46a7dd Use Into implementations to convert error kinds into error types 2016-05-27 10:11:51 +02:00
e91eb2f55d Use error.into() instead of building full type 2016-05-26 22:19:29 +02:00
5e98bd76b1 Shorten type names in import 2016-05-26 22:19:08 +02:00
25c4bea818 Shorten type names in import 2016-05-26 22:17:08 +02:00
fdb5d1bb24 Replace old error construction code with new libimagerror functionality 2016-05-26 22:16:29 +02:00
ee5c2b70a6 Merge pull request #437 from matthiasbeyer/libimagentryselect/init
Libimagentryselect/init
2016-05-26 22:09:17 +02:00
0f52900456 Add missing keyword "pub" for Link type 2016-05-26 22:08:27 +02:00
376832631a Add entry in example config file 2016-05-26 21:04:05 +02:00
2ad5cb48aa Implement store-unload hooks 2016-05-26 21:04:04 +02:00
2aeb853c5f Implement get_or_select_id() 2016-05-26 10:41:25 +02:00
bad8e1ced1 Add id argument helper and getter 2016-05-26 10:35:26 +02:00
a0b7e9b980 Add dependencies 2016-05-26 10:35:11 +02:00
9f3878d43f Initial import 2016-05-26 08:49:05 +02:00
2e80c29f47 Merge pull request #435 from matthiasbeyer/libimagnotes/remove-unused-import
Remove unused import
2016-05-25 17:23:05 +02:00
b344be0058 Remove unused import 2016-05-25 16:28:39 +02:00
27ded75c60 Merge pull request #433 from matthiasbeyer/libimagrt/env_logger_fallback
Libimagrt/env logger fallback
2016-05-24 22:08:39 +02:00
9a92f9091f Add env_logger as fallback if IMAG_LOG_ENV is present 2016-05-24 16:43:04 +02:00
4066ae4048 Add dep: env_logger = 0.3 2016-05-24 16:42:32 +02:00
f19c057258 Merge pull request #432 from matthiasbeyer/libimagerror/simple-into
libimagerror: Impl Into<error name> for all <errorkindname>
2016-05-24 15:23:08 +02:00
41b5d6d230 Merge pull request #400 from matthiasbeyer/libimagutil/match-helper
Libimagutil/match helper
2016-05-24 14:41:43 +02:00
b1f43e3ef5 Impl Into<error name> for all <errorkindname> 2016-05-24 14:31:44 +02:00
b6f5b71df1 libimagstore: Refactor code with is_match!() macro 2016-05-23 21:43:20 +02:00
e30d2480ab libimagentrytag: Refactor code with is_match!() macro 2016-05-23 21:43:20 +02:00
394b90f038 libimagentrylink: Refactor code with is_match!() macro 2016-05-23 21:43:20 +02:00
0e03998499 libimagentrylink: Add dependency: libimagutil 2016-05-23 21:43:14 +02:00
f0b665e5f2 libimagstore: Add dependency: libimagutil 2016-05-23 21:43:10 +02:00
297610f46b Merge pull request #431 from matthiasbeyer/libimagentrylister/core-counter
Add counter in libimagentrylist::listers::Core
2016-05-23 21:34:37 +02:00
71c7ca3c43 Merge pull request #396 from matthiasbeyer/bin/imag
Rewrite imag binary in Rust
2016-05-23 20:01:45 +02:00
80b9cae5fe Merge pull request #391 from matthiasbeyer/libimagstore/get
Libimagstore/get
2016-05-23 20:01:38 +02:00
d6f3c90880 Merge pull request #414 from matthiasbeyer/libimagerror/custom-membersntypes
Libimagerror/custom membersntypes
2016-05-23 20:01:33 +02:00
38031d5798 Add counter in libimagentrylist::listers::Core 2016-05-23 19:18:06 +02:00
e45d9200bf Adapt error generating code in libimagstore 2016-05-23 17:06:07 +02:00
b117d7fb9f Add tests for error types with custom functions and types 2016-05-23 17:06:07 +02:00
603b4de593 Add macro to generate error types with custom fields and functions 2016-05-23 17:06:06 +02:00
63dd1ca6f7 Merge pull request #427 from matthiasbeyer/libimagrt/no-config-file-warn
Only warn if there is no config file
2016-05-23 16:42:12 +02:00
b4b3a0ede8 Only warn if there is no config file 2016-05-23 15:12:57 +02:00
dd7e146081 impl Into<StoreIdIterator> for GlobStoreIdIterator to be able to convert easily 2016-05-23 14:52:32 +02:00
839ec051a4 Add Store::get_all_versions() for getting all versions of a StoreId entry 2016-05-23 14:52:13 +02:00
df33dec0c3 Add new error kind: StorePathError 2016-05-23 14:51:39 +02:00
b4f17576f6 Add Store::get() for getting or failing if entry does not exist 2016-05-23 14:51:38 +02:00
1442b370bb Merge pull request #425 from matthiasbeyer/update-fs2
Update fs2
2016-05-23 14:44:29 +02:00
5959b6b3cb Update dependency: fs2 0.2.2 -> 0.2.* 2016-05-23 13:37:36 +02:00
bf14b9ae4e Update dependency: fs2 0.2.2 -> 0.2.* 2016-05-23 13:37:26 +02:00
88e9519a00 Merge pull request #416 from matthiasbeyer/libimagerror/into-error
Libimagerror/into error
2016-05-20 18:13:13 +02:00
972d313ed5 Import IntoError trait 2016-05-20 17:34:10 +02:00
3845f28dad Implement IntoError for all generated Errors automatically 2016-05-20 17:34:10 +02:00