Commit graph

4102 commits

Author SHA1 Message Date
1872dcd5e6 Replace unwrap() with match 2016-08-04 14:12:42 +02:00
b6ce57418e Merge pull request #617 from matthiasbeyer/imag-store/refactor-unwraps
Imag store/refactor unwraps
2016-08-03 13:56:45 +02:00
b45c4d4d0b Merge pull request #616 from matthiasbeyer/libimagentrylink/remove-unwrap
libimagentrylink - unwrap() cleanup
2016-08-03 13:05:36 +02:00
13945ab352 Replace unwrap() with match 2016-08-03 13:04:53 +02:00
0f13fc38c0 Replace unwrap() with match 2016-08-03 13:04:47 +02:00
84e33c07e6 Replace unwrap() with try!() 2016-08-03 13:04:27 +02:00
bd085b0ead Replace unwrap() with match 2016-08-03 13:04:20 +02:00
5935d43f09 Replace map(unwrap()) with fold() 2016-08-03 11:30:23 +02:00
41bf063a71 Replace map(unwrap()) with fold() 2016-08-03 11:29:38 +02:00
80491ff0b7 Replace map(unwrap()) with fold() 2016-08-03 11:27:26 +02:00
f46e8ac597 Replace unwrap with try!() 2016-08-03 11:27:25 +02:00
ca08f6d273 Export MapErrInto trait 2016-08-03 11:27:25 +02:00
76d88e46ad Merge pull request #611 from matthiasbeyer/libimagstore/drop-wlocks-early
Libimagstore/drop wlocks early
2016-08-02 20:28:08 +02:00
e37316f3f4 Fix possible w-lock panic
For a detailed explanation on the issue this commit tries to solve, have
a look at

    7b5d37a039

which explains the issue in detail.
2016-08-02 18:59:17 +02:00
84ae516dc3 Fix possible w-lock panic
for a detailed explanation of the issue this commit tries to solve have
a look at

    7b5d37a039

which explains the issue in detail.
2016-08-02 18:59:17 +02:00
002fad8711 Merge pull request #614 from matthiasbeyer/libimagentrylister/table-lister
Libimagentrylister/table lister
2016-08-02 18:07:05 +02:00
d41eed41db Merge pull request #613 from matthiasbeyer/update-readme
Update readme
2016-08-02 16:34:20 +02:00
9fd65dbe4a Add TableLister 2016-08-02 16:28:32 +02:00
e88082f270 Export MapErrInto trait here as well 2016-08-02 16:28:21 +02:00
a9f0ee0903 Add error type: IOError 2016-08-02 16:28:11 +02:00
57f3894f76 Add dependency: prettytable = 0.6.* 2016-08-02 16:27:53 +02:00
85678db1c1 Add mailinglist link in CONTRIBUTING.md 2016-08-02 14:23:48 +02:00
116eb11910 Add contact information to README 2016-08-02 14:22:58 +02:00
c3cf7575c0 Merge pull request #612 from matthiasbeyer/libimagrt/logging-without-color
Libimagrt/logging without color
2016-08-02 14:08:19 +02:00
69a10b2d02 Merge pull request #601 from matthiasbeyer/doc-updates
Doc updates
2016-08-02 13:01:40 +02:00
0de0ed94e1 Do not print logging info with color in test scripts 2016-08-02 11:42:35 +02:00
8412ea195f Configure coloring in logger setup 2016-08-02 11:39:01 +02:00
8a0200a183 Make coloring optional via flag in ImagLogger 2016-08-02 11:38:38 +02:00
ea17755ad4 Fix possible w-lock panic
for a detailed explanation have a look at

    7b5d37a039

Which explains the issue this commit solves in more detail.
2016-08-01 20:28:38 +02:00
7b5d37a039 Fix: Make sure we release the Write-Lock
This was suggested by Marcel Müller, who also debugged this issue and
found that this snippet was the error.

The problem was, that we had the write-lock when starting the hooks. If
the hook runs into an Err() mapping part where the Entry could already
be drop()ed, Rust tries to be smart and drops the object. As we are
still in the creation code of the entry, this paniced as we still hold
the W-Lock and the drop() tryies to call _update() on the entry, which
also tries to W-lock it.

With the new additional scope, the W-lock gets dropped early and we do
not have this problem anymore.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Suggested-by: Marcel Müller <neikos@neikos.email>
Reported-by: Matthias Beyer <mail@beyermatthias.de>
2016-08-01 20:00:31 +02:00
d4fa5b7de3 Merge pull request #608 from matthiasbeyer/travis-irc
Add travis setup for IRC notifications
2016-08-01 19:08:31 +02:00
296a0ae8d3 Merge pull request #609 from matthiasbeyer/readme-irc
Add contact information including mail and IRC
2016-08-01 19:08:25 +02:00
3892640109 Add link to website 2016-08-01 16:37:09 +02:00
99289ef8d2 Add travis setup for IRC notifications 2016-08-01 16:36:27 +02:00
da9ed22deb Add contact information including mail and IRC 2016-08-01 09:48:25 +02:00
6e988782da Merge pull request #605 from matthiasbeyer/libimagentryfilter/bool-filter
Add BoolFilter
2016-07-31 22:02:43 +02:00
989ee1864a Merge pull request #604 from matthiasbeyer/imag-diary/warnings
Imag diary/warnings
2016-07-31 22:02:37 +02:00
79c1edcbd1 Add BoolFilter 2016-07-31 12:18:07 +02:00
dcd72765bc Add deny() macro 2016-07-31 11:13:20 +02:00
b613aba257 Remove unused function
We do not offer explicit diary functionality.

Either a user creates a diary implicitely by creating a new entry inside
of it, or not.
2016-07-31 11:13:20 +02:00
7187ad89b1 If an error happens while viewing, trace it 2016-07-31 10:39:43 +02:00
c1d41c954e Remove keyword: mut 2016-07-31 10:38:30 +02:00
5cc84c1551 Remove keyword: mut 2016-07-31 10:38:21 +02:00
2b0efee4cc Merge pull request #600 from matthiasbeyer/doc-deps
Add new non-optional dependencies to doc in default.nix
2016-07-31 10:31:14 +02:00
fd8d7b2ebb Merge pull request #599 from matthiasbeyer/add-missing-readme-links
Add missing readme links
2016-07-31 10:31:07 +02:00
75f57d622c doc: Fix code listing 2016-07-30 21:36:45 +02:00
34e164e954 doc: Add more description of modules 2016-07-30 21:32:50 +02:00
40d4939f3a doc: Fix up store entry example markup and content 2016-07-30 21:02:21 +02:00
3e4d01a339 Add missing dependency: which 2016-07-30 20:59:49 +02:00
bbb5e58583 doc: Fix filename 2016-07-30 20:58:04 +02:00