Commit graph

3923 commits

Author SHA1 Message Date
87ee509dc0 Prepare for annotations implementation
This patch changes the `libimagentrylink` internals to use a

    enum { Id(StoreId), Annotated(StoreId, String) }

as Link type.

In this patch, changes were made to be able to compile the code, but
tests might fail and other crates might fail as well.
2017-04-21 21:08:56 +02:00
0525f998c8 Fix usage of StoreId::exists() -> raise Error if error occurs 2017-04-21 21:08:45 +02:00
c2838cca3b Fix StoreId::exists() usage 2017-04-21 21:08:45 +02:00
111943e0eb Fix StoreId::exists() call with try!() 2017-04-21 21:08:45 +02:00
d3af023166 Redefine return type of StoreId::exists() 2017-04-21 21:08:45 +02:00
Matthew Piziak
9fa115500d Simplify FoldResult implementation
- Add tests for FoldResult
- Make documentation more explicit
- Assert failure accumulator in test

Submitted-by: Matthew Piziak <matthew.piziak@gmail.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2017-04-21 21:08:38 +02:00
337d657411 Fix indentation 2017-04-21 21:08:34 +02:00
97f5c94ca2 Allow unused variables in libimagruby 2017-04-21 21:08:03 +02:00
58a5153e5f Remove unused import 2017-04-21 21:08:03 +02:00
fb0ba1d8bc Remove unused variable 2017-04-21 21:08:03 +02:00
e615ec040f Merge pull request #915 from matthiasbeyer/add-libruby-travis-dep
Add libruby travis dependency
2017-04-21 21:07:39 +02:00
15029fc3e6 Disable duplicated stable rust check, check ruby 2.4.0 against rust 1.13 as well 2017-04-21 20:43:25 +02:00
2e6d867971 Disable rust beta testing on travis so libimagruby finds the libruby dependency 2017-04-21 20:42:01 +02:00
7a83a0dbd2 Setup travis to do matrix builds with ruby for libimagruby 2017-04-21 18:48:46 +02:00
94db98cfc6 Add libruby travis dependency 2017-04-21 18:21:23 +02:00
5d4ef8ed7f Merge pull request #910 from matthiasbeyer/libimagstore/non-consuming-update
Libimagstore/non consuming update
2017-03-08 15:30:19 +01:00
89b08d77aa Fix: Make appropriate variables mutable here 2017-03-08 12:47:40 +01:00
1c43abb0b0 Fix for new Store::update() interface 2017-03-08 12:47:40 +01:00
3a0166ba7c Merge pull request #912 from matthiasbeyer/libimagruby/error-types
Libimagruby/error types
2017-03-08 12:45:16 +01:00
a14d10fd47 Replace uses of RuntimeError with own error types 2017-03-07 17:47:56 +01:00
c4bd98a48f Merge pull request #913 from mario-kr/makefile_use_workspaces
Makefile use workspaces
2017-03-06 13:46:13 +01:00
Mario Krehl
3e544f1a9e Change README.md because of changed Makefile semantics 2017-03-02 21:21:22 +01:00
Mario Krehl
019e12b048 Change make check-outdated because it works with workspaces now 2017-03-02 21:10:34 +01:00
Mario Krehl
e98715589a Change make clean because it works with workspaces now 2017-03-02 21:10:25 +01:00
Mario Krehl
4ff88dca6e Change make update because it works with workspaces now 2017-03-02 21:10:14 +01:00
2f745193bf Add check whether classes exist 2017-02-27 15:34:37 +01:00
79aec8bf38 Add Ruby error types 2017-02-27 15:13:07 +01:00
85cb954b9f Merge pull request #909 from matthiasbeyer/less-fold-more-defresult
Less fold more defresult
2017-02-27 12:50:14 +01:00
c8faf5a6a9 Use ::fold_defresult() instead of ::fold() 2017-02-27 12:32:49 +01:00
a53547e08a Change Store::update() to be non-consuming 2017-02-26 19:54:40 +01:00
84bcdc68b7 Merge pull request #905 from matthiasbeyer/libimagnote/note-doesnt-need-to-be-tagable
Remove Tagable implementation for Note
2017-02-23 15:21:53 +01:00
a0f581b342 Merge pull request #908 from matthiasbeyer/libimagentryedit/dont-impl-for-fle
We dont need to impl this for FileLockEntry here
2017-02-23 15:21:45 +01:00
ef07c2cba9 Merge pull request #897 from matthiasbeyer/libimagstore/verify-panic
Libimagstore/verify panic
2017-02-23 14:42:39 +01:00
f3af9e0ac4 Merge pull request #907 from matthiasbeyer/clap-bump
Make clap version more specific
2017-02-23 14:41:45 +01:00
8a942ef4a9 Remove Tagable implementation for Note 2017-02-23 14:41:20 +01:00
e33e5d287b Merge pull request #801 from matthiasbeyer/libimagannotation/init
libimagannotation: init
2017-02-23 14:29:44 +01:00
eaeff58081 We dont need to impl this for FileLockEntry here 2017-02-23 14:28:47 +01:00
8967854c94 Make clap version more specific 2017-02-23 14:22:53 +01:00
5034540595 Add annotation entry fetcher module 2017-02-23 14:12:19 +01:00
fdbd1cea64 Rename module 2017-02-23 14:12:19 +01:00
0fbc61efa6 Rewrite annotation helper 2017-02-23 14:12:19 +01:00
ae2253a7b9 Add libimagnotes extern crate, remove module entry path mod generation 2017-02-23 14:12:19 +01:00
c773519281 Rewrite error module 2017-02-23 14:12:19 +01:00
ff33c49ea5 Add dependency: toml 2017-02-23 14:12:18 +01:00
df562b4880 Fix dependency name 2017-02-23 13:16:20 +01:00
b71e68aee2 Put libimagannotation into workspace 2017-02-23 13:15:57 +01:00
cded7b3a3d Revert "Export module entry path string"
This reverts commit bf4a5cda44.
2017-02-23 13:14:57 +01:00
54655b9bce Merge pull request #906 from matthiasbeyer/libimaginteraction/unpub-fn
This function does not need to be public
2017-02-23 13:13:14 +01:00
c2f68a94c1 Switch to use libimagnotes 2017-02-23 12:40:37 +01:00
1f745af0d8 Add dependency 2017-02-23 12:40:37 +01:00