Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-14 | Move tests to new module | Matthias Beyer | |
2016-11-14 | We dont need to clone() here | Matthias Beyer | |
2016-11-14 | Add helper trait for extracting from Array/Table | Matthias Beyer | |
2016-11-14 | Remove unreachable statements | Matthias Beyer | |
2016-11-14 | Refactor unpacking into helper fn | Matthias Beyer | |
2016-11-14 | Refactor to use try!() instead of match{}ing | Matthias Beyer | |
2016-11-14 | Prettify codebase | Matthias Beyer | |
2016-11-14 | Use helper fns to prettify error building | Matthias Beyer | |
2016-11-14 | Use default parameters from underlying functions | Matthias Beyer | |
2016-11-14 | Add EntryHeader::delete_with_sep() | Matthias Beyer | |
2016-11-14 | Minify EntryHeader code | Matthias Beyer | |
2016-11-14 | Extract TOML extension to own module | Matthias Beyer | |
2016-11-03 | impl PartialEq for Entry | Matthias Beyer | |
2016-11-03 | We can derive PartialEq for EntryHeader | Matthias Beyer | |
2016-10-31 | Merge pull request #656 from matthiasbeyer/cargo-rustc-codegen-units | Matthias Beyer | |
Cargo rustc codegen units | |||
2016-10-31 | Impl PartialEq for StoreId | Matthias Beyer | |
2016-10-24 | libimagstore/Cargo.toml: Update dependencies | Matthias Beyer | |
2016-10-24 | Add codegen-units = 2 in ./libimagstore/Cargo.toml | Matthias Beyer | |
2016-10-20 | Fix: Cargo.toml does not know "website", but "homepage" | Matthias Beyer | |
2016-10-19 | Merge pull request #815 from matthiasbeyer/release-prep | Matthias Beyer | |
Release preparation things | |||
2016-10-18 | Merge pull request #816 from matthiasbeyer/libimagstore/test-storeid-name-fix | Matthias Beyer | |
Fix test StoreId name | |||
2016-10-18 | Fix test StoreId name | Matthias Beyer | |
The name of the storeid was duplicated, which caused the tests to fail from time to time. This patch fixes the name of the entry which is used to test. | |||
2016-10-18 | Add meta-info in libimagstore/Cargo.toml | Matthias Beyer | |
2016-10-15 | Add missing "use" | Matthias Beyer | |
2016-10-15 | Refactor iflet into and_then().or_else() | Matthias Beyer | |
2016-10-15 | Simplify line | Matthias Beyer | |
2016-10-15 | Reimplement StoreId::to_str() to remove unwrap() | Matthias Beyer | |
2016-10-15 | Remove unwrap()s in file abstraction code | Matthias Beyer | |
2016-10-15 | Simplify hashmap fetching and error construction | Matthias Beyer | |
2016-10-15 | Use try!() instead of unwrapping errors | Matthias Beyer | |
2016-10-13 | Create symlinks to documentation files in libimag*/README.md | Matthias Beyer | |
2016-10-13 | Move all libimag*/README.md to doc/src/05100-* | Matthias Beyer | |
2016-10-12 | Merge branch 'libimagstore/store-tests' into ↵ | Matthias Beyer | |
libimagstore/store-tests-integration | |||
2016-10-12 | Merge branch 'master' into libimagstore/store-tests-integration | Matthias Beyer | |
On master, we changed the Store::update() function to do nothing more than calling Store::_update() and wrapping an error. On the libimagstore/store-tests branch, we modified the Store::_update() function to contain an additional flag in the parameters, whether the File-Lock-Entry internal `precense`-value should be updated. This merge commit resolves that conflict. | |||
2016-10-12 | Each test should test with a unique test file name | Matthias Beyer | |
2016-10-12 | Add error output | Matthias Beyer | |
2016-10-12 | Do not simply unwrap, but return error in case of error | Matthias Beyer | |
2016-10-09 | Add hook tests for hooks that error with an error that does not abort the action | Matthias Beyer | |
2016-10-09 | Merge pull request #761 from ↵ | Matthias Beyer | |
matthiasbeyer/libimagstore/store-tests-more-succeeding-hook-tests libimagstore/store-tests: more succeeding hook tests | |||
2016-10-07 | Add flag for _update() whether precense should be modified | Matthias Beyer | |
This is a bugfix for an very particular issue. Here's what happens: If we create() an FileLockEntry and then update() it, we are running into a problem because update() calls _update() which changes the precense status of a FileLockEntry. Because update() is _consuming_, the FileLockEntry gets drop()ed afterwards. This _again_ causes _update() to be called, but with a new presence status, which is not true in this moment (as the FileLockEntry is still borrowed, but we already marked it as present). This patch is a short-term fix. The real problem is, that our Store interface is consuming. If the Store interface would be non-consuming, this issue wouldn't happen, as the drop() call would not happen. I'm rather sure that this patch will not be reverted in the process of rewriting the Store interface to be non-consuming. But we never know. | |||
2016-10-07 | Add testing implementation for Drop for FileLockEntry | Matthias Beyer | |
2016-10-07 | Add output to test helper, so we can see in the trace whats happening | Matthias Beyer | |
2016-10-07 | store tests: Add erroring-hook-tests | Matthias Beyer | |
2016-10-07 | [CHERRY-PICK] Add flag for _update() whether precense should be modified | Matthias Beyer | |
This is a bugfix for an very particular issue. Here's what happens: If we create() an FileLockEntry and then update() it, we are running into a problem because update() calls _update() which changes the precense status of a FileLockEntry. Because update() is _consuming_, the FileLockEntry gets drop()ed afterwards. This _again_ causes _update() to be called, but with a new presence status, which is not true in this moment (as the FileLockEntry is still borrowed, but we already marked it as present). This patch is a short-term fix. The real problem is, that our Store interface is consuming. If the Store interface would be non-consuming, this issue wouldn't happen, as the drop() call would not happen. I'm rather sure that this patch will not be reverted in the process of rewriting the Store interface to be non-consuming. But we never know. | |||
2016-10-07 | [CHERRY-PICK] Add testing implementation for Drop for FileLockEntry | Matthias Beyer | |
2016-10-07 | Bugfix: The StoreEntry should know the _new_ StoreId | Matthias Beyer | |
When moving a entry in the store, we also should tell the StoreEntry the new id. | |||
2016-10-07 | Add comment/documentation for Store::move_by_id() | Matthias Beyer | |
2016-10-07 | Add check if entry is present | Matthias Beyer | |
If we try to rename an entry that is borrowed, we fail, as renaming an borrowed entry might result in some _really_ ugly bugs. | |||
2016-10-07 | Add test for hook execution for each hook position | Matthias Beyer | |
2016-10-07 | Abstract testing of hook execution in helper function | Matthias Beyer | |