summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-10-13Move all libimag*/README.md to doc/src/05100-*Matthias Beyer
2016-10-13Increment header levels in the README.md files of the librariesMatthias Beyer
2016-10-13Add library documentation subchapterMatthias Beyer
2016-10-12Merge pull request #698 from matthiasbeyer/libimagstore/store-testsMatthias Beyer
libimagstore: Add Store testing
2016-10-12Merge pull request #793 from matthiasbeyer/libimagstore/store-tests-integrationMatthias Beyer
libimagstore/store-tests: integration
2016-10-12Merge pull request #795 from matthiasbeyer/update-nix-depsMatthias Beyer
Add dep for pure nix build: which
2016-10-12Merge branch 'libimagstore/store-tests' into ↵Matthias Beyer
libimagstore/store-tests-integration
2016-10-12Merge pull request #794 from ↵Matthias Beyer
matthiasbeyer/libimagstore/store-tests-fix-poisonerror-panic libimagstore/store-tests: fix poisonerror panic
2016-10-12Merge branch 'master' into libimagstore/store-tests-integrationMatthias 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-12Each test should test with a unique test file nameMatthias Beyer
2016-10-12Add error outputMatthias Beyer
2016-10-12Do not simply unwrap, but return error in case of errorMatthias Beyer
2016-10-11Add dep for pure nix build: whichMatthias Beyer
2016-10-11Merge pull request #789 from matthiasbeyer/warning-cleanupMatthias Beyer
Warning cleanup
2016-10-11Remove unused importsMatthias Beyer
2016-10-11Merge pull request #775 from matthiasbeyer/libimaginteraction/readlineMatthias Beyer
libimaginteraction: readline support
2016-10-11Merge pull request #759 from ↵Matthias Beyer
matthiasbeyer/libimagstorestdhook/git-commit-on-drop libimagstorestdhook/git: commit on drop
2016-10-11imag-bookmark: Rewrite add() with iterator helpersMatthias Beyer
2016-10-11Merge pull request #790 from ↵Matthias Beyer
matthiasbeyer/libimagstore/store-tests-allowed-erroring-hooks libimagstore/store: tests allowed erroring hooks
2016-10-09Add hook tests for hooks that error with an error that does not abort the actionMatthias Beyer
2016-10-09Merge pull request #761 from ↵Matthias Beyer
matthiasbeyer/libimagstore/store-tests-more-succeeding-hook-tests libimagstore/store-tests: more succeeding hook tests
2016-10-09Merge pull request #786 from ↵Matthias Beyer
matthiasbeyer/libimagstore/store-tests-erroring-hooks libimagstore/store: tests erroring hooks
2016-10-08Merge pull request #788 from matthiasbeyer/fix-787Matthias Beyer
Fix missing [[ on travis
2016-10-08Deny warningsMatthias Beyer
2016-10-08Use unused resultsMatthias Beyer
2016-10-08Remove unused importsMatthias Beyer
2016-10-08Remove unused variableMatthias Beyer
2016-10-08Remove unused variableMatthias Beyer
2016-10-08Remove unused functionMatthias Beyer
2016-10-08Deny warningsMatthias Beyer
2016-10-08Use unused resultMatthias Beyer
2016-10-08Remove unused importsMatthias Beyer
2016-10-08Fix missing [[ on travisMatthias Beyer
2016-10-07Add flag for _update() whether precense should be modifiedMatthias 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-07Add testing implementation for Drop for FileLockEntryMatthias Beyer
2016-10-07Add output to test helper, so we can see in the trace whats happeningMatthias Beyer
2016-10-07store tests: Add erroring-hook-testsMatthias Beyer
2016-10-07[CHERRY-PICK] Add flag for _update() whether precense should be modifiedMatthias 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 FileLockEntryMatthias Beyer
2016-10-07Bugfix: The StoreEntry should know the _new_ StoreIdMatthias Beyer
When moving a entry in the store, we also should tell the StoreEntry the new id.
2016-10-07Merge pull request #771 from matthiasbeyer/clap-validatorsMatthias Beyer
Clap validators
2016-10-07Merge pull request #783 from matthiasbeyer/readme-rewriteMatthias Beyer
Rewrite README.md
2016-10-07Add comment/documentation for Store::move_by_id()Matthias Beyer
2016-10-07Add dependency: libimagutilMatthias Beyer
2016-10-07Add check if entry is presentMatthias 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-07Add test for hook execution for each hook positionMatthias Beyer
2016-10-07Abstract testing of hook execution in helper functionMatthias Beyer
2016-10-07Add section about how to stay uptodateMatthias Beyer
2016-10-07Add more detailed errorsMatthias Beyer
2016-10-07Refactor codebase to be more readableMatthias Beyer