Commit Graph

238 Commits

Author SHA1 Message Date
Sebastian Messmer
7fae2d1e59 Adapt to new cpp-utils 2015-06-21 17:43:45 +02:00
Sebastian Messmer
d1528fe541 Use C++11 uniform initialization for structs 2015-06-21 14:40:52 +02:00
Sebastian Meßmer
31cd0eb9e9 Adapt to new dynamic_pointer_move 2015-06-18 19:34:24 +02:00
Sebastian Meßmer
5039205cd2 BlobStore handles unique_ref<Blob> instead of unique_ptr<Blob> 2015-06-18 12:45:37 +02:00
Sebastian Messmer
c4f55f081a Fix for clang compiler 2015-06-10 17:18:53 +02:00
Sebastian Messmer
abf0f68432 Enable extended compiler warnings and resolve occurring ones 2015-05-08 02:10:40 +02:00
Sebastian Messmer
864169ff0d TODOs 2015-05-08 01:57:44 +02:00
Sebastian Messmer
7d6febe17f Reduce use of memcmp and use operator==(Data, Data) instead 2015-04-25 17:17:15 +02:00
Sebastian Messmer
b4e2eaa3e8 Use cpputils::DataFixture instead of DataBlockFixture 2015-04-25 16:44:00 +02:00
Sebastian Messmer
6a0623956d Use Data, DataBlockFixture from cpputils 2015-04-25 02:55:34 +02:00
Sebastian Messmer
59865030de Upgrade dependencies 2015-04-25 00:41:34 +02:00
Sebastian Messmer
f3db9ef8b9 Fill new blocks with zeroes 2015-04-25 00:31:05 +02:00
Sebastian Messmer
3d9e98d892 Fix compiler errors in tests 2015-04-25 00:08:29 +02:00
Sebastian Meßmer
f2adbf01df Adapt to new blockstore 2015-04-18 14:52:38 +02:00
Sebastian Messmer
9eec7a8c74 Resolve compatibility issue 2015-04-16 16:36:25 +02:00
Sebastian Messmer
8593963c45 Renamed CachingDataTreeStore to ParallelAccessDataTreeStore 2015-04-16 15:01:49 +02:00
Sebastian Messmer
84d1c55bc1 Adapt to new blockstore 2015-04-16 14:10:58 +02:00
Sebastian Messmer
eaa60d3a53 - Use one block flush less when growing by a traversal (the one that grows the old last leaf to max size)
- Fix numLEaves() calculation
2015-04-10 22:57:29 +02:00
Sebastian Messmer
bee68464dc When traversing a blob out of range, automatically create the leaves up to the traversed point 2015-04-10 21:52:30 +02:00
Sebastian Messmer
bb98e9b31d Fix test cases for new flushing policy 2015-04-10 00:10:49 +02:00
Sebastian Messmer
e3f7b47440 Allow Blob::flush 2015-04-09 23:41:51 +02:00
Sebastian Messmer
628f4edec0 Don't flush if not necessary 2015-04-09 23:29:29 +02:00
Sebastian Messmer
4b04226162 Work with new blockstore::Key 2015-04-09 20:07:21 +02:00
Sebastian Messmer
8b7601f216 Fix travis build 2015-04-09 18:45:25 +02:00
Sebastian Messmer
25a3ab8a22 Workaround for biicode boost 2015-04-09 18:27:29 +02:00
Sebastian Messmer
3f43dcfe10 Fix locking 2015-04-09 16:30:36 +02:00
Sebastian Messmer
9a959cfab9 DataTree is threadsafe 2015-04-09 16:10:57 +02:00
Sebastian Messmer
84401b9abf Use CachingDataTreeStore instead of DataTreeStore to avoid opening the same datatree twice in different threads 2015-04-09 15:40:27 +02:00
Sebastian Messmer
e4e452ddd2 Adapt to biicode 2.8 2015-04-08 17:44:15 +02:00
Sebastian Messmer
0d3123ebe8 Workaround for broken travis biicode deployment 2015-04-08 17:20:03 +02:00
Sebastian Messmer
448fa291a5 Travis CI needs sudo 2015-04-08 17:01:25 +02:00
Sebastian Meßmer
9b4f8c2030 Adapt to the blockstore change (SynchronizedBlockStore was renamed to CachingBlockStore) 2015-04-02 03:00:06 -04:00
Sebastian Meßmer
deb1a2462a BlobStore uses synchronized access to its BlockStore 2015-03-19 11:16:50 +01:00
Sebastian Messmer
92bec0afb2 Disable warnings 2015-03-17 12:31:33 +01:00
Sebastian Messmer
a7a87a07dd Add style warnings 2015-03-16 18:32:37 +01:00
Sebastian Messmer
d81dcaf23a Fix travis 2015-03-13 17:50:49 +01:00
Sebastian Messmer
78e5812011 Simplify test config for new biicode version 2015-03-13 17:31:36 +01:00
Sebastian Messmer
68a2fc5212 Merge branch 'master' of github.com:smessmer/blobstore 2015-03-12 16:42:10 +01:00
Sebastian Meßmer
e08f01f2c5 Update LICENCE to LGPL 2015-03-12 16:22:44 +01:00
Sebastian Messmer
deba4810a8 Replaced absolute paths to messmer/blobstore with local relative paths 2015-03-12 15:18:10 +01:00
Sebastian Messmer
655845ae8f Use new setup_biicode_project for travis 2015-03-12 14:59:38 +01:00
Sebastian Messmer
dd80ab8d4d Add Blob::tryRead() 2015-03-11 01:04:48 +01:00
Sebastian Messmer
11930a8363 Added an assertion to read() 2015-03-08 03:50:42 +01:00
Sebastian Messmer
6d9baefb36 Use parallel build on travis 2015-03-07 01:50:28 +01:00
Sebastian Messmer
40cbf93957 Deleted unneccessary test cases and added test cases for BlobReadWriteTest 2015-03-06 21:18:22 +01:00
Sebastian Messmer
2bfc872088 Fix Blob::read()/write() and write test cases for it 2015-03-06 20:40:23 +01:00
Sebastian Messmer
c293dc0571 Added test cases 2015-03-06 16:54:49 +01:00
Sebastian Messmer
d8b7a99ea8 Fix compiler warning 2015-03-06 16:43:16 +01:00
Sebastian Messmer
df9a44eace Added some more test cases to BlobStore 2015-03-06 16:39:40 +01:00
Sebastian Messmer
a9c44a40ed Fix Blob::write() and add some test cases for it 2015-03-06 16:08:30 +01:00