Commit Graph

103 Commits

Author SHA1 Message Date
Sebastian Messmer
86f8ca6dc4 Dummy implementation for EncryptedBlockStore 2015-04-09 19:22:09 +02:00
Sebastian Messmer
4d72087e27 Fix include guard 2015-04-09 19:21:59 +02:00
Sebastian Messmer
fa92202979 Work with new generalized cachingstore 2015-04-09 15:39:49 +02:00
Sebastian Messmer
f2546ff607 Adapt to biicode 2.8 2015-04-08 17:44:18 +02:00
Sebastian Messmer
8a3d731cae Workaround for broken travis biicode deployment 2015-04-08 17:20:10 +02:00
Sebastian Messmer
309a251916 Travis CI needs sudo 2015-04-08 17:01:02 +02:00
Sebastian Messmer
f3d0bfcf68 Use relative paths instead of block-absolute ones 2015-04-08 16:57:04 +02:00
Sebastian Meßmer
ff35d72e34 Use new CachingStore 2015-04-02 12:19:05 -04:00
Sebastian Meßmer
f2129f6dc2 We don't need CachingStore::getKey() 2015-04-02 07:21:52 -04:00
Sebastian Meßmer
c18c028d7f First version of factoring out CachingStore 2015-04-02 07:12:29 -04:00
Sebastian Meßmer
da0efd80c5 Rename SynchronizedBlockStore -> CachingBlockStore 2015-04-02 02:59:43 -04:00
Sebastian Meßmer
e3f7491d2d SynchronizedBlockStore allows concurrent access to the same block, but ensures that the block is only loaded once from the underlying blockstore 2015-03-31 08:02:24 -04:00
Sebastian Meßmer
41600c13f7 Introduce a mutex for OpenBlockList 2015-03-29 08:36:09 -04:00
Sebastian Meßmer
9b5ad835db Implemented SynchronizedBlockStore::remove() 2015-03-29 07:55:57 -04:00
Sebastian Meßmer
5571a42980 Continued working on SynchronizedBlockStore. remove() doesn't work yet. 2015-03-28 13:44:22 -04:00
Sebastian Meßmer
f6669c86c1 Added SynchronizedBlockStore. In this first version, it only synchronizes the direct blockstore functions, but still allows opening the same block twice. This will be forbidden in future commits 2015-03-19 11:16:20 +01:00
Sebastian Meßmer
6d61b896af Remove test that is dependent on gcc optimization level 2015-03-15 09:26:50 +01:00
Sebastian Messmer
bdad3df117 Fix travis 2015-03-13 17:50:32 +01:00
Sebastian Messmer
67f6333df0 Simplify test config for new biicode version 2015-03-13 17:31:46 +01:00
Sebastian Messmer
ac702cb20c Merge branch 'master' into develop 2015-03-12 16:29:21 +01:00
Sebastian Meßmer
d28db748d7 Update LICENCE to LGPL 2015-03-12 16:22:16 +01:00
Sebastian Messmer
44f760382b Use new setup biicode script 2015-03-12 14:50:51 +01:00
Sebastian Messmer
294530c662 Replaced absolute paths to messmer/blockstore/... with relative local paths 2015-03-12 14:27:51 +01:00
Sebastian Messmer
b13b9d8689 Added test cases for BlockStore::write() 2015-03-08 02:15:31 +01:00
Sebastian Messmer
f51f80e5eb TODOs 2015-03-08 01:18:06 +01:00
Sebastian Messmer
ffd9ada260 Test BlockStoreUtils fillWithZeroes() 2015-03-08 00:36:59 +01:00
Sebastian Messmer
71f55361b4 Use parallel build on travis 2015-03-07 01:50:12 +01:00
Sebastian Messmer
044f6c9f8a TODOs 2015-03-06 02:28:41 +01:00
Sebastian Messmer
471ce89421 Removed duplicate test case 2015-03-05 22:40:29 +01:00
Sebastian Messmer
2cb0f4e5de BlockStore only writes changed data back if it actually was changed 2015-03-05 22:16:57 +01:00
Sebastian Messmer
d42bda0ca6 Added Block::write() and removed writeable data() pointer 2015-03-04 20:47:02 +01:00
Sebastian Messmer
09b648317f DataBlockFixture create data that is independent from its size 2015-03-04 02:58:52 +01:00
Sebastian Messmer
19e14146f4 Be more explicit in test case 2015-02-24 17:37:39 +01:00
Sebastian Messmer
1006c2cc38 Test cases for BlockStore::numBlocks() 2015-02-24 14:42:26 +01:00
Sebastian Messmer
f491d3d183 Added BlockStore::numBlocks() 2015-02-23 21:07:07 +01:00
Sebastian Messmer
aeec8b1490 Add utility function to copy blocks 2015-02-22 19:29:30 +01:00
Sebastian Messmer
e65ce5f11f Change way of deleting blocks to be more foolproof (when deleting a block, the user is forced to give up its reference to the block) 2015-02-22 16:53:49 +01:00
Sebastian Messmer
37e8a511f5 Added BlockStore::remove(key) 2015-02-22 00:29:21 +01:00
Sebastian Messmer
a3a4bef88a Cleanup downloaded scripts after use 2015-02-20 20:41:12 +01:00
Sebastian Messmer
c66b2bb835 Updated dependency 2015-02-20 16:58:41 +01:00
Sebastian Messmer
be5ce3870c Remove installing boost in travis CI, because biicode now takes care of that 2015-02-20 16:30:15 +01:00
Sebastian Messmer
bfe1509358 Added biicode autodeploy 2015-02-19 19:20:32 +01:00
Sebastian Messmer
a204e4f51e Make travis scripts executable 2015-02-19 18:12:30 +01:00
Sebastian Messmer
3012508ce4 Adapt to new travis-utils scripts 2015-02-19 17:50:03 +01:00
Sebastian Messmer
0748f5aa61 Update dependencies 2015-02-18 17:38:03 +01:00
Sebastian Messmer
eb0656a293 Update biicode dependency and add parent 2015-02-18 17:21:39 +01:00
Sebastian Messmer
5bfe5a7bfd Run correct tests 2015-02-18 17:19:34 +01:00
Sebastian Messmer
9f48c8c81d Added Travis CI 2015-02-18 16:58:48 +01:00
Sebastian Messmer
4d5d820b60 Added README/LICENCE 2015-02-17 00:27:24 +01:00
Sebastian Messmer
0c851fa452 Switch to biicode 2015-02-17 00:23:33 +01:00