Commit graph

634 commits

Author SHA1 Message Date
204ef24703 Remove hook support from store 2017-06-06 11:12:37 +02:00
8253fb9795 libimagutil does not provide macros anymore 2017-05-04 16:28:10 +02:00
4472449696 Add new dependency: is_match = 0.1 2017-05-04 16:20:15 +02:00
89d8abefe7 Ignore duplicated keys 2017-05-03 21:40:05 +02:00
18e13c999b Add test for more generic function
Also add test whether duplicated keys get ignored
2017-05-03 21:39:41 +02:00
83ca7c8cfb Add tests for configuration 2017-05-03 21:31:35 +02:00
4257ec1026 Merge pull request #930 from matthiasbeyer/update-toml
Dependency: toml: 0.2.* -> 0.4.*
2017-05-03 21:19:06 +02:00
2bad2ef501 Adapt to use toml 0.4 2017-05-03 18:09:57 +02:00
1da56c6d9d Merge pull request #919 from matthiasbeyer/prepare-0.3.0
Prepare 0.3.0
2017-05-03 17:49:18 +02:00
585b5ffad6 dependency: toml: 0.2.* -> 0.4.* 2017-05-03 17:46:37 +02:00
ab99675562 Add tests for StoreId 2017-05-03 17:09:21 +02:00
9650f46e23 Version strings: 0.2.0 -> 0.3.0 2017-05-03 10:48:26 +02:00
2c8bc035ee Rename test 2017-05-02 17:43:28 +02:00
5b93f3848c Merge pull request #911 from matthiasbeyer/libimagstore/storeid-exists-interface-result
Redefine return type of StoreId::exists()
2017-04-22 11:20:50 +02:00
9396accc28 Merge pull request #916 from matthiasbeyer/superceed-898
Simplify FoldResult implementation
2017-04-22 11:19:56 +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
fb0ba1d8bc Remove unused variable 2017-04-21 21:08:03 +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
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
ef07c2cba9 Merge pull request #897 from matthiasbeyer/libimagstore/verify-panic
Libimagstore/verify panic
2017-02-23 14:42:39 +01:00
2d199ce3ec Trace errors and then panic, if configured 2017-02-23 12:34:36 +01:00
602bdd9762 Doc for Store::execute_hooks_for_mut_file() 2017-02-20 16:05:17 +01:00
0c3cea692f Doc for Store::execute_hooks_for_id() 2017-02-20 16:05:07 +01:00
77d5fcc2d0 Doc for Store::save_as() 2017-02-20 16:04:54 +01:00
671f19043d Doc for Store::save_to() 2017-02-20 16:04:49 +01:00
f129358999 Doc for Store::delete() 2017-02-20 16:04:36 +01:00
c82d7bf7bc Doc for Store::retrieve_copy() 2017-02-20 16:04:28 +01:00
1f47db3951 Doc for Store::_update() 2017-02-20 16:04:17 +01:00
c8c8401680 Doc for Store::update() 2017-02-20 16:04:04 +01:00
77b10e20cb Doc for Store::walk() 2017-02-20 16:03:56 +01:00
8d855f4c78 Doc for Store::retrieve_for_module() 2017-02-20 16:03:45 +01:00
4e042e4de2 Doc for Store::get() 2017-02-20 16:03:32 +01:00
8867e50618 Doc for Store::retrieve() 2017-02-20 16:03:24 +01:00
8896bbb4c5 Doc for Store::create() 2017-02-20 16:03:11 +01:00
84dc385749 Doc for Store::new() 2017-02-20 16:03:03 +01:00
e26a23420a Doc for Store object type 2017-02-20 16:02:49 +01:00
93ca8f7046 Add documentation for Entry type 2017-02-20 15:18:19 +01:00
356c17d98b Add documentation for FileLockEntry 2017-02-20 15:18:08 +01:00
12e07b32d4 Add documentation for store functions 2017-02-20 15:17:55 +01:00
33f4b33d61 Remove scope and indentation level 2017-02-19 12:38:43 +01:00
aea81e5df5 Remove unnecessary call 2017-02-19 12:38:43 +01:00
6f1a510c70 Add more detailed expl on feature, including warning 2017-02-05 13:10:39 +01:00
e8f4a9089a Add feature to compile early panics
Do debug printing when drop of FileLockEntry failed.
2017-02-05 13:10:39 +01:00
26b1b8e84c toml_ext::has_imag_version_in_main_section() must be pub to be used in tests 2017-02-05 13:10:38 +01:00
58a42d127d Minify impl of has_main_section() 2017-02-05 13:10:38 +01:00