Commit graph

1859 commits

Author SHA1 Message Date
c32065c2d6 Implement Store::walk() 2016-05-07 13:17:23 +02:00
7ac54dac6d Merge pull request #385 from influenza/patch-1
Fixes coice / choice typo in README.md
2016-05-07 09:21:40 +02:00
3e792ad024 Merge pull request #339 from matthiasbeyer/libimagstore/storeid-no-typedef
Remove typedef for StoreId type
2016-05-07 09:17:18 +02:00
Ron Dahlgren
025ea4b03b Fixes coice / choice typo in README.md 2016-05-06 21:40:15 -04:00
3842e177d7 Make Entry::{from_file,from_str} generic over IntoStoreId 2016-05-04 13:30:19 +02:00
79f585def9 Fix libimagentrylist::listers::path 2016-05-04 13:30:19 +02:00
5d6c226953 Make some store functions generic over IntoStoreId 2016-05-04 13:30:19 +02:00
24ddf5d53b Impl IntoStoreId for StoreId 2016-05-04 13:30:19 +02:00
7e17e213be Fixup ModuleEntryPath macro type 2016-05-04 13:30:19 +02:00
b4db587a10 Impl Deref<PathBuf> for StoreId 2016-05-03 14:58:18 +02:00
4d4acf9168 Fix IntoStoreId implementation 2016-05-03 14:58:05 +02:00
799b9e27a5 Remove typedef for StoreId type
but make it a new type instead.

Also derive and implement as many traits as possible for it, so we keep
backwards compatibility as much as possible.

Anyways, we need to rewrite some code for this.

Suggested-by: Marcel Müller <neikos@neikos.email>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2016-05-03 14:58:05 +02:00
1f13594999 Merge pull request #382 from matthiasbeyer/cache-cargo-travis
Add cargo cache for travis
2016-04-29 14:45:08 +02:00
54cf4c114b Add cargo cache for travis 2016-04-29 13:52:50 +02:00
770cc3e86b Add dependency: walkdir = 0.1.5 2016-04-28 17:52:46 +02:00
9ff826e64e Merge pull request #380 from matthiasbeyer/libimagutil/polish-trace_output
Make trace() output a bit nicer
2016-04-22 16:25:23 +02:00
f6e59c355e Remove "caused by" marker
As we are in debug mode anyways, a developer using this should know by
the trace number that the next line is the cause.

As we use the debug!() macro here, this would be printed on a new line,
which is rather distracting instead of helpful. Therefor this patch
removes this line.
2016-04-22 15:10:24 +02:00
ad4e73399f Make trace() output a bit nicer 2016-04-21 16:36:13 +02:00
bd2f7bc616 Merge pull request #377 from matthiasbeyer/hotfix-build
Remove unused import
2016-04-21 16:33:29 +02:00
7aeb0c2833 Remove unused import 2016-04-21 15:57:42 +02:00
b629d0b8f1 Merge pull request #367 from matthiasbeyer/unwrap_err
Unwrap err
2016-04-21 15:08:36 +02:00
0c4edf6474 Merge pull request #374 from matthiasbeyer/remove-unneeded-derefs
Remove unneeded derefs
2016-04-21 15:08:00 +02:00
4d27958699 Merge pull request #375 from matthiasbeyer/imag-store/zero-warnings
Imag store/zero warnings
2016-04-21 15:07:54 +02:00
bcc7554389 Enable lints 2016-04-21 13:32:05 +02:00
713151af79 Remove unneeded keyword "mut" 2016-04-21 13:32:05 +02:00
73c844ceb1 Remove unused imports 2016-04-21 13:32:05 +02:00
75fbcef4aa Use unused results 2016-04-21 13:32:05 +02:00
523eef009d Remove unneeded calls to deref() 2016-04-21 13:23:01 +02:00
69a73f0a67 Remove unneeded calls to deref() and deref_mut() 2016-04-21 13:21:47 +02:00
e0988c5f76 Remove unneeded deref() call 2016-04-21 13:19:37 +02:00
169d835e22 Remove unused deref() call 2016-04-21 13:19:01 +02:00
985d273787 Remove unused deref() call 2016-04-21 13:18:22 +02:00
cb3683940e Remove unneeded module specifiers from Deref{,Mut} impls 2016-04-21 13:13:58 +02:00
975eb18905 Merge pull request #342 from matthiasbeyer/imag-link/testing
Imag link/testing
2016-04-20 21:47:02 +02:00
fd9dee7dea Implement Debug for StoreIdIterator 2016-04-20 21:46:02 +02:00
b909fea45b Derive Debug for NoteIterator 2016-04-20 21:46:02 +02:00
90b4e3cc62 Add derive(Debug) for Note 2016-04-20 21:46:02 +02:00
872114d86f FileLockEntry: Derive Debug 2016-04-20 21:46:02 +02:00
e0876bb751 Make libimagrt::runtime::Runtime derive Debug 2016-04-20 21:46:02 +02:00
381a9b3f5b Revert change to unwrap_err() here, trait bounds not fulfilled 2016-04-20 21:46:02 +02:00
01c226f0ca Revert change to unwrap_err() here, trait bounds not fulfilled 2016-04-20 21:46:02 +02:00
0bb40fca11 libimagstore: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:46:01 +02:00
3631817827 libimagrt: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:58 +02:00
9ada2d9c98 libimagnotes: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:27 +02:00
e08986842c libimagentrytag: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:27 +02:00
5d2950b7df libimagentrylink: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:27 +02:00
d01c2d294e libimagcounter: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
c1b4ce55b5 imag-view: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
c8e5ea49ce imag-tag: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
cd73be256b imag-store: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00