c115215fa4
Merge branch 'master' into libimagerror/integration
...
This merge solved a _LOT_ of conflicts and was a rather complicated one,
as parts of the conflict-resolution involved rewriting of half the
stuff.
This merge commit fixes all the things so a `cargo check --all`
succeeds, but I did not yet check whether tests run without failure.
2017-09-04 23:02:45 +02:00
6d1dab3117
Merge pull request #1029 from matthiasbeyer/all-extensions-as-traits
...
All extensions as traits
2017-09-04 21:59:54 +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
18e806f588
Remove dedicated result modules, use error chain generated Result types
2017-09-04 09:19:29 +02:00
eefcfd02dc
Allow generated fns from macros to be unused
2017-09-03 22:01:40 +02:00
7ce44e8090
Remove "IntoError" trait, use error_chain functionality
2017-09-03 21:34:07 +02:00
28d7085b2d
Remove error_chain dependency, not needed
2017-09-03 21:33:55 +02:00
936a314efa
libimagtodo: Rewrite error handling
2017-09-03 21:33:54 +02:00
a5bb7a9bec
libimagtimetrack: Rewrite error handling
2017-09-03 21:33:54 +02:00
22cff91653
libimagmail: Rewrite error handling
2017-09-03 21:33:54 +02:00
677a5e8886
libimagdiary: Rewrite error handling
2017-09-03 21:33:54 +02:00
31dc0eebc2
libimagcounter: Rewrite error handling
2017-09-03 21:33:54 +02:00
c9dbf76395
libimagbookmark: Rewrite error handling
2017-09-03 21:33:54 +02:00
5b781702cc
libimagentryview: Rewrite error handling
2017-09-03 21:33:54 +02:00
0ede39a991
libimagentrytag: Rewrite error handling
2017-09-03 21:33:54 +02:00
8d8a91e7c5
libimagentrycategory: Rewrite error handling
2017-09-03 21:33:54 +02:00
262aae39f4
libimagentryannotation: Rewrite error handling
2017-09-03 21:33:54 +02:00
d443b83b52
libimagentrydatetime: Rewrite error handling
2017-09-03 21:33:54 +02:00
0b068df84e
libimagnotes: Rewrite error handling
2017-09-03 21:33:54 +02:00
22be1627b7
libimagentryref: Rewrite error handling
2017-09-03 21:33:54 +02:00
bb6956740d
libimagentrymarkdown: Rewrite error handling
2017-09-03 21:33:54 +02:00
9aa5d7439d
libimagentrylist: Rewrite error handling
2017-09-03 21:33:54 +02:00
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
4908cc6aaa
Add more helpers
2017-09-03 13:48:05 +02:00
0683bf198b
Fix recursion problem
2017-09-03 13:48:05 +02:00
93444be412
Light code cleanup
2017-09-03 13:48:05 +02:00
64f96092cd
Fix aggregation
2017-09-03 13:48:05 +02:00
482377abb9
Actually print error here (as logging isnt initialized at this point)
2017-09-03 13:48:05 +02:00
5ec1cd48a0
Implement format-fetching from config/cli
2017-09-03 13:48:05 +02:00
ae24954020
Implement templating
2017-09-03 13:48:05 +02:00
2c66dcdf37
Rewrite logging: Types
...
This is the first part of a series of patches that reimplements the
logging backend to be more powerful and configurable.
This first patch adds types and infrastructure to be able to implement a
powerful logging abstraction.
It does not implement much functionality, except for a check whether a
module is enabled or not when logging (if configured in the config
file).
2017-09-03 13:48:05 +02:00
5626a365c6
Merge pull request #1044 from matthiasbeyer/libimagrt/feature-testing
...
Add store extraction to Runtime
2017-09-02 17:25:13 +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
8c69ed54e4
Merge pull request #1035 from matthiasbeyer/tag-ui-feature-to-bin
...
Tag ui feature to bin
2017-09-02 14:10:01 +02:00
Mario Krehl
f3bb6d02d0
Change the Task(FileLockEntry) type to a trait
2017-09-02 12:23:29 +02:00
ab06263507
Add store extraction to Runtime
...
This is necessary to be able to re-build a Runtime object with an new
set of "commandline arguments". For example if a test wants to test two
calls to imag, for example a "add" operation followed by a "remove" operation.
These functions are feature-gated therefor and should only be used in
tests.
2017-09-02 10:42:11 +02:00
b32245b03a
Bugfix: Fix macro to use the appname instead of hardcoded values
2017-09-02 10:41:38 +02:00
b787ef1696
Move tagging UI code to binary
2017-09-02 10:16:56 +02:00
1a244a3d6b
Add setget test
2017-09-01 20:35:30 +02:00
eb32027546
Add test setup with first test
2017-09-01 20:35:30 +02:00